/* ===================================================================
   Biofarma Obchod Zahrada — styl „pouštní modernismus“ v měkkých tónech
   levandule / grafitu / máty s terakotovými akcenty.
   =================================================================== */

:root {
  --c-cream: #faf6ec;
  --c-sand-1: #f3ecd9;
  --c-sand-2: #e8dcc0;
  --c-sand-3: #dccda4;
  --c-graphite: #2d2b32;
  --c-graphite-70: rgba(45, 43, 50, 0.7);
  --c-lavender: #8d85b8;
  --c-lavender-dark: #5f5789;
  --c-lavender-light: #e4dff2;
  --c-mint: #9bc3a6;
  --c-mint-dark: #5f8d6d;
  --c-terracotta: #c1613f;
  --c-terracotta-dark: #9a4a2f;
  --c-cream-text: #fbf8f0;

  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: -apple-system, "Segoe UI", system-ui, Roboto, sans-serif;
  --font-mono: "Courier New", ui-monospace, monospace;

  --radius-m: 14px;
  --radius-l: 28px;
  --shadow-paper: 0 1px 2px rgba(45, 43, 50, 0.06), 0 10px 24px -12px rgba(45, 43, 50, 0.25);
  --shadow-paper-lift: 0 4px 10px rgba(45, 43, 50, 0.1), 0 24px 40px -20px rgba(45, 43, 50, 0.32);

  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
input, textarea, select, button { font-family: inherit; }
html, body { overflow-x: hidden; }

body {
  background: var(--c-cream);
  color: var(--c-graphite);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
}

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

:focus-visible {
  outline: 3px solid var(--c-terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-graphite);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: 8px; }

.icon {
  width: 1.3em;
  height: 1.3em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  vertical-align: -0.25em;
}

/* grain overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 300;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--c-graphite); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw + 1rem, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 2.9rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); }
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--c-lavender-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lede { font-size: 1.15rem; color: var(--c-graphite-70); max-width: 42ch; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--c-graphite);
  background: transparent;
  color: var(--c-graphite);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  min-height: 44px;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s ease, border-color 0.35s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-graphite);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(.65,0,.35,1);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }
.btn:hover, .btn:focus-visible { color: var(--c-cream-text); }

.btn-solid {
  background: var(--c-graphite);
  color: var(--c-cream-text);
  border-color: var(--c-graphite);
}
.btn-solid::before { background: var(--c-terracotta); }
.btn-solid:hover, .btn-solid:focus-visible { color: #fff; border-color: var(--c-terracotta); }

.btn-mint { border-color: var(--c-mint-dark); color: var(--c-cream-text); }
.btn-mint::before { background: var(--c-mint-dark); }

.btn-ghost-dark {
  border-color: rgba(255,255,255,0.65);
  color: #fff;
}
.btn-ghost-dark::before { background: #fff; }
.btn-ghost-dark:hover, .btn-ghost-dark:focus-visible { color: var(--c-graphite); }

.btn-small { padding: 10px 18px; font-size: 0.88rem; min-height: 40px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 236, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-sand-3);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--c-graphite);
  flex-shrink: 0;
}
.logo svg { width: 42px; height: 42px; flex-shrink: 0; }
.logo .logo-sub { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-lavender-dark); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--c-terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--c-terracotta-dark); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--c-graphite);
  font-weight: 700;
  min-height: 44px;
}
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--c-terracotta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.cart-count.bump { animation: cartBump 0.45s ease; }
@keyframes cartBump { 0% { transform: scale(1); } 35% { transform: scale(1.4); } 100% { transform: scale(1); } }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    bottom: 0;
    background: var(--c-cream);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
    padding: 28px 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.2rem; padding: 12px 4px; width: 100%; border-bottom: 1px solid var(--c-sand-3); }
  .menu-toggle { display: inline-flex; }
  .menu-toggle .icon-close { display: none; }
  .menu-toggle.is-open .icon-menu { display: none; }
  .menu-toggle.is-open .icon-close { display: inline-block; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-graphite);
  color: var(--c-sand-1);
  margin-top: 96px;
  position: relative;
}
.site-footer a:hover { color: var(--c-mint); }
.footer-top {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer-brand .logo { color: var(--c-cream-text); }
.footer-brand .logo-sub { color: var(--c-mint); }
.footer-brand p { margin-top: 14px; color: rgba(250,246,236,0.65); max-width: 30ch; }
.footer-col h4 { color: var(--c-cream-text); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(250,246,236,0.78); font-size: 0.94rem; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 160px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(250,246,236,0.3);
  background: rgba(250,246,236,0.07);
  color: #fff;
}
.newsletter-form input::placeholder { color: rgba(250,246,236,0.5); }
.newsletter-form .form-msg { flex: 1 0 100%; }
.footer-bottom {
  border-top: 1px solid rgba(250,246,236,0.14);
  padding: 22px 0 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: rgba(250,246,236,0.55);
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(250,246,236,0.8); }
.form-msg { font-size: 0.88rem; margin-top: 8px; min-height: 1.2em; }
.form-msg.ok { color: var(--c-mint); }
.form-msg.err { color: #e59a85; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1), clip-path 0.7s cubic-bezier(.16,1,.3,1);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .reveal-clip { clip-path: inset(0 100% 0 0); }
.js .reveal-clip.is-visible { clip-path: inset(0 0 0 0); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 48px 0 80px;
  overflow: hidden;
}
.hero-frame {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  border: 3px solid var(--c-graphite);
  border-radius: var(--radius-l);
  padding: 44px;
  background: linear-gradient(155deg, var(--c-sand-1), var(--c-sand-2) 65%, var(--c-sand-3));
  position: relative;
}
.hero-eyebrow { margin-bottom: 18px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--c-terracotta-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 18px; color: var(--c-graphite-70); font-size: 0.9rem; }

.hero-art { position: relative; aspect-ratio: 4 / 3.6; }
.hero-photo-wrap {
  position: absolute;
  inset: 0;
  clip-path: url(#archClip);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
}
.hero-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92) sepia(0.08);
}
.js .hero-photo-wrap {
  animation: heroReveal 1.1s cubic-bezier(.16,1,.3,1) both;
}
@keyframes heroReveal {
  from { clip-path: url(#archClip); transform: scale(1.22) translateY(4%); opacity: 0; }
  to { clip-path: url(#archClip); transform: scale(1) translateY(0); opacity: 1; }
}
.hero-sun {
  position: absolute;
  top: -8%;
  right: -10%;
  width: 46%;
  z-index: 2;
  filter: drop-shadow(0 10px 18px rgba(45,43,50,0.18));
}
.hero-sun .sun-spin {
  transform-origin: 50% 50%;
  animation: sunSpin 40s linear infinite;
}
.hero-leaf {
  position: absolute;
  bottom: -6%;
  left: -8%;
  width: 34%;
  z-index: 2;
}
@keyframes sunSpin { to { transform: rotate(360deg); } }

/* ---------- Section divider ---------- */
.divider { display: block; width: 100%; height: auto; margin: 8px 0; color: var(--c-sand-3); }
.divider.mint { color: var(--c-mint); }
.divider.lavender { color: var(--c-lavender); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-tight { padding-top: 0; }

/* ---------- Harvest calendar (signature feature) ---------- */
.harvest {
  background: var(--c-graphite);
  color: var(--c-cream-text);
  border-radius: var(--radius-l);
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}
.harvest .eyebrow { color: var(--c-mint); }
.harvest h2 { color: #fff; }
.harvest .lede { color: rgba(250,246,236,0.75); }
.harvest-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; margin-top: 40px; align-items: start; }
.month-ring {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.month-btn {
  padding: 12px 8px;
  border-radius: 12px;
  border: 1.5px solid rgba(250,246,236,0.3);
  background: rgba(250,246,236,0.06);
  color: var(--c-cream-text);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  min-height: 44px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.month-btn:hover { border-color: var(--c-mint); transform: translateY(-2px); }
.month-btn.active { background: var(--c-mint); color: var(--c-graphite); border-color: var(--c-mint); }
.month-btn.is-today::after { content: "•"; color: var(--c-terracotta); margin-left: 4px; }

.harvest-results h3 { color: #fff; margin-bottom: 4px; }
.harvest-results .harvest-sub { color: rgba(250,246,236,0.6); font-size: 0.9rem; margin-bottom: 18px; }
.harvest-list { display: grid; gap: 12px; }
.harvest-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(250,246,236,0.07);
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
}
.harvest-item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.harvest-item-name { font-weight: 700; color: #fff; }
.harvest-item-meta { font-size: 0.82rem; color: rgba(250,246,236,0.6); }
.harvest-item-price { margin-left: auto; font-family: var(--font-mono); color: var(--c-mint); font-weight: 700; }
.harvest-empty { color: rgba(250,246,236,0.6); font-size: 0.92rem; }

@media (max-width: 760px) {
  .harvest-grid { grid-template-columns: 1fr; }
  .harvest { padding: 36px 22px; }
}

/* ---------- Value strip / about teaser ---------- */
.value-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr;
  gap: 32px;
}
.value-item { display: flex; gap: 16px; padding-top: 22px; border-top: 2px solid var(--c-graphite); }
.value-item .icon { width: 1.7rem; height: 1.7rem; flex-shrink: 0; margin-top: 3px; color: var(--c-terracotta); }
.value-item h3 { margin-bottom: 8px; }
.value-item p { color: var(--c-graphite-70); }
@media (max-width: 760px) { .value-strip { grid-template-columns: 1fr; } }

/* ---------- Product strip / grid ---------- */
.product-strip-wrap { position: relative; }
.product-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin: 0 -24px;
  padding-inline: 24px;
  scrollbar-width: thin;
}
.product-strip > * { scroll-snap-align: start; }
@media (min-width: 760px) {
  .product-strip {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    overflow-x: visible;
    margin: 0;
    padding-inline: 0;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.product-card {
  display: block;
  background: var(--c-cream-text);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s ease;
}
.product-card:hover, .product-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-paper-lift); }
.product-card .card-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.product-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.16,1,.3,1); }
.product-card:hover .card-media img { transform: scale(1.08); }
.card-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--c-mint-dark); color: #fff;
  font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 9px; border-radius: 999px;
}
.card-body { padding: 16px 18px 20px; }
.card-body h3 { font-size: 1.08rem; margin-bottom: 4px; }
.card-body .card-short { color: var(--c-graphite-70); font-size: 0.88rem; margin-bottom: 12px; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-price { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; }
.card-price span { font-size: 0.74rem; color: var(--c-graphite-70); font-weight: 400; }

/* ---------- Catalog filters ---------- */
.catalog-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--c-graphite);
  background: transparent;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  min-height: 44px;
}
.filter-chip.active { background: var(--c-graphite); color: var(--c-cream-text); }

/* ---------- Product detail page ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.product-media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-paper); aspect-ratio: 4/3.2; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info .eyebrow { margin-bottom: 16px; }
.product-price { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; margin: 18px 0; }
.product-price span { font-size: 0.95rem; color: var(--c-graphite-70); font-weight: 400; }
.qty-row { display: flex; align-items: center; gap: 14px; margin: 24px 0; }
.qty-control { display: inline-flex; align-items: center; border: 1.5px solid var(--c-graphite); border-radius: 999px; }
.qty-control button { width: 44px; height: 44px; background: none; border: none; font-size: 1.2rem; cursor: pointer; }
.qty-control input { width: 46px; text-align: center; border: none; background: none; font-weight: 700; font-size: 1rem; }
.season-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--c-mint-dark); font-weight: 600; font-size: 0.9rem; }
.product-desc { margin-top: 28px; color: var(--c-graphite-70); max-width: 50ch; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- Cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.cart-table th { text-align: left; font-family: var(--font-mono); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--c-graphite-70); padding-bottom: 12px; border-bottom: 2px solid var(--c-graphite); }
.cart-table td { padding: 16px 8px; border-bottom: 1px solid var(--c-sand-3); vertical-align: middle; }
.cart-row-product { display: flex; align-items: center; gap: 14px; }
.cart-row-product img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.cart-remove { background: none; border: none; color: var(--c-terracotta-dark); font-weight: 600; cursor: pointer; padding: 8px; min-height: 44px; }
.cart-empty { padding: 60px 0; text-align: center; color: var(--c-graphite-70); }
.cart-summary { display: flex; justify-content: flex-end; }
.cart-summary-box { width: min(340px, 100%); background: var(--c-sand-1); border-radius: var(--radius-m); padding: 22px; }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; }
.cart-summary-row.total { font-weight: 700; font-size: 1.2rem; border-top: 1px solid var(--c-sand-3); padding-top: 12px; margin-top: 4px; }

.checkout-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; margin-top: 48px; }
.payment-note { background: var(--c-lavender-light); border-radius: var(--radius-m); padding: 20px 22px; margin-bottom: 28px; }
.payment-note h3 { margin-bottom: 8px; font-size: 1.05rem; }
@media (max-width: 860px) { .checkout-layout { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.9rem; }
.form-field input, .form-field textarea, .form-field select {
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--c-sand-3);
  background: #fff;
  accent-color: var(--c-terracotta);
  font-size: 0.98rem;
  min-height: 44px;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--c-lavender-dark); }
.form-field input:invalid:not(:placeholder-shown) { border-color: var(--c-terracotta); }
.field-error { font-size: 0.82rem; color: var(--c-terracotta-dark); min-height: 1.1em; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; }
.form-check input { margin-top: 4px; accent-color: var(--c-terracotta); width: 18px; height: 18px; }
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 40px; margin-bottom: 14px; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--c-graphite-70); margin-bottom: 12px; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.page-hero { padding: 56px 0 20px; }
.page-hero .eyebrow { margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--c-sand-3); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon { transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { padding-bottom: 20px; color: var(--c-graphite-70); max-width: 65ch; }

/* ---------- 404 ---------- */
.error-page { padding: 100px 0 120px; text-align: center; }
.error-page .error-code { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); color: var(--c-sand-3); line-height: 1; }

/* ---------- Badge / seal ---------- */
.seal { width: 92px; height: 92px; color: var(--c-terracotta); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 560px;
  margin-inline: auto;
  background: var(--c-graphite);
  color: var(--c-cream-text);
  border-radius: var(--radius-m);
  padding: 22px 24px;
  box-shadow: var(--shadow-paper-lift);
  z-index: 250;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner p { font-size: 0.92rem; color: rgba(250,246,236,0.82); margin-bottom: 16px; }
.cookie-banner a { text-decoration: underline; color: var(--c-mint); }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Aspect helpers ---------- */
.ph-img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About page ---------- */
.about-media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-paper); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
