/* ============================================================
   MEADOWGOLD CREAMERY — Design System
   Fresh grass greens, cream whites, butter & sky accents.
   Framework-free: HTML5 + CSS3 + vanilla JS.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette */
  --cream-50: #fffcf5;
  --cream-100: #faf4e6;
  --cream-200: #f2e8d2;
  --cream-300: #e8daba;

  --green-950: #1c2a15;
  --green-900: #26391d;
  --green-800: #324a26;
  --green-600: #4c7a3c;
  --green-500: #5f9b3e;
  --green-400: #7cb85a;
  --green-200: #d7e9c4;
  --green-100: #eaf3df;

  --butter-300: #f7d455;
  --butter-400: #f3c431;
  --butter-500: #e2a91e;
  --butter-100: #fdf0c9;

  --sky-300: #a9d9f0;
  --sky-500: #5fa8cf;

  --ink-900: #1e2a19;
  --ink-600: #46503d;
  --ink-400: #6e7863;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 75rem;
  --container-narrow: 52rem;
  --gutter: clamp(1.1rem, 3vw, 1.75rem);

  /* Radii — wholesome rounded warmth */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  /* Depth */
  --shadow-sm: 0 2px 10px rgba(38, 57, 29, 0.08);
  --shadow-md: 0 10px 30px rgba(38, 57, 29, 0.12);
  --shadow-lg: 0 24px 60px rgba(38, 57, 29, 0.16);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.9, 0.32, 1);
  --dur: 0.55s;

  /* Header */
  --header-h: 4.75rem;
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-600);
  background-color: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--green-600);
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}

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

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--butter-400);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

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

/* ---------- 3. Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--green-950);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--ink-600);
}

.italic-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--green-600);
}

/* ---------- 4. Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section-tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section-soft {
  background-color: var(--cream-100);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  border: 1px solid var(--green-200);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
}

.eyebrow::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--butter-400);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.2rem, 4.5vw, 3.5rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head .lead {
  margin-top: 0.9rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: clamp(1.25rem, 2.6vw, 2rem);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px);
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(76, 122, 60, 0.32);
}

.btn-primary:hover {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(95, 155, 62, 0.38);
}

.btn-butter {
  background: var(--butter-400);
  color: var(--green-950);
  box-shadow: 0 12px 26px rgba(243, 196, 49, 0.38);
}

.btn-butter:hover {
  background: var(--butter-300);
  color: var(--green-950);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-200);
}

.btn-ghost-dark:hover {
  background: var(--green-100);
  color: var(--green-800);
}

/* ---------- 6. Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
}

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

.d1 { --d: 0.1s; }
.d2 { --d: 0.2s; }
.d3 { --d: 0.3s; }
.d4 { --d: 0.4s; }

/* ---------- 7. Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, var(--butter-400), var(--butter-300) 55%, var(--butter-400));
  color: var(--green-950);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  padding: 0.5rem 1rem;
}

.announce a {
  color: var(--green-900);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}

.announce a:hover {
  color: var(--white);
}

/* ---------- 8. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 252, 245, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cream-200);
}

.nav-wrap {
  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;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 40% 60% 50% 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  display: inline-grid;
  place-items: center;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12);
}

.brand-mark svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--cream-50);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--green-950);
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-name em {
  font-style: italic;
  color: var(--green-600);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  display: block;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--ink-600);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  position: relative;
}

.nav-link:hover {
  color: var(--green-600);
  background: var(--green-100);
}

.nav-link.active {
  color: var(--green-800);
  background: var(--green-100);
}

.nav-cta-item {
  margin-left: 0.6rem;
}

.nav-cta {
  padding: 0.7rem 1.35rem;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--cream-300);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--green-900);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 54rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream-50);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
  transform: scale(1.02);
}

.hero-bg img.active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(28, 42, 21, 0.82) 0%, rgba(38, 57, 29, 0.58) 48%, rgba(28, 42, 21, 0.18) 100%),
    radial-gradient(120% 90% at 85% 20%, rgba(95, 155, 62, 0.35), transparent 55%);
}

.hero-content {
  max-width: 44rem;
  padding-block: 6rem 4.5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--butter-300);
  background: rgba(255, 252, 245, 0.12);
  border: 1px solid rgba(255, 252, 245, 0.3);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-kicker .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--butter-400);
}

.hero h1 {
  color: var(--cream-50);
  margin: 1.4rem 0 1.1rem;
  font-weight: 600;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--butter-300);
}

.hero .lead {
  color: rgba(255, 252, 245, 0.88);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 252, 245, 0.82);
}

.hero-trust .stars {
  color: var(--butter-300);
  letter-spacing: 0.12em;
}

.hero-trust span + span {
  position: relative;
}

.hero-trust span + span::before {
  content: '';
  position: absolute;
  left: -0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 252, 245, 0.55);
}

.hero-chip {
  position: absolute;
  right: var(--gutter);
  bottom: 2.5rem;
  max-width: 20rem;
  background: rgba(255, 252, 245, 0.14);
  border: 1px solid rgba(255, 252, 245, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  color: var(--cream-50);
  display: none;
}

.hero-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--butter-300);
}

.hero-chip small {
  font-size: 0.85rem;
  color: rgba(255, 252, 245, 0.85);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 252, 245, 0.75);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll .mouse {
  width: 1.5rem;
  height: 2.4rem;
  border: 2px solid rgba(255, 252, 245, 0.6);
  border-radius: var(--radius-pill);
  position: relative;
}

.hero-scroll .mouse::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0.4rem;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--butter-300);
  animation: scroll-dot 1.8s infinite;
}

@keyframes scroll-dot {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 0.8rem); }
  100% { opacity: 0; transform: translate(-50%, 0.8rem); }
}

/* ---------- 10. Marquee ticker ---------- */
.marquee {
  background: var(--butter-400);
  overflow: hidden;
  padding: 0.9rem 0;
  border-block: 3px solid var(--green-950);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-950);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.marquee-track span::before {
  content: '✦';
  margin-right: 2.5rem;
  color: var(--green-800);
  font-size: 0.8rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 11. Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

.card-media {
  position: relative;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.card:hover .card-media img {
  transform: scale(1.06);
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.97rem;
}

/* Feature / process cards */
.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

.feature-card .icon-chip {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 40% 60% 50% 50%;
  background: var(--green-100);
  border: 1px solid var(--green-200);
  margin-bottom: 1.1rem;
}

.feature-card .icon-chip img {
  width: 2rem;
  height: 2rem;
}

.feature-card .icon-chip svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: var(--green-600);
}

.feature-card .step-no {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--cream-300);
  line-height: 1;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.97rem;
}

.feature-card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--green-600);
}

.feature-card .more svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s var(--ease-out);
}

.feature-card:hover .more svg {
  transform: translateX(4px);
}

/* Image-feature cards (process with photo) */
.img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.img-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.img-card:hover img {
  transform: scale(1.06);
}

.img-card .img-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem;
  background: linear-gradient(transparent, rgba(28, 42, 21, 0.85));
  color: var(--cream-50);
}

.img-card h3 {
  color: var(--cream-50);
  font-size: 1.35rem;
}

.img-card p {
  font-size: 0.92rem;
  color: rgba(255, 252, 245, 0.85);
}

.img-card .step-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  background: var(--butter-400);
  color: var(--green-950);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}

/* Product cards */
.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-media {
  position: relative;
  overflow: hidden;
  background: var(--cream-100);
}

.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-media img {
  transform: scale(1.07);
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--green-600);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
}

.product-tag.butter {
  background: var(--butter-400);
  color: var(--green-950);
}

.product-body {
  padding: 1.4rem;
}

.product-body .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-body .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--green-700);
  color: var(--green-800);
}

.product-body .price small {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-400);
}

.btn-add {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: none;
  background: var(--green-600);
  color: var(--white);
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.btn-add svg {
  width: 1.1rem;
  height: 1.1rem;
}

.btn-add:hover {
  background: var(--butter-400);
  color: var(--green-950);
  transform: scale(1.1);
}

/* Team cards */
.team-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

.team-photo {
  position: relative;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.team-card:hover .team-photo img {
  transform: scale(1.06);
}

.team-body {
  padding: 1.4rem 1.4rem 1.6rem;
}

.team-body h3 {
  font-size: 1.35rem;
}

.team-body .role {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin: 0.25rem 0 0.7rem;
}

.team-body p {
  font-size: 0.92rem;
}

/* Testimonial cards */
.quote-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

.quote-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 0.6;
  color: var(--butter-400);
}

.quote-card .stars {
  color: var(--butter-500);
  letter-spacing: 0.1em;
}

.quote-card blockquote {
  font-size: 1rem;
  color: var(--ink-600);
}

.quote-card .quotee {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
}

.quote-card .quotee img {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green-200);
}

.quote-card .quotee strong {
  display: block;
  color: var(--green-950);
  font-size: 0.98rem;
}

.quote-card .quotee small {
  color: var(--ink-400);
  font-size: 0.84rem;
}

/* ---------- 12. Split / story layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media .img-main {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  width: 88%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.split-media .img-float {
  position: absolute;
  right: 0;
  bottom: -2.2rem;
  width: 46%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 6px solid var(--cream-50);
  box-shadow: var(--shadow-md);
}

.badge-circle {
  position: absolute;
  top: -1.6rem;
  left: -1.2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: var(--butter-400);
  border: 4px solid var(--cream-50);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-950);
  line-height: 1.05;
  transform: rotate(-8deg);
}

.badge-circle strong {
  font-size: 1.55rem;
}

.badge-circle small {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 800;
}

.check-list {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--ink-600);
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c7a3c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 60% no-repeat;
}

/* ---------- 13. Stats band ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--green-900), var(--green-800) 55%, var(--green-600));
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 90% 10%, rgba(247, 212, 85, 0.16), transparent 60%);
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--butter-300);
  line-height: 1.1;
}

.stat span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 252, 245, 0.85);
}

.stat img {
  width: 1.2rem;
  height: 1.2rem;
  filter: brightness(0) invert(1);
}

/* ---------- 14. CTA band ---------- */
.cta-band {
  background:
    linear-gradient(rgba(28, 42, 21, 0.72), rgba(28, 42, 21, 0.72)),
    url('../img/banner-2.jpg') center / cover no-repeat;
  border-radius: var(--radius-xl);
  color: var(--cream-50);
  text-align: center;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem);
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: var(--cream-50);
  max-width: 40rem;
  margin-inline: auto;
}

.cta-band p {
  max-width: 34rem;
  margin: 1rem auto 2rem;
  color: rgba(255, 252, 245, 0.85);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

/* ---------- 15. Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 0.9fr;
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

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

.gallery-item .gallery-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem;
  background: linear-gradient(transparent, rgba(28, 42, 21, 0.82));
  color: var(--cream-50);
  font-weight: 800;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.gallery-item:hover .gallery-cap {
  opacity: 1;
  transform: none;
}

.gallery-item.tall { grid-row: span 2; }

/* ---------- 16. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    linear-gradient(rgba(28, 42, 21, 0.78), rgba(38, 57, 29, 0.72)),
    url('../img/banner.jpg') center / cover no-repeat;
  color: var(--cream-50);
  padding-block: clamp(4.5rem, 9vw, 7rem);
  text-align: center;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  left: -4rem;
  bottom: -6rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 212, 85, 0.35), transparent 65%);
}

.page-hero h1 {
  color: var(--cream-50);
  margin-top: 1rem;
}

.page-hero .lead {
  max-width: 36rem;
  margin: 1rem auto 0;
  color: rgba(255, 252, 245, 0.85);
}

.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--butter-300);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crumbs a {
  color: rgba(255, 252, 245, 0.7);
}

.crumbs a:hover {
  color: var(--butter-300);
}

/* ---------- 17. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.info-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.1rem;
}

.info-card .info-icon {
  flex-shrink: 0;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 45% 55% 50% 50%;
  background: var(--green-100);
}

.info-card .info-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: var(--green-600);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.info-card p,
.info-card a {
  font-size: 0.95rem;
  color: var(--ink-600);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

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

.form-field {
  margin-bottom: 1.15rem;
}

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

.form-field label {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--green-950);
  margin-bottom: 0.4rem;
}

.form-field label em {
  color: var(--green-500);
  font-style: normal;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--cream-50);
  border: 2px solid var(--cream-300);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.form-field textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px var(--green-100);
}

.form-ok,
.form-err {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
}

.form-ok {
  display: none;
  background: var(--green-100);
  color: var(--green-800);
  border: 1px solid var(--green-200);
}

.form-err {
  background: #fdecea;
  color: #9c3a2e;
  border: 1px solid #f5cdc8;
}

.form-ok.show,
.form-err.show {
  display: block;
}

/* ---------- 18. Values / pills ---------- */
.value-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--green-100);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--green-800);
}

.value-pill img {
  width: 1.15rem;
  height: 1.15rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- 19. Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: rgba(255, 252, 245, 0.78);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}

.footer-brand .brand-name {
  color: var(--cream-50);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 0.94rem;
}

.footer-col h4 {
  color: var(--cream-50);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: rgba(255, 252, 245, 0.72);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--butter-300);
}

.footer-news p {
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.footer-news .news-form {
  display: flex;
  gap: 0.5rem;
}

.footer-news input {
  flex: 1;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--cream-50);
  background: rgba(255, 252, 245, 0.08);
  border: 1px solid rgba(255, 252, 245, 0.18);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.1rem;
}

.footer-news input::placeholder {
  color: rgba(255, 252, 245, 0.5);
}

.footer-news input:focus {
  outline: none;
  border-color: var(--butter-400);
}

.btn-mini {
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--butter-400);
  color: var(--green-950);
  font-weight: 800;
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.btn-mini:hover {
  background: var(--butter-300);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 252, 245, 0.12);
  padding-block: 1.3rem;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.88rem;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  list-style: none;
}

.footer-bottom a {
  color: rgba(255, 252, 245, 0.6);
  font-size: 0.88rem;
}

.footer-bottom a:hover {
  color: var(--butter-300);
}

/* ---------- 20. Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 70;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: var(--green-600);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out),
    visibility 0.35s, background 0.25s var(--ease-out);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--butter-400);
  color: var(--green-950);
}

.back-to-top svg {
  width: 1.3rem;
  height: 1.3rem;
}

/* ---------- 21. 404 ---------- */
.error-hero {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 4rem;
}

.error-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 1;
  color: var(--green-100);
  position: relative;
  display: inline-block;
}

.error-code::before {
  content: '🥛';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 3.2em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(76, 122, 60, 0.35);
}

.error-hero h1 {
  margin: 1rem 0 0.6rem;
}

.error-hero .lead {
  max-width: 32rem;
  margin-inline: auto;
}

/* ---------- 22. Timeline ---------- */
.timeline {
  display: grid;
  gap: 1.2rem;
  max-width: 46rem;
  margin-inline: auto;
}

.timeline-item {
  display: flex;
  gap: 1.3rem;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.timeline-item .year {
  flex-shrink: 0;
  width: 4.2rem;
  height: 4.2rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-800);
  background: var(--butter-100);
  border: 2px solid var(--butter-300);
  border-radius: 45% 55% 50% 50%;
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.timeline-item p {
  font-size: 0.95rem;
}

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item img { aspect-ratio: 4 / 3; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 30rem; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream-50);
    border-bottom: 1px solid var(--cream-200);
    padding: 0.8rem var(--gutter) 1.2rem;
    gap: 0.3rem;
    box-shadow: var(--shadow-md);
    display: none;
  }

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

  .nav-link {
    padding: 0.8rem 1rem;
  }

  .nav-cta-item {
    margin: 0.6rem 0 0;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-content {
    padding-block: 5rem 4rem;
  }

  .hero-chip {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-bottom .container {
    justify-content: center;
    text-align: center;
  }

  .split-media .img-main {
    width: 100%;
  }

  .split-media .img-float {
    position: static;
    width: 100%;
    margin-top: 1rem;
    border: none;
  }

  .badge-circle {
    left: 0;
    top: -1.2rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---------- 24. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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