/* ==========================================================================
   Van der Volpi – website v2
   Design system from the VDV brandbook (b-vdc/vdv-brandbook).
   Fonts + logos load from the protected asset host: vandervolpi.com/assets/
   ========================================================================== */

/* ---- Fonts (hosted, per brandbook §5) ---- */
@font-face {
  font-family: "Playfair Display";
  src: url("https://vandervolpi.com/assets/fonts/Playfair/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("https://vandervolpi.com/assets/fonts/Playfair/PlayfairDisplay-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Uncut Sans";
  src: url("https://vandervolpi.com/assets/fonts/Uncut/UncutSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Uncut Sans";
  src: url("https://vandervolpi.com/assets/fonts/Uncut/UncutSans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Uncut Sans";
  src: url("https://vandervolpi.com/assets/fonts/Uncut/UncutSans-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens (brandbook §4) ---- */
:root {
  --vdv-orange: #ED5221;
  --vdv-eggplant: #6B004A;
  --vdv-darkbrown: #3F2A25;
  --vdv-offwhite: #FFFDEE;
  --vdv-orange-40: #F4977A;
  --vdv-orange-80: #FBDCD3;
  --vdv-eggplant-40: #A66692;
  --vdv-eggplant-80: #E1CCDB;
  --vdv-spring: #CEEA65;
  --vdv-periwinkle: #ADBDFF;
  --vdv-spring-40: #E2F2A3;
  --vdv-spring-80: #F5FBE0;
  --vdv-periwinkle-40: #CED7FF;
  --vdv-periwinkle-80: #EFF2FF;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Uncut Sans", Arial, Helvetica, sans-serif;

  --container: 1120px;
  --radius-card: 26px;
  --shadow-soft: 0 10px 30px rgba(63, 42, 37, 0.08);
}

/* ---- Base ---- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Anchored sections land below the sticky header */
[id] { scroll-margin-top: 90px; }

/* Brand-tinted mobile tap highlight (Chrome/Safari on Android/iOS) instead of the default blue-gray */
a, button {
  -webkit-tap-highlight-color: rgba(237, 82, 33, 0.25);
}

body {
  margin: 0;
  background: var(--vdv-offwhite); /* never pure white */
  color: var(--vdv-darkbrown);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Headings: Playfair Bold, sentence case, Eggplant, line-height ≈ 1.5 (brandbook §5) */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--vdv-eggplant);
  line-height: 1.5;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }

/* Second-level subhead: Uncut Sans Semibold (brandbook §5) */
h4, .subhead {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--vdv-eggplant);
  font-size: 1.125rem;
  line-height: 1.4;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
strong { font-weight: 600; }

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

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

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

/* Accent word inside a title (brandbook: emphasize with italic) */
.accent-i { font-style: italic; color: var(--vdv-orange); }

/* Official tagline lockup: Playfair, Eggplant, "Legal." italic, not all-bold (brandbook §1) */
.tagline { font-weight: 500; }
.tagline em { font-style: italic; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--vdv-eggplant-80);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand img { width: 220px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--vdv-darkbrown);
  padding: 10px 14px;
  border-radius: 999px 999px 999px 0; /* mini speech bubble */
  transition: background 0.2s ease, color 0.2s ease;
}
.site-nav a:hover { text-decoration: none; background: var(--vdv-orange-80); }
.site-nav a.active { color: var(--vdv-orange); }
.site-nav a.nav-cta {
  background: var(--vdv-orange);
  color: var(--vdv-offwhite);
  margin-left: 8px;
}
.site-nav a.nav-cta:hover { background: var(--vdv-eggplant); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--vdv-eggplant);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---- Buttons (speech-bubble pills) ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px 999px 999px 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--vdv-orange); color: var(--vdv-offwhite); }
.btn-primary:hover { background: var(--vdv-eggplant); color: var(--vdv-offwhite); }
.btn-outline {
  border: 2px solid var(--vdv-eggplant);
  color: var(--vdv-eggplant);
  padding: 12px 26px;
}
.btn-outline:hover { background: var(--vdv-eggplant); color: var(--vdv-offwhite); }
/* On dark (eggplant/orange) backgrounds */
.btn-light { background: var(--vdv-offwhite); color: var(--vdv-eggplant); }
.btn-light:hover { background: var(--vdv-orange); color: var(--vdv-offwhite); }

/* ---- Sections ---- */
section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-spring { background: var(--vdv-spring-80); }
.section-periwinkle { background: var(--vdv-periwinkle-80); }
.section-eggplant80 { background: var(--vdv-eggplant-80); }
/* Pastel backgrounds allow Eggplant text only (brandbook §4) */
.section-spring :is(p, li, h4),
.section-periwinkle :is(p, li, h4),
.section-eggplant80 :is(p, li, h4) { color: var(--vdv-eggplant); }
.section-spring p a:not(.btn),
.section-periwinkle p a:not(.btn),
.section-eggplant80 p a:not(.btn) { color: var(--vdv-eggplant); font-weight: 600; text-decoration: underline; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.center { text-align: center; }
.center.section-head { margin-left: auto; margin-right: auto; }

/* ---- Hero: Eggplant statement ----
   Text on Eggplant may only be Off-White or Orange (brandbook §4). */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
  background: var(--vdv-eggplant);
}
/* Tone-on-tone bubble watermark filling the quiet right half */
.hero::before {
  content: "";
  position: absolute;
  top: 48px;
  right: -140px;
  width: 520px;
  height: 520px;
  background: var(--vdv-eggplant-40);
  opacity: 0.16;
  border-radius: 260px 260px 0 260px;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero::before { display: none; }
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--vdv-orange);
  letter-spacing: 0.02em;
  margin: 0 0 2em;
}
.hero-kicker::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--vdv-orange);
  border-radius: 7px 7px 7px 0;
}
/* Monumental tagline: display sizes need tighter leading than the
   document rule of +50% – 1.12 keeps the two lines reading as one lockup */
.hero h1 {
  color: var(--vdv-offwhite);
  font-size: clamp(3.2rem, 10vw, 7rem);
  line-height: 1.12;
  margin-bottom: 0.4em;
}
.hero h1 em { color: var(--vdv-orange); }
.hero .lead {
  color: var(--vdv-offwhite);
  font-size: 1.2rem;
  max-width: 560px;
  margin-bottom: 2em;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 88px; }
.btn-outline-light {
  border: 2px solid var(--vdv-offwhite);
  color: var(--vdv-offwhite);
  padding: 12px 26px;
}
.btn-outline-light:hover { background: var(--vdv-offwhite); color: var(--vdv-eggplant); }

/* Ticker of real client questions along the hero's bottom edge */
.hero-ticker {
  border-top: 1px solid var(--vdv-eggplant-40);
  padding: 20px 0;
  overflow: hidden;
}
.hero-ticker-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: ticker-roll 55s linear infinite;
}
.hero-ticker-track span {
  display: flex;
  align-items: center;
  gap: 56px;
  color: var(--vdv-offwhite);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}
.hero-ticker-track span::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--vdv-orange);
  border-radius: 5px 5px 5px 0;
}
@keyframes ticker-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Page hero (subpages): portrait split ----
   Text left, portrait right masked in the brand speech bubble (3 corners at
   maximum radius, square corner bottom-left – brandbook §6) with two solid
   companion bubbles tucked around it. */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 64px; }
.page-hero .hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}
.page-hero .lead { font-size: 1.15rem; max-width: 560px; }
.page-hero .hero-ctas { margin-bottom: 0; }
.hero-media { position: relative; width: min(100%, 400px); margin-left: auto; }
.hero-portrait {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 999px 999px 999px 0; /* clamps to half the shortest side */
  aspect-ratio: 5 / 6;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
/* Companion bubbles: orange peeking over the top edge, periwinkle behind the base */
.hero-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  width: 84px;
  height: 84px;
  top: -16px;
  right: -8px;
  background: var(--vdv-orange);
  border-radius: 42px 42px 42px 0;
}
.hero-media::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 140px;
  height: 140px;
  bottom: -26px;
  left: -36px;
  background: var(--vdv-periwinkle);
  border-radius: 70px 70px 0 70px;
}
@media (max-width: 900px) {
  .page-hero .hero-split { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { width: min(100%, 300px); margin: 0 auto; }
}

/* ---- Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  position: relative;
  background: var(--vdv-offwhite);
  border: 1.5px solid var(--vdv-eggplant-80);
  border-radius: var(--radius-card) var(--radius-card) var(--radius-card) 0;
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.card-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--vdv-orange);
  color: var(--vdv-offwhite);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px 999px 999px 0;
}
.card:nth-child(2) { border-radius: var(--radius-card) var(--radius-card) 0 var(--radius-card); }
.card:nth-child(3) { border-radius: 0 var(--radius-card) var(--radius-card) var(--radius-card); }
.card:nth-child(4) { border-radius: var(--radius-card) 0 var(--radius-card) var(--radius-card); }
.card .icon { margin-bottom: 18px; }
.card h3 { margin-bottom: 0.4em; }
.card p { flex: 1; }
.card .card-link { font-weight: 600; }

/* Tinted variants (backgrounds only; Eggplant text on pastels) */
.card-spring { background: var(--vdv-spring-80); border-color: var(--vdv-spring-40); }
.card-periwinkle { background: var(--vdv-periwinkle-80); border-color: var(--vdv-periwinkle-40); }
.card-orange80 { background: var(--vdv-orange-80); border-color: var(--vdv-orange-40); }
.card-spring p, .card-spring li,
.card-periwinkle p, .card-periwinkle li,
.card-orange80 p, .card-orange80 li { color: var(--vdv-eggplant); }
.card-spring .icon, .card-periwinkle .icon, .card-orange80 .icon { color: var(--vdv-eggplant); }

/* ---- Icons (inline SVG, brand orange) ---- */
.icon {
  width: 44px;
  height: 44px;
  color: var(--vdv-orange);
}

/* ---- Lists with orange chevrons ---- */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  background: var(--vdv-orange);
  border-radius: 6px 6px 6px 0;
}

/* ---- Split layout (text + media) ---- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split-media img,
.split-media svg {
  width: 100%;
  border-radius: var(--radius-card) var(--radius-card) 0 var(--radius-card);
  box-shadow: var(--shadow-soft);
}
.split.reverse .split-media img,
.split.reverse .split-media svg {
  border-radius: var(--radius-card) var(--radius-card) var(--radius-card) 0;
}
figure { margin: 0; }
figcaption {
  font-size: 0.9rem;
  color: var(--vdv-eggplant);
  margin-top: 12px;
}

/* ---- CTA banner (big speech bubble, Eggplant) ---- */
.cta-banner {
  background: var(--vdv-eggplant);
  border-radius: 120px 120px 120px 0;
  padding: 72px 64px;
  text-align: center;
}
.cta-banner h2 { color: var(--vdv-offwhite); }
.cta-banner p { color: var(--vdv-offwhite); font-size: 1.15rem; max-width: 560px; margin: 0 auto 1.6em; }
.cta-banner .accent-i { color: var(--vdv-orange); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---- Appointment booker ---- */
/* The call-type cards double as the booker's type selector (buttons). */
button.call-type {
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
button.call-type:hover { transform: translateY(-2px); border-color: var(--vdv-eggplant-40); }
button.call-type[aria-pressed="true"] { border-color: var(--vdv-eggplant); }

.booker { margin-top: 28px; }
.booker-note { font-size: 0.9rem; }
.booker-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; margin-top: 18px; }
.booker-days {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px;
}
.booker-times { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; padding: 4px; }

/* Time/date chips share the signature speech-bubble shape */
.slot-chip {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--vdv-eggplant);
  background: #fff;
  border: 1.5px solid var(--vdv-eggplant-80);
  border-radius: 999px 999px 999px 0;
  padding: 10px 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.slot-chip:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--vdv-eggplant); }
.slot-chip.is-selected {
  background: var(--vdv-eggplant);
  color: var(--vdv-offwhite);
  border-color: var(--vdv-eggplant);
}
.slot-chip:disabled { opacity: 0.45; cursor: not-allowed; }
.day-chip { width: 100%; text-align: left; }

.booking-form { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--vdv-eggplant-40); }
.booker-summary { font-weight: 600; margin-bottom: 18px; }
.booker-retry { margin-left: 12px; padding: 8px 18px; font-size: 0.9rem; }
.booking-success p { margin-bottom: 10px; }

@media (max-width: 700px) {
  .booker-grid { grid-template-columns: 1fr; }
  .booker-days { flex-direction: row; flex-wrap: wrap; max-height: none; }
  .day-chip { width: auto; }
}

/* ---- Pricing table (call types) ---- */
.call-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 24px 0; }
.call-type {
  background: var(--vdv-offwhite);
  border-radius: 18px 18px 18px 0;
  padding: 22px 20px;
}
.call-type h4 { margin-bottom: 6px; }
.call-type .price { font-weight: 600; color: var(--vdv-orange); }
.call-type p { margin: 0; font-size: 0.95rem; }

/* ---- Contact info ---- */
.contact-details { list-style: none; padding: 0; margin: 0; }
.contact-details li { margin-bottom: 14px; padding-left: 34px; position: relative; }
.contact-details .icon { width: 22px; height: 22px; position: absolute; left: 0; top: 3px; }

/* ---- Legal / article pages ---- */
.article { max-width: 760px; }
.article h4 { margin-top: 2em; }
.article ul { padding-left: 0; }
.article ul li { list-style: none; position: relative; padding-left: 26px; margin-bottom: 8px; }
.article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  background: var(--vdv-orange);
  border-radius: 5px 5px 5px 0;
}
.meta-note { font-size: 0.9rem; color: var(--vdv-eggplant); }

/* ---- Footer (Eggplant: Off-White + Orange text allowed) ---- */
.site-footer {
  background: var(--vdv-eggplant);
  color: var(--vdv-offwhite);
  padding: 64px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-logo img { width: 110px; height: auto; }
.site-footer h4 { color: var(--vdv-orange); font-weight: 600; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--vdv-offwhite); }
.site-footer a:hover { color: var(--vdv-orange-40); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--vdv-eggplant-40);
  margin-top: 48px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---- Reveal on scroll ----
   Content stays visible without JS; main.js adds .reveal-init to arm the effect. */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-init.in-view { opacity: 1; transform: none; }

/* Hero load-in stagger */
.hero-copy > * { animation: rise-in 0.7s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.3s; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-init, .hero-copy > * { animation: none; transition: none; opacity: 1; transform: none; }
  .hero-ticker-track { animation: none; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero { padding-top: 72px; }
  .hero-ctas { margin-bottom: 64px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 56px 32px; border-radius: 72px 72px 72px 0; }
}

/* Hero CTAs: all three in a row, or all stacked – never split 2+1 */
@media (max-width: 660px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

/* ---- Contact form ---- */
.form-card {
  position: relative;
  background: var(--vdv-offwhite);
  border: 1.5px solid var(--vdv-eggplant-80);
  border-radius: var(--radius-card) var(--radius-card) var(--radius-card) 0;
  padding: 40px 32px;
  box-shadow: var(--shadow-soft);
}
.contact-form { margin-top: 20px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  color: var(--vdv-eggplant);
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--vdv-darkbrown);
  background: #fff;
  border: 1.5px solid var(--vdv-eggplant-80);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--vdv-orange);
  box-shadow: 0 0 0 3px var(--vdv-orange-80);
}

.form-recaptcha-note {
  font-size: 0.82rem;
  color: var(--vdv-eggplant);
  margin: 14px 0 0;
}

.form-status {
  min-height: 1.4em;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-status-success { color: var(--vdv-eggplant); }
.form-status-error { color: var(--vdv-orange); }

.consent-gate {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--vdv-eggplant-40);
}
.consent-gate p { margin-bottom: 12px; }

/* The reCAPTCHA v3 badge is redundant with .form-recaptcha-note, which
   carries the required disclosure text; hiding the badge is permitted as
   long as that text stays visible near the form. */
.grecaptcha-badge { visibility: hidden; }

/* ---- Cookie consent banner ---- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: 640px;
  margin: 0 auto;
  background: var(--vdv-eggplant);
  color: var(--vdv-offwhite);
  border-radius: 26px 26px 26px 0;
  padding: 24px 28px;
  box-shadow: var(--shadow-soft);
}
.cookie-banner p { color: var(--vdv-offwhite); margin: 0 0 16px; font-size: 0.95rem; }
.cookie-banner a { color: var(--vdv-orange); font-weight: 600; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cookie-banner-actions .btn { padding: 10px 22px; font-size: 0.92rem; }

@media (max-width: 760px) {
  .brand img { width: 165px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--vdv-offwhite);
    border-bottom: 1px solid var(--vdv-eggplant-80);
    padding: 12px 24px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-nav a.nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 56px; }
  .hero .lead { font-size: 1.1rem; }
  .hero-ctas { margin-bottom: 52px; }
  section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
