/* ============================================================
   Ai Flick Solutions — stylesheet
   Palette pulled from the brand mark:
   navy (wordmark), blue/light-blue (the "a i"), orange (the dot),
   green (mid-point of the arrow's gradient sweep)
   ============================================================ */

:root {
  --navy: #10192E;
  --navy-2: #182849;
  --blue: #2E7DE1;
  --blue-light: #3BAEEA;
  --orange: #F2711A;
  --green: #17A673;
  --bg: #F6F8FC;
  --surface: #FFFFFF;
  --text: #141B2E;
  --text-muted: #5B6478;
  --border: #E5E9F2;
  --shadow-soft: 0 20px 40px -24px rgba(16, 25, 46, 0.25);

  --font-head: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --max-width: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { color: var(--text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 96px 0; }

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head .kicker {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; }

.bg-navy { background: var(--navy); }
.bg-surface { background: var(--surface); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(242, 113, 26, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(242, 113, 26, 0.65); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--navy); transform: translateY(-2px); }

.btn-outline.on-dark {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.btn-outline.on-dark:hover { border-color: #fff; }

.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   HEADER
   ============================================================ */
#site-header { position: sticky; top: 0; z-index: 500; }

.nav-bar {
  background: rgba(246, 248, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-bar.solid {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -20px rgba(16,25,46,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0%;
  background: var(--orange);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 11px 20px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 84px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

.hero h1 { margin-bottom: 20px; }
.hero h1 .flick { color: var(--blue); }

.hero-sub {
  font-size: 1.12rem;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 0.72rem;
}
.hero-trust .avatars span:first-child { margin-left: 0; }

/* ---------- Hero visual: layered browser + app mockup ---------- */
.hero-visual {
  position: relative;
  height: 460px;
}

.visual-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.55;
  z-index: 0;
}
.blob-1 { width: 260px; height: 260px; top: -20px; right: 10%; background: var(--blue-light); opacity: 0.28; }
.blob-2 { width: 220px; height: 220px; bottom: 0; left: 0; background: var(--orange); opacity: 0.18; }

.browser-mock {
  position: absolute;
  top: 8%;
  left: 0;
  width: 78%;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transform: rotate(-2deg);
  z-index: 1;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #FBFCFE;
}
.browser-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.browser-bar .url-pill {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: 999px;
  padding: 4px 12px;
}
.browser-body { padding: 20px; }
.mock-nav {
  height: 10px; width: 40%;
  border-radius: 4px;
  background: var(--border);
  margin-bottom: 22px;
}
.mock-hero {
  background: linear-gradient(120deg, rgba(46,125,225,0.09), rgba(23,166,115,0.09));
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.mock-hero-line { height: 10px; border-radius: 4px; background: rgba(16,25,46,0.14); margin-bottom: 10px; }
.mock-hero-line.l1 { width: 70%; }
.mock-hero-line.l2 { width: 46%; margin-bottom: 16px; }
.mock-hero-btn { height: 22px; width: 84px; border-radius: 7px; background: var(--orange); }
.mock-cards { display: flex; gap: 10px; }
.mock-cards span { flex: 1; height: 34px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); }

.phone-mock {
  position: absolute;
  right: 2%;
  bottom: -4%;
  width: 42%;
  max-width: 190px;
  background: var(--navy);
  border-radius: 26px;
  padding: 10px;
  box-shadow: 0 24px 46px -18px rgba(16, 25, 46, 0.45);
  transform: rotate(5deg);
  --rot: 5deg;
  z-index: 2;
  animation: float 6.5s ease-in-out infinite;
}
.phone-notch {
  width: 34%;
  height: 14px;
  background: var(--navy);
  border-radius: 0 0 10px 10px;
  margin: 0 auto;
  position: relative;
  top: 2px;
}
.phone-screen {
  background: #fff;
  border-radius: 18px;
  padding: 14px 12px;
  padding-top: 10px;
}
.phone-status { height: 8px; width: 34px; border-radius: 4px; background: var(--border); margin-bottom: 14px; }
.phone-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.phone-icon { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; }
.phone-line { height: 8px; flex: 1; border-radius: 4px; background: var(--border); }
.phone-cta { height: 26px; border-radius: 8px; background: var(--blue); margin-top: 14px; }

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--navy);
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.hero-chip .chip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.chip-1 { top: 2%; left: -4%; animation-delay: 0s; }
.chip-2 { bottom: 18%; left: 6%; animation-delay: 1.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--rot, 0deg)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-chip, .phone-mock { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   STATS BAND (Experience, Projects, etc.)
   ============================================================ */
.stats-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 65%, #1D3A63 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  top: -100px; left: 6%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,174,234,0.28), transparent 70%);
}
.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 10px 18px;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.stat-item:last-child { border-right: none; }
.stat-item .stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-num .accent { color: var(--blue-light); }
.stat-item .stat-label {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.62);
}

/* ============================================================
   LOGO STRIP (what we do, quick icons)
   ============================================================ */
.capability-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.capability-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  justify-content: space-between;
  align-items: center;
}
.capability-strip span {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 1rem;
  white-space: nowrap;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
  border-top: 3px solid var(--accent, var(--blue));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.service-tile .icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent, var(--blue)) 14%, white);
  margin-bottom: 20px;
}
.service-tile .icon-wrap svg { width: 24px; height: 24px; stroke: var(--accent, var(--blue)); }

.service-tile h3 { margin-bottom: 10px; font-size: 1.12rem; }
.service-tile p { font-size: 0.96rem; }

.service-tile.detailed { padding: 34px; }
.service-tile.detailed ul { margin-top: 16px; display: grid; gap: 8px; }
.service-tile.detailed ul li {
  font-size: 0.93rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.service-tile.detailed ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent, var(--blue));
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.why-item .num {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}
.why-item h3 { margin-bottom: 10px; font-size: 1.08rem; }
.why-item p { font-size: 0.95rem; }

/* ============================================================
   PROCESS (sequence — numbered by design)
   ============================================================ */
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 26px; left: 6%; right: 6%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-step .step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; }

/* ============================================================
   TESTIMONIAL MARQUEE
   ============================================================ */
.reviews-section { overflow: hidden; padding: 90px 0; }
.reviews-track-outer {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scroll-left 42s linear infinite;
}
.reviews-track:hover { animation-play-state: paused; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-card {
  width: 340px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.review-card .stars { color: var(--orange); font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-card p.quote { color: var(--text); font-size: 0.98rem; margin-bottom: 20px; }
.review-card .reviewer { display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 600;
  flex-shrink: 0;
}
.review-card .reviewer-name { font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.review-card .reviewer-role { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #1D3A63 100%);
  border-radius: 26px;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -60px; top: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,174,234,0.35), transparent 70%);
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; max-width: 480px; }
.cta-banner p { color: rgba(255,255,255,0.72); max-width: 460px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding-top: 76px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 34px; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 300px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--orange); }
.footer-social svg { width: 17px; height: 17px; stroke: #fff; }

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.68); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--blue-light); }

.footer-col.contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: rgba(255,255,255,0.68); }
.footer-col.contact svg { width: 17px; height: 17px; stroke: var(--blue-light); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  padding: 24px 0 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  z-index: 600;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.95), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* ============================================================
   PAGE HEADER (Services / About / Contact top banners)
   ============================================================ */
.page-header {
  padding: 150px 0 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -120px; right: -100px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,125,225,0.35), transparent 70%);
}
.page-header .crumb { color: var(--blue-light); font-weight: 600; font-size: 0.92rem; margin-bottom: 14px; }
.page-header h1 { color: #fff; max-width: 640px; }
.page-header p { color: rgba(255,255,255,0.68); max-width: 560px; margin-top: 16px; font-size: 1.05rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.founder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}
.founder-avatar {
  width: 92px; height: 92px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.8rem;
  margin-bottom: 20px;
}
.founder-card h3 { margin-bottom: 4px; }
.founder-card .role { color: var(--blue); font-weight: 600; font-size: 0.92rem; margin-bottom: 18px; }
.founder-card .quote { font-size: 0.98rem; color: var(--text-muted); font-style: normal; border-left: 3px solid var(--orange); padding-left: 16px; }

.about-copy h2 { margin-bottom: 18px; }
.about-copy p { margin-bottom: 16px; font-size: 1.02rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.value-card p { font-size: 0.94rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.contact-cards { display: grid; gap: 16px; margin-bottom: 30px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.contact-card .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--blue) 14%, white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card .icon-wrap svg { width: 21px; height: 21px; stroke: var(--blue); }
.contact-card h4 { font-size: 0.98rem; margin-bottom: 4px; color: var(--navy); }
.contact-card p { font-size: 0.94rem; margin: 0; }
.contact-card a { color: var(--text-muted); }
.contact-card a:hover { color: var(--blue); }

.map-embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 260px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.demo-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.demo-form-card h3 { margin-bottom: 6px; }
.demo-form-card > p { margin-bottom: 28px; font-size: 0.96rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: #FBFCFE;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,125,225,0.14);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 14px; text-align: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}
.form-success.show { display: block; }
.form-success .check {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green) 16%, white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.form-success .check svg { width: 28px; height: 28px; stroke: var(--green); }
.form-success h3 { margin-bottom: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero { padding-top: 52px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; max-width: 460px; margin: 0 auto 12px; order: -1; }
  .chip-1 { left: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-track::before { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat-item { border-right: none; border-bottom: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.14); }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 24px; }
}

/* Tablets (iPad portrait and similar) get the hamburger menu too —
   there isn't room for the full link row + phone + CTA button. */
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    gap: 18px;
    z-index: 40;
  }
  .nav-inner { height: 76px; }
}

/* ------------------------------------------------------------
   MOBILE HERO (redesigned) — phones only, <=720px.
   Keeps the same browser + phone "product mockup" language as
   desktop instead of swapping to a flat gradient card, but sized,
   de-rotated and re-stacked so nothing clips or feels cramped.
   Nothing above this block or outside this query touches desktop.
------------------------------------------------------------- */
@media (max-width: 720px) {
  section { padding: 56px 0; }

  .hero { padding: 36px 0 34px; }
  .hero-eyebrow { font-size: 0.78rem; padding: 7px 13px; margin-bottom: 18px; }
  .hero-sub { font-size: 1.02rem; margin-bottom: 26px; }

  /* Visual comes first on mobile, sized to its content instead of
     a fixed 460px box, with breathing room for the floating phone. */
  .hero-visual {
    order: -1;
    height: auto;
    max-width: 380px;
    width: 100%;
    margin: 0 auto 6px;
    padding: 30px 14px 58px;
  }

  .visual-blob { filter: blur(34px); }
  .blob-1 { width: 190px; height: 190px; top: -18px; right: -8%; opacity: 0.24; }
  .blob-2 { width: 170px; height: 170px; bottom: 10px; left: -10%; opacity: 0.16; }

  /* Browser card: full width, no rotation, lighter shadow so it
     reads clean at small sizes. */
  .browser-mock {
    position: relative;
    top: 0; left: 0;
    width: 100%;
    transform: none;
    border-radius: 16px;
    box-shadow: 0 16px 34px -20px rgba(16, 25, 46, 0.35);
  }
  .browser-bar { padding: 10px 14px; }
  .browser-bar .url-pill { font-size: 0.68rem; padding: 3px 10px; }
  .browser-body { padding: 16px; }
  .mock-nav { margin-bottom: 16px; }
  .mock-hero { padding: 16px; margin-bottom: 12px; }
  .mock-cards span { height: 28px; }

  /* Phone card: docked bottom-right, gently tilted, kept fully
     inside the visual's own padding so it never overlaps text below. */
  .phone-mock {
    position: absolute;
    top: auto;
    left: auto;
    right: 6%;
    bottom: -6%;
    width: 128px;
    max-width: 128px;
    transform: rotate(4deg);
    --rot: 4deg;
    box-shadow: 0 18px 34px -16px rgba(16, 25, 46, 0.5);
  }
  .phone-screen { padding: 10px 9px; }
  .phone-status { width: 24px; height: 6px; margin-bottom: 9px; }
  .phone-row { gap: 6px; margin-bottom: 7px; }
  .phone-icon { width: 15px; height: 15px; border-radius: 5px; }
  .phone-line { height: 6px; }
  .phone-cta { height: 18px; margin-top: 8px; }

  /* Feature chips: small floating badges anchored to the visual's
     corners instead of the old full-width stacked pills. */
  .hero-chip {
    position: absolute;
    animation: none;
    gap: 7px;
    padding: 8px 12px;
    font-size: 0.74rem;
    border-radius: 10px;
    box-shadow: 0 10px 24px -14px rgba(16, 25, 46, 0.32);
  }
  .chip-1 { top: 2%; left: -2%; }
  .chip-2 { bottom: 0%; left: 0%; }

  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 4px; }
  .hero-actions .btn { justify-content: center; }
  .hero-trust { flex-wrap: wrap; margin-top: 22px; }

  .stats-band { padding: 44px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .capability-strip .container { justify-content: center; gap: 12px 24px; }
  .capability-strip span { font-size: 0.88rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 24px; }
  .cta-banner p { margin: 0 auto; }
  .cta-actions { justify-content: center; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .demo-form-card { padding: 26px; }
  .page-header { padding: 120px 0 52px; }
}

@media (max-width: 420px) {
  .hero-visual { max-width: 320px; padding: 26px 10px 54px; }
  .phone-mock { width: 112px; right: 4%; bottom: -8%; }
  .chip-1, .chip-2 { font-size: 0.7rem; padding: 7px 10px; }
}

/* ============================================================
   SERVICES DROPDOWN
   ============================================================ */
.nav-links .nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links .nav-dropdown > .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links .nav-dropdown .caret {
  font-size: 0.75em;
  transition: transform 0.2s ease;
}
.nav-links .nav-dropdown:hover .caret { transform: rotate(180deg); }

/* the hidden menu box */
.nav-links .nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 8px;
  z-index: 600;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* items inside the menu */
.nav-links .nav-dropdown .dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  white-space: nowrap;
  color: var(--text);
}
.nav-links .nav-dropdown .dropdown-menu a::after { display: none; } /* removes orange underline */
.nav-links .nav-dropdown .dropdown-menu a:hover {
  background: var(--bg);
  color: var(--orange);
}

/* show on hover / keyboard focus */
.nav-links .nav-dropdown:hover .dropdown-menu,
.nav-links .nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* invisible bridge so the menu doesn't close while moving the mouse down */
.nav-links .nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 14px;
}

/* keep menu items on one line */
.nav-links > a,
.nav-links .dropdown-toggle { white-space: nowrap; }

/* ---------- Mobile / tablet (matches your 900px hamburger breakpoint) ---------- */
@media (max-width: 900px) {
  .nav-links .nav-dropdown { display: block; }

  .nav-links .nav-dropdown .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 8px 0 0 14px;
  }
  .nav-links .nav-dropdown.open .dropdown-menu { display: flex; }
  .nav-links .nav-dropdown::after { display: none; }
}