/* =====================================================================
   Villa Calpe — Stylesheet
   Costa Blanca vakantievilla — Ibiza / mediterrane stijl
   Kleurenpalet & typografie volgens briefing
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Kleurenpalet (uit briefing) */
  --olive:      #606721;  /* zuiders groen, donker */
  --sage:       #8F9261;  /* zacht groen */
  --gold:       #DB9929;  /* warm goud */
  --terra:      #CD7029;  /* terracotta */
  --coral:      #C77875;  /* zacht koraal */
  --sand:       #C8A89C;  /* zandkleur */
  --teal:       #45A6AC;  /* azuurblauw / teal (hoofdaccent) */
  --teal-light: #8CC8D1;  /* licht teal */
  --aqua:       #C9E2E3;  /* zacht aqua */

  /* Afgeleide tinten */
  --teal-dark:  #2f7e84;
  --terra-dark: #b15c1f;
  --ink:        #34371f;  /* donker olijf — hoofdtekst */
  --ink-soft:   #5c5f47;  /* zachte tekst */
  --cream:      #fbfaf6;  /* warme achtergrond */
  --cream-2:    #f3efe6;  /* iets dieper crème */

  /* Typografie */
  --font-title: 'Marcellus', Georgia, 'Times New Roman', serif;
  --font-body:  'Montserrat', system-ui, -apple-system, sans-serif;

  /* Maatvoering */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --shadow-sm: 0 2px 14px rgba(52, 55, 31, .08);
  --shadow-md: 0 14px 40px rgba(52, 55, 31, .14);
  --header-h: 132px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset & basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .4em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1.2em; text-wrap: pretty; }
strong { font-weight: 500; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .88rem;
  color: var(--terra);
  margin: 0 0 1.1rem;
  display: inline-block;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--tint { background: var(--cream-2); }
.section--aqua { background: linear-gradient(180deg, var(--aqua) 0%, #e6f1f1 100%); }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-soft); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 70px); }
.section--tint .section-head, .center .section-head { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  padding: 1.05em 2.2em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s var(--ease);
  background: var(--terra);
  color: #fff;
  line-height: 1;
}
.btn:hover { background: var(--terra-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--teal { background: var(--teal); }
.btn--teal:hover { background: var(--teal-dark); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); color: #fff; backdrop-filter: blur(4px); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--lg { padding: 1.2em 2.8em; font-size: .82rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0 24px;
  transition: background .45s var(--ease), padding .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.site-header__social { display: flex; gap: 14px; align-items: center; }
.site-header__social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  transition: all .3s var(--ease);
}
.site-header__social a:hover { background: #fff; color: var(--teal); border-color: #fff; }
.site-header__social svg { width: 15px; height: 15px; }

.site-header__logo { text-align: center; }
.site-header__logo a { display: inline-flex; color: #fff; }
.site-header__logo .logo-mark {
  display: block;
  height: 95px;
  width: auto;
  color: currentColor;
  transition: height .45s var(--ease);
}
.site-header__logo .logo-mark path,
.site-header__logo .logo-mark text,
.site-header__logo .logo-mark tspan { transition: none; }
.site-header__cta { justify-self: end; }

.site-nav { grid-column: 1 / -1; margin-top: 14px; }
.site-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(18px, 2.4vw, 38px); }
.site-nav a {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 4px 0;
  position: relative;
  opacity: .92;
  transition: opacity .3s;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: center;
  transition: transform .35s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Sticky / scrolled state — volle kleur */
.site-header.is-stuck {
  background: var(--cream);
  padding: 7px 0 18px;
  box-shadow: 0 4px 22px rgba(52,55,31,.10);
}
.site-header.is-stuck .site-header__logo a,
.site-header.is-stuck .site-nav a { color: var(--ink); }
.site-header.is-stuck .site-header__logo .logo-sub { color: var(--terra); opacity: 1; }
.site-header.is-stuck .site-header__social a { border-color: rgba(52,55,31,.25); color: var(--ink); }
.site-header.is-stuck .site-header__social a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.site-header.is-stuck .site-nav { margin-top: -2px; }
.site-header.is-stuck .site-header__logo .logo-mark { height: 65px; }

/* Pages without a hero get solid header immediately */
.site-header--solid {
  position: sticky;
  background: var(--cream);
  box-shadow: 0 4px 22px rgba(52,55,31,.08);
}
.site-header--solid .site-header__logo a,
.site-header--solid .site-nav a { color: var(--ink); }
.site-header--solid .site-header__logo .logo-sub { color: var(--terra); opacity: 1; }
.site-header--solid .site-header__social a { border-color: rgba(52,55,31,.25); color: var(--ink); }
.site-header--solid .site-header__social a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  position: absolute; top: 20px; right: var(--gutter);
  background: none; border: 0; cursor: pointer; padding: 8px;
  z-index: 110;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; transition: .3s var(--ease); }
.site-header.is-stuck .nav-toggle span,
.site-header--solid .nav-toggle span { background: var(--ink); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(52,55,31,.5) 0%, rgba(52,55,31,.34) 45%, rgba(47,126,132,.55) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 1040px; padding: 0 var(--gutter); }
.hero__content h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); text-align: center; }
.hero__content .eyebrow { color: #fff; opacity: .92; }
.hero__content p { font-size: 1.2rem; font-weight: 300; max-width: 36ch; margin: 0 auto 2em; color: rgba(255,255,255,.95); }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: calc(64vh - 150px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(52,55,31,.25), rgba(52,55,31,.62)); }
.page-hero__content { position: relative; z-index: 2; padding-bottom: clamp(40px, 7vw, 80px); }
.page-hero__content h1 { color: #fff; }
.page-hero__content p { color: rgba(255,255,255,.92); max-width: 52ch; font-size: 1.12rem; }
.page-hero .eyebrow { color: #fff; background: var(--teal-light); padding: .5em .9em; border-radius: 4px; white-space: nowrap; }

/* Scroll arrow */
.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .64rem; letter-spacing: .3em; text-transform: uppercase;
  background: none; border: 0;
}
.scroll-cue svg { width: 22px; height: 22px; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: .8; } 50% { transform: translateY(9px); opacity: 1; } }

/* =====================================================================
   CONTENT BLOCKS (liggende blokken: foto + tekst)
   ===================================================================== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(36px, 6vw, 84px);
}
.feature + .feature { margin-top: clamp(60px, 9vw, 120px); }
.feature--reverse .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.feature__media .tag {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(251,250,246,.92); color: var(--ink);
  padding: 8px 16px; border-radius: 2px; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.feature__body h2 { margin-bottom: .55em; }

/* Block links (CTA cards naar subpaginas) */
.block-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.block-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); min-height: 320px;
  color: #fff; box-shadow: var(--shadow-sm);
}
.block-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.block-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(52,55,31,.05) 30%, rgba(52,55,31,.78)); }
.block-card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 26px 70px 26px 24px; }
.block-card h3 { color: #fff; margin-bottom: .25em; }
.block-card .more { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; display: block; opacity: .9; }
.block-card__arrow { position: absolute; right: 22px; bottom: 22px; z-index: 3; width: 34px; height: 34px; color: #fff; transition: transform .4s var(--ease); }
.block-card:hover img { transform: scale(1.06); }
.block-card:hover .block-card__arrow { transform: translateX(5px); }

/* =====================================================================
   USP
   ===================================================================== */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.usp {
  text-align: center; padding: 42px 26px;
  background: var(--cream); border: 1px solid rgba(143,146,97,.22);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.usp:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.usp svg { box-sizing: border-box; width: 84px; height: 84px; padding: 19px; background: var(--teal); border-radius: 50%; stroke: #fff; fill: none; stroke-width: 1.25; margin: 0 auto 22px; display: block; }
.usp h3 { font-size: 1.25rem; margin-bottom: .2em; }
.usp p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* Info list (praktisch / specs) */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.spec {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 24px; background: var(--cream); border-radius: var(--radius);
  border: 1px solid rgba(143,146,97,.2);
}
.spec svg { box-sizing: border-box; width: 48px; height: 48px; padding: 11px; background: var(--terra); border-radius: 50%; stroke: #fff; fill: none; stroke-width: 1.5; flex: none; }
.spec strong { display: block; font-weight: 500; font-size: 1.02rem; }
.spec span { font-size: .86rem; color: var(--ink-soft); }

.distance-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 2px; background: rgba(143,146,97,.18); border-radius: var(--radius); overflow: hidden; }
.distance-list--3 { grid-template-columns: repeat(3, 1fr); }
.distance-list--2 { grid-template-columns: repeat(2, 1fr); }
.distance-list li { background: var(--cream); padding: 26px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.distance-list .place { font-family: var(--font-title); font-size: 1.15rem; }
.distance-list .km { color: var(--terra); font-weight: 500; white-space: nowrap; }

/* =====================================================================
   SLIDER (homepage fotoslider)
   ===================================================================== */
.slider { position: relative; max-width: 1100px; margin: 0 auto; }
.slider__viewport { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.slider__track { display: flex; transition: transform .65s var(--ease); }
.slider__slide { flex: 0 0 100%; }
.slider__slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(251,250,246,.9); border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: all .3s var(--ease);
}
.slider__btn:hover { background: var(--teal); color: #fff; }
.slider__btn svg { width: 20px; height: 20px; }
.slider__btn--prev { left: -10px; }
.slider__btn--next { right: -10px; }
.slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.slider__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--sand); cursor: pointer; padding: 0; transition: .3s; }
.slider__dots button.is-active { background: var(--terra); transform: scale(1.3); }

/* =====================================================================
   GALLERY (masonry) + LIGHTBOX
   ===================================================================== */
.masonry { columns: 3; column-gap: 16px; }
.masonry__item { display: block; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; margin-bottom: 16px; cursor: pointer; position: relative; overflow: hidden; border-radius: var(--radius); }
.masonry__item img { width: 100%; display: block; transition: transform .7s var(--ease); }
.masonry__item::after { content: ''; position: absolute; inset: 0; background: rgba(47,126,132,0); transition: background .4s; }
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item:hover::after { background: rgba(47,126,132,.18); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(33,35,20,.94);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox img { max-width: 88vw; max-height: 82vh; object-fit: contain; border-radius: 2px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
  color: #fff; width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: all .3s var(--ease);
}
.lightbox__btn:hover { background: var(--teal); border-color: var(--teal); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 26px; right: 26px; }
.lightbox__prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .8rem; letter-spacing: .2em; }

/* =====================================================================
   CTA band
   ===================================================================== */
.cta-band {
  position: relative; text-align: center; color: #fff; overflow: hidden;
  padding: clamp(70px, 11vw, 150px) 0;
}
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(47,126,132,.78), rgba(52,55,31,.82)); }
.cta-band__inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; padding: 0 var(--gutter); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 1.12rem; margin-bottom: 2em; }

/* =====================================================================
   FORM
   ===================================================================== */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 70px); align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.field label .req { color: var(--terra); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-weight: 300; font-size: 1rem;
  padding: 13px 15px; border: 1px solid rgba(143,146,97,.4);
  border-radius: var(--radius); background: #fff; color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(69,166,172,.16);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--coral); }
.field__error { color: var(--coral); font-size: .76rem; display: none; }
.field.has-error .field__error { display: block; }

.form-note { font-size: .82rem; color: var(--ink-soft); grid-column: 1/-1; }
.form-msg { grid-column: 1/-1; padding: 16px 18px; border-radius: var(--radius); display: none; font-size: .95rem; }
.form-msg.is-visible { display: block; }
.form-msg--ok { background: var(--aqua); color: var(--teal-dark); border: 1px solid var(--teal-light); }
.form-msg--err { background: #f7e3e0; color: #9c4a44; border: 1px solid var(--coral); }

/* Duidelijk, wat hoger bevestigingskader dat het formulier vervangt na verzenden */
.form-success {
  grid-column: 1/-1;
  text-align: center;
  padding: clamp(36px, 5vw, 56px) clamp(22px, 4vw, 44px);
  background: var(--aqua);
  border: 1px solid var(--teal-light);
  border-radius: var(--radius);
}
.form-success__icon { width: 58px; height: 58px; color: var(--teal); margin-bottom: 12px; }
.form-success h3 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 0 0 .45em; color: var(--ink); }
.form-success p { margin: 0 auto; max-width: 50ch; color: var(--ink-soft); font-size: 1.06rem; line-height: 1.65; }

.contact-aside { background: var(--cream-2); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.contact-aside h3 { margin-bottom: .8em; }
.contact-aside ul li { padding: 10px 0; border-bottom: 1px solid rgba(143,146,97,.2); display: flex; gap: 12px; align-items: center; }
.contact-aside ul li:last-child { border-bottom: 0; }
.contact-aside svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 1.5; flex: none; }

/* =====================================================================
   TODO / aandachtspunt highlight (zichtbaar voor eigenaar)
   ===================================================================== */
.todo-note {
  background: #fff7e6; border: 1px dashed var(--gold);
  border-radius: var(--radius); padding: 16px 20px; margin: 24px 0;
  font-size: .88rem; color: #8a5a12;
}
.todo-note strong { color: var(--terra-dark); letter-spacing: .04em; }

/* =====================================================================
   PROSE (privacy / cookie pages)
   ===================================================================== */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul.bullets { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2em; }
.prose ul.bullets li { padding: 3px 0; }

/* Rich content sections (leuke plaatsen / regio) */
.rich-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.rich-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.rich-card img { aspect-ratio: 3/2; object-fit: cover; }
.rich-card__body { padding: 26px 26px 30px; }
.rich-card__body h3 { font-size: 1.35rem; margin-bottom: .35em; }
.rich-card__body p { font-size: .94rem; color: var(--ink-soft); margin: 0; }
.cat-label { color: var(--terra); letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; margin-bottom: .6em; display: block; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: clamp(54px, 7vw, 88px) 0 32px; }
.site-footer a { color: rgba(255,255,255,.8); transition: color .3s; }
.site-footer a:hover { color: var(--teal-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer h4 { color: #fff; font-size: 1.05rem; letter-spacing: .1em; margin-bottom: 1.1em; }
.footer-brand .logo-name { font-family: var(--font-title); font-size: 1.5rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer-brand .footer-logo { display: block; height: 83px; width: auto; color: #fff; margin-bottom: 14px; }
.footer-brand .logo-sub { font-size: .62rem; letter-spacing: .4em; text-transform: uppercase; color: var(--teal-light); display: block; margin-top: 6px; }
.footer-brand p { margin-top: 18px; font-size: .92rem; max-width: 34ch; }
.footer-list li { padding: 7px 0; font-size: .92rem; display: flex; align-items: center; gap: 10px; }
.footer-list svg { width: 18px; height: 18px; stroke: var(--teal-light); fill: none; stroke-width: 1.6; flex: none; }
.footer-list a { display: inline; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: grid; place-items: center; }
.footer-social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.footer-social svg { width: 15px; height: 15px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; font-size: .8rem; color: rgba(255,255,255,.55); }
.footer-bottom a { font-size: .8rem; }

/* =====================================================================
   ANIMATIONS (reveal on scroll)
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .form-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .masonry { columns: 2; }
  .block-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; }
  .site-header { padding: 12px 0; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-header__logo { text-align: left; }
  .site-header__logo .logo-mark,
  .site-header.is-stuck .site-header__logo .logo-mark { height: 68px; }
  .site-header__social { display: none; }
  .site-header__cta { display: none; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: var(--ink); margin: 0; padding: 92px 32px 32px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    display: flex; flex-direction: column;
  }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-nav a { color: #fff !important; font-size: 1rem; padding: 12px 0; width: 100%; }
  body.nav-open .site-nav { transform: translateX(0); }
  body.nav-open .nav-toggle span { background: #fff; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-cta { display: block; margin-top: auto; }
}
@media (min-width: 821px) { .mobile-cta { display: none; } }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__content h1 span { white-space: normal; }
  .contact-form { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .block-grid { grid-template-columns: 1fr; }
  .distance-list--3 { grid-template-columns: repeat(2, 1fr); }
  .distance-list--2 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
