/* ============================================================
   Ray's Drugs & Medical Supplies — global.css
   Shared design system for all pages.
   Page-specific styles go in their own <style> block or file.
   ============================================================ */


/* ─── Tokens ─── */
/* Session 22 wellness pivot: legacy names (--blue, --ink, --parchment, --accent,
   --gray-*) are preserved as aliases but now resolve to a forest-green/cream
   wellness palette so existing pages repaint without HTML changes. --blue now
   resolves to forest green; --brand-blue is the true logo blue, reserved for
   the nav logo pill and nav CTA only. */
:root {
  /* Wellness palette — semantic names */
  --primary: #2C4C3B;           /* deep forest green — main wellness tone */
  --primary-light: #E2EDE5;     /* soft mint tint for subtle backgrounds */
  --secondary: #D4A373;         /* warm clay/sand accent */
  --bg-light: #F9F7F2;          /* warm cream page background */
  --bg-dark: #233129;            /* dark green/charcoal for dark sections */
  --text-main: #2C2C2C;         /* soft charcoal body text */
  --text-muted: #66716B;        /* muted green-gray for subtitles */
  --border-soft: #D7E2DA;       /* soft mint-gray borders */

  /* Ray's Drugs logo blue — reserved for nav logo pill and nav CTA only */
  --brand-blue: #0095D9;
  --brand-blue-hover: #0084C2;

  /* Legacy aliases — DO NOT rename, referenced by all page-specific styles */
  --blue: var(--primary);              /* now forest green, not blue */
  --blue-light: #3A6350;                /* hover tone for --blue */
  --blue-muted: var(--primary-light);  /* mint tint */
  --ink: var(--bg-dark);
  --parchment: var(--bg-light);

  /* Neutrals */
  --white: #ffffff;
  --gray-100: #F1EEE8;
  --gray-200: var(--border-soft);
  --gray-400: #A6ACA3;
  --gray-600: var(--text-muted);
  --gray-800: var(--text-main);

  /* Accent alias (warm clay) */
  --accent: var(--secondary);
  --accent-light: #F0E3D4;

  /* Structure */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-input: 14px;
  --radius-pill: 9999px;
  --radius-btn: 8px;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Newsreader', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(35,49,41,0.05);
  --shadow-md: 0 4px 20px rgba(35,49,41,0.06);
  --shadow-lg: 0 12px 40px rgba(35,49,41,0.09);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}


/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}

p {
  font-family: var(--font-body);
  line-height: 1.75;
  color: var(--gray-800);
}


/* ─── Nav ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out, background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* Auto-hide on scroll-down — slides above viewport, reveals on scroll-up */
.nav-hidden {
  transform: translateY(-100%);
}

/* Unscrolled: crisp white frosted glass */
nav:not(.scrolled) {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Scrolled: opaque white + hairline border */
nav.scrolled {
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: none;
}

/* Top row — 3-col grid: [balancer] [logo centered] [CTA right] */
.nav-row-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px clamp(24px, 4vw, 64px);
  min-height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  height: 36px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-cta-wrapper {
  display: flex;
  justify-content: flex-end;
}

/* Bottom row — softer Title Case links centered */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 3.5vw, 56px);
  list-style: none;
  padding: 8px clamp(24px, 4vw, 64px) 12px;
  border-top: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

/* Base color scoped to nav for specificity against any page-level leaks. */
nav .nav-links a { color: var(--ink); }

/* Floating pill hover — white card lifts with soft shadow and brand-blue text. */
nav .nav-links > li > a:hover,
nav .nav-links > li > a:focus,
nav .nav-dropdown-toggle:hover,
nav .nav-dropdown-toggle:focus {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  color: var(--brand-blue) !important;
}

/* Active page marker keeps brand-blue text without the pill chrome. */
nav .nav-links a.nav-active,
nav .nav-dropdown-toggle.nav-active {
  color: var(--brand-blue) !important;
}

/* Services dropdown — desktop */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}
.nav-dropdown.open > .nav-dropdown-toggle svg,
.nav-dropdown:hover > .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  padding: 16px 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 101;
}

/* Invisible bridge so the cursor doesn't lose hover crossing the gap
   between the toggle and the menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
nav .nav-dropdown-menu a:hover,
nav .nav-dropdown-menu a:focus {
  color: var(--brand-blue) !important;
  background: var(--bg-light);
}
nav .nav-dropdown-menu a.nav-active { color: var(--brand-blue) !important; }

/* Nav CTA — minimal text link with phone icon, brand-blue accent */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}
.nav-cta:hover {
  opacity: 1;
  color: var(--primary);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}
.nav-cta svg { width: 16px; height: 16px; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  margin-left: 12px;
  position: relative;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: absolute;
  left: 7px;
  transition: all 0.3s;
}
.mobile-toggle span:nth-child(1) { top: 10px; }
.mobile-toggle span:nth-child(2) { top: 17px; }
.mobile-toggle span:nth-child(3) { top: 24px; }


/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: var(--radius-btn);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: none;
}

/* Primary — forest green, main action */
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(44,76,59,0.24);
}

/* Outline — light backgrounds */
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-muted); }

/* Ghost — dark/ink backgrounds */
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

/* White — inside blue or ink sections */
.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Accent — sparingly, secondary emphasis only */
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: #b86a48; }

/* Outline white — secondary inside blue/ink sections */
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* CTA button group */
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}


/* ─── Section helpers ─── */
.section {
  padding: clamp(80px, 9vw, 130px) clamp(20px, 6vw, 80px);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-light { background: var(--parchment); }
.section-white { background: var(--white); }

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}

.section-dark .section-label { color: rgba(255,255,255,0.45); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-dark .section-title { color: var(--white); }

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 580px;
  line-height: 1.75;
}

.section-dark .section-subtitle { color: rgba(255,255,255,0.6); }

.divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0;
}


/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ─── Footer ─── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding: 88px clamp(20px, 6vw, 80px) 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 260px;
  color: rgba(255,255,255,0.55);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-col .contact-item {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
}

.footer-col .contact-item strong {
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }


/* ─── Hero top clearance ─── */
/* Two-row nav is ~152px desktop (65px logo + padding + 63px links row) and
   ~89px mobile (top row only, links collapse to hamburger). These defaults
   guarantee hero content clears the nav with a 40px+ buffer. */
.hero { padding-top: 200px; }
.hero--image { padding-top: 200px; }

@media (max-width: 768px) {
  .hero,
  .hero--image { padding-top: 130px; }
}


/* ─── Photography heroes ─── */
.hero--image { position: relative; overflow: hidden; }
.hero--image > .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero--image > .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 35%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.0) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero--image > .section-inner,
.hero--image > .hero-inner,
.hero--image > .hero-grid,
.hero--image > .hero-content { position: relative; z-index: 2; }

/* Hero image typography — enforce white over photography */
.hero--image h1,
.hero--image h2 { color: var(--white) !important; }
.hero--image h1 em,
.hero--image h1 span { color: inherit !important; -webkit-text-fill-color: inherit !important; }
.hero--image p { color: rgba(255, 255, 255, 0.85); }

/* Hero image buttons — no transparent backgrounds over photos */
.hero--image .btn-outline,
.hero--image .btn-ghost {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.hero--image .btn-outline:hover,
.hero--image .btn-ghost:hover {
  background: rgba(255,255,255,0.85);
}

/* Portrait-subject hero — constrain text so it doesn't cover the face */
.hero--portrait .hero-inner,
.hero--portrait .hero-content {
  max-width: 420px;
  margin-right: auto;
}

.hero--portrait .hero-bg {
  object-position: center top !important;
}

/* Desktop overlay — dark left, clear right to reveal portrait */
.hero--portrait .hero-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.0) 65%
  );
}

@media (max-width: 768px) {
  .hero--portrait {
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 80vh !important;
  }
  .hero--portrait .hero-inner,
  .hero--portrait .hero-content {
    margin-top: auto;
    padding-top: 35vh;
    max-width: 100%;
  }
  .hero--portrait .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.0) 0%,
      rgba(0, 0, 0, 0.0) 30%,
      rgba(0, 0, 0, 0.72) 55%,
      rgba(0, 0, 0, 0.88) 100%
    );
  }
  .hero--portrait .hero-bg {
    object-position: center -80px !important;
  }
  .hero--portrait .hero-label {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.75) !important;
  }
}

/* Portrait pill contrast — readable eyebrow label over photograph */
.hero--portrait .hero-label {
  background: rgba(255, 255, 255, 0.15) !important;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-weight: 600;
  opacity: 1 !important;
}

/* Video hero */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Split hero */
.hero--split .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ─── Split body section ─── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split-section--reverse { direction: rtl; }
.split-section--reverse > * { direction: ltr; }

/* ─── Image frames ─── */
.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--gray-100);
}
.image-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-frame--portrait  { aspect-ratio: 3/4; }
.image-frame--landscape { aspect-ratio: 16/10; }
.image-frame--wide      { aspect-ratio: 21/9; }
.image-frame--square    { aspect-ratio: 1/1; }

/* ─── Editorial figure ─── */
.editorial-figure { margin: 0; }
.editorial-figure figcaption {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 10px;
  font-style: italic;
}

/* Bento video card */
.bento-card--video {
  padding: 0;
  overflow: hidden;
  background: var(--ink);
  min-height: 200px;
}
.bento-brand-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* CTA branded layout */
.cta-inner--branded {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  text-align: left;
}
.cta-brand-video-wrap {
  background: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  max-width: 280px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}
.cta-brand-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Global CTA banner */
.cta-banner {
  background: var(--primary);
  padding: 72px clamp(20px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-banner .cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  line-height: 1.65;
}
@media (max-width: 768px) {
  .cta-inner--branded {
    grid-template-columns: 1fr;
  }
  .cta-brand-video-wrap {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero--split .hero-grid,
  .split-section { grid-template-columns: 1fr; }
  .split-section--reverse { direction: ltr; }
  .hero--split .hero-media { max-width: 480px; }
}


/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Collapse to single row: only top row visible until hamburger opens the links */
  .nav-links {
    display: none;
    padding: 0;
    border-top: none;
  }
  .mobile-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  /* Hide both .nav-cta-wrapper divs (balancer + CTA). Logo explicitly placed
     in the center column so it stays centered despite auto-placement. */
  .nav-cta-wrapper { display: none; }
  .nav-logo { grid-column: 2; }

  .nav-row-top { min-height: 72px; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 20px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open a {
    width: 100%;
    font-size: 1rem;
    color: var(--ink);
    padding: 14px 16px;
  }

  /* Services dropdown becomes an inline accordion on mobile */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    min-width: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .nav-dropdown:hover .nav-dropdown-menu { max-height: 0; }
  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown.open:hover .nav-dropdown-menu { max-height: 320px; }

  /* No bridge needed on mobile accordion */
  .nav-dropdown-menu::before { display: none; }

  .nav-dropdown-menu a {
    padding: 12px 16px 12px 40px;
    font-size: 1rem;
  }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .cta-btns { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .btn { width: 100%; justify-content: center; }
}
