/*
 * shared.css — Rhino Coatings
 * Linked by all service/area subpages. index.html is self-contained and does NOT use this file.
 */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
script { display: none !important; }

/* Slow network: system font fallback */
[data-slow-net] body,
[data-slow-net] h1,[data-slow-net] h2,[data-slow-net] h3,[data-slow-net] h4,[data-slow-net] h5 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}
[data-slow-net] .hero-bg { background-image: url('/images/low/hero-bg.webp') !important; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  font-size: 17px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h3 { font-size: 1.4rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Design Tokens ── */
:root {
  --primary:       #E8610A;
  --primary-glow:  rgba(232,97,10,0.25);
  --primary-dim:   rgba(232,97,10,0.12);
  --accent:        #FF8C42;
  --bg:            #050d18;
  --bg-alt:        #080f1c;
  --bg-card:       rgba(255,255,255,0.05);
  --glass-border:  rgba(255,255,255,0.10);
  --glass-blur:    blur(20px);
  --text:          #e2e8f0;
  --muted:         #7a8fa6;
  --radius:        16px;
  --shadow:        0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.65);
  --shadow-teal:   0 4px 24px rgba(232,97,10,0.18);
  --shadow-teal-lg:0 12px 48px rgba(232,97,10,0.28);
  --secondary: #1a1e2b;   /* bridge — remove when all downstream sections are rewritten */
}

/* ── Container ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 14px 32px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s;
  border: none;
  text-decoration: none;
  letter-spacing: .03em;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Primary CTA — teal glow glass */
.btn-gold {
  background: rgba(232,97,10,0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(232,97,10,0.55);
  color: #fff;
  box-shadow: 0 4px 24px rgba(232,97,10,0.22), inset 0 1px 0 rgba(255,255,255,.10);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
}
.btn-gold:hover {
  background: rgba(232,97,10,0.28);
  border-color: rgba(255,140,66,0.85);
  box-shadow: 0 8px 36px rgba(232,97,10,0.45), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}
.btn-primary:hover { background: var(--accent); box-shadow: var(--shadow-teal-lg); }
.btn-white { background: #fff; color: #111; border: none; }
.btn-white:hover { background: var(--accent); color: #fff; }

/* ── Glass Utilities ── */
.glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.glass:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(232,97,10,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(232,97,10,0.12);
}
.glass-teal {
  background: rgba(232,97,10,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(232,97,10,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(232,97,10,0.08);
}

/* ── Section Utilities ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(180deg, #060c16 0%, #0a1220 100%);
  color: #fff;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  flex-shrink: 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.section-header h2 { margin-bottom: 16px; color: #fff; }
.section-header p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }

/* ── Subpage component utilities ───────────────────────── */
.related-links-section { padding: 40px 0; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; color: var(--text); margin-bottom: 12px; }
.section-title span { color: var(--primary); }
.section-sub { color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 600px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ── Intro Grid ── */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.intro-grid .intro-img { border-radius: var(--radius); overflow: hidden; }
.intro-grid .intro-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-text { color: var(--text); }
.intro-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 16px; }
.intro-text p { color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.intro-text ul { color: var(--muted); padding-left: 1.2rem; line-height: 1.8; }
.intro-text li { margin-bottom: 4px; }
@media (max-width: 768px) { .intro-grid { grid-template-columns: 1fr; } }

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: .12s; }
.fade-up.delay-2 { transition-delay: .24s; }
.fade-up.delay-3 { transition-delay: .36s; }

/* ── Header ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5,13,24,0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(232,97,10,0.12);
  transition: box-shadow .3s, background .3s;
}
#site-header.scrolled {
  background: rgba(5,13,24,0.92);
  border-bottom-color: rgba(232,97,10,0.20);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
#site-header .container { max-width: 1440px; }

.header-inner {
  display: flex;
  align-items: center;
  height: 76px;
  gap: 16px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-wrap img { height: 48px; width: auto; object-fit: contain; }
.logo-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}
.logo-text span {
  display: block;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--primary);
  text-transform: uppercase;
  margin-top: 5px;
}

.main-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav > a, .nav-dropdown > a {
  color: rgba(255,255,255,.7);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown:hover > a,
.nav-dropdown:focus-within > a {
  color: #fff;
  background: rgba(232,97,10,0.10);
}
.header-quote-btn {
  font-size: .82rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 8px 18px;
}

/* Mega-dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a svg { transition: transform .2s; }
.nav-dropdown:hover > a svg,
.nav-dropdown:focus-within > a svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5,13,24,0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(232,97,10,0.18);
  border-radius: 16px;
  padding: 20px;
  min-width: 560px;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  z-index: 200;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(232,97,10,0.06);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: grid; }
.nav-dropdown:hover .nav-dropdown-simple,
.nav-dropdown:focus-within .nav-dropdown-simple { display: flex; }

/* Mega-menu service item */
.nav-mega-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
  text-decoration: none;
}
.nav-mega-item:hover {
  background: rgba(232,97,10,0.08);
  border-color: rgba(232,97,10,0.2);
}
.nav-mega-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 7px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}
.nav-mega-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
  transition: transform .3s;
}
.nav-mega-item:hover .nav-mega-thumb img { transform: scale(1.05); }
.nav-mega-label {
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: .01em;
  white-space: nowrap;
}
.nav-mega-sub {
  color: var(--muted);
  font-size: .73rem;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.4;
}
.nav-mega-item:hover .nav-mega-label { color: var(--primary); }

/* Simple dropdown (Service Areas) */
.nav-dropdown-simple {
  flex-direction: column;
  gap: 2px;
  min-width: 200px;
  padding: 12px 8px;
}
.nav-dropdown-simple a {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 7px;
  white-space: nowrap;
  letter-spacing: .01em;
  font-family: 'Inter', system-ui, sans-serif;
  transition: color .2s, background .2s;
}
.nav-dropdown-simple a:hover { color: #fff; background: rgba(232,97,10,0.10); }

/* Floor Visualizer nav link */
.nav-visualizer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(232,97,10,0.10);
  border: 1px solid rgba(232,97,10,0.30);
  border-radius: 8px;
  color: var(--primary) !important;
  font-size: .82rem;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  transition: background .2s, border-color .2s, box-shadow .2s;
  flex-shrink: 0;
  text-decoration: none;
  white-space: nowrap;
}
.nav-visualizer-link:hover {
  background: rgba(232,97,10,0.20) !important;
  border-color: rgba(232,97,10,0.55) !important;
  box-shadow: 0 0 16px rgba(232,97,10,0.20);
  color: #fff !important;
}
/* Hide .vis-label span (unused in new HTML) */
.nav-visualizer-link .vis-label { display: none; }

/* Right section */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.7);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: .82rem;
  white-space: nowrap;
  padding: 7px 14px;
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: 8px;
  transition: color .2s, border-color .2s, background .2s;
}
.header-phone:hover { color: #fff; border-color: rgba(232,97,10,.4); background: rgba(232,97,10,.06); }
.header-phone svg { flex-shrink: 0; width: 14px; height: 14px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,.08); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header responsive */
@media (max-width: 1280px) {
  .main-nav { display: none; }
  .header-phone { display: none; }
  .hamburger { display: flex; }
  .header-inner { display: flex; justify-content: space-between; align-items: center; gap: 0; }
  .logo-wrap { gap: 8px; }
  .logo-wrap img { height: 44px; }
  .logo-text { font-size: 1.05rem; }
  .logo-text span { display: none; }
  .header-quote-btn { display: inline-flex; padding: 7px 13px; font-size: .78rem; }
  .header-right { flex-shrink: 0; gap: 10px; }
}
@media (max-width: 400px) {
  .logo-text { font-size: .95rem; }
  .logo-wrap img { height: 38px; }
  .header-quote-btn { padding: 6px 10px; font-size: .74rem; }
}
@media (max-width: 340px) {
  .logo-text { font-size: .85rem; }
  .logo-wrap img { height: 34px; }
  .header-quote-btn { padding: 5px 8px; font-size: .7rem; }
}

/* ── Mobile Nav ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0; bottom: 0;
  background: rgba(5,13,24,0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid rgba(232,97,10,0.12);
  padding: 16px 16px 32px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mnav-link {
  display: block;
  color: rgba(255,255,255,.78);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  transition: color .15s, background .15s;
}
.mnav-link:hover { color: #fff; background: rgba(232,97,10,0.08); }
.mnav-group { display: flex; flex-direction: column; }
.mnav-group-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; color: rgba(255,255,255,.78);
  font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; font-weight: 500;
  padding: 12px 16px; border-radius: 10px;
  background: none; border: none; cursor: pointer;
  transition: color .15s, background .15s;
}
.mnav-group-btn:hover,
.mnav-group-btn[aria-expanded="true"] { color: #fff; background: rgba(232,97,10,0.08); }
.mnav-chevron { transition: transform .25s cubic-bezier(.4,0,.2,1); flex-shrink: 0; opacity: .5; }
.mnav-group-btn[aria-expanded="true"] .mnav-chevron { transform: rotate(180deg); opacity: 1; }
.mnav-items { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s cubic-bezier(.4,0,.2,1); }
.mnav-items.open { grid-template-rows: 1fr; }
.mnav-items > div { overflow: hidden; padding-bottom: 4px; display: flex; flex-direction: column; }
.mnav-items a {
  display: block; color: rgba(255,255,255,.5);
  font-family: 'Inter', system-ui, sans-serif; font-size: .9rem; font-weight: 400;
  padding: 9px 16px 9px 30px; border-radius: 8px; transition: color .15s, background .15s;
}
.mnav-items a:hover { color: rgba(255,255,255,.9); background: rgba(232,97,10,0.07); }
.mnav-divider { height: 1px; background: rgba(255,255,255,.07); margin: 6px 4px; }
.mnav-footer {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 4px 0; margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.mnav-phone {
  display: flex !important; align-items: center; justify-content: center; gap: 8px;
  color: var(--primary) !important;
  font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 1rem;
  padding: 12px 16px !important; border-radius: 10px; transition: background .15s;
}
.mnav-phone:hover { background: rgba(232,97,10,0.08) !important; }
.mnav-cta {
  display: block;
  background: rgba(232,97,10,0.14) !important;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(232,97,10,0.45) !important;
  color: #fff !important; padding: 14px 24px !important; border-radius: 10px;
  font-family: 'Inter', system-ui, sans-serif; font-weight: 700 !important; font-size: .95rem;
  text-align: center; box-shadow: 0 4px 20px rgba(232,97,10,0.18);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.mnav-cta:hover {
  background: rgba(232,97,10,0.26) !important;
  border-color: rgba(232,97,10,0.75) !important;
  box-shadow: 0 6px 28px rgba(232,97,10,0.35) !important;
}
.mnav-visualizer-link {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px;
  background: rgba(232,97,10,0.10); border: 1px solid rgba(232,97,10,0.25); border-radius: 10px;
  color: var(--primary) !important; font-family: 'Inter', system-ui, sans-serif;
  font-size: .95rem; font-weight: 600; transition: background .2s, border-color .2s;
}
.mnav-visualizer-link:hover { background: rgba(232,97,10,0.18) !important; border-color: rgba(232,97,10,0.5) !important; }
.mnav-vis-arrow { margin-left: auto; opacity: .5; transition: transform .2s, opacity .2s; }
.mnav-visualizer-link:hover .mnav-vis-arrow { transform: translateX(3px); opacity: .9; }

/* ── Footer ── */
.site-footer {
  background: linear-gradient(180deg, #050d18 0%, #030810 100%);
  border-top: 1px solid rgba(232,97,10,0.12);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo-wrap { margin-bottom: 20px; }
.footer-brand p {
  color: var(--muted); font-size: .9rem; line-height: 1.7; max-width: 280px; margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: background .2s, border-color .2s, color .2s;
  font-size: .85rem;
}
.footer-social a:hover { background: rgba(232,97,10,0.12); border-color: rgba(232,97,10,0.3); color: var(--primary); }
.footer-col h4 {
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.55); font-size: .875rem; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact-col .footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px;
  color: rgba(255,255,255,.6); font-size: .875rem; line-height: 1.5;
}
.footer-contact-col .footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.footer-badges {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px;
}
.footer-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(232,97,10,0.06); border: 1px solid rgba(232,97,10,0.18);
  border-radius: 6px; padding: 6px 12px;
  color: rgba(255,255,255,.75); font-size: .72rem; font-weight: 600; font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: .04em;
}
.footer-bottom {
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--muted); font-size: .8rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--muted); font-size: .8rem; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--primary); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Section spacing — mobile ── */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-sub { margin-bottom: 24px; }
  .page-hero { padding: 100px 0 40px; }
  .cta-band { padding: 48px 0; }
  .related-links-section { padding: 32px 0; }
}

/*
 * MOBILE NAV JS (inline in each subpage <script> tag, before </body>):
 *
 * (function(){
 *   var btn = document.getElementById('hamburger-btn');
 *   var nav = document.getElementById('mobile-nav');
 *   if (!btn || !nav) return;
 *   btn.addEventListener('click', function() {
 *     var open = nav.classList.toggle('open');
 *     btn.classList.toggle('open', open);
 *     btn.setAttribute('aria-expanded', open);
 *   });
 *   document.addEventListener('click', function(e) {
 *     if (!nav.contains(e.target) && !btn.contains(e.target)) {
 *       nav.classList.remove('open');
 *       btn.classList.remove('open');
 *       btn.setAttribute('aria-expanded', 'false');
 *     }
 *   });
 *   document.querySelectorAll('.nav-dropdown').forEach(function(dd) {
 *     var trigger = dd.querySelector('a[aria-haspopup]');
 *     if (!trigger) return;
 *     dd.addEventListener('mouseenter', function() { trigger.setAttribute('aria-expanded','true'); });
 *     dd.addEventListener('mouseleave', function() { trigger.setAttribute('aria-expanded','false'); });
 *     dd.addEventListener('focusin',    function() { trigger.setAttribute('aria-expanded','true'); });
 *     dd.addEventListener('focusout',   function() { trigger.setAttribute('aria-expanded','false'); });
 *   });
 * })();
 */
