/* =====================================================
   DHARANI AUTO STORES — CONTACT PAGE CSS
   Layout: hero | form+card | fullmap | features | marquee | footer
   Colors: navy #0a213d | gold #ffcd34
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy        : #0a213d;
  --navy-mid    : #0d2a4f;
  --navy-soft   : #0f2d52;
  --gold        : #ffcd34;
  --gold-dk     : #e6b800;
  --gold-glow   : rgba(255,205,52,0.15);
  --gold-border : rgba(255,205,52,0.38);
  --bg          : #ffffff;
  --bg-soft     : #f4f6fb;
  --text-head   : #0a213d;
  --text-body   : #374151;
  --text-muted  : #64748b;
  --border      : #e2e8f0;
  --sh-sm       : 0 2px  8px  rgba(10,33,61,0.07);
  --sh-md       : 0 8px  24px rgba(10,33,61,0.10);
  --sh-lg       : 0 20px 48px rgba(10,33,61,0.13);
  --font-d      : 'Barlow Condensed', sans-serif;
  --font-b      : 'DM Sans', sans-serif;
  --ease        : cubic-bezier(0.22, 1, 0.36, 1);
  --spring      : cubic-bezier(0.34, 1.56, 0.64, 1);
  --r           : 16px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--bg-soft);
  color: var(--text-body);
  overflow-x: hidden;
  min-height: 100vh;
}


/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 22px; left: 6%; right: 6%;
  z-index: 9999; width: auto;
  isolation: isolate;
  /* No transform — breaks Chrome position:fixed */
}
.nav-pill {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px 8px 26px; gap: 26px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: 999px;
  border: 1.5px solid rgba(255,205,52,0.55);
  box-shadow: 0 10px 35px rgba(10,33,61,0.12), inset 0 0 0 1px rgba(255,255,255,0.2);
}
.nav-left { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.logo-wrap { display: flex; align-items: center; }
.brand-logo-wrap { padding: 0; }
.logo-wrap img { height: 34px; width: auto; display: block; transition: transform 0.3s ease, filter 0.3s ease; }
.brand-logo-wrap img { height: 34px; }
.logo-wrap img:hover { transform: scale(1.05); filter: drop-shadow(0 4px 14px rgba(255,205,52,0.6)); }
.nav-divider { width: 1px; height: 28px; background: rgba(10,33,61,0.18); margin: 0 16px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-links a {
  font-family: var(--font-b); font-size: 15px; font-weight: 600;
  text-decoration: none; color: var(--navy);
  padding: 8px 20px; border-radius: 999px; transition: all 0.25s ease;
}
.nav-links a.active { background: var(--gold); color: var(--navy); box-shadow: 0 5px 16px rgba(255,205,52,0.4); }
.nav-links a:not(.active):hover { color: var(--gold-dk); }

/* Hamburger — hidden on desktop */

.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ═══════════════════════════════════════════
   HERO BANNER
═══════════════════════════════════════════ */
.contact-hero {
  background: #ffffff;
  padding: 130px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 120%, rgba(255,205,52,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-title {
  font-family: var(--font-d);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  color: #0a213d;
  letter-spacing: 0.02em;
  animation: fadeSlideDown 0.8s var(--ease) 0.2s both;
}
.hero-breadcrumb {
  margin-top: 10px; font-size: 14.5px; color: var(--gold);
  animation: fadeSlideDown 0.8s var(--ease) 0.4s both;
}
.hero-breadcrumb a { color: var(--gold); text-decoration: none; font-weight: 600; }
.hero-breadcrumb span { margin: 0 8px; }
@keyframes fadeSlideDown { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }


/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact-section {
  background: var(--bg);
  padding: 72px 24px;
}
.contact-container {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

/* ── Form ── */
.contact-form-wrap { padding: 0; }

.form-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-b); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 10px;
}
.eyebrow-line {
  display: block; width: 32px; height: 2.5px;
  background: var(--gold-dk); border-radius: 2px; flex-shrink: 0;
}
.form-heading {
  font-family: var(--font-d);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-head);
  letter-spacing: 0.01em;
  margin-bottom: 30px;
  line-height: 1.1;
}
.form-heading em {
  font-style: italic; color: var(--gold-dk);
  font-family: Georgia, 'Times New Roman', serif; font-weight: 700;
}

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group:last-child { margin-bottom: 0; }
.form-row-2 .form-group { margin-bottom: 0; }

.form-group label {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.04em; text-transform: uppercase;
}

#bulkOrderForm input,
#bulkOrderForm select,
#bulkOrderForm textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid var(--border); font-family: var(--font-b);
  font-size: 15px; color: var(--text-head); background: var(--bg-soft);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
#bulkOrderForm input:focus,
#bulkOrderForm select:focus,
#bulkOrderForm textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: #ffffff;
}
#bulkOrderForm input::placeholder,
#bulkOrderForm textarea::placeholder { color: var(--text-muted); }
#bulkOrderForm select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.293l3.71-4.06a.75.75 0 111.08 1.04l-4.24 4.64a.75.75 0 01-1.08 0L5.21 8.27a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  background-size: 16px; cursor: pointer;
}
#bulkOrderForm textarea { resize: vertical; min-height: 76px; }

/* Send button */
.btn-send {
  display: flex; align-items: center; gap: 14px;
  margin-top: 8px; padding: 0 28px 0 8px;
  height: 52px; border-radius: 999px;
  cursor: pointer; background: var(--navy); color: #ffffff;
  font-family: var(--font-b); font-weight: 700; font-size: 15px;
  letter-spacing: 0.03em; border: none;
  box-shadow: 0 6px 24px rgba(10,33,61,0.22);
  transition: transform 0.25s var(--spring), box-shadow 0.25s ease, background 0.25s ease;
}
.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10,33,61,0.32);
  background: var(--navy-soft);
}
.btn-arrow-circle {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.btn-arrow-circle svg { width: 18px; height: 18px; color: var(--navy); transition: transform 0.35s cubic-bezier(.22,1,.36,1); }
.btn-send:hover .btn-arrow-circle { background: #ffffff; }

/* ── Success banner (replaces form on submit) ── */
.contact-success-banner {
  display       : none;
  flex-direction: column;
  align-items   : center;
  justify-content: center;
  text-align    : center;
  padding       : 48px 24px;
  gap           : 16px;
  animation     : csbFadeIn 0.45s cubic-bezier(.22,1,.36,1) both;
}
@keyframes csbFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Animated checkmark circle */
.csb-icon { width: 72px; height: 72px; }
.csb-icon svg { width: 72px; height: 72px; }
.csb-check {
  stroke-dasharray  : 50;
  stroke-dashoffset : 50;
  animation: drawCheck 0.55s 0.3s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.csb-title {
  font-family: var(--font-d);
  font-size  : 26px;
  font-weight: 700;
  color      : var(--text-head);
  margin     : 0;
}
.csb-sub {
  font-family: var(--font-b);
  font-size  : 15px;
  color      : var(--text-muted);
  margin     : 0;
  line-height: 1.6;
}
.csb-new-btn {
  margin-top   : 8px;
  padding      : 12px 28px;
  border-radius: 999px;
  background   : var(--navy);
  color        : #fff;
  font-family  : var(--font-b);
  font-weight  : 700;
  font-size    : 14px;
  border       : none;
  cursor       : pointer;
  letter-spacing: 0.03em;
  transition   : background .25s ease, transform .25s ease;
}
.csb-new-btn:hover {
  background: var(--navy-soft);
  transform : translateY(-2px);
}

/* ── Arrow animation on send button ── */
.btn-send { overflow: hidden; position: relative; }
.btn-send-text { pointer-events: none; }
.btn-send-svg  { display: block; }

/* Sending state — pulse the arrow circle */
.btn-send:disabled .btn-arrow-circle {
  animation: arrowPulse 0.7s ease-in-out infinite alternate;
}
@keyframes arrowPulse {
  from { transform: scale(1);    opacity: 1; }
  to   { transform: scale(1.15); opacity: 0.7; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }


/* ── "Other" custom input — appears below dropdown when Other is selected ── */
.other-input-wrap {
  margin-top : 8px;
  animation  : otherSlideIn 0.25s cubic-bezier(.22,1,.36,1) both;
}
@keyframes otherSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.other-input {
  width         : 100%;
  padding       : 10px 14px;
  border-radius : 10px;
  border        : 1.5px solid var(--gold);
  background    : rgba(255,205,52,0.06);
  font-family   : var(--font-b);
  font-size     : 14px;
  color         : var(--text-head);
  outline       : none;
  transition    : border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing    : border-box;
}
.other-input::placeholder { color: #94a3b8; }
.other-input:focus {
  border-color: var(--gold-dk);
  box-shadow  : 0 0 0 3px rgba(255,205,52,0.18);
}

/* ── Info card ── */
.contact-info-card {
  background: var(--navy);
  border-radius: 20px;
  padding: 36px 30px;
  color: #ffffff;
  position: sticky;
  top: 100px;
}
.info-block { padding: 0 0 4px; }
.info-block h4 {
  font-family: var(--font-d); font-size: 20px; font-weight: 700;
  color: #ffffff; letter-spacing: 0.04em; margin-bottom: 10px;
}
.info-block p {
  font-size: 14px; color: rgba(255,255,255,0.72);
  line-height: 1.75; font-family: var(--font-b);
}
/* Email link color */
.contact-info-card a {
  color: #ffffff;
  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.info-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 20px 0; }

.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  color: var(--navy); text-decoration: none;
  transition: transform 0.25s var(--spring), box-shadow 0.25s ease, background 0.25s ease;
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover { transform: translateY(-3px); background: #ffffff; box-shadow: 0 8px 20px rgba(255,205,52,0.35); }


/* ═══════════════════════════════════════════
   FULL WIDTH MAP
═══════════════════════════════════════════ */
.full-map { width: 100%; height: 400px; overflow: hidden; }
.full-map iframe { width: 100%; height: 100%; border: none; display: block; }


/* ═══════════════════════════════════════════
   FEATURES STRIP
═══════════════════════════════════════════ */
.features-strip {
  background: var(--bg);
  padding: 52px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.feature-item { display: flex; align-items: flex-start; gap: 18px; }
.feat-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--bg-soft); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.feature-item:hover .feat-icon { border-color: var(--gold-border); background: var(--gold-glow); }
.feat-icon svg { width: 24px; height: 24px; color: var(--navy); }
.feature-item h5 {
  font-family: var(--font-d); font-size: 18px; font-weight: 700;
  color: var(--text-head); letter-spacing: 0.03em; margin-bottom: 4px;
}
.feature-item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }


/* ═══════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════ */
.marquee-wrap {
  background: var(--gold);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex; align-items: center;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-d); font-size: 16px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); padding: 0 14px;
}
.marquee-track .mx { color: var(--navy); opacity: 0.5; font-size: 12px; padding: 0 4px; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  padding: 60px 24px 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 38px; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 240px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-social a svg { width: 15px; height: 15px; }
.footer-social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-col h6 {
  font-family: var(--font-d); font-size: 16px; font-weight: 700;
  color: #ffffff; letter-spacing: 0.06em; margin-bottom: 16px; text-transform: uppercase;
}
.footer-col a, .footer-col span {
  display: block; font-size: 13.5px; color: rgba(255,255,255,0.55);
  text-decoration: none; margin-bottom: 9px; line-height: 1.5;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-subscribe {
  display: flex; gap: 0; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}
.footer-subscribe input {
  flex: 1; padding: 10px 14px; background: rgba(255,255,255,0.08);
  border: none; font-family: var(--font-b); font-size: 13.5px;
  color: rgba(255,255,255,0.85); outline: none;
}
.footer-subscribe input::placeholder { color: rgba(255,255,255,0.35); }
.footer-subscribe button {
  width: 44px; background: var(--gold); border: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s ease;
}
.footer-subscribe button:hover { background: var(--gold-dk); }
.footer-subscribe button svg { width: 18px; height: 18px; color: var(--navy); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: 13px; color: rgba(255,255,255,0.38);
}
.footer-bottom-links { display: flex; gap: 12px; align-items: center; }
.footer-bottom-links a { color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gold); }
.footer-bottom-links span { opacity: 0.4; }


/* ═══════════════════════════════════════════
   RESPONSIVE — single consolidated block
   Breakpoints: 1100 | 860 | 768 (mobile) | 480 (small)
═══════════════════════════════════════════ */

/* Wide tablet — stacked contact, 2-col footer */
@media (max-width: 1100px) {
  .contact-container { grid-template-columns: 1fr; max-width: 640px; }
  .contact-info-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* Narrow tablet — single-col features */
@media (max-width: 860px) {
  .features-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Mobile — hamburger nav + stacked everything */
@media (max-width: 768px) {
  /* Header */
  .header { top: 12px; left: 3%; right: 3%; }
  .nav-pill { padding: 7px 10px 7px 16px; gap: 12px; }
  .logo-wrap img { height: 28px; }
  .nav-divider { display: none !important; }
  .nav-divider { margin: 0 10px; ; display: none !important; }

  /* Hamburger visible, nav becomes fullscreen overlay */
  .brand-logo-wrap img { height: 22px; }
  .nav-links,
  .nav-links a {
    display: none !important;
  }
  .nav-links.open { opacity: 1; pointer-events: all; }
  .nav-links a {
    font-size: 24px; font-weight: 700;
    padding: 14px 36px; color: rgba(255,255,255,0.85);
    border-radius: 14px; min-height: 56px;
    display: flex; align-items: center;
    width: 220px; justify-content: center;
  }
  .nav-links a.active { background: var(--gold); color: var(--navy); box-shadow: 0 6px 24px rgba(255,205,52,0.45); }
  .nav-links a:not(.active) { color: rgba(255,255,255,0.80); }

  /* Hero */
  .contact-hero { padding: 90px 16px 48px; }

  /* Contact section */
  .contact-section { padding: 48px 16px; }
  .contact-container { gap: 24px; max-width: 100%; }
  .contact-info-card { padding: 28px 22px; }

  /* Inputs — font-size 16px prevents iOS auto-zoom on focus */
  #bulkOrderForm input,
  #bulkOrderForm select,
  #bulkOrderForm textarea { min-height: 48px; font-size: 16px; }
  #bulkOrderForm textarea { min-height: 80px; }
  input, select, textarea { font-size: 16px !important; }

  /* Full-width send button */
  .btn-send { width: 100%; justify-content: center; }

  /* Features & map */
  .features-strip { padding: 36px 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 22px; max-width: 100%; }
  .full-map { height: 280px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .site-footer { padding: 40px 16px 0; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding: 16px 0; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

/* Small phones */
@media (max-width: 480px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .social-row { gap: 12px; }
  .social-btn { width: 44px; height: 44px; }
  .marquee-track span { font-size: 14px; }
  .footer-grid { gap: 24px; }
}


/* ══════════════════════════════════════════
   MOBILE NAV OVERLAY — clean implementation
   Always hidden; only .open makes it visible
   Works on ALL screen sizes correctly
   ══════════════════════════════════════════ */

/* iOS Safari fix */
.nav-pill.nav-open {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255,255,255,0.95);
}

/* ── Mobile nav: compact glassmorphism dropdown ── */
.mobile-nav-overlay {
  display: none !important;
  position: fixed;
  top: 78px;
  left: 16px;
  right: 16px;
  width: auto;
  max-width: 340px;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: rgba(8, 28, 54, 0.97);
  border-radius: 20px;
  border: 1px solid rgba(255, 205, 52, 0.25);
  box-shadow:
    0 8px 32px rgba(10, 33, 61, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 99999;
}

.mobile-nav-overlay.open {
  display: flex !important;
  animation: navDropIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes navDropIn {
  from { opacity: 0; transform: translateY(-6px) scaleY(0.92); }
  to   { opacity: 1; transform: translateY(0)    scaleY(1); }
}

.mobile-nav-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,205,52,0.5), transparent);
}

.mobile-nav-overlay a {
  font-family: var(--font-b, 'DM Sans', sans-serif);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.80);
  border-radius: 12px;
  min-height: 48px;
  display: flex;
  align-items: center;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.18s ease, color 0.18s ease;
  position: relative;
}
.mobile-nav-overlay a::before {
  content: '';
  position: absolute;
  left: 12px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,205,52,0.4);
  transition: background 0.18s ease;
}
.mobile-nav-overlay a.active {
  background: rgba(255, 205, 52, 0.18);
  color: #ffcd34;
  font-weight: 700;
}
.mobile-nav-overlay a.active::before {
  background: #ffcd34;
}
.mobile-nav-overlay a:not(.active):hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* No separate close button — tapping hamburger again closes it */
.mobile-nav-close { display: none; }


/* ── Mobile breakpoint ── */

/* ══════════════════════════════════════════════════
   MOBILE TWO-PILL HEADER
   Desktop: hide mob-header-bar, show nav-pill
   Mobile:  hide nav-pill, show mob-header-bar
══════════════════════════════════════════════════ */

/* Always hidden on desktop */
.mob-header-bar {
  display: none;
}

@media (max-width: 768px) {

  /* Hide desktop nav-pill */
  .nav-pill { display: none !important; }

  /* Show mobile two-pill bar */
  .mob-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  /* ── Left pill: logos ── */
  .mob-logo-pill {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid rgba(255, 205, 52, 0.65);
    box-shadow: 0 4px 20px rgba(10, 33, 61, 0.13);
    min-height: 50px;
  }
  .mob-logo-main {
    height: 30px;
    width: auto;
    display: block;
    flex-shrink: 0;
  }
  .mob-logo-div {
    display: block;
    width: 1.5px;
    height: 24px;
    background: rgba(10, 33, 61, 0.20);
    margin: 0 12px;
    flex-shrink: 0;
    border-radius: 2px;
  }
  .mob-logo-brand {
    height: 30px;
    width: auto;
    display: block;
    flex-shrink: 0;
  }

  /* ── Right pill: hamburger ── */
  .mob-burger-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 54px;
    height: 50px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid rgba(255, 205, 52, 0.65);
    box-shadow: 0 4px 20px rgba(10, 33, 61, 0.13);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }
  .mob-burger-pill:hover {
    background: rgba(255, 205, 52, 0.18);
    border-color: rgba(255, 205, 52, 0.75);
  }
  .mob-burger-pill span {
    display: block;
    width: 20px;
    height: 2px;
    background: #0a213d;
    border-radius: 2px;
    transition: transform 0.32s ease, opacity 0.22s ease, width 0.22s ease;
    pointer-events: none;
  }
  /* Animate to X when open */
  .mob-burger-pill.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mob-burger-pill.open span:nth-child(2) { opacity: 0; width: 0; }
  .mob-burger-pill.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mob-burger-pill.open {
    background: rgba(10, 33, 61, 0.85);
    border-color: rgba(255, 205, 52, 0.60);
  }
  .mob-burger-pill.open span { background: #ffffff; }

  /* Header position on mobile */
  .header {
    top: 14px;
    left: 4%;
    right: 4%;
  }
}