/* ═══════════════════════════════════════════════════
   AD+ — DESIGN TOKENS (Light & Dark)
═══════════════════════════════════════════════════ */

/* ── STATIC TOKENS (never change with theme) ── */
:root {
  --white: #FFFFFF;
  --orange: #F97316;
  --orange-dark: #EA6C0A;

  /* Spacing scale (8pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;

  /* Typography scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Radius */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --r-xl: 24px; --r-2xl: 32px; --r-full: 999px;

  /* Easing (Emil Kowalski) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-base: 0; --z-card: 10; --z-sticky: 20;
  --z-overlay: 40; --z-modal: 100; --z-nav: 200;

  /* Container */
  --container: 1200px;
  --container-pad: clamp(16px, 5vw, 64px);
}

/* ── THEME (light-only) ── */
:root {
  color-scheme: light;

  --navy: #F5F6F8;
  --navy-mid: #ECEEF2;
  --navy-light: #FFFFFF;
  --navy-border: rgba(11,22,40,0.08);
  --navy-border-strong: rgba(11,22,40,0.15);

  --orange-light: rgba(249,115,22,0.10);
  --orange-glow: rgba(249,115,22,0.2);

  --bg-base: #F5F6F8;
  --bg-alt: #ECEEF2;
  --bg-modal: #FFFFFF;

  --text-primary: #0B1628;
  --text-secondary: rgba(11,22,40,0.65);
  --text-muted: rgba(11,22,40,0.40);

  --surface-1: rgba(11,22,40,0.04);
  --surface-2: rgba(11,22,40,0.06);
  --surface-hover: rgba(11,22,40,0.08);
  --surface-nav: rgba(245,246,248,0.94);

  /* Card fill — solid white so boxes read crisp, not dull grey */
  --card: #FFFFFF;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --shadow-orange: 0 4px 24px rgba(249,115,22,0.28);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 300ms ease, color 300ms ease;
}

img, video, svg { display: block; max-width: 100%; }
button, a { cursor: pointer; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* Prevent iOS zoom on input focus — font-size 16px minimum */
input, select, textarea {
  font-size: max(16px, 1rem);
}

/* ── FOCUS STATES ── */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════════════ */

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

.section {
  padding: clamp(60px, 8vw, 120px) 0;
}

.section__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--s4);
}

.section__title {
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--s6);
}

.section__sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: var(--s12);
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 12px 24px;
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--r-full);
  border: 1.5px solid transparent;
  transition: transform 160ms var(--ease-out),
              background 200ms ease,
              box-shadow 200ms ease,
              border-color 200ms ease,
              opacity 200ms ease;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: scale(0.97) translateY(0); }
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    box-shadow: 0 6px 28px rgba(249,115,22,0.45);
  }
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--navy-border);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover {
    background: var(--surface-2);
    border-color: var(--navy-border-strong);
  }
}

.btn--nav {
  background: var(--orange-light);
  color: var(--orange);
  border-color: rgba(249,115,22,0.25);
  padding: 8px 18px;
  font-size: var(--text-sm);
}
@media (hover: hover) and (pointer: fine) {
  .btn--nav:hover {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
  }
}

.btn--lg { padding: 15px 32px; font-size: var(--text-lg); }
.btn--full { width: 100%; }

/* Loading state */
.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn__text { opacity: 0; }
.btn.is-loading .btn__spinner { display: block; position: absolute; }
.btn.is-loading { pointer-events: none; opacity: 0.8; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 0;
  /* Solid white background so the navy+orange logo always reads cleanly */
  background: #FFFFFF;
  box-shadow: 0 1px 0 var(--navy-border);
  transition: box-shadow 300ms ease, padding 300ms ease;
}

.nav.is-scrolled {
  box-shadow: 0 1px 0 var(--navy-border), var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--s6);
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--container-pad);
  transition: padding 300ms ease;
}

.nav.is-scrolled .nav__inner { padding-top: 14px; padding-bottom: 14px; }

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav__logo-img {
  width: auto;
  object-fit: contain;
  display: block;
}

/* AD+ is the lead brand — larger. Nav is permanently light, so the
   white-background logos sit cleanly in their native colours. */
.nav__logo-img--primary {
  height: 44px;
}

/* iDOOH shown as the parent company beside AD+ — smaller but legible. */
.nav__logo-img--parent {
  height: 34px;
  opacity: 0.95;
  transition: opacity 300ms ease;
}
.nav__logo:hover .nav__logo-img--parent { opacity: 1; }

.nav__logo-divider {
  width: 1px;
  height: 26px;
  background: var(--navy-border-strong);
  flex-shrink: 0;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-left: auto;
}

.nav__right--mobile { display: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s6);
  margin-left: auto;
  margin-right: var(--s4);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 180ms ease;
  padding: 4px 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav__link:hover { color: var(--text-primary); }
  .nav__link:hover::after { transform: scaleX(1); }
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background 160ms ease;
  margin-left: auto;
}

.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 260ms var(--ease-out), opacity 200ms ease;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (hover: hover) and (pointer: fine) {
  .nav__burger:hover { background: var(--surface-2); }
}

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--surface-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--navy-border);
  padding: var(--s6) var(--container-pad) calc(var(--s6) + env(safe-area-inset-bottom));
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 280ms var(--ease-out), opacity 280ms ease;
}

.nav__mobile.is-open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.nav__mobile nav {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.nav__mobile-link {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--navy-border);
  transition: color 160ms ease;
}

.nav__mobile-link:last-of-type { border-bottom: none; }

@media (hover: hover) and (pointer: fine) {
  .nav__mobile-link:hover { color: var(--text-primary); }
}

.nav__mobile-cta { margin-top: var(--s4); }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0B1628;
  /* full-bleed carousel behind, inner container handles padding */
}

/* Inner container: content anchored bottom-left, Screenox-style */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(120px + env(safe-area-inset-top)) var(--container-pad) clamp(88px, 12vh, 132px);
}

/* ── FULL-BLEED ROTATING CAROUSEL ── */
.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease-out), visibility 1.1s var(--ease-out);
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
}

/* Portrait shots (signage/intersection): bias the crop upward so the
   billboards stay in frame on wide desktop viewports. */
.hero__slide:nth-child(2) img { object-position: center 42%; }
.hero__slide:nth-child(4) img { object-position: center 30%; }
.hero__slide:nth-child(5) img { object-position: center 40%; }

/* Slide 1 (bright daytime Piccadilly) is low-contrast — add an extra
   darkening scrim so the white headline stays readable. Only this slide. */
.hero__slide:nth-child(1)::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(11,22,40,0.30) 0%,
      rgba(11,22,40,0.10) 30%,
      rgba(11,22,40,0.40) 72%,
      rgba(11,22,40,0.62) 100%),
    linear-gradient(90deg,
      rgba(11,22,40,0.45) 0%,
      rgba(11,22,40,0.15) 42%,
      transparent 65%);
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

/* Ken-Burns drift only on the active slide */
.hero__slide.is-active img {
  animation: hero-kenburns 8s ease-out forwards;
}

@keyframes hero-kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.16) translate(-1.5%, -1%); }
}

/* Dark gradient scrim so headline stays legible over any photo */
/* Kept intentionally light so the vivid billboard photos stay bright.
   A soft focused shadow sits only under the headline (bottom-left) for legibility. */
.hero__carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(11,22,40,0.22) 0%,
      rgba(11,22,40,0.06) 26%,
      rgba(11,22,40,0.30) 70%,
      rgba(11,22,40,0.72) 100%),
    linear-gradient(90deg,
      rgba(11,22,40,0.50) 0%,
      rgba(11,22,40,0.12) 40%,
      transparent 62%),
    radial-gradient(120% 80% at 85% 12%, rgba(249,115,22,0.10) 0%, transparent 55%);
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide,
  .hero__slide.is-active img { animation: none; transition: opacity 0.01ms; }
  .hero__slide img { transform: scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 900px;
}

/* Pill eyebrow above the headline.
   Hidden via visibility so it keeps its space and nothing below shifts up. */
.hero__eyebrow {
  visibility: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 7px 16px;
  border-radius: var(--r-full);
  margin-bottom: var(--s6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 0.6s var(--ease-out) 0.1s forwards;
}

.hero__eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(249,115,22,0.6);
  animation: hero-eyebrow-pulse 2.2s ease-out infinite;
}

@keyframes hero-eyebrow-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(249,115,22,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}

.hero__headline {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: var(--s5);
  max-width: 16ch;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.7s var(--ease-out) 0.2s forwards;
}

.hero__headline-accent {
  color: var(--orange);
  display: inline-block;
  position: relative;
}

.hero__sub {
  font-size: clamp(var(--text-base), 1.9vw, var(--text-lg));
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 0 var(--s8);
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 0.7s var(--ease-out) 0.35s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: flex-start;
  margin-bottom: var(--s8);
  opacity: 0;
  transform: translateY(10px);
  animation: fade-up 0.6s var(--ease-out) 0.5s forwards;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--s5);
  padding: clamp(12px, 2vw, 16px) clamp(16px, 2.5vw, 24px);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(10px);
  animation: fade-up 0.6s var(--ease-out) 0.65s forwards;
  width: fit-content;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.hero__stat-num {
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Ghost button in the hero sits on the dark carousel — light-on-dark */
.hero__actions .btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.32);
}
@media (hover: hover) and (pointer: fine) {
  .hero__actions .btn--ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.55);
  }
}

.hero__stat-plus { color: var(--orange); }

.hero__stat-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.hero__stat-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.16);
  flex-shrink: 0;
}

/* ── CAROUSEL UI: live caption + dot navigation ── */
.hero__carousel-ui {
  position: absolute;
  z-index: 3;
  right: var(--container-pad);
  bottom: clamp(88px, 12vh, 132px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s3);
  opacity: 0;
  transform: translateY(10px);
  animation: fade-up 0.6s var(--ease-out) 0.8s forwards;
}

.hero__slide-caption {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.72);
  text-align: right;
  max-width: 30ch;
}

.hero__dots {
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 26px;
  height: 4px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.28);
  transition: background 300ms ease, width 300ms var(--ease-out);
}

.hero__dot.is-active {
  width: 40px;
  background: var(--orange);
}

@media (hover: hover) and (pointer: fine) {
  .hero__dot:hover { background: rgba(255,255,255,0.55); }
  .hero__dot.is-active:hover { background: var(--orange); }
}

/* Keyframes */
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════
   TICKER
═══════════════════════════════════════════════════ */

.ticker {
  overflow: hidden;
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  padding: 14px 0;
}

.ticker__track {
  display: flex;
  gap: var(--s8);
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
}

.ticker__track span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.ticker__dot {
  width: 4px !important;
  height: 4px !important;
  background: var(--orange) !important;
  border-radius: 50%;
  display: inline-block;
  align-self: center;
  flex-shrink: 0 !important;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════ */

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.about__text .section__title { margin-bottom: var(--s4); }

.about__body {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--s5);
}

.about__body:last-of-type { margin-bottom: var(--s8); }

.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

.about__card {
  background: var(--card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms var(--ease-out);
  opacity: 0;
  transform: translateY(16px);
}

.about__card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms var(--ease-out),
              opacity 0.5s var(--ease-out) var(--delay),
              transform 0.5s var(--ease-out) var(--delay);
}

@media (hover: hover) and (pointer: fine) {
  .about__card:hover {
    border-color: rgba(249,115,22,0.25);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
}

.about__card-icon {
  width: 40px; height: 40px;
  background: var(--orange-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s1);
}

.about__card-icon svg {
  width: 20px; height: 20px;
  stroke: var(--orange);
}

.about__card strong {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
}

.about__card span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   SCREENS
═══════════════════════════════════════════════════ */

.screens { background: var(--bg-alt); }

.screens__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  margin-bottom: var(--s10);
}

/* Screen Card */
.screen-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 240ms var(--ease-out), border-color 240ms ease,
              box-shadow 240ms ease;
  opacity: 0;
  transform: translateY(20px);
}

.screen-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .screen-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249,115,22,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(249,115,22,0.1);
  }
}

.screen-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(11,22,40,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--navy-border);
  color: var(--orange);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
  z-index: 2;
}

.screen-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}

/* Real photo */
.screen-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 400ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .screen-card:hover .screen-card__photo {
    transform: scale(1.04);
  }
}

/* Dark gradient scrim — fades bottom so badge label reads cleanly */
.screen-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.08) 50%,
    rgba(11,22,40,0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Captive tag — overlaid bottom-left on depot photo */
.screen-card__captive-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(249,115,22,0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: var(--r-full);
}

.screen-card__captive-tag svg { width: 14px; height: 14px; flex-shrink: 0; stroke: #fff; }

.screen-card__body {
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  flex: 1;
}

.screen-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s4);
}

.screen-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.screen-card__loc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 3px;
}

.screen-card__reach {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.screen-card__reach-num {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}

.screen-card__reach-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.screen-card__specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--navy-border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid var(--navy-border);
  gap: var(--s4);
}

.spec-row:last-child { border-bottom: none; }

.spec-row__key {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.spec-row__val {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-align: right;
}

.screen-card__audience {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.screen-card__audience svg {
  width: 15px; height: 15px;
  stroke: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.screen-card__cta { margin-top: auto; }

/* Network bar */
.network-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s6);
  background: var(--card);
  border: 1px solid rgba(249,115,22,0.15);
  border-radius: var(--r-xl);
  padding: var(--s8) clamp(var(--s6), 4vw, var(--s12));
}

.network-bar__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.network-bar__num {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
}

.network-bar__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.network-bar__divider {
  width: 1px; height: 48px;
  background: var(--navy-border);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   WHY AD+
═══════════════════════════════════════════════════ */

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}

.why__card {
  background: var(--card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms var(--ease-out);
  opacity: 0;
  transform: translateY(16px);
}

.why__card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms var(--ease-out),
              opacity 0.5s var(--ease-out) var(--delay),
              transform 0.5s var(--ease-out) var(--delay);
}

@media (hover: hover) and (pointer: fine) {
  .why__card:hover {
    border-color: rgba(249,115,22,0.25);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}

.why__icon {
  width: 48px; height: 48px;
  background: var(--orange-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease;
}

.why__icon svg { width: 22px; height: 22px; stroke: var(--orange); }

@media (hover: hover) and (pointer: fine) {
  .why__card:hover .why__icon { background: rgba(249,115,22,0.2); }
}

.why__card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.why__card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   BRANDS
═══════════════════════════════════════════════════ */

.brands { background: var(--bg-alt); }

/* ── BRAND LOGO MARQUEE ── */
/* Full-bleed auto-scrolling strip. ~6 logos visible at a time; the track
   holds two copies of the set and translates by -50% for a seamless loop. */
.brands__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: var(--s8);
  /* Fade the left/right edges so logos slide in/out softly */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brands__track {
  display: flex;
  width: max-content;
  animation: brands-scroll 40s linear infinite;
}

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (hover: hover) and (pointer: fine) {
  .brands__marquee:hover .brands__track { animation-play-state: paused; }
}

@media (prefers-reduced-motion: reduce) {
  .brands__track { animation: none; }
  .brands__marquee {
    overflow-x: auto;
    -webkit-mask-image: none; mask-image: none;
  }
}

/* Each logo cell: sized so ~6 fit across a container width */
.brands__logo {
  flex: 0 0 auto;
  width: clamp(140px, 16vw, 190px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--s5);
}

.brands__logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  /* Subtle unification: slightly muted, full colour on hover of the strip */
  opacity: 0.85;
  transition: opacity 200ms ease;
}
.brands__marquee:hover .brands__logo img { opacity: 1; }

/* Logos with a stacked mark + wordmark are taller — give them a bit more
   height so their optical size matches the single-mark logos. */
.brands__logo img[alt="IndianOil"],
.brands__logo img[alt="Honda"],
.brands__logo img[alt="Physics Wallah"],
.brands__logo img[alt="Suzuki"],
.brands__logo img[alt="Škoda"],
.brands__logo img[alt="BMW"],
.brands__logo img[alt="SPSU"],
.brands__logo img[alt="Madhav University"],
.brands__logo img[alt="Milkbasket"] { height: 48px; }

/* Wide wordmark logos read too large at 40px height — size them down a touch
   so their optical weight matches the compact marks around them. */
.brands__logo img[alt="Bath & Body Works"] { height: 44px; }
.brands__logo img[alt="Jack & Jones"] { height: 26px; }
.brands__logo img[alt="Paras Health"] { height: 40px; }
.brands__logo img[alt="Being Human"] { height: 42px; }

.brands__cta-line {
  font-size: var(--text-base);
  color: var(--text-secondary);
  text-align: center;
  padding-top: var(--s4);
  border-top: 1px solid var(--navy-border);
}

.brands__cta-link {
  color: var(--orange);
  font-weight: 600;
  transition: color 160ms ease;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .brands__cta-link:hover { color: var(--orange-dark); }
}

/* ═══════════════════════════════════════════════════
   SPECS
═══════════════════════════════════════════════════ */

.specs__inner {
  max-width: 760px;
}

.specs__note {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  background: var(--orange-light);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s6);
  margin-bottom: var(--s6);
}

.specs__note svg { width: 20px; height: 20px; stroke: var(--orange); flex-shrink: 0; margin-top: 2px; }

.specs__note p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.specs__note strong { color: var(--text-primary); }

.specs__table {
  background: var(--card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.specs__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--navy-border);
  transition: background 160ms ease;
}

.specs__row:last-child { border-bottom: none; }

.specs__row--header {
  background: var(--surface-2);
}

.specs__row--header div {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 12px var(--s5);
}

@media (hover: hover) and (pointer: fine) {
  .specs__row:not(.specs__row--header):hover { background: var(--surface-1); }
}

.specs__key {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  padding: 14px var(--s5);
  border-right: 1px solid var(--navy-border);
}

.specs__val {
  font-size: var(--text-sm);
  color: var(--text-primary);
  padding: 14px var(--s5);
}

.specs__assist {
  margin-top: var(--s5);
  font-size: var(--text-sm);
  color: var(--orange);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   ENQUIRY
═══════════════════════════════════════════════════ */

.enquire { background: var(--bg-alt); }

.enquire__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.enquire__info {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  position: sticky;
  top: 100px;
}

.enquire__info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
}

.enquire__info-icon {
  width: 44px; height: 44px;
  background: var(--orange-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.enquire__info-icon svg { width: 20px; height: 20px; stroke: var(--orange); }

.enquire__info-item strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.enquire__info-item span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Form */
.enquire__form {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  background: var(--card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-2xl);
  padding: clamp(24px, 4vw, 48px);
}

.form__row { display: flex; gap: var(--s4); }
.form__row--2 { flex-direction: row; }

.form__field {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  flex: 1;
  min-width: 0;
}

.form__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.form__required { color: var(--orange); margin-left: 2px; }

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: var(--surface-1);
  border: 1.5px solid var(--navy-border);
  border-radius: var(--r-md);
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 16px; /* explicit 16px prevents iOS zoom */
  line-height: 1.5;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-muted); }

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(249,115,22,0.05);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

.form__input.is-invalid,
.form__select.is-invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

.form__select-wrap {
  position: relative;
}

.form__select-wrap .form__select { padding-right: 44px; }

.form__select-icon {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

.form__select-icon svg { width: 16px; height: 16px; }

/* Style option text in select */
.form__select option {
  background: var(--bg-modal);
  color: var(--text-primary);
}

.form__textarea { resize: vertical; min-height: 110px; }

.form__error {
  font-size: var(--text-xs);
  font-weight: 500;
  color: #EF4444;
  min-height: 16px;
  display: block;
}

.form__privacy {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   FORM SUCCESS MODAL
═══════════════════════════════════════════════════ */

.form-success {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s6);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-spring);
}

.form-success.is-open {
  pointer-events: all;
  opacity: 1;
  transform: scale(1);
}

.form-success__backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) - 1);
  background: rgba(0,0,0,0.7);
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.form-success__backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

.form-success__inner {
  background: var(--bg-modal);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--r-2xl);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s5);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(249,115,22,0.1);
}

.form-success__icon {
  width: 64px; height: 64px;
  background: rgba(34,197,94,0.15);
  border: 2px solid rgba(34,197,94,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success__icon svg {
  width: 28px; height: 28px;
  stroke: #22C55E;
  stroke-width: 2.5;
}

.form-success__inner h3 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
}

.form-success__inner p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */

.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--navy-border);
  padding: var(--s16) 0 calc(var(--s10) + env(safe-area-inset-bottom));
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s8);
  flex-wrap: wrap;
  margin-bottom: var(--s10);
  padding-bottom: var(--s10);
  border-bottom: 1px solid var(--navy-border);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s4);
}

/* The logos have white backgrounds and the footer is light, so present them
   on a clean white card with a soft border. iDOOH is the lead brand — larger. */
.footer__logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--navy-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.footer__logo-chip--parent {
  padding: 12px 18px;
}
.footer__logo-chip--sub {
  padding: 8px 12px;
}

.footer__logo-img {
  width: auto;
  object-fit: contain;
  display: block;
}

.footer__logo-img--parent {
  height: 64px;
}

.footer__logo-img--sub {
  height: 42px;
}

/* Line that names iDOOH as the parent company */
.footer__parent-line {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}
.footer__parent-line span {
  display: block;
  font-weight: 500;
  color: var(--text-secondary);
}

/* AD+ shown smaller, as the sub-brand / unit */
.footer__subbrand {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s1);
}
.footer__subbrand-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: 12ch;
  line-height: 1.35;
}

.footer__links nav {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.footer__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer__links a:hover { color: var(--text-primary); }
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.footer__contact strong {
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.footer__contact span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s3);
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Design & development credit */
.footer__credit {
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--navy-border);
  text-align: center;
}
.footer__credit p {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Shifu Media — gradient-highlighted link */
.footer__credit a {
  font-weight: 700;
  background: linear-gradient(90deg, var(--orange) 0%, #F43F5E 50%, #8B5CF6 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% auto;
  transition: background-position 400ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .footer__credit a:hover { background-position: right center; }
}

/* ═══════════════════════════════════════════════════
   INTERSECTION OBSERVER ANIMATIONS
═══════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   WHATSAPP FAB
═══════════════════════════════════════════════════ */

.whatsapp-fab {
  position: fixed;
  bottom: calc(28px + env(safe-area-inset-bottom));
  right: 24px;
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: var(--r-full);
  padding: 14px 20px 14px 16px;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 200ms var(--ease-out),
              box-shadow 200ms ease,
              padding 200ms var(--ease-out);
  overflow: hidden;
}

/* On desktop — label visible by default; collapses to icon-only on scroll */
.whatsapp-fab__label {
  white-space: nowrap;
  transition: max-width 300ms var(--ease-out), opacity 250ms ease;
  max-width: 120px;
  opacity: 1;
}

/* Collapsed state (added by JS on scroll) */
.whatsapp-fab.is-compact {
  padding: 14px;
}
.whatsapp-fab.is-compact .whatsapp-fab__label {
  max-width: 0;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-fab:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 28px rgba(37,211,102,0.55), 0 4px 12px rgba(0,0,0,0.3);
  }
  /* Re-expand label on hover even when compact */
  .whatsapp-fab.is-compact:hover {
    padding: 14px 20px 14px 16px;
  }
  .whatsapp-fab.is-compact:hover .whatsapp-fab__label {
    max-width: 120px;
    opacity: 1;
  }
}

.whatsapp-fab:active { transform: scale(0.96); }

.whatsapp-fab__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Pulse ring — draws attention on load */
.whatsapp-fab__ping {
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
  animation: wa-ping 2.5s ease-out 1.5s 3;
  pointer-events: none;
}

@keyframes wa-ping {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Mobile — icon only always, slightly smaller */
@media (max-width: 768px) {
  .whatsapp-fab {
    padding: 13px;
    bottom: calc(24px + env(safe-area-inset-bottom));
    right: 16px;
  }
  .whatsapp-fab__label { display: none; }
}

/* ═══════════════════════════════════════════════════
   RAJASTHAN PRESENCE / NETWORK
═══════════════════════════════════════════════════ */

.network__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* Map */
.network__map {
  position: relative;
  background: var(--card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-2xl);
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s5);
}

.network__map-svg { width: 100%; max-width: 340px; height: auto; }

.network__map-shape {
  fill: var(--surface-2);
  stroke: var(--navy-border-strong);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.network__label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  fill: var(--text-secondary);
}
.network__label--live { fill: var(--orange); font-weight: 700; }

.network__node-dot { fill: var(--orange); }
.network__node-pulse {
  fill: var(--orange);
  opacity: 0.25;
  transform-origin: center;
  animation: node-pulse 2.6s var(--ease-out) infinite;
}

@keyframes node-pulse {
  0%   { transform: scale(0.4); opacity: 0.45; }
  70%  { transform: scale(1); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.network__node-soon {
  fill: var(--text-muted);
  opacity: 0.55;
}

.network__map-legend {
  display: flex;
  gap: var(--s6);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.network__legend-item { display: inline-flex; align-items: center; gap: var(--s2); }
.network__legend-dot { width: 9px; height: 9px; border-radius: 50%; }
.network__legend-dot--live { background: var(--orange); }
.network__legend-dot--soon { background: var(--text-muted); }

/* City cards */
.network__cities { display: flex; flex-direction: column; gap: var(--s5); }

.city-card--live {
  background: linear-gradient(135deg, var(--orange-light), transparent 70%), var(--surface-1);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: var(--r-xl);
  padding: var(--s6) var(--s6) var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.city-card__status {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--r-full);
}
.city-card__status--live { background: var(--orange); color: #fff; }
.city-card__status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: node-pulse-soft 1.8s ease-in-out infinite;
}
@keyframes node-pulse-soft { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.city-card__name {
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.city-card__meta { font-size: var(--text-sm); font-weight: 600; color: var(--orange); margin-top: 2px; }
.city-card__desc { font-size: var(--text-sm); color: var(--text-secondary); margin-top: var(--s2); line-height: 1.6; }

.city-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  align-self: flex-start;
}
.city-card__link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .city-card__link:hover svg { transform: translateX(4px); }
  .city-card__link:hover { color: var(--orange); }
}

.city-card__soon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
}

.city-soon {
  background: var(--card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s5);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .city-soon:hover { border-color: var(--navy-border-strong); transform: translateY(-2px); }
}

.city-soon__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-bottom: 6px; }
.city-soon__head h4 { font-size: var(--text-base); font-weight: 700; color: var(--text-primary); }
.city-soon__tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-full);
  padding: 3px 8px;
  white-space: nowrap;
}
.city-soon p { font-size: var(--text-xs); color: var(--text-secondary); line-height: 1.5; }

.city-soon--cta {
  background: var(--orange-light);
  border-color: rgba(249,115,22,0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.city-soon__cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--orange);
}
.city-soon__cta-link svg { width: 15px; height: 15px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .city-soon--cta:hover .city-soon__cta-link svg { transform: translateX(4px); }
}

/* ═══════════════════════════════════════════════════
   STATISTICS BAND
═══════════════════════════════════════════════════ */

.stats-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  padding: clamp(40px, 6vw, 72px) 0;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s6);
}

.stats-band__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  position: relative;
}
.stats-band__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(var(--s6) / -2);
  top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 48px;
  background: var(--navy-border);
}

.stats-band__num {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}
.stats-band__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════ */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: var(--s4);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--navy-border);
  padding: 0;
  background: var(--card);
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.gallery__item.is-visible { opacity: 1; transform: translateY(0); }

.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--s4);
  background: linear-gradient(to top, rgba(11,22,40,0.85), transparent 55%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.gallery__cap { font-size: var(--text-sm); font-weight: 600; color: #fff; }

@media (hover: hover) and (pointer: fine) {
  .gallery__item:hover img { transform: scale(1.06); }
  .gallery__item:hover .gallery__overlay { opacity: 1; }
}
.gallery__item:focus-visible .gallery__overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  padding: clamp(16px, 4vw, 48px);
  background: rgba(5, 11, 22, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  max-width: min(1000px, 92vw);
  max-height: 86vh;
  transform: scale(0.96);
  transition: transform 320ms var(--ease-spring);
}
.lightbox.is-open .lightbox__figure { transform: scale(1); }

.lightbox__img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox__caption { font-size: var(--text-sm); color: rgba(255,255,255,0.8); text-align: center; max-width: 60ch; }

.lightbox__close,
.lightbox__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.1);
  color: #fff;
  flex-shrink: 0;
  transition: background 180ms ease, transform 180ms var(--ease-out);
}
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 28px); }
@media (hover: hover) and (pointer: fine) {
  .lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.2); }
  .lightbox__nav:hover { transform: scale(1.08); }
}

/* ═══════════════════════════════════════════════════
   LIST YOUR MEDIA
═══════════════════════════════════════════════════ */

.list-media { background: var(--bg-alt); }

.list-media__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.list-media__intro .section__title { margin-bottom: var(--s5); }
.list-media__body { font-size: var(--text-lg); color: var(--text-secondary); line-height: 1.7; margin-bottom: var(--s6); }

.list-media__perks { display: flex; flex-direction: column; gap: var(--s3); }
.list-media__perks li {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--text-base);
  color: var(--text-primary);
}
.list-media__perks svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  stroke: var(--orange);
  background: var(--orange-light);
  border-radius: 50%;
  padding: 4px;
}

.media-form {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  background: var(--bg-modal);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-2xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.media-form__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}
.media-form #mediaSubmitBtn { margin-top: var(--s2); }

/* ═══════════════════════════════════════════════════
   LET'S CONNECT
═══════════════════════════════════════════════════ */

.connect__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}

.connect__details { display: flex; flex-direction: column; gap: var(--s4); }

.connect__row {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s5);
  background: var(--card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  a.connect__row:hover { border-color: rgba(249,115,22,0.3); transform: translateY(-2px); }
}

.connect__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: var(--orange-light);
}
.connect__icon svg { width: 20px; height: 20px; stroke: var(--orange); }

.connect__row-text { display: flex; flex-direction: column; gap: 2px; }
.connect__row-text strong { font-size: var(--text-sm); color: var(--text-primary); }
.connect__row-text span { font-size: var(--text-sm); color: var(--text-secondary); }

.connect__social { display: flex; gap: var(--s3); margin-top: var(--s2); }
.connect__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--navy-border);
  color: var(--text-secondary);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out);
}
.connect__social-link svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .connect__social-link:hover {
    color: var(--orange);
    border-color: rgba(249,115,22,0.3);
    background: var(--orange-light);
    transform: translateY(-2px);
  }
}

.connect__map {
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--navy-border);
  min-height: 360px;
  background: var(--card);
}
.connect__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* Footer social */
.footer__social { display: flex; gap: var(--s3); margin-top: var(--s3); }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  border: 1px solid var(--navy-border);
  color: var(--text-secondary);
  transition: color 180ms ease, border-color 180ms ease;
}
.footer__social svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .footer__social a:hover { color: var(--orange); border-color: rgba(249,115,22,0.3); }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .about__inner { grid-template-columns: 1fr; gap: var(--s12); }
  .screens__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .enquire__inner { grid-template-columns: 1fr; }
  .enquire__info { position: static; }
  .specs__row { grid-template-columns: 160px 1fr; }

  .network__layout { grid-template-columns: 1fr; gap: var(--s10); }
  .network__map { max-width: 480px; margin: 0 auto; width: 100%; }
  .list-media__inner { grid-template-columns: 1fr; gap: var(--s10); }
  .connect__layout { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Hero tuning below 900px */
@media (max-width: 900px) {
  .hero__inner {
    padding-top: calc(96px + env(safe-area-inset-top));
  }
  .hero__headline {
    font-size: clamp(1.75rem, 7.5vw, 3.25rem);
    overflow-wrap: break-word;
  }
  /* Hide the caption on smaller screens; dots remain */
  .hero__slide-caption { display: none; }
}

/* Large mobile */
@media (max-width: 768px) {
  .nav__links, .nav__right { display: none; }
  .nav__right--mobile { display: flex; }

  .hero__inner {
    padding-top: calc(88px + env(safe-area-inset-top));
    padding-bottom: clamp(72px, 16vh, 100px);
  }

  .hero__carousel-ui { display: none; }

  .screens__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }

  .hero__content { width: 100%; max-width: 100%; }
  .hero__sub { max-width: 100%; }

  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .hero__stat-divider { display: none; }
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s3) var(--s5);
    padding: var(--s4) var(--s5);
    width: 100%;
  }
  .hero__stat { align-items: flex-start; }

  .network-bar { flex-direction: column; align-items: flex-start; gap: var(--s4); }
  .network-bar__divider { display: none; }
  .network-bar__item { align-items: flex-start; text-align: left; }

  .about__cards { grid-template-columns: 1fr; }

  .form__row--2 { flex-direction: column; }

  .enquire__form { padding: var(--s6); }

  .footer__inner { flex-direction: column; gap: var(--s8); }

  .specs__row { grid-template-columns: 1fr; }
  .specs__row--header { display: none; }
  .specs__key { border-right: none; border-bottom: 1px solid var(--navy-border); padding-bottom: 6px; }
  .specs__val { padding-top: 6px; }

  .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s8) var(--s4); }
  .stats-band__item:nth-child(2)::after { display: none; }
  .city-card__soon-grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__item--wide { grid-column: span 2; }
  .lightbox__nav { width: 42px; height: 42px; }
  .media-form { padding: var(--s6); }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero__inner {
    padding-top: calc(80px + env(safe-area-inset-top));
    padding-bottom: clamp(64px, 14vh, 88px);
  }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  /* Narrower cells + smaller logos so ~4 read cleanly on phones */
  .brands__logo { width: clamp(108px, 30vw, 140px); padding: 0 var(--s4); }
  .brands__logo img { height: 32px; }
  .brands__logo img[alt="IndianOil"],
  .brands__logo img[alt="Honda"],
  .brands__logo img[alt="Physics Wallah"],
  .brands__logo img[alt="Suzuki"],
  .brands__logo img[alt="Škoda"] { height: 40px; }
  .footer__bottom { flex-direction: column; }

  /* Shrink the AD+ / iDOOH nav lockup so it fits beside the burger */
  .nav__logo { gap: 8px; }
  .nav__logo-img--primary { height: 36px; }
  .nav__logo-img--parent { height: 27px; }
  .nav__logo-divider { height: 22px; }
}

/* Safe area padding for fixed elements */
@supports (padding-top: env(safe-area-inset-top)) {
  .nav__inner {
    padding-left: max(var(--container-pad), env(safe-area-inset-left));
    padding-right: max(var(--container-pad), env(safe-area-inset-right));
  }
}

/* Active nav link state */
.nav__link.is-active {
  color: var(--text-primary);
}
.nav__link.is-active::after {
  transform: scaleX(1);
}

/* Screen card stagger delays */
.screens__grid .screen-card:nth-child(1) { transition-delay: 0ms; }
.screens__grid .screen-card:nth-child(2) { transition-delay: 100ms; }
.screens__grid .screen-card:nth-child(3) { transition-delay: 200ms; }

/* Smooth transition for screen cards */
.screen-card {
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out),
              border-color 240ms ease, box-shadow 240ms ease;
}

/* Selection color */
::selection {
  background: rgba(249,115,22,0.25);
  color: var(--white);
}
