/* ==========================================================================
   STC ADS — ELITE DOOH NETWORK STYLESHEET (Refactored v2026.2)
   ========================================================================== */

/* 1. DESIGN TOKENS (Dark Default + Premium Light Theme) */
:root {
  --bg: #040814;
  --bg-alt: #0A1128;
  --surface: #0F1730;
  --surface-2: #151E38;
  --surface-glass: rgba(4, 8, 20, 0.85);
  --surface-soft: rgba(255, 255, 255, 0.03);
  --input-bg: rgba(0, 0, 0, 0.28);

  --amber: #F59E0B;
  --amber-hover: #FBBF24;
  --cyan: #06B6D4;
  --emerald: #10B981;
  --danger: #EF4444;

  --text: #E5E7EB;
  --muted: #94A3B8;
  --border: rgba(255, 255, 255, 0.09);
  --radius: 14px;
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] {
  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --surface: #FFFFFF;
  --surface-2: #E2E8F0;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --surface-soft: #F8FAFC;
  --input-bg: #F8FAFC;

  --text: #0F172A;
  --muted: #475569;
  --border: #E2E8F0;
  --shadow-card: 0 8px 28px -8px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.14);
}

/* 2. BASE & TYPOGRAPHY */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; transition: background-color 0.3s ease, color 0.3s ease; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.2; color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.mono { font-family: 'JetBrains Mono', monospace; }
.accent { color: var(--amber); }
.text-amber { color: var(--amber); font-weight: 700; }
.center { text-align: center; }
::selection { background: var(--cyan); color: #040814; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Shared Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--amber); color: #0A1128; }
.btn-primary:hover { background: var(--amber-hover); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245, 158, 11, 0.3); }
.btn-primary:disabled { opacity: 0.65; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary.big { width: 100%; padding: 17px; font-size: 1rem; margin-top: 6px; }
.btn-secondary { background: var(--surface-soft); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--cyan); background: rgba(6, 182, 212, 0.08); }

/* 3. NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; flex-direction: column; }
.brand-mark { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.04em; color: var(--amber); }
.brand-sub { font-size: 0.66rem; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links { display: flex; gap: 24px; font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.nav-links a { position: relative; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-block;
  background: var(--amber);
  color: #0A1128;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { background: var(--amber-hover); transform: translateY(-1px); }

.nav-controls { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.theme-toggle:hover { border-color: var(--cyan); transform: scale(1.05); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 19px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.mobile-menu-btn span {
  width: 100%; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 4. HERO & SPLIT-SCREEN LED SIMULATOR */
.hero {
  padding: 72px 24px 64px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(6, 182, 212, 0.13), transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(245, 158, 11, 0.09), transparent 55%);
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.32);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800; margin-bottom: 18px; letter-spacing: -0.02em; }
.lead { font-size: 1.06rem; color: var(--muted); margin-bottom: 28px; max-width: 540px; }
.lead strong { color: var(--text); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* LED Board (Always stays dark like a real display screen) */
.led-board {
  background: #03060E;
  color: #E5E7EB;
  border-radius: 20px;
  padding: 14px;
  border: 1px solid rgba(6, 182, 212, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 48px rgba(6, 182, 212, 0.14);
}
.led-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 9px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.led-dot {
  width: 8px; height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}
.led-ref { margin-left: auto; color: #94A3B8; font-size: 0.65rem; }

.led-split { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 10px; }
.led-left, .led-right {
  background: linear-gradient(180deg, #0A132C, #040814);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.led-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(6, 182, 212, 0.035) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.led-zone-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 10px;
}
.led-audio-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.led-audio-bars i {
  display: block; width: 2.5px; background: var(--emerald); border-radius: 2px;
  animation: eq 0.9s ease-in-out infinite alternate;
}
.led-audio-bars i:nth-child(2) { animation-delay: 0.2s; }
.led-audio-bars i:nth-child(3) { animation-delay: 0.4s; }
.led-audio-bars i:nth-child(4) { animation-delay: 0.15s; }
@keyframes eq { 0% { height: 3px; } 100% { height: 12px; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes fill { 0% { width: 0; } 100% { width: 100%; } }

.led-brand-cycle { position: relative; flex: 1; min-height: 112px; margin-bottom: 12px; }
.led-brand {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.led-brand.active { opacity: 1; transform: translateY(0); }
.led-brand .brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  text-shadow: 0 0 18px rgba(6, 182, 212, 0.55);
}
.led-brand small { color: var(--cyan); font-size: 0.72rem; margin-top: 4px; }

.led-progress { height: 3px; background: rgba(255, 255, 255, 0.12); border-radius: 2px; overflow: hidden; }
.led-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--amber)); animation: fill 4s linear infinite; }
.led-tag { font-size: 0.62rem; color: #94A3B8; margin-top: 8px; letter-spacing: 0.09em; text-align: center; font-family: 'JetBrains Mono', monospace; }

.led-station-tabs { display: flex; gap: 4px; margin-bottom: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.led-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94A3B8;
  padding: 3px 7px;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s ease;
}
.led-tab:hover { color: #FFF; border-color: var(--cyan); }
.led-tab.active { background: var(--cyan); color: #040814; border-color: var(--cyan); }

.led-table { width: 100%; font-size: 0.7rem; border-collapse: collapse; color: #E5E7EB; position: relative; z-index: 1; }
.led-table th { color: #64748B; text-align: left; padding: 4px; font-size: 0.58rem; letter-spacing: 0.08em; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.led-table td { padding: 6px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); white-space: nowrap; }
.st-pill {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.56rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}
.st-board { background: rgba(245, 158, 11, 0.2); color: var(--amber); }
.st-ontime { background: rgba(16, 185, 129, 0.18); color: var(--emerald); }
.st-sched { background: rgba(148, 163, 184, 0.16); color: #CBD5E1; }
.led-schedule-foot { font-size: 0.58rem; color: #64748B; margin-top: auto; padding-top: 8px; letter-spacing: 0.08em; }

/* 5. SECTIONS, METRICS & STATIONS */
.section { padding: 84px 24px; }
.section.dark { background: var(--bg-alt); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 800; margin-bottom: 10px; letter-spacing: -0.015em; }
.section-sub { color: var(--muted); font-size: 1.02rem; margin-bottom: 40px; max-width: 720px; }
.subsection { font-size: 1.25rem; margin: 44px 0 18px; color: var(--cyan); }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.metric-card h3 { font-size: 2rem; color: var(--amber); margin-bottom: 6px; }
.metric-card p { color: var(--muted); font-size: 0.88rem; }
.metric-note { margin-top: 26px; color: var(--muted); font-size: 0.98rem; }

.station-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.station-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.station-card:hover { border-color: var(--cyan); transform: translateY(-4px); }
.station-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.station-head h3 { font-size: 1.1rem; }
.zone-pill { background: rgba(6, 182, 212, 0.12); color: var(--cyan); padding: 3px 10px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; white-space: nowrap; }
.station-stats { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; }
.station-bar { height: 6px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.station-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--amber)); width: 0; transition: width 1.1s ease-out; }
.station-note { font-size: 0.82rem; color: var(--muted); font-style: italic; }

/* 6. ADVANTAGES, ZONES & GALLERY */
.adv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.adv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.adv-card h3 { font-size: 0.98rem; color: var(--amber); margin-bottom: 8px; }
.adv-card p { font-size: 0.84rem; color: var(--muted); }

.zone-section-wrapper { margin-top: 44px; }
.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.zone-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.zone-card:hover { transform: translateY(-3px); border-color: var(--cyan); }
.zone-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.zone-info h4 { font-size: 0.98rem; margin-bottom: 4px; }
.zone-info p { color: var(--muted); font-size: 0.84rem; }

/* Gallery & Fixed Lightbox */
.gallery-wrapper { position: relative; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  padding: 0;
  position: relative;
  width: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; display: block; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.placeholder::after {
  content: '📷 Photo Pending Upload';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 0.88rem;
}
.gallery-arrow { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 20, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 24px;
}
.lightbox.active { display: flex; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94%; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute;
  top: 18px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: var(--amber); color: #040814; }

/* 7. OPERATIONS, PROGRAMMING, TERMS & CLIENTS */
.ops-grid, .terms-grid, .programming-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ops-card, .term-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.ops-card { text-align: center; }
.ops-card h3 { color: var(--cyan); font-size: 1.06rem; margin-bottom: 6px; }
.ops-card p, .term-card p { font-size: 0.84rem; color: var(--muted); }
.term-step { position: absolute; top: 12px; right: 16px; font-size: 1.8rem; font-weight: 800; color: rgba(245, 158, 11, 0.24); }
.term-card h4 { font-size: 0.96rem; margin-bottom: 8px; padding-right: 34px; }

.program-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.program-card:hover { border-color: var(--cyan); background: rgba(6, 182, 212, 0.06); }
.play-icon { color: var(--amber); font-size: 0.78rem; }
.program-text { font-size: 0.88rem; font-weight: 500; }

/* Clients */
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tab {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab:hover { color: var(--text); border-color: var(--cyan); }
.tab.active { background: var(--amber); color: #040814; border-color: var(--amber); font-weight: 700; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.28); }

.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-bottom: 44px; }
.client-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.client-pill:hover { transform: translateY(-3px); border-color: var(--cyan); }
.client-logo {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.05rem;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}
.client-pill:hover .client-logo { background: var(--cyan); color: #040814; }
.client-name { font-weight: 500; font-size: 0.92rem; }

.client-marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: marquee 36s linear infinite;
  color: var(--muted);
  font-size: 0.88rem;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.marquee-dot { color: var(--amber); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 8. PRICING WORKSPACE, ACCORDION RATE CARD, ESTIMATOR & FORM */
.pricing-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.pricing-head-row .section-sub { margin-bottom: 0; }
.vat-badge {
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(245, 158, 11, 0.32);
}

/* Rate Card Accordion (Open by default) */
.rate-accordion {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.rate-accordion[open] { border-color: rgba(6, 182, 212, 0.35); }
.rate-accordion-trigger {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.rate-accordion-trigger::-webkit-details-marker { display: none; }
.rate-acc-left { display: flex; align-items: center; gap: 12px; }
.rate-acc-left strong { display: block; font-size: 0.95rem; }
.rate-acc-left small { display: block; font-size: 0.78rem; color: var(--muted); }
.acc-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(6, 182, 212, 0.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.acc-chevron { color: var(--cyan); font-size: 1.2rem; transition: transform 0.25s ease; }
.rate-accordion[open] .acc-chevron { transform: rotate(180deg); }
.rate-accordion-body { border-top: 1px solid var(--border); }

.table-responsive { overflow-x: auto; }
.rate-table { width: 100%; border-collapse: collapse; text-align: left; }
.rate-table th {
  padding: 14px 20px;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}
.rate-table td { padding: 14px 20px; font-size: 0.92rem; border-bottom: 1px solid var(--border); }
.rate-table tr:last-child td { border-bottom: none; }
.table-note { padding: 12px 20px; font-size: 0.78rem; color: var(--muted); background: var(--surface-soft); border-top: 1px solid var(--border); }

/* Form & 2-Column Estimator Workspace */
.config-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}
.estimator-workspace { display: grid; grid-template-columns: 1.32fr 1fr; gap: 28px; align-items: start; }
.workspace-controls { display: flex; flex-direction: column; gap: 22px; }
.workspace-summary { position: sticky; top: 88px; }

.step-label-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.step-heading { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 0.94rem; font-weight: 700; color: var(--text); }
.step-label-row .step-heading { margin-bottom: 0; }
.step-num {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(6, 182, 212, 0.14); color: var(--cyan);
  font-size: 0.75rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.quick-buttons { display: flex; gap: 6px; }
.btn-mini {
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-mini:hover { background: var(--cyan); color: #040814; }
.btn-mini.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-mini.btn-ghost:hover { color: var(--danger); border-color: rgba(239, 68, 68, 0.45); background: rgba(239, 68, 68, 0.08); }

/* Station Cards */
.station-checkboxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.check-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}
.check-card input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.check-card:hover { border-color: rgba(6, 182, 212, 0.5); background: rgba(6, 182, 212, 0.06); }
.check-card:has(input:checked) { border-color: var(--cyan); background: rgba(6, 182, 212, 0.12); box-shadow: 0 4px 16px rgba(6, 182, 212, 0.14); }
.station-name { font-size: 0.85rem; font-weight: 600; line-height: 1.25; }
.check-icon {
  width: 20px; height: 20px; border-radius: 6px;
  border: 1.8px solid var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 900; color: transparent; flex-shrink: 0;
  transition: all 0.2s ease;
}
.check-card input:checked ~ .check-icon { background: var(--cyan); border-color: var(--cyan); color: #040814; }

/* Duration Pills */
.duration-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pill-option { position: relative; cursor: pointer; display: block; }
.pill-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.pill-body {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 11px 8px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.pill-body strong { font-size: 0.92rem; }
.pill-body small { font-size: 0.72rem; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.pill-option input:checked + .pill-body { border-color: var(--amber); background: rgba(245, 158, 11, 0.12); box-shadow: 0 4px 14px rgba(245, 158, 11, 0.16); }
.pill-option input:checked + .pill-body strong { color: var(--amber); }

/* TVC + Stepper Inputs */
.compact-inputs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-wrap { display: flex; flex-direction: column; }

.tvc-input-group, .stepper-group {
  display: flex;
  align-items: stretch;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tvc-input-group:focus-within, .stepper-group:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
}
.tvc-input-group select {
  width: 38%;
  border: none;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 12px 8px;
  text-align: center;
  font-size: 0.9rem;
  cursor: pointer;
}
.tvc-input-group input, .stepper-group input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  padding: 12px 10px;
  font-size: 0.95rem;
  outline: none;
}
.stepper-group input { text-align: center; font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.stepper-btn {
  width: 42px;
  background: var(--surface-soft);
  border: none;
  color: var(--cyan);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.stepper-btn:hover { background: rgba(6, 182, 212, 0.18); }

.preset-chips { display: flex; gap: 6px; margin-top: 8px; }
.chip-btn {
  flex: 1;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 8px;
  padding: 5px 4px;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip-btn:hover, .chip-btn.active { border-color: var(--cyan); color: var(--cyan); background: rgba(6, 182, 212, 0.12); }

/* Live Budget Estimator Card */
.elite-estimate-box {
  background: linear-gradient(155deg, var(--surface), var(--bg-alt));
  border: 1px solid rgba(6, 182, 212, 0.34);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.elite-estimate-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.elite-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid var(--border);
}
html[data-theme="light"] .elite-header { background: #F8FAFC; }
.elite-title { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1rem; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 10px var(--emerald); animation: pulse 2s infinite; }
.elite-tag {
  background: rgba(245, 158, 11, 0.15); color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.06em;
}
.elite-body { padding: 20px; }
.estimate-warning {
  background: rgba(239, 68, 68, 0.14);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 14px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
}
.elite-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.stat-box {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 6px;
  display: flex; flex-direction: column; gap: 3px; text-align: center;
}
.stat-label { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-size: 1rem; font-weight: 700; }

.elite-calc-area { background: var(--input-bg); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; }
.calc-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 0.9rem; }
.calc-row:last-child { border-bottom: none; }
.calc-label { color: var(--muted); }
.calc-value { font-weight: 600; }

.elite-total-box {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04));
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 12px;
  padding: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.total-label { font-size: 0.94rem; font-weight: 600; }
.total-value { font-size: 1.45rem; font-weight: 800; color: var(--amber); }

.elite-reach-box {
  background: rgba(6, 182, 212, 0.09);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.reach-label { color: var(--cyan); font-size: 0.85rem; font-weight: 500; }
.reach-value { color: var(--cyan); font-weight: 700; font-size: 0.98rem; }

.btn-jump-quote {
  display: block; width: 100%; text-align: center; margin-top: 14px;
  padding: 11px 14px; border-radius: 10px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--amber); font-weight: 700; font-size: 0.88rem;
  transition: all 0.2s ease;
}
.btn-jump-quote:hover { background: var(--amber); color: #040814; }

.elite-footer {
  background: var(--surface-soft);
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.elite-formula { font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; color: var(--muted); margin-bottom: 4px; }
.elite-note { font-size: 0.72rem; color: var(--muted); opacity: 0.8; font-style: italic; }

/* Contact Fields */
.form-divider {
  display: flex; align-items: center; text-align: center;
  margin: 18px 0 6px;
  color: var(--muted); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.form-divider::before, .form-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border); }
.form-divider span { padding: 0 14px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-2 label, .config-form > div > label {
  display: block; font-size: 0.86rem; font-weight: 600; color: var(--text); margin-bottom: 7px;
}
.grid-2 input, .grid-2 select, .config-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.grid-2 input:focus, .grid-2 select:focus, .config-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
}

.check.confirm {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; font-size: 0.9rem; line-height: 1.5;
  padding: 14px 16px;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 10px;
}
.check.confirm input[type="checkbox"] { accent-color: var(--amber); width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }

#form-message:empty { display: none; }
#form-message { padding: 14px; border-radius: 10px; text-align: center; font-size: 0.9rem; }
#form-message.success { background: rgba(16, 185, 129, 0.14); color: var(--emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
#form-message.error { background: rgba(239, 68, 68, 0.14); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.3); }

.mobile-sticky-bar { display: none; }

/* 9. FOOTER, ERROR PAGES & WHATSAPP CONCIERGE */
.footer {
  background: var(--bg-alt);
  position: relative;
  padding: 68px 24px 40px;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.footer-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 36px 2px rgba(6, 182, 212, 0.28);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 0.9fr; gap: 48px; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { font-size: 0.96rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-brand { display: block; margin-bottom: 14px; }
.footer-brand .brand-mark { display: block; font-size: 1.3rem; margin-bottom: 4px; }
.footer-brand .brand-sub { color: var(--cyan); }
.footer-address, .legal-col p { color: var(--muted); font-size: 0.9rem; line-height: 1.75; }
.footer-team { font-size: 0.92rem; font-weight: 500; margin-bottom: 16px; }
.footer-contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; transition: transform 0.2s ease; }
.footer-contact-item:hover { transform: translateX(4px); }
.icon-wrap {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--cyan);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
}
.footer-contact-item:hover .icon-wrap { background: var(--cyan); color: #040814; border-color: var(--cyan); }
.footer-contact-item .text { color: var(--muted); font-size: 0.94rem; font-weight: 500; }
.footer-contact-item:hover .text { color: var(--text); }

/* Error Pages */
.error-page { min-height: 70vh; display: flex; align-items: center; }
.error-page h1 { font-size: clamp(4.5rem, 12vw, 7.5rem); color: var(--amber); margin-bottom: 12px; }
.error-page h2 { font-size: 1.6rem; margin-bottom: 12px; }
.error-page p { color: var(--muted); margin-bottom: 28px; }

/* WhatsApp Concierge (Pure CSS Toggle) */
.wa-toggle { display: none; }
.wa-fab {
  position: fixed; bottom: 20px; right: 20px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #FFF; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 9998; user-select: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s ease;
}
.wa-fab:hover { transform: scale(1.07); }
.wa-panel {
  position: fixed; bottom: 88px; right: 20px;
  width: 360px; max-height: 540px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden; z-index: 9999;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.wa-toggle:checked ~ .wa-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.wa-head { background: #25D366; color: #FFF; padding: 14px 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.wa-close { cursor: pointer; font-size: 1.15rem; padding: 2px 6px; }
.wa-body { padding: 14px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.wa-msg { background: var(--surface-soft); border: 1px solid var(--border); padding: 11px 12px; border-radius: 12px; font-size: 0.86rem; }
.wa-quick { display: flex; flex-direction: column; gap: 7px; }
.wa-quick-btn {
  background: rgba(37, 211, 102, 0.1); color: var(--text);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 9px 11px; border-radius: 8px; text-align: left;
  cursor: pointer; font-size: 0.84rem; display: block; width: 100%;
  transition: background 0.2s ease;
}
.wa-quick-btn:hover { background: rgba(37, 211, 102, 0.2); }
.wa-input-row { display: flex; border-top: 1px solid var(--border); }
.wa-input-row input { flex: 1; background: transparent; border: none; padding: 13px; color: var(--text); font-size: 0.88rem; outline: none; }
.wa-input-row button { background: #25D366; color: #FFF; border: none; padding: 0 18px; cursor: pointer; font-weight: 700; }

/* 10. UNIFIED RESPONSIVE BREAKPOINTS (Zero Duplicate Rules) */
@media (max-width: 1024px) {
  .mobile-menu-btn { display: flex; }
  .nav-right {
    display: none;
    flex-direction: column;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--bg-alt);
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  .nav-right.active { display: flex; }
  .nav-links { flex-direction: column; width: 100%; gap: 8px; }
  .nav-links a { display: block; padding: 10px 12px; border-radius: 8px; background: var(--surface-soft); }
  .nav-links a::after { display: none; }
  .nav-actions, .nav-cta { width: 100%; text-align: center; }

  .hero { padding: 48px 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .led-board { max-width: 640px; width: 100%; margin: 0 auto; text-align: left; }

  .metric-grid, .ops-grid, .terms-grid, .programming-grid { grid-template-columns: repeat(2, 1fr); }
  .station-grid, .adv-grid, .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .estimator-workspace { grid-template-columns: 1fr; gap: 22px; }
  .workspace-summary { position: static; }

  /* Gallery Slider on Tablet & Mobile */
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-item { flex: 0 0 85%; scroll-snap-align: center; }
  .gallery-arrow {
    display: flex;
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(10, 17, 40, 0.8); color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    align-items: center; justify-content: center; cursor: pointer; z-index: 10;
  }
  .gallery-arrow.prev { left: 10px; }
  .gallery-arrow.next { right: 10px; }
}

@media (max-width: 768px) {
  .section { padding: 52px 16px; }
  .nav-inner { padding: 12px 16px; }
  .brand-mark { font-size: 1.02rem; }
  .brand-sub { font-size: 0.58rem; }
  .theme-toggle { width: 36px; height: 36px; font-size: 0.95rem; }

  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas a { width: 100%; }
  .led-split { grid-template-columns: 1fr; }
  .led-brand-cycle { min-height: 76px; }
  .led-brand .brand-title { font-size: 1.3rem; }

  .station-grid, .adv-grid, .zone-grid, .programming-grid, .ops-grid, .terms-grid, .grid-2, .compact-inputs-row {
    grid-template-columns: 1fr;
  }
  .metric-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .metric-card { padding: 18px 12px; }
  .metric-card h3 { font-size: 1.45rem; }

  /* Compact 3-Column Clients App Grid on Mobile */
  .client-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .client-pill { flex-direction: column; justify-content: center; text-align: center; padding: 10px 6px; gap: 6px; min-height: 76px; }
  .client-logo { width: 30px; height: 30px; font-size: 0.84rem; }
  .client-name { font-size: 0.68rem; line-height: 1.2; word-break: break-word; }
  .marquee-track { animation-duration: 22s; }

  /* Compact 2x2 Rate Card Grid on Mobile (Visible on load without excessive scroll) */
  .rate-table thead { display: none; }
  .rate-table, .rate-table tbody, .rate-table tr, .rate-table td { display: block; width: 100%; }
  .rate-table tbody { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 10px; }
  .rate-table tr {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    display: flex; flex-direction: column; gap: 4px;
  }
  .rate-table td { display: flex; justify-content: space-between; align-items: center; padding: 2px 0; border: none; font-size: 0.76rem; }
  .rate-table td::before { content: attr(data-label); color: var(--muted); font-size: 0.64rem; font-weight: 600; text-transform: uppercase; }
  .rate-table td:nth-child(1) { justify-content: flex-start; font-weight: 700; font-size: 0.82rem; color: var(--cyan); padding-bottom: 5px; border-bottom: 1px dashed var(--border); }
  .rate-table td:nth-child(1)::before, .rate-table td:nth-child(2) { display: none; }
  .rate-table td.text-amber { font-size: 0.88rem; }

  /* Compact 2-Column Station Cards & Form on Mobile */
  .config-form { padding: 18px 14px; }
  .station-checkboxes { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .check-card { padding: 10px; gap: 6px; }
  .station-name { font-size: 0.78rem; }
  .check-icon { width: 18px; height: 18px; font-size: 0.65rem; }
  .total-value { font-size: 1.25rem; }

  /* Floating Live Budget Bar (Leaves clean space on right for WhatsApp FAB) */
  .mobile-sticky-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    position: fixed; bottom: 16px; left: 12px; right: 86px; z-index: 9990;
    padding: 10px 12px 10px 14px; border-radius: 14px;
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(6, 182, 212, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(135%); opacity: 0; pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }
  html[data-theme="light"] .mobile-sticky-bar { background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow-lg); }
  .mobile-sticky-bar.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .msb-info { display: flex; flex-direction: column; min-width: 0; }
  .msb-meta { font-size: 0.68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .msb-total { font-size: 0.98rem; color: var(--amber); line-height: 1.2; }
  .msb-cta { background: var(--amber); color: #040814; font-weight: 800; font-size: 0.78rem; padding: 8px 12px; border-radius: 9px; white-space: nowrap; flex-shrink: 0; }

  /* Footer & WhatsApp Mobile */
  .footer { padding: 48px 16px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-col { align-items: center; }
  .footer-contact-item { justify-content: center; }
  .footer-contact-item:hover { transform: translateY(-2px); }
  .wa-panel { width: calc(100% - 28px); right: 14px; bottom: 86px; }
  .wa-fab { bottom: 16px; right: 16px; width: 54px; height: 54px; font-size: 1.4rem; }
}
/* ==========================================================================
   MOBILE PRICING POLISH + ANCHOR SCROLL FIX (v2026.3)
   ========================================================================== */

/* 1. Sticky Navbar Anchor Scroll Offset (Fixes cut-off headings on menu click) */
section[id],
footer[id],
#contact-details-section,
#live-estimator-card {
  scroll-margin-top: 84px;
}

/* 2. Remove Ugly White Browser Spinners on Number Inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* 3. Clean Mobile Pricing & Estimator Redesign */
@media (max-width: 768px) {
  /* --- Rate Card: Sleek 4-Row Fintech List (Zero awkward wrapping) --- */
  .rate-accordion-trigger {
    padding: 14px 16px;
  }
  .rate-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .rate-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .rate-table tr:last-child {
    border-bottom: none;
  }
  /* Duration (Top-Left) */
  .rate-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    border: none;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
  }
  /* Base Rate 250 BDT (Hidden - already shown in header) */
  .rate-table td:nth-child(2) {
    display: none;
  }
  /* Base Est. Cost (Bottom-Left) */
  .rate-table td:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 5px;
    padding: 0;
    font-size: 0.74rem;
    color: var(--muted);
  }
  .rate-table td:nth-child(3)::before {
    content: "Base:";
    text-transform: none;
    font-weight: 500;
    font-size: 0.74rem;
  }
  /* Total w/ VAT (Right Column, Clean Single Line + Subtitle) */
  .rate-table td:nth-child(4) {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    font-size: 0.98rem;
    white-space: nowrap;
  }
  .rate-table td:nth-child(4)::before {
    display: none;
  }
  .rate-table td:nth-child(4)::after {
    content: "incl. 15% VAT";
    font-family: 'Inter', sans-serif;
    font-size: 0.64rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: 1px;
  }
  .table-note {
    padding: 10px 16px;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  /* --- Cleaner Form Framing (Less Box-inside-Box Noise) --- */
  .config-form {
    padding: 18px 14px;
    gap: 18px;
  }
  .check-card {
    min-height: 50px;
    padding: 10px 11px;
  }
  .tvc-input-group select {
    background: var(--surface-soft);
  }

  /* --- Live Budget Estimator: Clean Single-Line Alignment --- */
  .elite-header {
    padding: 14px 16px;
    gap: 8px;
  }
  .elite-title {
    font-size: 0.9rem;
    white-space: nowrap;
  }
  .elite-tag {
    font-size: 0.64rem;
    padding: 4px 9px;
    white-space: nowrap;
  }
  .elite-body {
    padding: 16px;
  }
  .elite-stats-grid {
    gap: 8px;
    margin-bottom: 14px;
  }
  .stat-box {
    padding: 9px 4px;
  }
  .stat-value {
    font-size: 0.94rem;
  }
  .calc-row {
    font-size: 0.84rem;
    gap: 8px;
  }
  .calc-value {
    white-space: nowrap;
  }

  /* Hero Total Investment Box (Stacked cleanly — never wraps digits) */
  .elite-total-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 16px;
  }
  .total-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
  }
  .total-value {
    font-size: 1.55rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  /* Daily Reach Row (Crisp Single Line) */
  .elite-reach-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    gap: 8px;
  }
  .reach-label {
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .reach-value {
    font-size: 0.84rem;
    white-space: nowrap;
    text-align: right;
  }
}
/* ==========================================================================
   TABLET ZONE 3-COL, COMPACT AUTO-SLIDE GALLERY & CLIENT-FIRST PRICING (v2026.4)
   ========================================================================== */

/* 1. Compact Gallery Proportions Across All Devices */
.gallery-item {
  aspect-ratio: 16 / 10;
  max-height: 250px;
}

/* Tablet View (641px – 1024px): 3-Col Zones on 1 Line + Compact 2-Card Gallery Slider */
@media (max-width: 1024px) and (min-width: 641px) {
  /* Keep all 3 Strategic Placement Zones neatly on 1 line */
  .zone-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .zone-card {
    padding: 14px 12px;
    gap: 10px;
  }
  .zone-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  .zone-info h4 {
    font-size: 0.88rem;
  }
  .zone-info p {
    font-size: 0.78rem;
  }

  /* Prevent 5th advantage card from sitting awkwardly alone on tablet */
  .adv-grid .adv-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  /* Compact 2-up auto-sliding gallery on tablet (stops giant single image) */
  .gallery-item {
    flex: 0 0 calc(50% - 7px);
    max-height: 235px;
  }
}

@media (max-width: 640px) {
  .gallery-item {
    flex: 0 0 82%;
    max-height: 215px;
  }
}

/* 2. Simple 3-Step "How Pricing Works" Strip */
.pricing-howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.howto-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
}
.howto-step {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.howto-card strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.howto-card p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Clickable Rate Card Rows */
.rate-row-pick {
  cursor: pointer;
  transition: background 0.2s ease;
}
.rate-row-pick:hover td {
  background: rgba(6, 182, 212, 0.07);
}

/* 3. One-Click Quick-Start Package Cards */
.quick-presets-wrap {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.presets-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.presets-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}
.presets-sub {
  font-size: 0.78rem;
  color: var(--muted);
}
.preset-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.preset-pkg-btn {
  text-align: left;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}
.preset-pkg-btn:hover {
  border-color: rgba(6, 182, 212, 0.55);
  transform: translateY(-2px);
}
.preset-pkg-btn.active {
  border-color: var(--amber);
  background: rgba(245, 158, 11, 0.1);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.14);
}
.pkg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pkg-top strong {
  font-size: 0.92rem;
  color: var(--text);
}
.pkg-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.14);
  color: var(--cyan);
  white-space: nowrap;
}
.pkg-badge.popular {
  background: rgba(245, 158, 11, 0.2);
  color: var(--amber);
}
.pkg-desc {
  font-size: 0.74rem;
  color: var(--muted);
}
.pkg-price {
  margin-top: 4px;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--amber);
}
.pkg-price small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
}

/* 4. Live Ad Plays Helper & Total Spots Strip */
.field-helper {
  margin-top: 7px;
  font-size: 0.76rem;
  color: var(--muted);
}
.field-helper strong {
  color: var(--cyan);
}
.elite-spots-strip {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--surface-soft);
  border: 1px dashed var(--border);
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
}

/* Mobile Adjustments for New Pricing Helpers */
@media (max-width: 768px) {
  .pricing-howto-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .howto-card {
    padding: 11px 13px;
  }
  .preset-packages-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .preset-pkg-btn {
    padding: 11px 13px;
  }
}
/* ==========================================================================
   ENTERPRISE EDITORIAL CLIENTS WALL (v2026.5)
   ========================================================================== */
.clients-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.clients-head-row .section-sub {
  margin-bottom: 0;
}
.clients-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 8px;
}
.clients-kpi-strip {
  display: flex;
  gap: 12px;
}
.ckpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 18px;
  text-align: center;
  min-width: 108px;
}
.ckpi strong {
  display: block;
  font-size: 1.35rem;
  color: var(--amber);
  line-height: 1.15;
}
.ckpi span {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Single-Row Scrollable Filter Tabs with Count Badges */
.clients-filter-bar {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: none;
}
.clients-filter-bar::-webkit-scrollbar { display: none; }
.clients-filter-bar .tab {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  font-size: 0.84rem;
}
.tab-count {
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  opacity: 0.85;
}
.tab.active .tab-count {
  background: rgba(4, 8, 20, 0.18);
  color: #040814;
  opacity: 1;
}
html[data-theme="light"] .tab-count {
  background: rgba(15, 23, 42, 0.08);
}

/* Crisp Hairline Editorial Brand Grid */
.client-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.brand-tile {
  background: var(--surface);
  padding: 18px 18px 20px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
}
.brand-tile:hover {
  background: var(--surface-2);
}
html[data-theme="light"] .brand-tile:hover {
  background: #F8FAFC;
}
.brand-tile-top {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sector-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}
.brand-tile[data-sector-color="2"] .sector-dot { background: var(--amber); }
.brand-tile[data-sector-color="3"] .sector-dot { background: var(--emerald); }
.brand-tile[data-sector-color="4"] .sector-dot { background: #A855F7; }
.brand-tile[data-sector-color="5"] .sector-dot { background: #F97316; }
.brand-tile[data-sector-color="6"] .sector-dot { background: #38BDF8; }
.brand-tile[data-sector-color="7"] .sector-dot { background: #EC4899; }
.brand-tile[data-sector-color="8"] .sector-dot { background: #EAB308; }

.brand-sector {
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.brand-tile:hover .brand-wordmark {
  color: var(--cyan);
}

.clients-more-wrap {
  text-align: center;
  margin-top: 22px;
}
.clients-toggle-btn {
  padding: 10px 22px;
  font-size: 0.86rem;
}

/* Conversion CTA Strip */
.clients-cta-strip {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.1), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(6, 182, 212, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ccta-text strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 3px;
}
.ccta-text span {
  font-size: 0.84rem;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .client-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .client-wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-tile {
    padding: 14px 12px;
    min-height: 76px;
  }
  .brand-wordmark {
    font-size: 0.88rem;
  }
  .clients-cta-strip {
    padding: 16px;
    text-align: center;
    justify-content: center;
  }
  .clients-cta-strip .btn-primary {
    width: 100%;
  }
}
/* ==========================================================================
   FIX: SHOW ALL CLIENT SECTOR TABS WITHOUT HIDING OFF-SCREEN (v2026.6)
   ========================================================================== */
.clients-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  overflow-x: visible;
  gap: 8px;
  padding-bottom: 0;
  margin-bottom: 24px;
}

.clients-filter-bar .tab {
  padding: 7px 13px;
  font-size: 0.8rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .clients-filter-bar {
    gap: 6px;
    margin-bottom: 18px;
  }
  .clients-filter-bar .tab {
    padding: 6px 10px;
    font-size: 0.74rem;
    gap: 5px;
  }
  .clients-filter-bar .tab-count {
    font-size: 0.65rem;
    padding: 1px 5px;
  }
}
/* ==========================================================================
   FIX: MOBILE CLIENT GRID CLIPPING + CLEAN MOBILE SECTOR DROPDOWN (v2026.7)
   ========================================================================== */

/* Prevent CSS Grid Column Blowout on All Devices */
.client-wall {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.brand-tile,
.brand-tile-top {
  min-width: 0;
}
.brand-sector {
  min-width: 0;
  flex: 1;
}
.brand-wordmark {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Hide mobile dropdown on desktop & tablet */
.mobile-sector-wrap {
  display: none;
}

@media (max-width: 1024px) {
  .client-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  /* Full-width balanced KPI strip */
  .clients-kpi-strip {
    width: 100%;
    gap: 10px;
  }
  .ckpi {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
  }

  /* Swap 6-line pills for 1 sleek sector dropdown on mobile */
  .clients-filter-bar {
    display: none;
  }
  .mobile-sector-wrap {
    display: block;
    margin-bottom: 18px;
  }
  .mobile-sector-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .mobile-sector-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 11px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid rgba(6, 182, 212, 0.4);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
  }
  .mobile-sector-select:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
  }

  /* Strictly Equal 50/50 Two-Column Mobile Brand Wall (Zero right-edge clipping) */
  .client-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brand-tile {
    padding: 12px 11px;
    min-height: 74px;
    gap: 7px;
  }
  .brand-sector {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }
  .brand-wordmark {
    font-size: 0.84rem;
    line-height: 1.25;
  }
}