/* =====================================================================
   BeHisGirlfriend.com — design system
   Faithful to the campaign mockups: royal blue, white, yellow, red.
   Fonts: Poppins (display) + Inter (body).
   ===================================================================== */

:root {
  /* Brand palette */
  --blue: #1b4de0;
  --blue-hover: #1740bd;
  --blue-soft: #edf2fb;      /* light section background */
  --navy: #0a2a66;           /* footer / dark */
  --navy-text: #0f2e6e;      /* headings on white */
  --red: #ea2a2a;
  --red-hover: #cf1f1f;
  --yellow: #ffc01e;
  --cream: #f6ebce;          /* bottom CTA banner */

  /* Neutrals */
  --white: #ffffff;
  --text: #40495a;
  --muted: #6b7280;
  --border: #e4e8f0;
  --field-border: #d7deea;
  --field-bg: #ffffff;

  /* Shape */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 10px 30px rgba(15, 32, 84, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 27, 68, 0.28);

  --container: 1120px;
  --header-h: 72px;

  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-text); margin: 0; line-height: 1.1; }
p { margin: 0 0 1rem; }
button { font-family: inherit; cursor: pointer; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  padding: 16px 26px;
  line-height: 1;
  transition: transform 0.12s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(234, 42, 42, 0.28); }
.btn-red:hover { background: var(--red-hover); }

.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(27, 77, 224, 0.24); }
.btn-blue:hover { background: var(--blue-hover); }

.btn-lg { padding: 19px 32px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--blue);
  height: var(--header-h);
  display: flex; align-items: center;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  color: #fff; text-decoration: none; letter-spacing: -0.01em;
}
.brand .brand-heart { width: 26px; height: 26px; color: var(--red); flex: none; }
.brand .accent { color: var(--red); }
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a.nav-link {
  color: #fff; text-decoration: none; font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem; opacity: 0.95;
}
.header-nav a.nav-link:hover { text-decoration: underline; }
.header-nav .btn { padding: 12px 20px; font-size: 0.9rem; }

/* Hamburger (mobile only) */
.nav-toggle-cb { display: none; }
.nav-toggle { display: none; }
.nav-toggle .ic-close { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: var(--blue);
  color: #fff;
  padding: 40px 0 64px;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 40px; align-items: center;
}
.hero h1 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 .accent-yellow { color: var(--yellow); }
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,0.94);
  max-width: 30ch;
  margin-bottom: 28px;
}
.hero .btn { margin-bottom: 22px; }
.hero-note {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.02rem; color: rgba(255,255,255,0.95); font-weight: 500;
}
.hero-note svg { width: 22px; height: 22px; color: var(--yellow); flex: none; }

/* Hero portrait + doodles */
.hero-photo { position: relative; justify-self: center; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; }
.hero-photo .circle {
  position: absolute; inset: 6%;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.hero-photo .circle img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.doodle { position: absolute; color: #fff; pointer-events: none; }
.doodle-arrow-tl { top: -2%; left: -6%; width: 120px; height: auto; }
.doodle-arrow-br { bottom: -2%; right: -4%; width: 84px; height: auto; }
.doodle-spark-tr { top: 2%; right: 2%; width: 60px; height: auto; }
.doodle-spark-bl { bottom: 8%; left: -2%; width: 54px; height: auto; }

/* ---------- Section scaffolding ---------- */
.section { padding: 72px 0; }
.section-heading {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.section-heading .heading-icon { width: 40px; height: 40px; flex: none; color: var(--blue); }
.section-heading h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }

/* ---------- About Ethan ---------- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-lead { font-size: 1.12rem; color: var(--text); max-width: 40ch; margin-bottom: 22px; }

.fact-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 13px; }
.fact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; color: var(--text); }
.fact-list li svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 2px; }
.fact-list li b { color: var(--navy-text); font-weight: 700; }

.about-looking { font-weight: 700; color: var(--navy-text); font-size: 1.12rem; margin-bottom: 26px; }

.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-photos img {
  width: 100%; aspect-ratio: 11 / 20; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}

/* ---------- About the YouTube Video ---------- */
.video-section { background: var(--blue-soft); }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.video-lead { color: var(--text); font-size: 1.08rem; max-width: 42ch; margin-bottom: 22px; }

.check-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 1.03rem; }
.check-list li svg { width: 24px; height: 24px; flex: none; color: var(--blue); margin-top: 1px; }

.age-badge {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid #c9d4ea; border-radius: var(--radius);
  padding: 18px 22px; background: rgba(255,255,255,0.6);
  color: var(--navy-text); font-weight: 600; font-size: 1.05rem;
}
.age-badge svg { width: 30px; height: 30px; flex: none; color: var(--blue); }
.video-col-right { display: flex; flex-direction: column; gap: 26px; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--cream); }
.cta-banner .container {
  display: flex; align-items: center; gap: 26px; padding-top: 34px; padding-bottom: 34px;
}
.cta-banner .cta-icon {
  width: 62px; height: 62px; flex: none;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm);
  display: grid; place-items: center; color: var(--navy-text);
}
.cta-banner .cta-icon svg { width: 30px; height: 30px; }
.cta-banner .cta-text { flex: 1 1 auto; }
.cta-banner h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; color: var(--navy-text); }
.cta-banner p { margin: 0; color: #6a6152; font-size: 1.02rem; }
.cta-banner .btn { flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.85); text-align: center; padding: 34px 0; }
.site-footer p { margin: 0 0 6px; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: underline; }
.social-row { display: flex; justify-content: center; gap: 16px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: grid; place-items: center; color: #fff; text-decoration: none;
  transition: background-color 0.15s ease;
}
.social-row a:hover { background: rgba(255,255,255,0.24); }
.social-row svg { width: 19px; height: 19px; }
.footer-copy { margin-top: 14px; font-size: 0.86rem; opacity: 0.7; }

/* =====================================================================
   FAQ page
   ===================================================================== */
.faq-hero h1 { font-size: clamp(3.4rem, 9vw, 6rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.faq-hero .hero-subtitle { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.15; margin-bottom: 18px; }
.faq-hero .hero-subtitle .accent-yellow { color: var(--yellow); }
.faq-hero .yt-link { display: inline-block; margin-top: 4px; color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 500; }
.faq-hero .yt-link:hover { text-decoration: underline; }
.btn-youtube { background: var(--red); color: #fff; }
.btn-youtube:hover { background: var(--red-hover); }

.about-channel { background: #fff; }
.about-channel .video-lead { max-width: none; }
.mission { color: var(--navy-text); font-weight: 700; }
.mission .accent-blue { color: var(--blue); }

.video-thumb {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 10; box-shadow: var(--shadow); text-decoration: none;
  background: linear-gradient(135deg, #1b4de0, #0a2a66);
}
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; opacity: 0.9; }
.video-thumb .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 56px; border-radius: 14px; background: var(--red);
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,0.3);
}
.video-thumb .play svg { width: 30px; height: 30px; color: #fff; }
.video-thumb .thumb-caption {
  position: absolute; left: 20px; bottom: 16px; color: #fff; z-index: 2;
  font-family: var(--font-display);
}
.video-thumb .thumb-caption .big { font-weight: 800; font-size: 1.5rem; letter-spacing: 0.04em; }
.video-thumb .thumb-caption .small { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 55%); }

/* Embedded YouTube player — same box size/proportions as the mockup thumbnail */
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.faq-list-section { background: #fff; padding-top: 12px; }
.faq-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; }
.faq-title-heart { display: block; width: 26px; height: 26px; color: var(--red); margin: 10px auto 30px; }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #f7f9fd; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 600; color: var(--navy-text); font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq-item summary .plus::before,
.faq-item summary .plus::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: transform 0.2s ease; }
.faq-item summary .plus::before { top: 9px; left: 2px; width: 16px; height: 2.5px; }
.faq-item summary .plus::after { left: 9px; top: 2px; width: 2.5px; height: 16px; }
.faq-item[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item .faq-answer { padding: 0 22px 20px; color: var(--text); font-size: 1.02rem; }

.contact-box {
  max-width: 860px; margin: 34px auto 0;
  display: flex; align-items: center; gap: 18px;
  background: var(--blue-soft); border-radius: var(--radius-lg); padding: 22px 26px;
  position: relative; overflow: hidden;
}
.contact-box .contact-icon { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.contact-box .contact-icon svg { width: 26px; height: 26px; }
.contact-box h4 { font-size: 1.2rem; font-weight: 700; color: var(--navy-text); margin: 0 0 2px; }
.contact-box p { margin: 0; }
.contact-box a { color: var(--blue); font-weight: 600; text-decoration: none; }
.contact-box a:hover { text-decoration: underline; }

/* =====================================================================
   Modal (application + thank-you)
   ===================================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6, 18, 48, 0.62);
  display: none; align-items: flex-start; justify-content: center;
  padding: 32px 16px; overflow-y: auto;
}
.modal-overlay.open { display: flex; }
body.modal-open { overflow: hidden; }

.modal {
  position: relative;
  background: #fff; width: 100%; max-width: 620px;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  padding: 30px 32px 26px;
  margin: auto;
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: #f1f3f8; color: var(--navy-text);
  display: grid; place-items: center;
}
.modal-close:hover { background: #e6e9f2; }
.modal-close svg { width: 18px; height: 18px; }

.modal-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; padding-right: 30px; }
.modal-head .head-badge { width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.modal-head .head-badge svg { width: 28px; height: 28px; }
.modal-head h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 3px; }
.modal-head p { margin: 0; font-size: 0.98rem; color: var(--muted); }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; }
.field.col-span-2 { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--navy-text); margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }

.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > svg.field-icon { position: absolute; left: 14px; width: 19px; height: 19px; color: #9aa4b6; pointer-events: none; }
.input-wrap.has-icon input,
.input-wrap.has-icon textarea { padding-left: 42px; }

.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--navy-text);
  background: var(--field-bg); border: 1.5px solid var(--field-border); border-radius: var(--radius-sm);
  padding: 13px 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #a6adba; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27, 77, 224, 0.14);
}
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.field .error-msg { display: none; color: var(--red); font-size: 0.8rem; margin-top: 6px; font-weight: 500; }
.field.invalid .error-msg { display: block; }

.char-count { position: absolute; right: 12px; bottom: 10px; font-size: 0.76rem; color: #a6adba; }
.textarea-wrap { position: relative; }

/* File upload */
.file-drop {
  border: 1.6px dashed #c4cddd; border-radius: var(--radius); background: #fafbfe;
  padding: 22px; text-align: center; color: var(--muted); cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--blue); background: #f1f5fe; }
.file-drop svg { width: 30px; height: 30px; color: #9aa4b6; margin: 0 auto 8px; }
.file-drop .fd-main { font-family: var(--font-display); font-weight: 600; color: var(--navy-text); font-size: 0.95rem; }
.file-drop .fd-sub { font-size: 0.82rem; margin-top: 2px; }
.file-drop.has-file { border-style: solid; border-color: var(--blue); color: var(--navy-text); background: #f1f5fe; }

/* Checkboxes */
.check-field { display: flex; align-items: flex-start; gap: 11px; margin-top: 4px; }
.check-field input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; flex: none; margin-top: 2px;
  border: 1.6px solid #c4cddd; border-radius: 5px; background: #fff; cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}
.check-field input[type="checkbox"]:checked { background: var(--blue); border-color: var(--blue); }
.check-field input[type="checkbox"]:checked::after {
  content: ""; display: block; width: 5px; height: 10px; margin: 2px auto;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.check-field label { font-size: 0.9rem; color: var(--text); line-height: 1.45; cursor: pointer; }
.check-field label .req { color: var(--red); }
.check-field.invalid input[type="checkbox"] { border-color: var(--red); }

/* honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.form-foot-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 0.82rem; margin-top: 14px; }
.form-foot-note svg { width: 15px; height: 15px; }
.form-error-banner { display: none; background: #fdecec; color: #b91c1c; border: 1px solid #f6c9c9; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.9rem; margin-bottom: 6px; }
.form-error-banner.show { display: block; }

.legal-links { margin: 4px 0 0; font-size: 0.82rem; color: var(--muted); }
.legal-links a { color: var(--blue); text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }

.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; opacity: 0.9; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,0.45); border-top-color: #fff; border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Thank-you modal */
.thanks { text-align: center; }
.thanks .thanks-badge { width: 90px; height: 90px; margin: 4px auto 18px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; font-size: 44px; }
.thanks h2 { font-size: clamp(2.4rem, 7vw, 3.2rem); font-weight: 800; margin-bottom: 6px; }
.thanks .thanks-sub { font-family: var(--font-display); font-weight: 700; color: var(--navy-text); font-size: 1.2rem; margin-bottom: 14px; }
.thanks .thanks-body { color: var(--text); max-width: 44ch; margin: 0 auto 22px; }
.thanks-info { text-align: left; background: var(--blue-soft); border-radius: var(--radius-lg); padding: 20px 22px; display: grid; gap: 18px; margin-bottom: 22px; }
.thanks-info .ti-row { display: flex; align-items: flex-start; gap: 14px; }
.thanks-info .ti-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.thanks-info .ti-icon svg { width: 22px; height: 22px; }
.thanks-info .ti-title { font-family: var(--font-display); font-weight: 700; color: var(--navy-text); }
.thanks-info .ti-text { font-size: 0.94rem; color: var(--text); }
.thanks-info u { text-decoration: underline; }
.thanks-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: var(--text); font-size: 0.96rem; }
.thanks-foot svg { width: 18px; height: 18px; color: var(--red); flex: none; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-bottom: 48px; }
  .hero-sub { max-width: none; }
  .hero-photo { max-width: 340px; order: 2; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .video-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-lead, .video-lead { max-width: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-banner .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .modal { padding: 24px 20px 22px; border-radius: var(--radius-lg); }
  .about-photos { gap: 14px; }

  /* Mobile nav → hamburger menu */
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin: -8px -10px -8px 0;
    color: #fff; background: none; border: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle svg { width: 27px; height: 27px; }
  .nav-toggle-cb:checked ~ .nav-toggle .ic-menu { display: none; }
  .nav-toggle-cb:checked ~ .nav-toggle .ic-close { display: block; }

  .header-nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--blue); padding: 12px 24px 18px;
    box-shadow: 0 14px 26px rgba(6, 18, 48, 0.30);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .nav-toggle-cb:checked ~ .header-nav { display: flex; }
  .header-nav a.nav-link {
    display: block; padding: 13px 4px; font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .header-nav .btn { width: 100%; padding: 15px; font-size: 0.95rem; margin-top: 6px; }
}

@media (max-width: 380px) {
  .brand { font-size: 1.2rem; }
  .header-nav .btn { padding: 11px 14px; font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
