/* ============================================================
   Khaas Farms — Shared Stylesheet
   Soft watercolor-mango aesthetic: cream base, mango-gold accent,
   thin serif headings, light sans body. Mobile-first.
   ============================================================ */

:root {
  /* Brand palette (kept tight, matches logo & cover) */
  --cream: #FFF8EC;
  --white: #FFFFFF;
  --gold: #F2A900;
  --gold-deep: #E0A100;
  --amber: #F4C66B;
  --ink: #2B2A24;
  --muted: #6E6A5C;
  --leaf: #8AA66B;          /* whisper-only accent, used very sparingly */
  --line: rgba(43, 42, 36, 0.12);

  /* Typography */
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing / shape */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 10px 34px rgba(43, 42, 36, 0.08);
  --shadow-lift: 0 16px 44px rgba(224, 161, 0, 0.18);
  --container: 1180px;

  /* Always render in the light theme; never let the browser auto-invert. */
  color-scheme: only light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; color-scheme: only light; background: var(--cream); color: var(--ink); }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.18;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: 0.02em; }
h3 { font-size: 1.3rem; }

p { color: var(--muted); }

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

section { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
  font-weight: 500;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head p { margin-top: 12px; }

.divider {
  width: 64px;
  height: 1px;
  background: var(--line);
  margin: 22px auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-lift);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--gold-deep); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.4px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--ink);
  color: var(--cream);
}
.btn-whatsapp:hover { background: #46442e; transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ---------- Watercolor wash decoration ---------- */
.wash {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 198, 107, 0.55) 0%, rgba(244, 198, 107, 0) 70%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 248, 236, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 18px;
  height: 96px;
  overflow: visible;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}
.nav-brand img {
  /* assets/img/logo.png */
  height: 100px;
  width: auto;
  object-fit: contain;
  background: none;
}
.site-header .nav-brand {
  gap: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold-deep);
  transition: right 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--gold-deep); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.4px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cart-link:hover { border-color: var(--gold-deep); transform: translateY(-1px); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-count[hidden] { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
  margin: 0 auto;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 10px 0; width: 100%; }
  .hamburger { display: flex; }
  .nav-actions .btn-whatsapp .label-full { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  text-align: center;
}
.hero .wash.w1 { width: 420px; height: 420px; top: -160px; right: -120px; }
.hero .wash.w2 { width: 320px; height: 320px; bottom: -140px; left: -100px; opacity: 0.7; }
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero h1 { margin-bottom: 16px; }
.hero .tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.hero .sub { max-width: 520px; margin: 0 auto 32px; font-size: 1.02rem; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.hero-art {
  margin: 48px auto 0;
  max-width: 760px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.trust-item .ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.3px solid var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-deep);
}
.trust-item .ico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ---------- Cards: products & values ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.product-card .thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--amber) 0%, var(--cream) 100%);
  overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 22px; }
.product-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.product-card h3 { margin-bottom: 4px; }
.product-card .meta { font-size: 0.86rem; color: var(--muted); margin-bottom: 12px; }
.product-card .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.price { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); font-style: normal; font-weight: 600; }
.product-card .actions { display: flex; gap: 10px; }
.product-card .actions .btn { flex: 1; }

.value-card {
  padding: 30px 26px;
  text-align: left;
}
.value-card .num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--amber);
  margin-bottom: 14px;
}
.value-card h3 { margin-bottom: 10px; }
.value-card p { font-size: 0.94rem; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}
@media (max-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step .circle {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1.4px solid var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  color: var(--gold-deep);
  font-size: 1.1rem;
}
.step h4 { font-family: var(--font-body); font-weight: 500; font-size: 0.98rem; margin-bottom: 6px; }
.step p { font-size: 0.85rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 0 20px;
  padding: 64px 24px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--cream) 100%);
}
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { max-width: 480px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul a { font-size: 0.92rem; color: var(--muted); transition: color 0.2s ease; }
.footer-grid ul a:hover { color: var(--ink); }
.footer-brand .nav-brand { margin-bottom: 12px; }
.footer-brand .nav-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: none;
}
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--gold-deep);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Floating WhatsApp button ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 14px 34px rgba(43, 42, 36, 0.28);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, background 0.25s ease;
}
.fab-whatsapp:hover { transform: translateY(-3px); background: #46442e; }
.fab-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 480px) {
  .fab-whatsapp .label { display: none; }
  .fab-whatsapp { padding: 14px; }
}

/* ---------- Page header (interior pages) ---------- */
.page-head {
  text-align: center;
  padding: 56px 0 26px;
  position: relative;
  overflow: hidden;
}
.page-head .eyebrow { display: block; }
.page-head p { max-width: 560px; margin: 14px auto 0; }

.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--gold-deep); }

/* ---------- Trust badges (small inline pills) ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.15);
}
.form-field .hint { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.radio-card:hover { border-color: var(--gold-deep); }
.radio-card input { margin-top: 4px; accent-color: var(--gold-deep); }
.radio-card.is-active { border-color: var(--gold-deep); background: rgba(242, 169, 0, 0.06); }
.radio-card .title { font-weight: 500; margin-bottom: 4px; }
.radio-card p { font-size: 0.86rem; margin: 0; }
.radio-extra { display: none; padding: 14px 18px 4px 48px; font-size: 0.86rem; color: var(--muted); }
.radio-extra.is-visible { display: block; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.08rem;
}
.accordion-trigger .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.2px solid var(--gold-deep);
  position: relative;
  transition: transform 0.3s ease;
}
.accordion-trigger .plus::before,
.accordion-trigger .plus::after {
  content: '';
  position: absolute;
  background: var(--gold-deep);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.accordion-trigger .plus::before { width: 11px; height: 1.4px; }
.accordion-trigger .plus::after { width: 1.4px; height: 11px; transition: transform 0.3s ease; }
.accordion-item.is-open .accordion-trigger .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.accordion-item.is-open .accordion-trigger .plus { transform: rotate(180deg); }
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.accordion-panel-inner { overflow: hidden; }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel p { padding: 0 4px 22px; font-size: 0.94rem; max-width: 640px; }

/* ---------- Cart & checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-row {
  display: grid;
  grid-template-columns: 84px 1.6fr 1fr 1fr 36px;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) {
  .cart-row { grid-template-columns: 64px 1fr; grid-template-areas: "thumb info" "thumb qty" "thumb total" "thumb remove"; row-gap: 6px; }
}
.cart-row .thumb { width: 84px; height: 84px; border-radius: var(--radius-sm); overflow: hidden; background: var(--amber); }
.cart-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .info h4 { margin-bottom: 4px; }
.cart-row .info span { font-size: 0.84rem; color: var(--muted); }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty-control button {
  width: 34px; height: 34px;
  font-size: 1.1rem;
  color: var(--ink);
  transition: background 0.2s ease;
}
.qty-control button:hover { background: var(--amber); }
.qty-control input {
  width: 38px;
  text-align: center;
  border: none;
  background: transparent;
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.remove-btn { color: var(--muted); font-size: 1.2rem; transition: color 0.2s ease; }
.remove-btn:hover { color: var(--ink); }

.summary-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  position: sticky;
  top: 110px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.94rem;
  margin-bottom: 12px;
  color: var(--muted);
}
.summary-row.total {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 6px;
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state .ico {
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1.4px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep);
}
.empty-state .ico svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.4; }

.confirm-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.confirm-card .ico {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.confirm-card .ico svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 2; }
.confirm-summary {
  text-align: left;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
  font-size: 0.9rem;
  white-space: pre-wrap;
  line-height: 1.8;
}

/* ---------- Stage visual (ripening guide) ---------- */
.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: center;
}
@media (max-width: 700px) { .stages { grid-template-columns: 1fr; } }
.stage .swatch {
  height: 120px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
.stage .swatch.firm { background: linear-gradient(135deg, #a9c97e 0%, #cfe3ad 100%); }
.stage .swatch.turning { background: linear-gradient(135deg, #d8c873 0%, var(--amber) 100%); }
.stage .swatch.ripe { background: linear-gradient(135deg, var(--gold) 0%, #ffce5c 100%); }
.stage h4 { margin-bottom: 6px; }
.stage p { font-size: 0.88rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.spacer-sm { height: 24px; }
.spacer-lg { height: 64px; }
[hidden] { display: none !important; }

/* ============================================================
   Light theme lock — prevent OS dark mode / browser auto-dark
   from inverting the cream site. color-scheme + the page-level
   <meta name="color-scheme" content="light only"> handle
   standards-compliant browsers; this block re-asserts the
   existing light surfaces for engines that force-darken anyway.
   No new colors — only the existing brand variables.
   ============================================================ */
@media (prefers-color-scheme: dark) {
  html, body {
    background: var(--cream);
    color: var(--ink);
    color-scheme: only light;
  }
  h1, h2, h3, h4 { color: var(--ink); }
  p, .nav-links a, .footer-grid ul a, .footer-bottom { color: inherit; }
  .muted, .meta, .sub { color: var(--muted); }

  .site-header { background: rgba(255, 248, 236, 0.88); }
  .site-footer { background: var(--cream); }

  /* White card surfaces */
  .card,
  .note-card,
  .deliv-card,
  .contact-card,
  .form-card,
  .guide-step,
  .summary-card,
  .radio-card,
  .accordion-item { background: var(--white); }

  /* Gradient/cream feature panels */
  .cta-banner { background: linear-gradient(135deg, var(--amber) 0%, var(--cream) 100%); }
  .guarantee-box { background: var(--cream); }

  /* Form controls keep light fields + dark text */
  input, textarea, select { background: var(--white); color: var(--ink); }
}
