/* ==========================================================================
   DigiEasy Animated Design System & Motion Layer
   Exact pixel-perfect match to digieasy-animated-preview.html
   Full-bleed 4-chapter narrative scene, floating glass header, live desk feed,
   card sheens, and complete responsive constraints + full backend support.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --paper-2: #f3f6fb;
  --surface: #ffffff;
  --ink: #101f3c;
  --ink-soft: #54657f;
  --muted: #54657f;
  --line: rgba(16, 31, 60, 0.12);
  --line-strong: rgba(16, 31, 60, 0.18);
  --amber: #f95d1e;
  --amber-bright: #ff7a29;
  --amber-soft: #fff1e8;
  --amber-pale: #ffb98a;
  --blue: #1a5cff;
  --blue-deep: #0f3fb8;
  --blue-soft: #e8efff;
  --deep: #101f3c;
  --deep-2: #16294d;
  --violet: #1a5cff;
  --violet-deep: #0f3fb8;
  --violet-soft: #e8efff;
  --green: #0aa87a;
  --green-soft: #e2f6ee;
  --teal: #0aa87a;
  --teal-soft: #e2f6ee;
  --yellow: #ffb703;
  --yellow-soft: #fff6dd;
  --surface-2: #f3f6fb;
  --shadow: 0 18px 44px rgba(16, 42, 100, 0.12);
  --shadow-lg: 0 24px 60px rgba(16, 42, 100, 0.16);
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html {
  overflow-x: visible;
  scroll-behavior: smooth;
}
body {
  overflow-x: visible;
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: relative;
}

/* Ensure content sections prevent horizontal blowout while keeping html/body overflow:visible for position:sticky */
section.block,
.marquee,
.logo-marquee,
.footer {
  max-width: 100vw;
  overflow-x: clip;
}
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--amber); color: #fff; }

h1, h2, h3, h4 {
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 800;
}

h1 em, h2 em, h3 em {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

p { margin: 0; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
}
.kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--amber);
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 21px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.38) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }

.btn svg { width: 15px; height: 15px; flex: none; }
.btn-violet, .btn-primary {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 10px 26px rgba(249, 93, 30, 0.32);
}
.btn-violet:hover, .btn-primary:hover {
  background: var(--amber-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(249, 93, 30, 0.42);
}
.btn-ghost-light {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 8px 22px rgba(16, 42, 100, 0.08);
}
.btn-ghost-light:hover {
  background: var(--blue-soft);
  transform: translateY(-2px);
}
.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 17px; font-size: 12.5px; }

/* ---------- header: floating glass bar with logo chip ---------- */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  pointer-events: none;
}
.head-in {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px max(20px, calc((100vw - 1120px) / 2)) 0;
  padding: 9px 10px 9px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(16, 31, 60, 0.09);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(16, 42, 100, 0.12);
  transition: background 0.45s ease, box-shadow 0.45s ease;
  animation: headIn 0.9s var(--ease) both;
}
@keyframes headIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}
.site-head.scrolled .head-in {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 40px rgba(16, 42, 100, 0.16);
}
.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
  color: var(--ink);
}
.brandmark-img {
  max-height: 38px;
  max-width: 175px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.footer-logo-img {
  max-height: 42px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}
@media (max-width: 640px) {
  .brandmark-img {
    max-height: 32px;
    max-width: 135px;
  }
}
.logo-chip {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--amber-bright) 0%, var(--amber) 55%, #e04a0c 100%);
  box-shadow: 0 8px 18px rgba(249, 93, 30, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.logo-chip svg { width: 19px; height: 19px; }
.brandmark em { font-style: normal; color: var(--amber); }
.brandmark sup { font-size: 10px; color: var(--blue); font-weight: 700; margin-left: 1px; }

.mainnav { display: flex; gap: 2px; margin-inline: auto; }
.mainnav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 13px;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}
.mainnav a:hover { color: var(--blue-deep); background: var(--blue-soft); }
.head-in .btn-violet { box-shadow: 0 8px 20px rgba(249, 93, 30, 0.3); }

.burger {
  display: none;
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.25s ease;
}
.burger:hover { background: var(--paper-2); }
.burger svg { width: 18px; height: 18px; }

.mobile-nav {
  pointer-events: auto;
  display: none;
  margin: 8px max(20px, calc((100vw - 1120px) / 2)) 0;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.mobile-nav.open { display: block; animation: navDrop 0.35s var(--ease); }
@keyframes navDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.mobile-nav a {
  display: block;
  padding: 11px 13px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}
.mobile-nav a:hover { background: var(--paper-2); }

/* ---------- pinned scene (AERIS style: full bleed photos, slim scrims, caption bottom left) ---------- */
.scene-wrap {
  height: 380vh;
  position: relative;
  background: #081020;
  touch-action: pan-y;
  overflow: visible !important;
}
.scene-sticky {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  background: #081020;
  color: #fff;
  z-index: 2;
}
.scene-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--deep);
  overflow: hidden;
}
.hero-master-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
}
.scene-cut-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #081020;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
.frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
}
.frame:first-child { opacity: 1; }

/* Smooth continuous motion wrapper when a chapter uses a still image fallback */
.hero-kb-frame {
  overflow: hidden;
}
.hero-kb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 50%;
  animation: heroKenBurns 13s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-kb-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(480px 320px at 66% 58%, rgba(16, 185, 129, 0.14), transparent 70%);
  animation: heroSupportPulse 4.6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroKenBurns {
  from { transform: scale(1.03) translate3d(-1.4%, -0.8%, 0); }
  to   { transform: scale(1.11) translate3d(1.6%, 0.9%, 0); }
}
@keyframes heroSupportPulse {
  from { opacity: 0.35; }
  to   { opacity: 0.95; }
}

.scene-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 16, 32, 0.86) 0%, rgba(8, 16, 32, 0.64) 42%, rgba(8, 16, 32, 0.18) 74%, rgba(8, 16, 32, 0.06) 100%),
    linear-gradient(0deg, rgba(8, 16, 32, 0.66) 0%, rgba(8, 16, 32, 0.20) 42%, rgba(8, 16, 32, 0) 70%),
    linear-gradient(180deg, rgba(8, 16, 32, 0.48) 0%, rgba(8, 16, 32, 0.14) 26%, rgba(8, 16, 32, 0) 44%);
}

/* Drifting ambient radial lighting */
.scene-shade::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(560px 340px at 18% 78%, rgba(249, 93, 30, 0.16), transparent 65%),
              radial-gradient(640px 380px at 82% 18%, rgba(26, 92, 255, 0.14), transparent 65%);
  animation: shadeDrift 11s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes shadeDrift {
  from { transform: translate3d(-2.5%, -1.5%, 0) scale(1); opacity: 0.75; }
  to { transform: translate3d(2.5%, 1.5%, 0) scale(1.06); opacity: 1; }
}

/* Safe stage: chapters vertically centered in the middle of the hero stage */
.chapters {
  position: absolute;
  left: 0;
  right: 0;
  top: 88px;
  bottom: 72px;
  z-index: 3;
}
.chapter {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(20px, calc((100vw - 1120px) / 2));
  right: auto;
  width: min(620px, calc(100vw - 40px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.20s ease-out,
    transform 0.24s ease-out,
    visibility 0s linear 0.24s;
  will-change: opacity, transform;
}
.chapter.is-above {
  transform: translate3d(0, -22px, 0);
}
.chapter.is-below {
  transform: translate3d(0, 22px, 0);
}
.chapter-in {
  width: 100%;
  padding: 0;
  margin-block: auto;
}
.chapter.live {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.44s cubic-bezier(0.22, 1, 0.36, 1) 0.09s,
    transform 0.50s cubic-bezier(0.22, 1, 0.36, 1) 0.09s,
    visibility 0s linear 0s;
}

/* Initial staggered entrance for Chapter 01 on page open (never restarts mid-scroll) */
.chapter[data-chapter="0"] .chapter-in > * { animation: chapterIn 0.75s var(--ease) both; }
.chapter[data-chapter="0"] .chapter-in > *:nth-child(2) { animation-delay: 0.07s; }
.chapter[data-chapter="0"] .chapter-in > *:nth-child(3) { animation-delay: 0.14s; }
.chapter[data-chapter="0"] .chapter-in > *:nth-child(4) { animation-delay: 0.21s; }
@keyframes chapterIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.chapter .kicker {
  color: var(--amber-pale);
  text-shadow: 0 1px 12px rgba(8, 16, 32, 0.65);
}
.chapter .kicker::before { background: var(--amber-pale); }

.chapter h1, .chapter h2 {
  font-size: clamp(1.8rem, 3.9vw, 3.15rem);
  line-height: 1.04;
  max-width: 14em;
  margin-top: 14px;
  color: #fff;
  text-shadow: 0 2px 30px rgba(8, 16, 32, 0.6), 0 1px 3px rgba(8, 16, 32, 0.55);
}
.chapter h1 em, .chapter h2 em { color: var(--amber-pale); }

.chapter .lede {
  margin-top: 14px;
  font-size: clamp(0.92rem, 1.3vw, 1.03rem);
  line-height: 1.58;
  color: #fff;
  max-width: 32em;
  font-weight: 550;
  text-shadow: 0 1px 16px rgba(8, 16, 32, 0.6), 0 1px 2px rgba(8, 16, 32, 0.5);
}
.chapter .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 42, 100, 0.08);
  color: var(--blue-deep);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}
.pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.55; }
}

.chat-card {
  margin-top: 20px;
  max-width: 460px;
  display: grid;
  gap: 9px;
}
.bubble {
  border-radius: 15px;
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.bubble .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  background: var(--amber);
  color: #fff;
}
.bubble.q {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  box-shadow: 0 10px 24px rgba(16, 42, 100, 0.09);
}
.bubble.a {
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 5px;
  margin-left: 28px;
  box-shadow: 0 12px 26px rgba(26, 92, 255, 0.28);
}
.bubble.a .tick { color: #ffd9a8; font-weight: 800; }
.bubble.a .avatar { background: var(--amber); }

.stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.stat-chip {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(16, 42, 100, 0.09);
}
.stat-chip b { display: block; font-size: 15.5px; line-height: 1.2; }
.stat-chip span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stat-chip .ok { color: var(--amber); }

.plat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
  max-width: 600px;
}
.plat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
  border: 1px solid var(--line);
  padding: 8px 15px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(16, 42, 100, 0.09);
}
.plat i { width: 8px; height: 8px; border-radius: 3px; flex: none; }

.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  max-width: 580px;
}
.city {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 42, 100, 0.07);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
}
.city.more {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  font-weight: 800;
}

.chapter.live .plat,
.chapter.live .stat-chip,
.chapter.live .city {
  animation: floaty 4.6s ease-in-out infinite;
}
.chapter.live .plat:nth-child(2n), .chapter.live .city:nth-child(2n) { animation-delay: 0.7s; }
.chapter.live .plat:nth-child(3n), .chapter.live .city:nth-child(3n) { animation-delay: 1.3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ---------- live activity card: bottom right, clear of chapter text ---------- */
.live-feed {
  position: absolute;
  right: max(20px, calc((100vw - 1120px) / 2));
  bottom: 82px;
  z-index: 6;
  width: 292px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(4, 10, 24, 0.28);
  padding: 13px 15px;
}
.live-feed .lf-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16c26b;
  flex: none;
  position: relative;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid #16c26b;
  animation: liveRing 1.9s ease-out infinite;
}
@keyframes liveRing {
  from { transform: scale(0.45); opacity: 0.9; }
  to { transform: scale(1.15); opacity: 0; }
}
.live-feed .lf-body {
  margin-top: 7px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.42;
  min-height: 2.84em;
  transition: opacity 0.45s ease, transform 0.45s var(--ease);
}
.live-feed .lf-body.swap { opacity: 0; transform: translateY(7px); }
.live-feed .lf-sub {
  font-size: 12px;
  font-weight: 550;
  color: var(--ink-soft);
  line-height: 1.45;
  transition: opacity 0.45s ease;
}

/* Chapter Rail & Desktop Arrow Stepper */
.rail {
  position: absolute;
  right: max(20px, calc((100vw - 1120px) / 2));
  bottom: 24px;
  z-index: 6;
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  padding: 6px 8px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(16, 42, 100, 0.14);
}
.rail-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(16, 31, 60, 0.12);
  background: var(--paper-2);
  color: var(--ink);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.2s ease, opacity 0.2s ease;
}
.rail-arrow svg {
  width: 14px;
  height: 14px;
}
.rail-arrow:hover:not(:disabled) {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  transform: translateY(-1px);
}
.rail-arrow:active:not(:disabled) {
  transform: scale(0.94);
}
.rail-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.rail-count {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  padding: 0 2px;
  user-select: none;
}
.rail-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 2px;
}
.rail-dot {
  position: relative;
  width: 18px;
  height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(16, 31, 60, 0.18);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: width 0.38s var(--ease), background 0.3s ease;
}
.rail-dot::after {
  content: "";
  position: absolute;
  inset: -10px -4px;
}
.rail-dot i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--amber);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}
.rail-dot.is-past i {
  transform: scaleX(1);
}
.rail-dot.on {
  width: 34px;
  background: rgba(249, 93, 30, 0.22);
}
.rail-dot.on i {
  transform: scaleX(var(--ch-prog, 0.25));
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  left: max(20px, calc((100vw - 1120px) / 2));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 5;
  display: grid;
  justify-items: start;
  gap: 0;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(8, 16, 32, 0.7);
  transition: opacity 0.4s ease;
}
.scroll-cue span {
  width: 1px;
  height: 28px;
  margin-top: 8px;
  background: linear-gradient(180deg, var(--amber), transparent);
  display: block;
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { transform: scaleY(0.25); transform-origin: top; opacity: 0.4; }
  55% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.25); transform-origin: bottom; opacity: 0.4; }
}

/* Reduced motion / no JS fallback for scene: keep all chapters accessible */
.scene-wrap.static { height: auto; }
.scene-wrap.static .scene-sticky { position: relative; height: auto; min-height: 100vh; }
.scene-wrap.static .chapter {
  position: relative;
  inset: auto;
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  margin: 0;
  padding: 80px 20px 40px;
  max-width: 760px;
}
.scene-wrap.static .frame { display: none; }
.scene-wrap.static .frame:first-child { display: block; opacity: 1 !important; transform: none !important; }
.scene-wrap.static .live-feed,
.scene-wrap.static .scroll-cue { display: none; }

/* ---------- generic sections ---------- */
section.block,
#services,
#why,
#results,
#india,
#stories,
#contact {
  scroll-margin-top: clamp(74px, 10vw, 92px);
}
section.block { padding: clamp(58px, 9vh, 92px) 0; }
.sec-head { max-width: 680px; position: relative; }
.sec-head h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); margin-top: 14px; }
.sec-head h2 em { color: var(--amber); }
.sec-head .sub { margin-top: 12px; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; max-width: 34em; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-head.center .kicker::after { content: ""; width: 38px; height: 1px; background: var(--amber); flex: none; }
.sec-head.center .sub { margin-inline: auto; }

.rv {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.65s ease, transform 0.72s var(--ease);
  transition-delay: var(--d, 0s);
}
.rv.in {
  opacity: 1;
  transform: none;
}

/* Zero-lag 3D hover tilt state & off-screen animation pause gates */
.svc.is-tilting, .stat-card.is-tilting {
  transition: box-shadow 0.35s var(--ease) !important;
}
.scene-wrap.is-offscreen .scene-shade::after,
.scene-wrap.is-offscreen .live-dot::after,
.scene-wrap.is-offscreen .scroll-cue span,
.scene-wrap.is-offscreen .chapter.live .plat,
.scene-wrap.is-offscreen .chapter.live .stat-chip,
.scene-wrap.is-offscreen .chapter.live .city,
.scene-wrap.is-offscreen .hero-kb-img,
.scene-wrap.is-offscreen .hero-kb-frame::after,
.marquee.is-offscreen .marquee-track,
.logo-marquee.is-offscreen .logo-track,
.india-stage.is-offscreen,
.india-stage.is-offscreen *,
.india-stage.is-offscreen *::before,
.india-stage.is-offscreen *::after,
#india.is-offscreen .script-chip .eq s {
  animation-play-state: paused !important;
}

/* Card Sheens & Interactive Hover Animations */
.svc::before, .stat-card, .india-card, .res-feature, .res-item { position: relative; }
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(26, 92, 255, 0.07) 50%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.8s var(--ease);
}
.svc:hover::before { transform: translateX(130%); }
.svc > * { position: relative; z-index: 1; }
.svc .icon { transition: transform 0.45s var(--ease), background 0.3s ease; }
.svc:hover .icon { transform: translateY(-3px) rotate(-5deg) scale(1.07); }

.stat-card { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); overflow: hidden; }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(16, 42, 100, 0.12); }

.india-card { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.india-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(16, 42, 100, 0.1); }
.india-card .chip, .chip-row .chip { transition: transform 0.3s var(--ease), background 0.3s ease, border-color 0.3s ease; }
.india-card .chip:hover { transform: translateY(-2px); border-color: var(--amber); background: var(--amber-soft); }

.res-feature img, .res-item img { transition: transform 1s var(--ease); }
.res-feature:hover img, .res-item:hover img { transform: scale(1.045); }
.res-feature, .res-item { overflow: hidden; }

.why-item { transition: background 0.35s ease; border-radius: 6px; }
.why-item .n { transition: transform 0.45s var(--ease), background 0.35s ease, color 0.35s ease; }
.why-item:hover .n { transform: scale(1.1) rotate(-6deg); background: var(--amber); color: #fff; }

.direct-links a { transition: background 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease); }
.direct-links a:hover { transform: translateX(4px); }

/* WhatsApp floating CTA */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 55;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #22C15E;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(20, 160, 80, 0.4);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(34, 193, 94, 0.55);
  animation: liveRing 2.2s ease-out infinite;
  pointer-events: none;
}
body.scene-active .wa-float { transform: translateY(-64px); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 24px; height: 24px; }

/* ---------- stats band ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 38px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
}
.stat-card .num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-card .num em { font-style: normal; color: var(--amber); }
.stat-card .lbl {
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- scrolling keyword marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fff;
  padding: 15px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeMove 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-track span i { font-style: normal; color: var(--amber); font-size: 11px; }
.marquee-track span:nth-child(3n) i { color: var(--blue); }
.marquee-track span:nth-child(4n) i { color: var(--teal); }
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Brand Logo Marquee */
.logo-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding: 18px 0;
}
.logo-track {
  display: flex;
  gap: 32px;
  align-items: center;
  width: max-content;
  animation: logoMarquee 40s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  min-width: 110px;
  height: 48px;
}
.logo-item img { max-height: 28px; width: auto; object-fit: contain; }
@keyframes logoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- services ---------- */
#services { background: var(--paper-2); }
.svc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.svc-tab {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.svc-tab:hover, .svc-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(16, 42, 100, 0.13); }
.svc .idx {
  position: absolute;
  top: 16px;
  right: 18px;
  font-weight: 800;
  font-size: 12px;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.svc .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
}
.svc .icon svg { width: 20px; height: 20px; }
.svc:nth-child(4n+2) .icon { background: var(--amber-soft); color: var(--amber); }
.svc:nth-child(4n+3) .icon { background: var(--teal-soft); color: var(--teal); }
.svc:nth-child(4n) .icon { background: var(--yellow-soft); color: #c07f00; }
.svc h3 { font-size: 16px; margin-top: 14px; letter-spacing: -0.01em; line-height: 1.3; }
.svc p { margin-top: 7px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.55; }
.svc-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.svc-action:hover { text-decoration: underline; }

/* ---------- why choose ---------- */
.why-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
}
.why-sticky { position: sticky; top: 96px; }
.why-proof {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 14px;
}
.why-proof div b { display: block; font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
.why-proof div b i { font-style: normal; color: var(--amber); }
.why-proof div span { color: var(--ink-soft); font-size: 13px; }
.why-list { display: grid; }
.why-item {
  padding: 22px 2px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
}
.why-item:first-child { border-top: none; padding-top: 4px; }
.why-item .n {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  color: var(--amber);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}
.why-item h3 { font-size: 17.5px; }
.why-item p { margin-top: 6px; color: var(--ink-soft); font-size: 14.5px; max-width: 44em; }
.why-item p b { color: var(--ink); }

/* ---------- testimonials ---------- */
#stories { background: var(--paper-2); color: var(--ink); }
.tst-shell {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  gap: 14px;
  align-items: center;
}
.tst-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(16, 42, 100, 0.08);
  transition: background 0.25s ease, transform 0.25s ease;
}
.tst-btn:hover { background: var(--blue-soft); transform: scale(1.05); }
.tst-btn svg { width: 19px; height: 19px; }
.tst-view { overflow: hidden; border-radius: 20px; }
.tst-track { display: flex; transition: transform 0.6s var(--ease); }
.tst-card {
  flex: 0 0 100%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid rgba(16, 31, 60, 0.12);
  padding: clamp(26px, 4.2vw, 42px);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(16, 42, 100, 0.06);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tst-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #0aa87a;
  background: #e2f6ee;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.verified-pill svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
}
.stars { color: #f59e0b; letter-spacing: 3px; font-size: 16px; text-shadow: 0 1px 3px rgba(245, 158, 11, 0.28); }
.tst-card blockquote {
  margin: 12px 0 0;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.58;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1e293b;
}
.tst-who {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.tst-who .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f95d1e 0%, #1a5cff 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(249, 93, 30, 0.25);
}
.tst-who b { display: block; font-size: 15px; }
.tst-who span { color: var(--ink-soft); font-size: 13px; }
.tst-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.tst-dots button {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: none;
  background: rgba(16, 31, 60, 0.22);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.tst-dots button.on { width: 26px; background: var(--amber); }

/* ---------- india section (Scroll-Driven 5-Point Sticky Map & Story) ---------- */
#india {
  background: var(--paper-2);
  position: relative;
}
.india-bg-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: url("india-network-bg.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  pointer-events: none;
}

.india-scrolly {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(22px, 3.4vw, 42px);
  margin-top: 38px;
  align-items: start;
}

.india-sticky-col {
  position: sticky;
  top: 92px;
  z-index: 10;
}

.india-stage {
  position: relative;
  height: min(600px, calc(100vh - 116px));
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(500px 280px at 18% 14%, rgba(26, 92, 255, 0.08), transparent 65%),
    radial-gradient(480px 280px at 84% 82%, rgba(249, 93, 30, 0.09), transparent 65%),
    linear-gradient(155deg, #ffffff 0%, #f5f8fd 55%, #eaf0fb 100%);
  box-shadow: 0 26px 64px rgba(16, 42, 100, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.india-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 31, 60, 0.075) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.65;
}

/* Ambient sweeping wave ribbons */
.stage-ribbons {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.stage-ribbons .rib { stroke-width: 1.5; opacity: 0.35; }
.stage-ribbons .rib-1 { stroke: rgba(10, 168, 122, 0.45); }
.stage-ribbons .rib-2 { stroke: rgba(26, 92, 255, 0.38); }
.stage-ribbons .rib-comet {
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 14 86;
  animation: ribbonStream 7.5s linear infinite;
}
.stage-ribbons .comet-1 { stroke: var(--teal); }
.stage-ribbons .comet-2 { stroke: var(--blue); animation-duration: 9.5s; animation-delay: -3.2s; }
@keyframes ribbonStream {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

/* Top HUD Bar */
.stage-hud {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 31, 60, 0.08);
}
.stage-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stage-chip-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--amber-bright), var(--amber));
  box-shadow: 0 5px 14px rgba(249, 93, 30, 0.3);
}
.stage-chip-logo svg { width: 14px; height: 14px; }
.stage-brand-txt {
  font-weight: 900;
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.stage-brand-txt em { font-style: normal; color: var(--amber); }
.stage-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: #077d5a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stage-live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16c26b;
  animation: pulseDot 1.6s ease-in-out infinite;
}
.stage-step-pill {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--blue-soft);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

/* Map Canvas */
.stage-map-canvas {
  position: relative;
  z-index: 3;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
}
#indiaMapSvg {
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: visible;
  transition: transform 0.75s var(--ease);
}
.india-stage[data-act="1"] #indiaMapSvg { transform: scale(1.02); }
.india-stage[data-act="2"] #indiaMapSvg { transform: scale(0.98); }
.india-stage[data-act="3"] #indiaMapSvg { transform: scale(1.03); }
.india-stage[data-act="4"] #indiaMapSvg { transform: scale(1.01); }

/* Landmass Morphing Across the 5 Scroll Points */
.india-halo {
  fill: none;
  stroke: rgba(26, 92, 255, 0.12);
  stroke-width: 18px;
  stroke-linejoin: round;
  transform: translateY(5px);
  transition: stroke 0.65s ease;
}
.india-land {
  fill: url(#indiaNavyGrad);
  transition: fill 0.65s ease;
}
.india-stage[data-act="1"] .india-land { fill: url(#indiaVernGrad); }
.india-stage[data-act="2"] .india-land { fill: url(#indiaMktGrad); }
.india-stage[data-act="3"] .india-land { fill: #ffffff; }
.india-stage[data-act="4"] .india-land { fill: url(#indiaFinaleGrad); }

.india-stage[data-act="3"] .india-halo { stroke: rgba(16, 42, 100, 0.13); }
.india-stage[data-act="4"] .india-halo { stroke: rgba(249, 93, 30, 0.20); }
.india-stage[data-act="3"] .india-topo-grid { stroke: rgba(16, 42, 100, 0.16); }

.india-radar-sweep { animation: mapRadarScan 5.5s linear infinite; }
@keyframes mapRadarScan {
  0% { transform: translateY(0); }
  100% { transform: translateY(760px); }
}

.india-border {
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 2;
  stroke-linejoin: round;
  transition: stroke 0.6s ease, stroke-width 0.6s ease;
}
.india-stage[data-act="3"] .india-border {
  stroke: #1e3a78;
  stroke-width: 2.3;
}
.india-stage[data-act="4"] .india-border {
  stroke: url(#indiaStrokeGrad);
  stroke-width: 2.6;
}

/* Inter-City Flight Corridors */
.arc-base {
  stroke: rgba(124, 168, 255, 0.3);
  stroke-width: 1.3;
  stroke-dasharray: 3 4;
}
.india-stage[data-act="3"] .arc-base { stroke: rgba(26, 92, 255, 0.26); }
.arc-pulse {
  stroke: #ffb98a;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 18 82;
  animation: arcPacket 2.7s linear infinite;
}
.india-stage[data-act="1"] .arc-pulse { stroke: #3ce6b0; }
.india-stage[data-act="2"] .arc-pulse { stroke: #ffd166; animation-duration: 1.9s; }
.india-stage[data-act="3"] .arc-pulse { stroke: var(--amber); }
.arc-pulse.p2 { animation-delay: -0.6s; stroke: #7fb0ff; }
.arc-pulse.p3 { animation-delay: -1.2s; }
.arc-pulse.p4 { animation-delay: -1.8s; stroke: #3ce6b0; }
.arc-pulse.p5 { animation-delay: -0.9s; }
.arc-pulse.p6 { animation-delay: -2.1s; stroke: #7fb0ff; }
@keyframes arcPacket {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

/* Ambient Sub-Nodes */
.nodes-ambient circle {
  fill: #2be3a7;
  opacity: 0.72;
  animation: subNodeTwinkle 3.2s ease-in-out infinite alternate;
}
.nodes-ambient circle:nth-child(2n) { animation-delay: 0.8s; fill: #7cb0ff; }
.nodes-ambient circle:nth-child(3n) { animation-delay: 1.6s; fill: #ffa570; }
.india-stage[data-act="3"] .nodes-ambient circle { fill: var(--teal); opacity: 0.55; }
@keyframes subNodeTwinkle {
  from { opacity: 0.3; transform: scale(0.85); transform-box: fill-box; transform-origin: center; }
  to { opacity: 0.95; transform: scale(1.25); transform-box: fill-box; transform-origin: center; }
}

/* Point 02 Map Overlay: Regional Native Script Callouts */
.nodes-vernacular {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.india-stage[data-act="1"] .nodes-vernacular { opacity: 1; }
.v-badge rect {
  fill: rgba(10, 168, 122, 0.94);
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.2;
  filter: drop-shadow(0 6px 12px rgba(6, 20, 40, 0.28));
}
.v-badge:nth-child(even) rect { fill: rgba(26, 92, 255, 0.94); }
.v-badge:nth-child(3n) rect { fill: rgba(249, 93, 30, 0.94); }
.v-badge text {
  fill: #ffffff;
  font-family: "Archivo", sans-serif;
  font-size: 10.2px;
  font-weight: 800;
}

/* Point 03 Map Overlay: Marketplace Orbit Pills */
.nodes-marketplaces {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.india-stage[data-act="2"] .nodes-marketplaces { opacity: 1; }
.m-orb rect {
  fill: #ffffff;
  stroke: rgba(16, 31, 60, 0.16);
  stroke-width: 1.2;
  filter: drop-shadow(0 8px 16px rgba(8, 20, 48, 0.22));
}
.m-orb text {
  fill: var(--ink);
  font-family: "Archivo", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
}

/* Point 04 Map Overlay: Tier-2 & Tier-3 Growth Pins */
.nodes-tier2 {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.india-stage[data-act="3"] .nodes-tier2 { opacity: 1; }
.india-stage[data-act="4"] .nodes-tier2 { opacity: 0.9; }
.india-stage[data-act="4"] .nodes-tier2 .map-tag { opacity: 0; }
.t2-pin .t2-dot { fill: var(--teal); stroke: #fff; stroke-width: 1.8; }
.t2-pin:nth-child(odd) .t2-dot { fill: var(--blue); }
.t2-pin .t2-ring {
  fill: rgba(10, 168, 122, 0.18);
  stroke: var(--teal);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: beaconWave 2.2s ease-out infinite;
  animation-delay: calc(var(--i, 0) * 0.2s);
}
.t2-pin:nth-child(odd) .t2-ring { fill: rgba(26, 92, 255, 0.16); stroke: var(--blue); }
.map-tag rect {
  fill: #ffffff;
  stroke: rgba(16, 31, 60, 0.16);
  stroke-width: 1;
  filter: drop-shadow(0 3px 6px rgba(16, 42, 100, 0.12));
}
.map-tag text {
  fill: var(--ink);
  font-family: "Archivo", sans-serif;
  font-size: 9.2px;
  font-weight: 800;
}

/* Point 01 & 05: Tier-1 Metro Hub Beacons */
.nodes-metro { transition: opacity 0.45s ease; }
.metro-tag { transition: opacity 0.35s ease; }
.india-stage[data-act="1"] .metro-tag,
.india-stage[data-act="2"] .metro-tag,
.india-stage[data-act="3"] .metro-tag { opacity: 0; }
.india-stage[data-act="3"] .nodes-metro { opacity: 0.25; }

.metro-pin .m-core { fill: #fff; stroke: var(--amber); stroke-width: 2.5; transition: r 0.25s ease; }
.metro-pin .m-ring { fill: rgba(249, 93, 30, 0.26); stroke: rgba(255, 185, 138, 0.75); stroke-width: 1.2; }
.metro-pin .m-pulse {
  fill: none;
  stroke: var(--amber-bright);
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center;
  animation: beaconWave 2.4s ease-out infinite;
  animation-delay: calc(var(--m, 0) * 0.35s);
}
.metro-pin.is-hovered .m-core { r: 7.5; fill: var(--amber); stroke: #fff; }
.metro-pin.is-hovered .metro-tag { opacity: 1 !important; }
@keyframes beaconWave {
  0% { transform: scale(0.35); opacity: 0.95; }
  100% { transform: scale(1.35); opacity: 0; }
}
.metro-tag rect {
  fill: rgba(11, 23, 49, 0.9);
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1;
}
.metro-tag text {
  fill: #ffffff;
  font-family: "Archivo", sans-serif;
  font-size: 9.8px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Map Bottom HUD Footer */
.stage-foot {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.88);
  
  border-top: 1px solid rgba(16, 31, 60, 0.08);
}
.stage-stat-inline {
  display: flex;
  align-items: center;
  gap: 11px;
}
.stage-stat-inline strong {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stage-stat-inline strong span { color: var(--amber); }
.stage-stat-inline em {
  display: block;
  font-style: normal;
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.stage-stat-inline p {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.3;
}
.stage-mini-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}
.sm-dot {
  width: 28px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.sm-dot:hover { border-color: var(--blue); color: var(--blue); }
.sm-dot.is-on {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(249, 93, 30, 0.3);
}

/* ---------- RIGHT COLUMN: 5 Scroll-Loaded Story Point Cards ---------- */
.india-points-col {
  display: grid;
  gap: clamp(22px, 4.2vh, 34px);
  padding-bottom: 4vh;
}

.india-point {
  position: relative;
  background: #09142b;
  color: #f4f7ff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  padding: clamp(22px, 2.8vw, 28px) clamp(22px, 2.8vw, 28px) clamp(22px, 2.8vw, 28px) clamp(26px, 3vw, 32px);
  overflow: hidden;
  isolation: isolate;
  opacity: 0.58;
  transform: translateY(18px) scale(0.99);
  box-shadow: 0 18px 42px rgba(9, 20, 46, 0.18);
  transition: opacity 0.5s ease, transform 0.55s var(--ease), border-color 0.4s ease, box-shadow 0.45s ease;
  cursor: pointer;
}
.india-point.is-seen {
  opacity: 0.80;
  transform: translateY(0) scale(0.995);
}
.india-point.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: rgba(255, 132, 74, 0.62);
  box-shadow: 0 26px 56px rgba(9, 22, 52, 0.30), 0 0 0 1px rgba(249, 93, 30, 0.28);
}

/* Full-Bleed Editorial Background Photography + Cinema Gradient Scrim */
.pt-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.pt-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--bg-pos, 78% center);
  transform: scale(1.01);
  filter: saturate(1.08) contrast(1.03);
  transition: transform 0.85s var(--ease), filter 0.6s ease;
}
.india-point[data-point="0"] { --bg-pos: 76% 42%; --bg-pos-mob: 66% 42%; }
.india-point[data-point="1"] { --bg-pos: 78% 28%; --bg-pos-mob: 72% 28%; }
.india-point[data-point="2"] { --bg-pos: 76% 52%; --bg-pos-mob: 72% 56%; }
.india-point[data-point="3"] { --bg-pos: 74% 40%; --bg-pos-mob: 68% 36%; }
.india-point[data-point="4"] { --bg-pos: 50% 38%; --bg-pos-mob: 50% 32%; }
.india-point[data-point="5"] { --bg-pos: 62% 38%; --bg-pos-mob: 56% 36%; }

.india-point.is-active .pt-bg img,
.india-point:hover .pt-bg img {
  transform: scale(1.065);
  filter: saturate(1.14) contrast(1.05);
}
.pt-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(104deg,
      rgba(7, 15, 33, 0.95) 0%,
      rgba(9, 19, 41, 0.87) 46%,
      rgba(10, 22, 48, 0.50) 76%,
      rgba(8, 18, 40, 0.26) 100%),
    linear-gradient(180deg,
      rgba(7, 15, 33, 0.16) 0%,
      rgba(8, 17, 36, 0.54) 58%,
      rgba(6, 14, 30, 0.93) 100%);
}
.india-point > *:not(.pt-bg):not(.pt-scroll-bar):not(.card-water-ripples) {
  position: relative;
  z-index: 2;
}

/* Desktop default: hide mobile-only water-drop bridges & card surface ripples */
.water-drop-bridge,
.india-point > .card-water-ripples {
  display: none;
}

/* Left Vertical Scroll Progress Fill Bar on Each Point */
.pt-scroll-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 4px;
  background: rgba(255, 255, 255, 0.12);
}
.pt-scroll-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #ff7a29, #38bdf8);
  transform-origin: top center;
  transform: scaleY(var(--pt-scale, 0));
  will-change: transform;
}

.pt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.pt-idx {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #ff9457;
  font-variant-numeric: tabular-nums;
}
.pt-tag {
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(9, 19, 40, 0.84);
  border: 1px solid rgba(255, 138, 76, 0.50);
  color: #ffb38a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
}
.pt-tag.teal {
  background: rgba(8, 24, 36, 0.84);
  border-color: rgba(44, 224, 170, 0.48);
  color: #63f5c8;
}
.pt-tag.blue {
  background: rgba(9, 20, 44, 0.84);
  border-color: rgba(116, 168, 255, 0.52);
  color: #a3c6ff;
}

.india-point h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  line-height: 1.28;
  text-shadow: 0 2px 14px rgba(4, 10, 24, 0.65);
}
.india-point h3 svg {
  width: 21px;
  height: 21px;
  color: #ff8542;
  flex: none;
}
.india-point > p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.58;
  color: rgba(226, 236, 252, 0.88);
  text-shadow: 0 1px 10px rgba(4, 10, 24, 0.55);
}

/* Point 01 Sub-blocks */
.pt-corridors {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.pt-corridors > div {
  background: rgba(10, 22, 48, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 9px 12px;
}
.pt-corridors b { display: block; font-size: 12.5px; color: #ffffff; }
.pt-corridors span { display: block; font-size: 11px; color: rgba(204, 219, 246, 0.80); margin-top: 2px; }

/* Point 02 Native Script Voice Grid */
.script-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.script-chip {
  background: rgba(10, 22, 48, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 9px 10px;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease;
}
.script-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 245, 200, 0.52);
  background: rgba(16, 34, 70, 0.88);
}
.script-chip b { display: block; font-size: 15px; color: #ffffff; line-height: 1.2; }
.script-chip span { display: block; font-size: 10.5px; color: rgba(204, 219, 246, 0.80); font-weight: 600; margin-top: 2px; }
.script-chip .eq {
  position: absolute;
  top: 9px;
  right: 9px;
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.script-chip .eq s {
  width: 2.5px;
  height: 100%;
  background: #3ce6b0;
  border-radius: 2px;
  display: block;
  transform-origin: bottom;
  animation: eqBounce 0.95s ease-in-out infinite alternate;
}
.script-chip .eq s:nth-child(2) { animation-delay: 0.25s; background: #ff8b4d; }
.script-chip .eq s:nth-child(3) { animation-delay: 0.5s; background: #7ab0ff; }
@keyframes eqBounce {
  from { transform: scaleY(0.28); }
  to { transform: scaleY(1); }
}
.vern-more { margin-top: 10px; font-size: 11.5px; font-weight: 700; color: #8cb8ff; }

/* Point 03 Coded Mini Marketplace Console */
.pt-console {
  margin-top: 14px;
  background: rgba(9, 19, 42, 0.80);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 10px;
}
.mkt-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.mkt-kpi-row > div {
  background: rgba(17, 34, 68, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
}
.mkt-kpi-row span { display: block; font-size: 9.5px; font-weight: 700; text-transform: uppercase; color: rgba(198, 214, 242, 0.78); }
.mkt-kpi-row b { display: block; font-size: 13.5px; margin-top: 2px; color: #ffffff; }
.mkt-kpi-row b.kpi-teal { color: #52f0c0; }
.mkt-kpi-row b.kpi-amber { color: #ff9457; }
.mkt-spark { width: 100%; height: 52px; overflow: visible; }
.india-point.is-active .spark-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: sparkDraw 1.3s var(--ease) 0.1s forwards;
}
@keyframes sparkDraw { to { stroke-dashoffset: 0; } }

/* Point 04 Regional Growth Bars */
.tier-bars { margin-top: 15px; display: grid; gap: 12px; }
.t-bar-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; margin-bottom: 5px; }
.t-bar-top b { color: #f4f7ff; font-weight: 700; }
.t-bar-top span { color: #ff9457; font-weight: 800; white-space: nowrap; }
.t-track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.t-track i {
  display: block;
  height: 100%;
  width: var(--w, 80%);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--amber), #ff9d5c);
  transform-origin: left;
}
.t-track i.blue { background: linear-gradient(90deg, #3b7bff, #7cb0ff); }
.t-track i.teal { background: linear-gradient(90deg, #0ec48e, #52f0c0); }
.india-point.is-active .t-track i { animation: barGrow 1s var(--ease) 0.1s both; }
@keyframes barGrow {
  from { transform: scaleX(0.15); }
  to { transform: scaleX(1); }
}

/* Point 05 Connected Growth Finale Card */
.india-point-finale.is-active {
  border-color: rgba(112, 168, 255, 0.62);
  box-shadow: 0 26px 56px rgba(9, 22, 52, 0.32), 0 0 0 1px rgba(74, 138, 255, 0.30);
}

/* Card 05: Brand Trust Authority Proof List */
.trust-proof-list {
  margin-top: 15px;
  display: grid;
  gap: 10px;
}
.trust-proof-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(11, 23, 49, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 13px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.trust-proof-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(249, 93, 30, 0.22);
  border: 1px solid rgba(249, 93, 30, 0.45);
  color: #ff9d5c;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
}
.trust-proof-icon svg {
  width: 15px;
  height: 15px;
}
.trust-proof-item b {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 750;
  line-height: 1.25;
}
.trust-proof-item span {
  display: block;
  font-size: 12px;
  color: rgba(214, 228, 255, 0.82);
  margin-top: 3px;
  line-height: 1.4;
}
.pt-finale-h {
  display: block !important;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem) !important;
  line-height: 1.15 !important;
}
.pt-finale-h em { color: #ff9457; }
.pt-finale-h em.blue { color: #82b4ff; }
.pt-summary-kpis {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.pt-summary-kpis > div {
  background: rgba(10, 22, 48, 0.80);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
.pt-summary-kpis b { display: block; font-size: 18px; font-weight: 900; color: #ffffff; line-height: 1.1; }
.pt-summary-kpis b span { color: #ff9457; }
.pt-summary-kpis small { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; color: rgba(202, 218, 246, 0.82); margin-top: 3px; }
.pt-cta-row { margin-top: 18px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12.5px;
}
.india-point .chip {
  background: rgba(13, 27, 56, 0.80);
  border-color: rgba(255, 255, 255, 0.17);
  color: #f1f5ff;
}
.pt-chips .chip { cursor: pointer; }
.pt-chips .chip:hover {
  border-color: #ff8b4d;
  background: rgba(249, 93, 30, 0.28);
  color: #ffffff;
}

/* ---------- resources ---------- */
.res-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  margin-top: 38px;
  align-items: stretch;
}
.res-feature {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.res-feature:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(16, 42, 100, 0.12); }
.res-feature img { height: 230px; width: 100%; object-fit: cover; }
.res-feature .body { padding: 22px; display: grid; gap: 12px; }
.res-feature h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.3; }
.res-list { display: grid; gap: 16px; }
.res-item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 13px;
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  height: 100%;
}
.res-item:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(16, 42, 100, 0.12); }
.res-item img { width: 128px; height: 100px; object-fit: cover; border-radius: 13px; }
.res-item h3 { font-size: 15px; line-height: 1.35; }
.meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 7px;
}
.byline { display: flex; align-items: center; gap: 11px; }
.byline .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}
.byline b { display: block; font-size: 13.5px; }
.byline span { font-size: 12px; color: var(--ink-soft); }

/* ---------- contact ---------- */
#contact {
  background: var(--paper-2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(26px, 4.5vw, 56px);
  align-items: start;
}
.contact-trust-badges {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.ct-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 15px;
  box-shadow: 0 4px 14px rgba(16, 42, 100, 0.04);
}
.ct-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--amber-soft);
  color: var(--amber);
  display: grid;
  place-items: center;
  flex: none;
}
.ct-badge-icon svg {
  width: 17px;
  height: 17px;
}
.ct-badge b {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.25;
}
.ct-badge span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.direct-card {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 5px;
}
.direct-card h3 { font-size: 16.5px; }
.direct-card p { color: var(--ink-soft); font-size: 13.5px; }
.direct-links { display: grid; gap: 10px; margin-top: 14px; }
.direct-links a {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 11px 15px;
  border-radius: 12px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease);
}
.direct-links a:hover { background: var(--amber-soft); border-color: var(--amber); transform: translateX(4px); }
.direct-links svg { width: 17px; height: 17px; color: var(--amber); flex: none; }

.form-card {
  background: var(--surface);
  border: 1px solid rgba(16, 31, 60, 0.12);
  border-radius: 24px;
  padding: clamp(24px, 3.8vw, 38px);
  box-shadow: 0 20px 48px rgba(16, 42, 100, 0.10), 0 0 0 1px rgba(249, 93, 30, 0.08);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), #ff9d5c, var(--blue));
}
.form-card-head {
  margin-bottom: 20px;
}
.form-card h3 { font-size: 22px; margin-top: 8px; line-height: 1.25; }
.form-card .fsub { color: var(--ink-soft); margin-top: 6px; font-size: 13.5px; line-height: 1.5; }
#inquiryForm, #drawerForm { display: grid; gap: 15px; margin-top: 18px; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fbfcfe;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  appearance: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:hover, .field select:hover, .field textarea:hover {
  border-color: rgba(249, 93, 30, 0.45);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(249, 93, 30, 0.18);
}
.captcha-row { display: flex; gap: 10px; align-items: stretch; }
.captcha-q {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  white-space: nowrap;
  background: var(--amber-soft);
  color: var(--violet-deep);
  border-radius: 11px;
  padding: 0 13px;
  font-size: 14px;
}
.captcha-row input { flex: 1; }
.refresh {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 11px;
  padding: 0 13px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.refresh:hover { background: var(--paper-2); }
.form-note { font-size: 12.5px; color: var(--ink-soft); }
.form-error {
  display: none;
  background: #FDECEC;
  color: #B3261E;
  border-radius: 11px;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 600;
}
.form-error.show { display: block; }
.form-success {
  display: none;
  background: #E2F6EE;
  color: #0B6B48;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ---------- slide-over contact drawer ---------- */
#drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 32, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
#drawer-backdrop.open { opacity: 1; visibility: visible; }
#drawer-contact {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(500px, 100vw);
  background: #ffffff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -10px 0 40px rgba(8, 16, 32, 0.25);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
#drawer-contact.open { transform: translateX(0); }
.drawer-head {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 2;
}
.drawer-close {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s ease;
}
.drawer-close:hover { background: #fee7db; color: var(--amber); }
.drawer-body { padding: 24px; }

/* ---------- modern dark footer (supports includes/footer.php without Tailwind) ---------- */
footer {
  background: linear-gradient(180deg, #0c172e 0%, #091124 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 68px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
footer > div {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}
footer > div > div:first-child {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
footer .lg\:col-span-5 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
footer .lg\:col-span-5 > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}
footer .lg\:col-span-5 > a > img {
  height: 36px;
  width: auto;
}
footer .lg\:col-span-5 > a > div {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--amber-bright) 0%, var(--amber) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 8px 18px rgba(249, 93, 30, 0.32);
}
footer .lg\:col-span-5 > a > span {
  font-size: 21px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
}
footer .lg\:col-span-5 > a > span > span {
  color: var(--amber);
}
footer h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
  max-width: 19em;
}
footer .lg\:col-span-5 > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 32em;
  margin-bottom: 24px;
}
footer .lg\:col-span-5 > button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
footer .lg\:col-span-5 > button:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(249, 93, 30, 0.35);
}
footer .lg\:col-span-7 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 0 16px;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
footer ul li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
footer ul li a:hover {
  color: #fff;
  transform: translateX(2px);
}
footer ul li a svg {
  color: var(--amber);
  flex: none;
}
footer svg {
  width: 16px;
  height: 16px;
  flex: none;
}
footer svg.w-5 { width: 20px; height: 20px; }
footer svg.w-4 { width: 16px; height: 16px; }
footer svg[class*="w-3.5"] { width: 14px; height: 14px; }

footer .lg\:col-span-7 .flex.items-center.gap-2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
}
footer .lg\:col-span-7 .flex.items-center.gap-2 a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  transition: all 0.25s var(--ease);
}
footer .lg\:col-span-7 .flex.items-center.gap-2 a:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
  transform: translateY(-2px) scale(1.06);
}

/* Middle newsletter bar */
footer > div > div:nth-child(2) {
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
footer h5 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}
footer > div > div:nth-child(2) p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
footer #newsletterForm {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  max-width: 420px;
  flex: 1 1 300px;
  justify-content: flex-end;
}
footer #newsletterForm input {
  flex: 1;
  min-width: 180px;
  max-width: 270px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 13px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
footer #newsletterForm input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}
footer #newsletterForm input:focus {
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.1);
}
footer #newsletterForm button {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: var(--amber);
  color: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
footer #newsletterForm button:hover {
  background: var(--amber-bright);
  transform: translateY(-1px);
}

/* Bottom copyright row */
footer > div > div:nth-child(3) {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.48);
}
footer > div > div:nth-child(3) > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
footer > div > div:nth-child(3) a {
  transition: color 0.2s ease;
}
footer > div > div:nth-child(3) a:hover {
  color: rgba(255, 255, 255, 0.88);
}
footer .opacity-75 {
  opacity: 0.75;
  margin-left: 6px;
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .head-in {
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .live-feed { display: none; }
  .chapter { max-width: min(620px, calc(100vw - 40px)); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-layout { grid-template-columns: 1fr; }
  .why-sticky { position: static; }
  .res-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mainnav { display: none; }
  .head-in .btn { display: none; }
  .burger { display: flex; }
  footer > div > div:first-child { grid-template-columns: 1fr; gap: 36px; }
  /* Pan-India Scrollytelling tablet/mobile stack */
  .india-scrolly { grid-template-columns: 1fr; gap: 18px; }
  .india-sticky-col { top: 68px; z-index: 16; }
  .india-stage { height: 270px; min-height: 270px; border-radius: 18px; }
  .stage-hud { padding: 9px 14px; }
  .stage-foot { padding: 9px 14px; }
  .stage-stat-inline strong { font-size: 22px; }
  .stage-stat-inline p { display: none; }
}

/* short desktop windows: tighten the tall support chapter so it fits the stage */
@media (min-width: 769px) and (max-height: 800px) {
  .chapters { top: 106px; bottom: 84px; }
  .live-feed { display: none; }
  .chapter h1, .chapter h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
  .chapter .lede { font-size: 0.94rem; margin-top: 11px; }
  .chat-card { margin-top: 15px; gap: 7px; }
  .bubble { padding: 9px 12px; font-size: 13px; }
  .stat-chips, .plat-chips, .city-chips { margin-top: 15px; }
}

/* Mobile & Small-Tablet Compact Smooth Scroll-Only Hero (Single Merged 540x960 MP4) */
@media (max-width: 768px) {
  .scene-wrap {
    height: 360vh;
    height: 360lvh;
    background: #081020;
    position: relative;
    overflow: visible !important;
  }
  .scene-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100lvh;
    min-height: 100vh;
    min-height: 100lvh;
    max-height: none;
    overflow: hidden;
    background: #081020;
    color: #fff;
    z-index: 2;
  }
  .scene-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #081020;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }
  .hero-master-vid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    background: #081020;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }
  /* Balanced center-weighted mobile scrim so vertically centered hero text pops cleanly */
  .scene-shade {
    background:
      radial-gradient(120% 58% at 50% 50%, rgba(8, 16, 32, 0.72) 0%, rgba(8, 16, 32, 0.36) 100%),
      linear-gradient(180deg, rgba(8, 16, 32, 0.56) 0%, rgba(8, 16, 32, 0.36) 24%, rgba(8, 16, 32, 0.64) 52%, rgba(8, 16, 32, 0.78) 100%);
  }
  .chapters {
    top: 64px;
    bottom: auto;
    height: calc(100vh - 122px);
    height: calc(100svh - 122px);
  }
  .chapter {
    left: 18px;
    right: 18px;
    top: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    display: flex;
    align-items: center;
  }
  .chapter h1,
  .chapter h2 {
    font-size: clamp(1.65rem, 6.6vw, 2.12rem);
    line-height: 1.15;
    margin-top: 10px;
  }
  .chapter p.lede {
    font-size: 0.93rem;
    line-height: 1.52;
    margin-top: 10px;
  }
  .chapter .pill,
  .chapter .kicker {
    font-size: 10px;
    padding: 4px 10px;
  }
  .live-feed {
    display: none;
  }
  /* Sleek, touch-friendly Chapter Stepper Pill on Mobile */
  .rail {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px) + (100lvh - 100svh));
    right: 18px;
    left: auto;
    top: auto;
    transform: none;
    background: rgba(8, 16, 32, 0.85);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 4px 6px;
    gap: 6px;
    z-index: 25;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  }
  .rail-arrow {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.18s ease, transform 0.15s ease;
  }
  .rail-arrow svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    pointer-events: none;
  }
  .rail-arrow:disabled {
    opacity: 0.3;
    pointer-events: none;
  }
  .rail-arrow:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.92);
  }
  .rail-count {
    font-size: 11px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.04em;
    padding: 0 3px;
    font-variant-numeric: tabular-nums;
  }
  .rail-dots {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
  }
  .rail-dot {
    width: 24px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .rail-dot i {
    width: 14px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transition: width 0.25s ease, background 0.25s ease;
  }
  .rail-dot.on i {
    width: 22px;
    background: var(--amber);
  }
  .rail-dot.is-past i {
    background: rgba(255, 255, 255, 0.65);
  }
  .scroll-cue {
    left: 18px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px) + (100lvh - 100svh));
    top: auto;
    font-size: 9.5px;
  }
  .scroll-cue span {
    height: 18px;
    margin-top: 6px;
  }

  .wrap {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* Unpin India map & optimize Nationwide Reach section on phones/small tablets */
  #india.block {
    padding: clamp(74px, 14vw, 94px) 0 48px !important;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    scroll-margin-top: 74px;
  }
  #india .sec-head {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  #india .sec-head .kicker {
    font-size: 10px;
    letter-spacing: 0.22em;
    gap: 9px;
  }
  #india .sec-head .kicker::before {
    width: 26px;
  }
  #india .sec-head h2 {
    font-size: clamp(1.55rem, 6.6vw, 2.05rem);
    margin-top: 10px;
    line-height: 1.15;
  }
  #india .sec-head .sub {
    font-size: 0.90rem;
    line-height: 1.55;
    margin-top: 10px;
  }
  .india-scrolly {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    margin-top: 20px;
    gap: 0;
    box-sizing: border-box;
    align-items: center;
  }
  .india-sticky-col {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    z-index: 2;
    box-sizing: border-box;
  }
  .india-stage {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    height: 240px;
    min-height: 240px;
    border-radius: 18px;
    margin-bottom: 14px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .stage-hud {
    padding: 8px 12px;
    box-sizing: border-box;
  }
  .stage-brand-txt {
    font-size: 13px;
  }
  .stage-live-pill {
    font-size: 9px;
    padding: 2px 7px;
  }
  .stage-step-pill {
    font-size: 9.5px;
    padding: 4px 8px;
  }
  .stage-foot {
    padding: 6px 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    overflow: hidden;
  }
  .stage-stat-inline {
    display: flex;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    overflow: hidden;
  }
  .stage-stat-inline strong {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
  }
  .stage-stat-inline em {
    font-size: 8px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stage-stepper {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
  }
  .stage-corner-sub {
    font-size: 10px;
    line-height: 1.35;
  }
  .stage-map-canvas {
    padding: 4px 8px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .sm-dot {
    width: 24px;
    height: 22px;
    font-size: 9px;
    border-radius: 6px;
    padding: 0;
    flex-shrink: 0;
  }
  .india-points-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 0;
    padding-bottom: 0;
    box-sizing: border-box;
  }
  .india-point {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 18px 16px;
    border-radius: 18px;
    opacity: 0.92;
    transform: translate3d(0, 10px, 0) scale3d(0.99, 0.99, 1);
    cursor: default;
    transition: opacity 0.48s ease, transform 0.56s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  }
  .india-point h3 {
    font-size: 1.12rem;
    line-height: 1.35;
    gap: 8px;
  }
  .india-point h3 svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
  }
  .india-point p {
    font-size: 13.5px;
    line-height: 1.55;
    margin-top: 8px;
    color: rgba(226, 232, 240, 0.90);
  }
  .pt-head {
    margin-bottom: 8px;
  }
  .pt-idx {
    font-size: 10.5px;
  }
  .pt-tag {
    font-size: 10px;
    padding: 3px 9px;
  }
  .pt-corridors {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 10px;
  }
  .pt-corridors > div {
    padding: 7px 10px;
  }
  .pt-corridors b {
    font-size: 12px;
  }
  .pt-corridors span {
    font-size: 10.5px;
  }
  .script-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: 10px;
  }
  .script-chip {
    padding: 7px 9px;
  }
  .script-chip b {
    font-size: 13.5px;
  }
  .script-chip span {
    font-size: 10px;
  }
  .vern-more {
    font-size: 10.5px;
    margin-top: 8px;
  }
  .pt-console {
    padding: 10px;
    margin-top: 10px;
  }
  .mkt-kpi-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .mkt-kpi-row > div {
    padding: 6px 8px;
  }
  .mkt-kpi-row span {
    font-size: 8.5px;
  }
  .mkt-kpi-row b {
    font-size: 12px;
  }
  .india-point.is-seen,
  .india-point.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
  .india-point.is-active {
    border-color: rgba(125, 211, 252, 0.52);
    box-shadow: 0 20px 44px rgba(7, 17, 40, 0.28), 0 0 0 1px rgba(56, 189, 248, 0.22);
  }
  .india-point:hover .pt-bg img {
    transform: scale(1.02);
  }

  /* ---------- Mobile Water-Drop Cascade Between Cards (60fps GPU Transform/Opacity) ---------- */
  .water-drop-bridge[data-drop-bridge="0"],
  .india-point[data-point="0"] { --drop-delay: 0s; }
  .water-drop-bridge[data-drop-bridge="1"],
  .india-point[data-point="1"] { --drop-delay: 0.30s; }
  .water-drop-bridge[data-drop-bridge="2"],
  .india-point[data-point="2"] { --drop-delay: 0.60s; }
  .water-drop-bridge[data-drop-bridge="3"],
  .india-point[data-point="3"] { --drop-delay: 0.90s; }
  .water-drop-bridge[data-drop-bridge="4"],
  .india-point[data-point="4"] { --drop-delay: 1.20s; }
  .water-drop-bridge[data-drop-bridge="5"],
  .india-point[data-point="5"] { --drop-delay: 1.50s; }

  .water-drop-bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    height: 44px;
    pointer-events: none;
    overflow: visible;
    z-index: 5;
  }
  .drop-nozzle {
    position: absolute;
    top: -2px;
    left: 50%;
    width: 28px;
    height: 10px;
    margin-left: -14px;
    border-radius: 0 0 999px 999px;
    background: radial-gradient(ellipse at 50% 0%,
      rgba(224, 247, 255, 0.96) 0%,
      rgba(56, 189, 248, 0.76) 52%,
      rgba(249, 93, 30, 0.36) 86%,
      transparent 100%);
    transform-origin: 50% 0%;
    transform: scale3d(0.84, 0.62, 1);
    opacity: 0.75;
    will-change: transform, opacity;
  }
  .drop-filament {
    position: absolute;
    top: 3px;
    bottom: 2px;
    left: 50%;
    width: 1.5px;
    margin-left: -0.75px;
    background: linear-gradient(180deg,
      rgba(148, 228, 255, 0.50) 0%,
      rgba(56, 189, 248, 0.14) 54%,
      rgba(249, 93, 30, 0.34) 100%);
    opacity: 0.72;
  }
  .water-drop-bridge.is-focus-bridge .drop-filament {
    width: 2px;
    margin-left: -1px;
    opacity: 1;
  }
  .water-droplet {
    position: absolute;
    top: -4px;
    left: 50%;
    width: 16px;
    height: 22px;
    margin-left: -8px;
    transform-origin: 50% 22%;
    opacity: 0;
    transform: translate3d(0, -2px, 0) scale3d(0.35, 0.35, 1);
    will-change: transform, opacity;
  }
  .water-drop-bridge.is-dripping .drop-nozzle {
    animation: dropNozzleSwell 2.2s linear var(--drop-delay, 0s) infinite;
  }
  .water-drop-bridge.is-dripping .water-droplet {
    animation: waterDropletCascade 2.2s linear var(--drop-delay, 0s) infinite;
  }

  /* Concentric Water Surface Ripples on Top Edge of Each Card */
  .india-point::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14%;
    right: 14%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(56, 189, 248, 0.65) 28%,
      rgba(224, 247, 255, 0.98) 50%,
      rgba(255, 138, 76, 0.62) 72%,
      transparent 100%);
    opacity: 0.24;
    transform: scaleX(0.45);
    transform-origin: 50% 50%;
    z-index: 3;
    pointer-events: none;
    will-change: transform, opacity;
  }
  .india-point > .card-water-ripples {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    width: 240px;
    height: 112px;
    margin-left: -120px;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
  }
  .card-water-ripples .drop-crown {
    position: absolute;
    top: 2px;
    left: 50%;
    width: 40px;
    height: 16px;
    margin-left: -20px;
    margin-top: -8px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center,
      rgba(235, 250, 255, 0.96) 0%,
      rgba(56, 189, 248, 0.68) 54%,
      transparent 100%);
    opacity: 0;
    transform: scale3d(0.25, 0.25, 1);
    will-change: transform, opacity;
  }
  .card-water-ripples i {
    position: absolute;
    top: 4px;
    left: 50%;
    width: 224px;
    height: 102px;
    margin-left: -112px;
    margin-top: -51px;
    border-radius: 50%;
    border: 1.6px solid rgba(165, 234, 255, 0.84);
    opacity: 0;
    transform: scale3d(0.08, 0.08, 1);
    will-change: transform, opacity;
  }
  .card-water-ripples i:nth-of-type(2) {
    border-color: rgba(255, 156, 102, 0.66);
    border-width: 1.4px;
  }
  .card-water-ripples i:nth-of-type(3) {
    border-color: rgba(56, 189, 248, 0.56);
    border-width: 1.2px;
  }

  .india-point.is-rippling::before {
    animation: cardRimWaterGlow 2.2s linear var(--drop-delay, 0s) infinite;
  }
  .india-point.is-rippling .drop-crown {
    animation: waterDropCrown 2.2s linear var(--drop-delay, 0s) infinite;
  }
  .india-point.is-rippling .card-water-ripples i:nth-of-type(1) {
    animation: waterSurfaceRipple1 2.2s linear var(--drop-delay, 0s) infinite;
  }
  .india-point.is-rippling .card-water-ripples i:nth-of-type(2) {
    animation: waterSurfaceRipple2 2.2s linear var(--drop-delay, 0s) infinite;
  }
  .india-point.is-rippling .card-water-ripples i:nth-of-type(3) {
    animation: waterSurfaceRipple3 2.2s linear var(--drop-delay, 0s) infinite;
  }

  /* Pause water-drop loops whenever #india section is offscreen */
  #india.is-offscreen .drop-nozzle,
  #india.is-offscreen .water-droplet,
  #india.is-offscreen .india-point::before,
  #india.is-offscreen .drop-crown,
  #india.is-offscreen .card-water-ripples i {
    animation-play-state: paused !important;
  }

  body.scene-active .wa-float {
    transform: none;
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}

@keyframes dropNozzleSwell {
  0%, 100% {
    opacity: 0.65;
    transform: scale3d(0.82, 0.58, 1);
  }
  18% {
    opacity: 0.98;
    transform: scale3d(1.16, 1.38, 1);
  }
  26% {
    opacity: 1;
    transform: scale3d(0.95, 1.52, 1);
  }
  33% {
    opacity: 0.55;
    transform: scale3d(0.74, 0.42, 1);
  }
  52% {
    opacity: 0.68;
    transform: scale3d(0.84, 0.62, 1);
  }
}

@keyframes waterDropletCascade {
  0% {
    opacity: 0;
    transform: translate3d(0, -3px, 0) scale3d(0.32, 0.32, 1);
  }
  12% {
    opacity: 0.94;
    transform: translate3d(0, 0px, 0) scale3d(0.78, 0.72, 1);
  }
  25% {
    opacity: 1;
    transform: translate3d(0, 4px, 0) scale3d(0.86, 1.16, 1);
  }
  34% {
    opacity: 1;
    transform: translate3d(0, 15px, 0) scale3d(0.84, 1.26, 1);
  }
  41% {
    opacity: 1;
    transform: translate3d(0, 29px, 0) scale3d(0.78, 1.34, 1);
  }
  46% {
    opacity: 1;
    transform: translate3d(0, 41px, 0) scale3d(0.74, 1.40, 1);
  }
  49% {
    opacity: 0.92;
    transform: translate3d(0, 44px, 0) scale3d(1.62, 0.34, 1);
  }
  54%, 100% {
    opacity: 0;
    transform: translate3d(0, 45px, 0) scale3d(1.90, 0.16, 1);
  }
}

@keyframes waterDropCrown {
  0%, 45% {
    opacity: 0;
    transform: scale3d(0.24, 0.24, 1);
  }
  48% {
    opacity: 0.98;
    transform: scale3d(1.12, 0.96, 1);
  }
  59% {
    opacity: 0;
    transform: scale3d(1.92, 1.28, 1);
  }
  100% {
    opacity: 0;
    transform: scale3d(1.92, 1.28, 1);
  }
}

@keyframes cardRimWaterGlow {
  0%, 45% {
    opacity: 0.22;
    transform: scaleX(0.42);
  }
  49% {
    opacity: 0.96;
    transform: scaleX(1);
  }
  68% {
    opacity: 0.30;
    transform: scaleX(0.62);
  }
  100% {
    opacity: 0.22;
    transform: scaleX(0.42);
  }
}

@keyframes waterSurfaceRipple1 {
  0%, 46% {
    opacity: 0;
    transform: scale3d(0.08, 0.08, 1);
  }
  50% {
    opacity: 0.92;
    transform: scale3d(0.22, 0.22, 1);
  }
  86% {
    opacity: 0;
    transform: scale3d(1.06, 1.06, 1);
  }
  100% {
    opacity: 0;
    transform: scale3d(1.06, 1.06, 1);
  }
}

@keyframes waterSurfaceRipple2 {
  0%, 52% {
    opacity: 0;
    transform: scale3d(0.08, 0.08, 1);
  }
  56% {
    opacity: 0.78;
    transform: scale3d(0.20, 0.20, 1);
  }
  93% {
    opacity: 0;
    transform: scale3d(0.95, 0.95, 1);
  }
  100% {
    opacity: 0;
    transform: scale3d(0.95, 0.95, 1);
  }
}

@keyframes waterSurfaceRipple3 {
  0%, 58% {
    opacity: 0;
    transform: scale3d(0.08, 0.08, 1);
  }
  62% {
    opacity: 0.60;
    transform: scale3d(0.18, 0.18, 1);
  }
  99%, 100% {
    opacity: 0;
    transform: scale3d(0.84, 0.84, 1);
  }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .head-in { margin-top: 10px; border-radius: 16px; padding: 8px 8px 8px 10px; }
  .logo-chip { width: 32px; height: 32px; border-radius: 10px; }
  .logo-chip svg { width: 17px; height: 17px; }
  .brandmark { font-size: 17.5px; gap: 8px; }
  .chapter h1, .chapter h2 { font-size: clamp(1.42rem, 6.6vw, 1.8rem); line-height: 1.1; margin-top: 10px; }
  .chapter .kicker { font-size: 9.5px; letter-spacing: 0.2em; gap: 9px; }
  .chapter .kicker::before { width: 26px; }
  .chapter .lede {
    margin-top: 10px;
    font-size: 0.87rem;
    line-height: 1.52;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .chapter .pill { font-size: 9px; letter-spacing: 0.18em; padding: 7px 12px; white-space: normal; line-height: 1.5; }
  .chapter .cta-row { margin-top: 16px; gap: 10px; }
  .chat-card { margin-top: 14px; gap: 7px; max-width: none; }
  .bubble { padding: 9px 12px; font-size: 12.8px; border-radius: 13px; }
  .bubble.a { margin-left: 18px; }
  .bubble .avatar { width: 24px; height: 24px; font-size: 11px; }
  .stat-chips { margin-top: 13px; gap: 8px; display: grid; grid-template-columns: 1fr 1fr; }
  .stat-chip { padding: 8px 11px; }
  .stat-chip b { font-size: 13px; line-height: 1.3; }
  .plat-chips { margin-top: 14px; gap: 7px; }
  .plat { padding: 6px 12px; font-size: 12.5px; }
  .city-chips { margin-top: 14px; gap: 7px; }
  .city { padding: 6px 12px; font-size: 12.5px; }
  .svc-grid { grid-template-columns: 1fr; }
  .india-grid { grid-template-columns: 1fr; }
  .tst-shell { grid-template-columns: 1fr; }
  .tst-btn { display: none; }
  .res-item { grid-template-columns: 96px 1fr; gap: 12px; }
  .res-item img { width: 96px; height: 84px; }
  .res-feature img { height: 180px; }
  .why-item { grid-template-columns: 1fr; gap: 10px; }
  
  /* Mobile Contact & Captcha Optimization */
  #contact.block { padding: 44px 0 52px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-trust-badges { margin-top: 16px; gap: 8px; }
  .ct-badge { padding: 10px 12px; border-radius: 12px; gap: 10px; }
  .ct-badge-icon { width: 32px; height: 32px; flex: none; }
  .ct-badge-icon svg { width: 16px; height: 16px; }
  .ct-badge b { font-size: 13px; }
  .ct-badge span { font-size: 11px; line-height: 1.35; }
  .direct-card { margin-top: 16px; padding: 15px 14px; border-radius: 16px; }
  .direct-card h3 { font-size: 15px; }
  .direct-card p { font-size: 12.5px; margin-bottom: 8px; }
  .direct-links { gap: 8px; }
  .direct-links a { font-size: 13px; padding: 9px 12px; }
  
  .form-card { padding: 20px 16px; border-radius: 18px; }
  .form-card-head { margin-bottom: 14px; }
  .form-card h3 { font-size: 19px; }
  .form-card .fsub { font-size: 12.5px; }
  #inquiryForm, #drawerForm { gap: 13px; margin-top: 14px; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 11px; }
  .field { gap: 5px; }
  .field label { font-size: 10.5px; }
  .field input, .field select, .field textarea {
    font-size: 16px !important;
    padding: 11px 13px;
    min-height: 46px;
    border-radius: 11px;
  }
  .field textarea { min-height: 84px; }

  .captcha-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: stretch;
  }
  .captcha-q {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 9px 12px;
    font-size: 14.5px;
    width: 100%;
    border-radius: 10px;
  }
  .captcha-row input {
    min-width: 0;
    height: 46px;
    font-size: 16px !important;
  }
  .refresh {
    height: 46px;
    padding: 0 16px;
    border-radius: 11px;
    font-size: 13.5px;
  }

  /* Mobile-optimized Pan-India map & editorial background-image sidecards */
  .india-stage {
    height: 240px;
    min-height: 240px;
    border-radius: 18px;
    margin-bottom: 14px;
  }
  .stage-hud { padding: 8px 12px; box-sizing: border-box; }
  .stage-foot {
    padding: 6px 10px;
    gap: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    box-sizing: border-box;
  }
  .stage-brand-txt { font-size: 13px; }
  .stage-live-pill { display: none; }
  .stage-step-pill { font-size: 9px; letter-spacing: 0.06em; padding: 3px 8px; }
  .stage-stat-inline { gap: 5px; min-width: 0; overflow: hidden; display: flex; align-items: baseline; }
  .stage-stat-inline strong { font-size: 16px; line-height: 1; flex-shrink: 0; }
  .stage-stat-inline em { font-size: 7.8px; letter-spacing: 0.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .stage-stepper { display: flex; gap: 3px; flex-shrink: 0; }
  .sm-dot { width: 24px; height: 22px; font-size: 9px; border-radius: 6px; padding: 0; flex-shrink: 0; }
  .india-points-col { gap: 0; }
  .india-point {
    border-radius: 18px;
    padding: 18px 16px;
  }
  .pt-bg img {
    object-position: var(--bg-pos-mob, 68% 35%);
  }
  .pt-bg::after {
    background:
      linear-gradient(180deg,
        rgba(7, 15, 33, 0.36) 0%,
        rgba(7, 15, 33, 0.12) 18%,
        rgba(8, 17, 36, 0.78) 40%,
        rgba(7, 15, 33, 0.93) 64%,
        rgba(6, 13, 28, 0.97) 100%);
  }
  .pt-head {
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .pt-idx {
    background: rgba(7, 15, 33, 0.80);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }
  .pt-tag { font-size: 10px; padding: 4px 10px; }
  .india-point h3 {
    font-size: 1.08rem;
    line-height: 1.26;
    gap: 8px;
    align-items: flex-start;
  }
  .india-point h3 svg { width: 19px; height: 19px; margin-top: 2px; }
  .pt-finale-h { font-size: 1.28rem !important; }
  .india-point > p { font-size: 13.4px; line-height: 1.54; margin-top: 8px; }
  .india-point .chip-row { gap: 6px; margin-top: 12px; }
  .india-point .chip { padding: 5px 10px; font-size: 11.8px; }
  .pt-corridors { grid-template-columns: 1fr; gap: 7px; margin-top: 12px; }
  .script-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
  .script-chip { padding: 8px 9px; }
  .script-chip b { font-size: 14px; }
  .pt-console { padding: 10px; margin-top: 12px; }
  .mkt-kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .mkt-kpi-row > div { padding: 7px 6px; text-align: center; }
  .mkt-kpi-row span { font-size: 8.8px; }
  .mkt-kpi-row b { font-size: 12.2px; }
  .tier-bars { margin-top: 12px; gap: 10px; }
  .t-bar-top { font-size: 11.4px; gap: 6px; align-items: baseline; }
  .t-bar-top b { min-width: 0; line-height: 1.3; }
  .pt-summary-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 13px; }
  .pt-cta-row { margin-top: 14px; }
  .pt-cta-row .btn { width: 100%; justify-content: center; padding: 12px 18px; }
  footer .lg\:col-span-7 { grid-template-columns: 1fr 1fr; gap: 24px; }
  footer .lg\:col-span-7 > div:nth-child(3) { grid-column: span 2; }
  footer #newsletterForm { justify-content: stretch; max-width: none; width: 100%; }
  footer #newsletterForm input { max-width: none; }
}

@media (max-height: 480px) {
  .chapters { top: 96px; bottom: 64px; }
  .chapter h1, .chapter h2 { font-size: 1.3rem; margin-top: 8px; }
  .chapter .lede { display: none; }
  .chat-card { margin-top: 10px; }
  .bubble { padding: 7px 10px; font-size: 11.5px; }
  .stat-chips, .plat-chips, .city-chips { margin-top: 10px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; filter: none; transition: none; }
  .scroll-cue span { animation: none; }
  .tst-track { transition: none; }
  .marquee-track { animation: none; }
  .pill i { animation: none; }
  .chapter.live .plat, .chapter.live .stat-chip, .chapter.live .city { animation: none; }
  .chapter.live .chapter-in > * { animation: none; }
  .scene-shade::after, .live-dot::after, .wa-float::after, .head-in,
  .stage-ribbons .rib-comet, .india-radar-sweep, .arc-pulse, .metro-pin .m-pulse, .t2-pin .t2-ring, .script-chip .eq s, .hero-kb-img, .hero-kb-frame::after,
  .drop-nozzle, .water-droplet, .india-point::before, .drop-crown, .card-water-ripples i { animation: none !important; }
  .live-feed .lf-body { transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Contact Section - Architectural Studio Background (Unslop Certified) ---------- */
#contact {
  position: relative;
  background: var(--paper-2);
  overflow: hidden;
}

#contact.has-bg-image {
  background-color: #f8fafc;
}

#contact.has-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(105deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.24) 42%, rgba(255, 255, 255, 0.14) 75%, rgba(255, 255, 255, 0.28) 100%),
    url('contact-bg-loft.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

#contact.has-bg-image h2 {
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.85);
}

#contact.has-bg-image .rv > p {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
  #contact.has-bg-image::before {
    background-image: 
      linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.26) 40%, rgba(255, 255, 255, 0.38) 100%),
      url('contact-bg-loft.webp');
  }
}

#contact > .wrap {
  position: relative;
  z-index: 1;
}

/* Subtle, deliberate form-card craft: quiet chrome, real depth */
#contact.has-bg-image .form-card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 42, 100, 0.10);
  box-shadow: 0 24px 60px rgba(16, 42, 100, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
}

#contact.has-bg-image .form-card::before {
  background: var(--amber); /* Single deliberate brand accent, no multi-hue AI slop gradient */
}

#contact.has-bg-image .ct-badge,
#contact.has-bg-image .direct-card {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 42, 100, 0.08);
  box-shadow: 0 12px 30px rgba(16, 42, 100, 0.04);
}

/* ---------- Shared Legal Pages (Privacy, Terms, Refund Policy) ---------- */
.legal-page-wrap {
  padding-top: 108px;
  padding-bottom: 72px;
  background: #fbfcfe;
  min-height: 80vh;
}
.legal-box {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4.5vw, 48px);
  box-shadow: 0 16px 40px rgba(16, 42, 100, 0.06);
}
.legal-box h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  color: var(--ink);
  margin-top: 10px;
  margin-bottom: 14px;
}
.legal-box h2 {
  font-size: clamp(1.22rem, 2vw, 1.45rem);
  font-weight: 800;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.legal-box p {
  font-size: 15px;
  line-height: 1.72;
  color: #475569;
  margin-bottom: 1rem;
}
.legal-box ul {
  list-style-type: disc;
  padding-left: 1.35rem;
  margin-bottom: 1.25rem;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}
.legal-box li { margin-bottom: 0.4rem; }
.legal-box strong { color: var(--ink); font-weight: 700; }
.legal-box a { color: var(--amber); text-decoration: underline; font-weight: 600; }
.legal-box a:hover { color: #d9490e; }
.legal-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============================================================== */
/* SUBMIT BUTTON ANIMATION & LOADING SPINNER                     */
/* ============================================================== */
#inquiryForm button[type="submit"],
#drawerForm button[type="submit"] {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.25s ease, background 0.25s ease;
}
#inquiryForm button[type="submit"]:hover,
#drawerForm button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 92, 255, 0.32), 0 0 18px rgba(249, 93, 30, 0.22);
}
#inquiryForm button[type="submit"]:hover svg,
#drawerForm button[type="submit"]:hover svg {
  transform: translateX(4px);
  transition: transform 0.22s ease;
}
#inquiryForm button[type="submit"]:active,
#drawerForm button[type="submit"]:active {
  transform: translateY(0);
}
.btn-loading {
  pointer-events: none !important;
  opacity: 0.88 !important;
}
.btn-spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btnSpin 0.75s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* ============================================================== */
/* SUBMISSION STATUS POPUP MODAL                                  */
/* ============================================================== */
.status-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 32, 0.68);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.status-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.status-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.status-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.status-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 28px;
  text-align: center;
  box-shadow: 0 28px 64px rgba(8, 16, 32, 0.28), 0 0 0 1px rgba(16, 31, 60, 0.08);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.status-modal.open .status-modal-card {
  transform: scale(1) translateY(0);
}
.status-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease;
}
.status-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.status-modal-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.status-modal-icon.is-success {
  background: #e6f9f3;
  color: #0aa87a;
  box-shadow: 0 0 0 8px rgba(10, 168, 122, 0.14);
}
.status-modal-icon.is-error {
  background: #fef2f2;
  color: #ef4444;
  box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.14);
}
.status-modal-icon svg {
  width: 34px;
  height: 34px;
}
.status-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.25;
}
.status-modal-desc {
  font-size: 0.95rem;
  color: #54657f;
  line-height: 1.55;
  margin: 0 0 24px;
}
