/* =========================================================
   Leila Hemelsoet — Stylesheet
   Font: Inter (Google Fonts)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  --font:          'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --accent:        #4688B8;
  --accent-dark:   #3470A0;
  --accent-light:  #E5EFF7;
  --heading:       #1A202C;
  --text:          #4A5568;
  --text-light:    #718096;
  --bg:            #FFFFFF;
  --bg-alt:        #F7FAFC;
  --border:        #E2E8F0;
  --nav-h:         72px;
  --max-w:         1140px;
  --r:             8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--heading);
  line-height: 1.3;
  font-weight: 600;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: .4rem; }

strong { font-weight: 600; color: var(--heading); }

/* ── Layout ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 80px 0; }
section.alt { background: var(--bg-alt); }

.section-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section-title { margin-bottom: .75rem; }
.section-intro {
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 2.5rem;
  color: var(--text);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.6rem;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent-light); }

.btn-white {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.btn-white:hover { background: var(--accent-light); }

/* ── Header / Navigation ──────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1rem;
}

.site-logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo span { color: inherit; }
.site-logo:hover { text-decoration: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: .1rem;
  flex-wrap: nowrap;
}

.main-nav > a,
.main-nav > .nav-dropdown > a {
  display: block;
  padding: .45rem .7rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--r);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.main-nav > a:hover,
.main-nav > .nav-dropdown > a:hover,
.main-nav > a.active,
.main-nav > .nav-dropdown > a.active {
  color: var(--heading);
  background: var(--bg-alt);
  text-decoration: none;
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: .7rem;
  opacity: .6;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
  min-width: 230px;
  padding: 6px 0 .5rem;
  z-index: 300;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: .6rem 1.25rem;
  font-size: .875rem;
  font-weight: 400;
  color: var(--text);
  border-radius: 0;
  transition: background .15s, color .15s;
}
.dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--heading);
  text-decoration: none;
}

/* Nav CTA button */
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--r) !important;
  padding: .45rem 1.1rem !important;
  font-weight: 500 !important;
  margin-left: .5rem;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: #fff !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ── Hero compact (v03 homepage) ─────────────────────── */
.hero-compact {
  padding: 28px 0 24px;
  background: linear-gradient(135deg, #E5EFF7 0%, #fff 60%);
}
.hero-compact__inner {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 2.5rem;
  align-items: center;
}
.hero-compact h1 { margin-bottom: .75rem; }
.hero-compact .hero-lead {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 560px;
}
.hero-compact__photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0,0,0,.13);
}
.hero-compact__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Servicepanelen (above the fold) ─────────────────── */
.service-panels {
  background: var(--bg-alt);
  padding: 28px 0 32px;
}
.service-panels__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.service-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  border-top: 3px solid var(--accent);
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.service-panel:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}
.service-panel__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: .35rem;
}
.service-panel__for {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--accent);
  margin-bottom: .85rem;
}
.service-panel__desc {
  font-size: .9rem;
  color: var(--text);
  flex: 1;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.service-panel__link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
}

/* ── Hero (homepage) ──────────────────────────────────── */
.hero {
  padding: 80px 0 70px;
  background: linear-gradient(135deg, #E5EFF7 0%, #fff 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 { margin-bottom: 1.1rem; font-weight: 700; }

.hero-lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-meta {
  font-size: .875rem;
  color: var(--text-light);
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-meta span::before { content: '📍 '; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero-services {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hero-service {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--heading);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.hero-service:hover {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.hero-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.14);
}
.hero-img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

/* ── Page hero (inner pages) ──────────────────────────── */
.page-hero {
  padding: 56px 0 48px;
  background: linear-gradient(135deg, #E5EFF7 0%, #fff 70%);
  border-bottom: 1px solid var(--border);
}
.page-hero .section-label { margin-bottom: .5rem; }
.page-hero h1 { margin-bottom: .75rem; }
.page-hero .lead {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 600px;
}

/* ── Service cards ────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow .2s, transform .2s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,.09);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}
.card-icon { font-size: 2rem; margin-bottom: 1rem; line-height: 1; }
.card h3 { margin-bottom: .5rem; color: var(--heading); }
.card p { font-size: .9rem; color: var(--text); margin-bottom: 1rem; }
.card-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
}

/* ── Split layout ─────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split.reverse .split-img { order: -1; }
.split-img img {
  border-radius: 12px;
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ── Highlight strip ──────────────────────────────────── */
.highlight-strip {
  background: var(--accent);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.highlight-strip h2 { color: #fff; margin-bottom: .75rem; }
.highlight-strip p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 1.75rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Intro quotes (drie openingscitaten) ──────────────── */
.intro-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.intro-quotes p {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: var(--heading);
  border-left: 3px solid var(--accent);
  padding: .85rem 1.25rem;
  background: #fff;
  border-radius: 0 var(--r) var(--r) 0;
  margin: 0;
  line-height: 1.6;
}

/* ── Quote block ──────────────────────────────────────── */
.quote-block {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  color: var(--heading);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.75rem;
  margin: 2rem 0;
  background: var(--accent-light);
  border-radius: 0 var(--r) var(--r) 0;
}

/* ── Info box ─────────────────────────────────────────── */
.info-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.info-box p { color: var(--text); }
.info-box p:last-child { margin-bottom: 0; }

/* ── Page content ─────────────────────────────────────── */
.page-content { padding: 60px 0; }
.page-content h2 { margin: 2.25rem 0 .75rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { margin: 1.75rem 0 .5rem; }
.page-content ul, .page-content ol { margin-bottom: 1rem; }

/* ── Checklist ────────────────────────────────────────── */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: .6rem;
  color: var(--text);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Table ────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--border); font-size: .9rem; }
th { font-weight: 600; color: var(--heading); background: var(--bg-alt); }

/* ── Contact ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item-text strong { display: block; color: var(--heading); font-size: .875rem; margin-bottom: .2rem; }
.contact-item-text a, .contact-item-text p { font-size: .9rem; color: var(--text); margin: 0; }

.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  height: 360px;
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── About page ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
}
.about-photo {
  max-width: 300px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--heading);
  color: rgba(255,255,255,.72);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .site-logo { color: #fff; font-size: 1rem; display: block; margin-bottom: .6rem; }
.footer-brand .site-logo span { color: rgba(255,255,255,.6); }
.footer-brand p { font-size: .85rem; line-height: 1.6; }
.footer-col h4 {
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.footer-col a, .footer-col p {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin-bottom: .5rem;
  transition: color .15s;
  line-height: 1.5;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ── Cookie banner ────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 500;
  box-shadow: 0 -4px 20px rgba(0,0,0,.07);
  flex-wrap: wrap;
}
#cookie-banner.hidden { display: none; }
#cookie-banner p {
  font-size: .85rem;
  color: var(--text);
  flex: 1;
  margin: 0;
  min-width: 200px;
}
.cookie-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Credentials-balk (Over Leila) ───────────────────── */
.credentials-bar {
  background: var(--heading);
  padding: 13px 0;
}
.credentials-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .4rem 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.credentials-bar__item {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255,255,255,.15);
  line-height: 1.4;
}
.credentials-bar__item:last-child { border-right: none; }
.credentials-bar__item strong { color: #fff; font-weight: 600; }

/* ── Achtergrond-intro (Over Leila) ───────────────────── */
.achtergrond-intro {
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.75rem;
  background: #fff;
  border-radius: 0 var(--r) var(--r) 0;
  margin-bottom: 2.25rem;
}
.achtergrond-intro h2 { margin-bottom: .4rem; }
.achtergrond-intro p  { font-size: .95rem; color: var(--text); margin: 0; }

/* ── Opleidingen-vertrouwensblok ──────────────────────── */
.opleidingen-strip {
  background: linear-gradient(135deg, #E5EFF7 0%, #fff 70%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}
.opleidingen-strip h2 { margin-bottom: .5rem; }
.opleidingen-strip__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
}
.opleidingen-strip__list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .4rem .95rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--heading);
}
.credentials-bar__item a { color: inherit; text-decoration: none; }
.credentials-bar__item a:hover strong { text-decoration: underline; }

/* ── Accordion-groep titels ───────────────────────────── */
.accordion-group__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: .75rem;
}

/* ── Accordion ────────────────────────────────────────── */
.accordion {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.accordion__item {
  border-bottom: 1px solid var(--border);
}
.accordion__item:last-child { border-bottom: none; }

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font);
}
.accordion__item.open > .accordion__trigger { background: var(--bg-alt); }

.accordion__label {
  font-size: .95rem;
  font-weight: 600;
  color: var(--heading);
  flex: 1;
}
.accordion__meta {
  font-size: .8rem;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.accordion__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: .25rem;
  position: relative;
}
.accordion__chevron::before,
.accordion__chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 1.5px;
  background: var(--text-light);
  transition: transform .22s ease;
}
.accordion__chevron::before { left: 1px;  transform: translateY(-50%) rotate(45deg); }
.accordion__chevron::after  { right: 1px; transform: translateY(-50%) rotate(-45deg); }
.accordion__item.open .accordion__chevron::before { transform: translateY(-50%) rotate(-45deg); }
.accordion__item.open .accordion__chevron::after  { transform: translateY(-50%) rotate(45deg); }
.accordion__item.open .accordion__label { color: var(--accent); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .26s ease;
}
.accordion__item.open .accordion__panel {
  grid-template-rows: 1fr;
}
.accordion__panel-inner {
  overflow: hidden;
  padding: 0 1.5rem;
}
.accordion__item.open .accordion__panel-inner {
  padding: .25rem 1.5rem 1.4rem;
}
.accordion__panel-inner p { font-size: .9rem; color: var(--text); }
.accordion__panel-inner .check-list li { font-size: .88rem; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-compact__inner { grid-template-columns: 1fr; }
  .hero-compact__photo { display: none; }
  .service-panels__grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img-wrap { max-width: 360px; margin: 0 auto; }
  .hero-img-wrap img { height: 400px; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-img { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --nav-h: 64px; }
  section { padding: 52px 0; }
  .hero { padding: 52px 0 44px; }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .75rem 1rem 1rem;
    gap: .1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }

  .main-nav > a,
  .main-nav > .nav-dropdown > a { font-size: .95rem; padding: .6rem .75rem; }
  .nav-cta { margin-left: 0 !important; }

  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open > a { background: var(--bg-alt); color: var(--heading); }
  .nav-dropdown.open .dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: .25rem 0 .5rem 1rem;
    min-width: 0;
  }
  .dropdown-menu a { padding: .5rem .75rem; font-size: .9rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-meta { flex-direction: column; gap: .5rem; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
}
