/* ============================================================
   वाणी CRM — landing page styles
   Plain CSS, no framework. Mobile-first with fluid layouts.
   ============================================================ */

:root {
  --navy: #0b1f4d;
  --navy-2: #123a7a;
  --blue: #1b64d8;
  --cyan: #17b0c4;
  --teal: #0f766e;
  --teal-2: #14a08a;
  --green: #22b34a;
  --orange: #f59a1f;
  --yellow: #f6c445;
  --pink: #e94b8a;
  --purple: #7c4dd6;
  --ink: #0f1c33;
  --muted: #5b6b86;
  --line: #e5eaf2;
  --bg: #ffffff;
  --bg-soft: #f4f8ff;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(15, 28, 51, 0.06);
  --shadow: 0 12px 30px rgba(15, 28, 51, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 28, 51, 0.16);
  --maxw: 1160px;
  --font: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --deva: "Noto Sans Devanagari", "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.accent { color: var(--cyan); }
.deva, .brand-text, .hero-title { font-family: var(--deva); }

.ic { width: 18px; height: 18px; }
svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: #0a1a40; box-shadow: var(--shadow); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-yellow { background: var(--yellow); color: #3a2c00; }
.btn-yellow:hover { background: #f2b92c; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Section headings ---------- */
.section-title {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 800;
  color: var(--navy); margin: 0 0 8px; letter-spacing: -0.02em;
}
.section-lead { color: var(--muted); font-size: 17px; margin: 0 0 28px; max-width: 720px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.link-arrow { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Icon tones ---------- */
.tone-blue { background: #e6f0ff; color: var(--blue); }
.tone-green { background: #e3f7e8; color: var(--green); }
.tone-teal { background: #dff5f1; color: var(--teal-2); }
.tone-orange { background: #fdeed6; color: var(--orange); }
.tone-yellow { background: #fdf3d3; color: #d79a00; }
.tone-purple { background: #efe6fb; color: var(--purple); }
.tone-pink { background: #fce1ec; color: var(--pink); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-text { color: var(--navy); }

.nav-links { display: none; margin-left: auto; gap: 26px; }
.nav-links a { color: #33425c; font-weight: 500; font-size: 15px; position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.nav-cta { display: none; }

.nav-toggle { margin-left: auto; display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

  .mobile-menu { display: flex; flex-direction: column; gap: 6px; padding: 12px 20px 20px; border-top: 1px solid var(--line); background: #fff; }
  .mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 10px 4px; font-weight: 500; color: #33425c; }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: #f4f9ff;
  padding: 48px 0 56px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.35)),
    url("../images/hero-bg.png") center right / cover no-repeat;
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 28px 40px; align-items: center; }
.eyebrow { color: var(--muted); font-weight: 700; font-size: 13.5px; letter-spacing: .12em; margin: 0 0 15px; }
.hero-title { font-size: clamp(52px, 9vw, 88px); line-height: .95; margin: 0; color: var(--navy); font-weight: 800; }
.hero-sub { font-size: clamp(20px, 3vw, 26px); font-weight: 700; color: var(--navy); margin: 12px 0 14px; }
.hero-lead { color: var(--muted); font-size: 16.5px; max-width: 520px; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-pills {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start;
  gap: 10px; padding: 0; margin: 4px 0 0; grid-column: 1 / -1; width: 100%;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; white-space: nowrap;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 12px 7px 7px; font-weight: 600; font-size: 13px; box-shadow: var(--shadow-sm);
}
.pill-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.pill-ic svg { width: 16px; height: 16px; }

/* Hero visual — two photos crossfade on the right only */
.hero-visual { position: relative; }
.hero-carousel { position: relative; aspect-ratio: 5 / 4; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; z-index: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-photo { position: relative; height: 100%; border-radius: 22px; overflow: visible; }
.hero-photo > img {
  width: 100%; height: 100%; border-radius: 26px; object-fit: cover; object-position: center 40%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 100%);
}
.hero-photo-lang { object-position: right center; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
.hero-blend {
  position: absolute; inset: 0; border-radius: 26px; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, rgba(236,246,255,.88) 0%, rgba(236,246,255,.28) 7%, transparent 16%);
}
.bubble {
  position: absolute; z-index: 2; background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow); color: var(--ink); font-family: var(--deva); max-width: 200px; line-height: 1.35;
}
.bubble-1 { top: 0; left: 6%; }
.bubble-2 { top: 26%; left: -2%; }
.bubble-wave { top: 70%; left: 30%; display: flex; align-items: flex-end; gap: 3px; height: 40px; padding: 8px 12px; }
.bubble-wave span { width: 3px; background: var(--cyan); border-radius: 2px; animation: wave 1s ease-in-out infinite; }
.bubble-wave span:nth-child(1){height:40%;animation-delay:0s}
.bubble-wave span:nth-child(2){height:70%;animation-delay:.1s}
.bubble-wave span:nth-child(3){height:100%;animation-delay:.2s}
.bubble-wave span:nth-child(4){height:60%;animation-delay:.3s}
.bubble-wave span:nth-child(5){height:85%;animation-delay:.4s}
.bubble-wave span:nth-child(6){height:45%;animation-delay:.5s}
.bubble-wave span:nth-child(7){height:75%;animation-delay:.6s}
@keyframes wave { 0%,100%{transform:scaleY(.5)} 50%{transform:scaleY(1)} }

.whatsapp-badge {
  position: absolute; z-index: 2; left: 52%; top: 66%; width: 48px; height: 48px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
}
.whatsapp-badge svg { width: 30px; height: 30px; }

.status-card {
  position: absolute; z-index: 2; right: -14%; top: 2%; background: #fff; border-radius: 16px; padding: 12px;
  box-shadow: var(--shadow-lg); display: grid; gap: 10px; width: 236px; font-family: var(--deva);
}
.status-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.s-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; }
.s-ic svg { width: 16px; height: 16px; }
.s-blue { background: #e6f0ff; color: var(--blue); }
.s-amber { background: #fdf0d3; color: var(--orange); }

@media (min-width: 980px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
}

/* ============================================================
   Engine
   ============================================================ */
.engine {
  position: relative; overflow: hidden; padding: 64px 0;
  background: #f3f8ff;
}
.engine-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(243,248,255,.35) 18%, rgba(243,248,255,.35) 82%, rgba(255,255,255,.8)),
    url("../images/engine-bg.png") center / cover no-repeat;
}
.engine > .container { position: relative; z-index: 1; }
.engine-flow {
  display: grid; gap: 16px; align-items: stretch; margin-top: 26px;
}
.engine-arrow { display: none; color: var(--cyan); align-items: center; justify-content: center; }
.engine-arrow svg { width: 34px; height: 34px; }
.engine-col {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px; height: 100%;
}
.engine-col .col-list { flex: 1; align-content: space-evenly; }
.col-head { border-radius: 12px; padding: 14px; text-align: center; font-weight: 800; font-size: 20px; color: #fff; line-height: 1.15; }
.col-head-plain { border-radius: 12px; padding: 14px; text-align: center; font-weight: 800; font-size: 30px; color: #fff; line-height: 1.15; }
.col-head span { font-weight: 600; font-size: 13px; opacity: .9; }
.head-navy { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.head-teal { background: linear-gradient(135deg, var(--teal), var(--teal-2)); }
.head-plain { color: var(--navy); background: transparent; }
.head-plain span { color: var(--muted); opacity: 1; }

.col-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.col-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; }
.col-list li small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.col-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; }
.col-ic svg { width: 20px; height: 20px; }

/* Brain — circled graphic, circled labels, stem into the caption box */
.engine-brain {
  align-items: center; background: transparent; border: 0; box-shadow: none; padding: 0;
}
.brain-stage { width: 100%; max-width: 360px; margin: 0 auto; }
.brain-wrap {
  position: relative; width: 100%; height: 400px; margin: 0 auto;
}
.brain-core {
  position: absolute; left: 50%; top: 172px; transform: translate(-50%, -50%);
  width: 158px; height: 158px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #e7f3ff 72%);
  border: 2px solid #b9d4ee;
  box-shadow: 0 0 0 7px rgba(176, 208, 236, 0.45), 0 10px 24px rgba(40, 110, 180, 0.12);
}
.brain-core img { width: 118%; height: 118%; object-fit: contain; }
.brain-node {
  position: absolute; z-index: 2; width: 112px; height: 112px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: #fff; color: var(--navy); border: 1.5px solid #d3e4f5;
  box-shadow: 0 8px 18px rgba(40, 110, 180, 0.1);
  font-size: 12px; font-weight: 700; line-height: 1.15; text-align: center;
}
.brain-node .node-ic {
  width: 26px; height: 26px; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  display: grid; place-items: center; color: #1497b8;
}
.brain-node .node-ic svg { width: 22px; height: 22px; }
.brain-node .node-label { display: block; max-width: 88px; }
.node-1 { top: 6px; left: 4px; }
.node-2 { top: 6px; right: 4px; }
.node-3 { top: 214px; left: 4px; }
.node-4 { top: 214px; right: 4px; }
.brain-link {
  position: absolute; left: 50%; top: 251px; z-index: 1;
  width: 1.5px; height: 156px; transform: translateX(-50%);
  background: #8ea3bf;
}
.engine-foot {
  position: relative; z-index: 2; margin: 0; padding: 10px 12px; text-align: center;
  background: #e7f0fa; border-radius: 12px;
  color: var(--navy); font-size: 12.5px; line-height: 1.35; white-space: nowrap;
}

@media (min-width: 980px) {
  .engine-flow {
    grid-template-columns: 1fr auto minmax(280px, 1.15fr) auto 1fr;
    align-items: stretch;
  }
  .engine-arrow { display: flex; align-self: center; }
  .engine-brain { align-self: center; height: auto; }
}

/* ============================================================
   Industries
   ============================================================ */
.industries { padding: 64px 0; }
.section-head-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.industry-grid {
  display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr);
}
.industry-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry-photo { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.industry-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.industry-badge {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #fff;
}
.industry-badge svg { width: 20px; height: 20px; }
.industry-card h3 { margin: 0 0 4px; font-size: 15px; color: var(--navy); }
.industry-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.4; }

@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .industry-grid { grid-template-columns: repeat(7, 1fr); } }

/* ============================================================
   VaaniCare
   ============================================================ */
.vaanicare {
  position: relative; overflow: hidden; padding: 56px 0;
  background: linear-gradient(105deg, #fde8f1 0%, #f7e9f8 42%, #e7eeff 100%);
}
.vaanicare-grid { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
.vaanicare-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.vc-mark { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple)); }
.vc-mark svg { width: 22px; height: 22px; }
.vc-name { font-size: 26px; font-weight: 800; color: var(--navy); }
.vc-tag { background: var(--teal-2); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

.vaanicare-visual { position: relative; }
.vaanicare-visual > img {
  width: 100%; border-radius: 28px; object-fit: cover; object-position: center 28%;
  aspect-ratio: 16 / 11;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.2) 4%, #000 22%, #000 100%),
    linear-gradient(#000, #000);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 5%, #000 24%, #000 100%);
}
.vaanicare-visual::after {
  content: ""; position: absolute; inset: 0; border-radius: 28px; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, #f6e4f4 0%, rgba(244,226,248,.82) 12%, rgba(232,226,252,.28) 28%, transparent 46%);
}
.care-path {
  position: relative; z-index: 2; margin-top: -40px; margin-left: auto; width: min(250px, 86%);
  background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-lg);
}
.care-head { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--pink); margin-bottom: 10px; }
.care-ribbon svg { width: 20px; height: 20px; }
.care-path ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.care-path li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.care-check { width: 16px; height: 16px; color: var(--teal-2); }

@media (min-width: 980px) {
  .vaanicare-grid { grid-template-columns: 1fr 1fr; }
  .care-path { position: absolute; right: 16px; bottom: 20px; margin: 0; }
}

/* ============================================================
   Why choose + TARA
   ============================================================ */
.why { padding: 64px 0; }
.why-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); margin-bottom: 34px; }
.why-card { text-align: center; padding: 8px; }
.why-ic { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; }
.why-ic svg { width: 30px; height: 30px; }
.why-card h3 { margin: 0 0 6px; font-size: 15.5px; color: var(--navy); }
.why-card p { margin: 0; color: var(--muted); font-size: 13.5px; }

.tara-panel {
  background: #f7faff; border: 1px solid var(--line); border-radius: 20px; padding: 26px;
  display: grid; gap: 26px; align-items: center;
}
.tara-copy h3 { margin: 0 0 10px; font-size: 22px; color: var(--navy); }
.tara-copy p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.tara-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tara-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 10px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 124px; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--navy);
}
.tara-ic { color: var(--navy-2); }
.tara-ic svg { width: 24px; height: 24px; }

@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) {
  .why-grid { grid-template-columns: repeat(6, 1fr); gap: 0; }
  .why-card { position: relative; padding: 8px 14px; }
  .why-card:not(:last-child)::after {
    content: ""; position: absolute; top: 8%; right: 0; width: 1px; height: 78%;
    background: #d9e1ee;
  }
  .tara-panel { grid-template-columns: 0.92fr 1.2fr; align-items: center; }
  .tara-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}

/* ============================================================
   CTA banner
   ============================================================ */
.cta { position: relative; overflow: hidden; color: #fff; }
.cta-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,14,33,.9), rgba(6,14,33,.5) 60%, rgba(6,14,33,.25)); }
.cta-inner { position: relative; z-index: 1; padding: 72px 20px; display: grid; gap: 28px; align-items: center; }
.cta-copy h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 0 0 16px; line-height: 1.1; }
.cta-copy .hl { color: var(--yellow); }
.cta-copy p { color: rgba(255,255,255,.85); font-size: 16px; max-width: 540px; margin: 0 0 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-script {
  font-family: "Caveat", cursive; font-weight: 600; font-style: normal;
  font-size: clamp(34px, 4.2vw, 52px); color: #fff; text-align: right; line-height: 1.05;
  margin: 0; justify-self: end; align-self: center; letter-spacing: .01em;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
@media (min-width: 980px) {
  .cta-inner { grid-template-columns: 1.15fr 0.85fr; padding: 96px 20px; }
  .cta-script { padding-right: 8px; transform: translateY(-8px); }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 48px 0 24px; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand-link { margin-bottom: 4px; }
.footer-brand .brand-logo { height: 40px; }
.footer-brand .brand-text { color: #fff; font-size: 24px; font-weight: 800; }
.footer-brand p { margin: 12px 0 0; font-size: 14px; max-width: 360px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 28px; align-content: start; }
.footer-links a { font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 8px; align-content: start; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.6);
}
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }

/* ============================================================
   Request a Demo modal
   ============================================================ */
.demo-modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(11, 31, 77, 0.56);
  overflow: hidden;
}
.demo-modal[hidden] { display: none !important; }
.demo-modal:not([hidden]) { animation: demo-modal-in .16s ease; }
@keyframes demo-modal-in { from { opacity: 0; } to { opacity: 1; } }
html.demo-open, body.demo-open { overflow: hidden; }

.demo-dialog {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  display: flex; flex-direction: column;
  background: #fff; color: var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 28px 24px max(20px, env(safe-area-inset-bottom));
  overflow: hidden;
}
.demo-dialog > .demo-panel {
  display: flex; flex-direction: column;
  min-height: 0;
}
.demo-dialog > #demoFormPanel {
  flex: 1 1 auto;
  overflow: hidden;
}
.demo-panel[hidden] { display: none !important; }

.demo-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--navy);
  cursor: pointer; font-family: inherit;
}
.demo-close:hover { background: var(--line); }
.demo-close svg { width: 18px; height: 18px; }

.demo-dialog h2 {
  margin: 0 36px 8px 0;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2; letter-spacing: -0.02em;
  color: var(--navy); font-weight: 800;
}
.demo-lead { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

#demoForm {
  display: flex; flex-direction: column;
  flex: 1 1 auto; min-height: 0;
}
.demo-fields {
  overflow: auto; min-height: 0;
  flex: 1 1 auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}
.demo-field { display: grid; gap: 6px; margin-bottom: 14px; }
.demo-field label { font-weight: 600; font-size: 14px; color: var(--navy); }
.demo-optional { font-weight: 500; color: var(--muted); font-size: 12px; }
.demo-field input,
.demo-field select,
.demo-field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 14px; box-shadow: none;
}
.demo-field textarea { min-height: 96px; resize: vertical; }
.demo-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b1f4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.demo-field input:focus-visible,
.demo-field select:focus-visible,
.demo-field textarea:focus-visible,
.demo-close:focus-visible,
.demo-actions .btn:focus-visible,
.demo-success .btn:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px;
}
.demo-field input[aria-invalid="true"],
.demo-field select[aria-invalid="true"],
.demo-field textarea[aria-invalid="true"] { border-color: #b42318; }
.demo-error { margin: 0; color: #b42318; font-size: 13px; font-weight: 500; }
.demo-error:empty { display: none; }
.demo-banner {
  margin: 0 0 12px; padding: 10px 12px; border-radius: 12px;
  background: #fdecec; color: #8f1d1d; font-size: 14px; font-weight: 500;
}
.demo-banner[hidden] { display: none !important; }
.demo-actions { flex: none; padding-top: 4px; }
.demo-actions .btn,
.demo-success .btn {
  font-family: inherit; width: 100%; justify-content: center;
}
.demo-actions .btn:disabled {
  opacity: .72; cursor: progress; transform: none;
}

.demo-success { text-align: center; padding: 12px 8px 4px; }
.demo-success h2 { margin: 0 0 10px; }
.demo-success p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.demo-success .btn { margin-top: 6px; }
.demo-success-mark {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin: 8px auto 16px;
}
.demo-success-mark svg { width: 28px; height: 28px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 640px) {
  .demo-modal { padding: 10px; align-items: center; }
  .demo-dialog { padding: 22px 16px max(16px, env(safe-area-inset-bottom)); border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-modal:not([hidden]) { animation: none; }
}