/* ==========================================================================
   Kast Klimmers - assets/css/main.css
   Vanilla, mobile-first CSS. No frameworks, no build step.
   Palette: warm greens, earth tones and cream.
   ========================================================================== */

/* ---------- 1. Design tokens --------------------------------------------- */

:root {
  --bg: #faf6ee;
  --surface: #ffffff;
  --surface-warm: #fffdf6;
  --ink: #24312a;
  --muted: #5a6a5f;
  --line: #e6ddc8;

  --green-950: #152a1e;
  --green-900: #1e3a2a;
  --green-700: #2f5d43;
  --green-600: #3e7a54;
  --green-500: #5da471;
  --green-100: #dfeedd;
  --green-50: #edf4ea;

  --cream: #f4ead8;
  --sand: #f1e7d2;
  --earth: #8a6f4d;
  --bark: #6b5138;
  --amber: #c97b3d;

  --radius: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(21, 42, 30, 0.06);
  --shadow-md: 0 14px 34px rgba(21, 42, 30, 0.12);

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

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- 2. Base & reset ---------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* Offset for the sticky header when jumping to an anchor. */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

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

a {
  color: var(--green-600);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-700);
}

svg {
  display: block;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

::selection {
  background: var(--green-100);
  color: var(--green-950);
}

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

/* ---------- 3. Utilities -------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}

.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: var(--green-950);
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 1.1rem auto 0;
  border-radius: 2px;
  background: var(--amber);
}

.section-head .lead {
  margin-top: 1rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--earth);
}

.lead {
  font-size: 1.125rem;
}

/* ---------- 4. Buttons ---------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background-color: var(--green-700);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--green-900);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--green-700);
  color: var(--green-700);
}

.btn-secondary:hover {
  background-color: var(--green-50);
  color: var(--green-900);
  transform: translateY(-1px);
}

/* ---------- 5. Scroll reveal ---------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger cards inside grids. */
.steps-grid > :nth-child(2),
.species-grid > :nth-child(2),
.species-grid > :nth-child(5) {
  transition-delay: 0.08s;
}

.steps-grid > :nth-child(3),
.species-grid > :nth-child(3),
.species-grid > :nth-child(6) {
  transition-delay: 0.16s;
}

.species-grid > :nth-child(4) {
  transition-delay: 0.24s;
}

/* ---------- 6. Header & navigation ---------------------------------------- */

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  background: var(--green-900);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.75rem;
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header:has(.site-nav.open) {
  background-color: rgba(250, 246, 238, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(36, 49, 42, 0.07), 0 10px 26px rgba(21, 42, 30, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-950);
  text-decoration: none;
}

.brand:hover {
  color: var(--green-700);
}

.brand-mark {
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--green-700);
  background-color: var(--green-50);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.25rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 0.7rem 0.9rem;
  }

  .nav-cta {
    margin: 0.35rem 0 0;
  }
}

/* ---------- 7. Hero -------------------------------------------------------- */

.hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem);
  background: radial-gradient(900px 480px at 88% 0%,
    rgba(93, 164, 113, 0.16),
    transparent 65%);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-copy h1 {
  font-size: clamp(2.05rem, 4.6vw, 3.3rem);
  font-weight: 800;
  color: var(--green-950);
}

.hero-copy .lead {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

.hero-art {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(62, 122, 84, 0.14);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.hero-art picture {
  display: block;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

/* Subtle bottom shading keeps the floating badge readable on the photo. */
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 42, 30, 0) 62%, rgba(21, 42, 30, 0.22) 100%);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  left: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem 0.55rem 0.75rem;
  background-color: var(--surface);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-900);
}

.hero-badge svg {
  width: 22px;
  height: 22px;
  color: var(--earth);
}

/* ---------- 8. Hoe het werkt ----------------------------------------------- */

.steps-grid {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
  padding: 2rem 1.75rem;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background-color: var(--green-700);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.step-card h3 {
  font-size: 1.3rem;
  color: var(--green-950);
}

.step-text {
  color: var(--muted);
}

.step-text p {
  margin: 0;
}

/* ---------- 9. Pull quote --------------------------------------------------- */

.quote-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
}

.quote-leaf {
  position: absolute;
  width: 230px;
  height: 230px;
  fill: var(--cream);
  opacity: 0.08;
}

.quote-leaf--left {
  top: -50px;
  left: -50px;
  transform: rotate(155deg);
}

.quote-leaf--right {
  right: -50px;
  bottom: -50px;
  transform: rotate(-25deg);
}

.pull-quote {
  position: relative;
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
}

.pull-quote p {
  margin: 0;
  font-size: clamp(1.3rem, 2.7vw, 1.9rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--cream);
}

.pull-quote::before {
  content: "\201C";
  display: block;
  margin-bottom: 0.5rem;
  font-size: 4.5rem;
  line-height: 0.6;
  font-weight: 700;
  color: var(--green-500);
}

/* ---------- 10. Vogelsoorten ------------------------------------------------ */

.species {
  background-color: var(--green-50);
}

.species-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .species-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .species-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bird-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.75rem;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bird-card:hover {
  transform: translateY(-4px);
  border-color: #d8cbaa;
  box-shadow: var(--shadow-md);
}

.bird-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background-color: var(--green-50);
  color: var(--green-700);
}

.bird-icon svg {
  width: 54px;
  height: 54px;
}

.bird-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Species with a photo: the photo is the card background and the text is
   revealed on hover (always visible without hover support, e.g. touch). */
.bird-card-photo {
  min-height: 300px;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}

.bird-card-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgb(20 38 28 / 0.3), rgb(20 38 28 / 0.95));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bird-card-photo:hover::before {
  opacity: 1;
}

.bird-card-photo .bird-card-body {
  position: relative;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bird-card-photo:hover .bird-card-body {
  opacity: 1;
}

.bird-card-photo .bird-card-body h3 {
  color: var(--cream);
}

.bird-card-photo .bird-facts dt {
  color: #d8cbaa;
}

.bird-card-photo .bird-facts dd {
  color: rgb(255 255 255 / 0.85);
}

@media (hover: none) {
  .bird-card-photo::before,
  .bird-card-photo .bird-card-body {
    opacity: 1;
  }
}

.bird-card:nth-child(3n + 2) .bird-icon {
  background-color: var(--cream);
  color: var(--bark);
}

.bird-card:nth-child(3n) .bird-icon {
  background-color: var(--green-100);
  color: var(--green-900);
}

.height-badge {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background-color: var(--green-900);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.height-badge svg {
  width: 11px;
  height: 11px;
}

.bird-card h3 {
  font-size: 1.35rem;
  color: var(--green-950);
}

.bird-facts {
  margin: 0;
}

.bird-facts dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--earth);
}

.bird-facts dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.species-note {
  margin: 1.6rem auto 0;
  max-width: 60ch;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.species-note strong {
  color: var(--earth);
}

/* ---------- 10a. Galerij ---------------------------------------------------- */

.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Stagger the tiles when they scroll into view. */
.gallery-grid > :nth-child(3n + 2) {
  transition-delay: 0.08s;
}

.gallery-grid > :nth-child(3n + 3) {
  transition-delay: 0.16s;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: #d8cbaa;
  box-shadow: var(--shadow-md);
}

.gallery-item picture {
  display: block;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  padding: 0.85rem 1.1rem 1rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--muted);
}

/* Lightbox overlay. */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(1rem, 3vw, 2.5rem);
  border: none;
  background-color: rgba(21, 42, 30, 0.94);
  color: #fff;
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background-color: rgba(21, 42, 30, 0.55);
}

.lightbox-figure {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin: 0;
  max-width: min(100%, 1200px);
}

.lightbox-picture img {
  display: block;
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.lightbox-caption {
  margin: 0;
  padding: 0 3rem;
  text-align: center;
  font-size: 0.975rem;
  color: var(--cream);
}

.lightbox-caption:empty {
  display: none;
}

.lightbox-btn {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid rgba(244, 234, 216, 0.4);
  border-radius: 50%;
  background-color: rgba(21, 42, 30, 0.55);
  color: var(--cream);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.lightbox-btn:hover {
  background-color: rgba(47, 93, 67, 0.9);
  border-color: var(--cream);
  color: #fff;
}

.lightbox-btn svg {
  width: 20px;
  height: 20px;
}

.lightbox-close {
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: clamp(1rem, 3vw, 2rem);
}

.lightbox-next {
  right: clamp(1rem, 3vw, 2rem);
}

/* ---------- 11. Contact ----------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 980px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .contact-copy {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.contact-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: var(--green-950);
}

.contact-copy .lead {
  margin-top: 1rem;
  color: var(--muted);
}

.contact-links {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-links li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--green-50);
  color: var(--green-700);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--earth);
}

.contact-links a {
  font-weight: 600;
}

.contact-alt {
  margin-top: 1.1rem;
  font-size: 0.925rem;
  color: var(--muted);
}

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field-full {
    grid-column: 1 / -1;
  }
}

.field label,
.field legend {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.req {
  color: var(--amber);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background-color: var(--surface-warm);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(62, 122, 84, 0.18);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6a5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}

.field ::placeholder {
  color: #9aa79d;
}

.field-checkboxes {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}

.checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  accent-color: var(--green-600);
  cursor: pointer;
}

/* Cloudflare Turnstile widget inside the contact form. */
.contact-form .cf-turnstile {
  margin-top: 1.4rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Honeypot field: kept off-screen so bots fill it and visitors never see it. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status.is-error {
  color: var(--amber);
}

/* ---------- 12. Closing ------------------------------------------------------ */

.closing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  background-color: var(--sand);
  text-align: center;
}

.closing-leaf {
  position: absolute;
  width: 200px;
  height: 200px;
  fill: var(--earth);
  opacity: 0.1;
}

.closing-leaf--left {
  top: -45px;
  left: -45px;
  transform: rotate(155deg);
}

.closing-leaf--right {
  right: -45px;
  bottom: -45px;
  transform: rotate(-25deg);
}

.closing-inner {
  position: relative;
}

.closing-nest {
  width: 46px;
  height: 46px;
  margin: 0 auto 1rem;
  color: var(--earth);
}

.closing h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  color: var(--green-950);
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

/* ---------- 13. Footer -------------------------------------------------------- */

.site-footer {
  padding: 3rem 0 1.75rem;
  background-color: var(--green-950);
  color: #cfe0d2;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.footer-tag {
  max-width: 26rem;
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: rgba(207, 224, 210, 0.75);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contact a {
  color: var(--cream);
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid rgba(244, 234, 216, 0.4);
  border-radius: 999px;
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

@media (min-width: 760px) {
  .to-top {
    align-self: center;
  }
}

.to-top:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--cream);
  color: #fff;
}

.to-top svg {
  width: 14px;
  height: 14px;
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 234, 216, 0.16);
  font-size: 0.85rem;
  color: rgba(207, 224, 210, 0.65);
}

.footer-bottom p {
  margin: 0;
}

/* ---------- 14. Reduced motion ---------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .step-card,
  .bird-card,
  .gallery-item,
  .gallery-item img {
    transition: none;
  }

  .btn:hover,
  .step-card:hover,
  .bird-card:hover,
  .gallery-item:hover,
  .gallery-item:hover img {
    transform: none;
  }
}
