/* KAFU — landing. Tokens del design system KAFU. */
:root {
  --olive-700: #2F4A2A;
  --olive-900: #1F3220;
  --olive-100: #E4E6D4;
  --gold-500: #B5791A;
  --gold-700: #8A5A12;
  --gold-300: #E2B860;
  --paper-100: #F3EEE2;
  --paper-50: #FAF7EF;
  --paper-300: #E2D9C4;
  --brown-800: #4A2E1A;
  --brown-500: #6B5844;

  --font-display: "Vollkorn", "Iowan Old Style", Georgia, serif;
  --font-caps: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(74, 46, 26, .08), 0 8px 24px rgba(74, 46, 26, .08);
  --shadow-float: 0 6px 20px rgba(31, 50, 32, .35);
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper-100) url(../assets/img/paper.png);
  color: var(--brown-800);
  font: 400 16px/1.55 var(--font-sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: var(--olive-700); }
a:hover { color: var(--olive-900); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; }

/* ---------- Tipografía y ornamentos ---------- */
.eyebrow {
  font: 700 15px/1.2 var(--font-caps);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow--light { color: var(--gold-300); }
.h2 {
  font: 600 clamp(30px, 6vw, 44px)/1.1 var(--font-display);
  color: var(--olive-700);
  text-wrap: balance;
}
.h2--light { color: var(--paper-100); }
.attrs {
  font: 700 12px/1.3 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brown-800);
}
.rule { display: flex; align-items: center; justify-content: center; gap: 8px; }
.rule i { width: 36px; height: 1.5px; background: var(--gold-500); }
.rule b { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--olive-700);
  color: var(--gold-300);
  font: 700 11px/1.2 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font: 700 16px/1 var(--font-sans);
  text-decoration: none;
  transition: background-color .15s, transform .15s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--olive-700); color: var(--paper-100); }
.btn--primary:hover { background: var(--olive-900); color: var(--paper-100); }
.btn--secondary { background: transparent; color: var(--olive-700); border-color: var(--olive-700); }
.btn--secondary:hover { background: var(--olive-100); color: var(--olive-700); }
.btn--light { background: var(--paper-100); color: var(--olive-900); }
.btn--light:hover { background: #fff; color: var(--olive-900); }
.btn--wide { width: 100%; max-width: 340px; }
.btn--xl { width: 100%; max-width: 380px; min-height: 60px; font-size: 18px; }

/* ---------- Secciones ---------- */
.section {
  padding: 56px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.section--green { background: var(--olive-700); color: var(--paper-100); padding-block: 48px 56px; }
.section--paper { background: var(--paper-50); border-top: 1px solid var(--paper-300); }
.section--flush-bottom { padding-bottom: 0; }
.section__head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.section__lead { max-width: 34ch; text-align: center; }
.section__lead--light { color: var(--olive-100); }

.mountains { display: block; width: 100%; height: 72px; color: var(--brown-800); }
@media (min-width: 900px) { .mountains { height: 90px; } }
.mountains--tall { width: 100vw; height: 80px; margin-top: 24px; }

/* ---------- 1. Hero ---------- */
.hero { padding: 28px var(--gutter) 40px; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; }
.hero__copy {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.hero__logo { width: 132px; }
.hero__title {
  font: 600 clamp(42px, 11vw, 68px)/1.02 var(--font-display);
  color: var(--olive-700);
  text-wrap: balance;
  max-width: 12ch;
}
.hero__lead { max-width: 30ch; font-size: 17px; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 340px; margin-top: 8px; }
.hero__note { font-size: 14px; color: var(--brown-500); }

.hero__collage {
  flex: 1 1 340px;
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1.02;
  margin-inline: auto;
}
.hero__collage img {
  position: absolute;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: #fff;
}
.hero__main {
  left: 14%; top: 0; width: 72%;
  border: 6px solid var(--paper-50);
  box-shadow: 0 1px 2px rgba(74, 46, 26, .08), 0 8px 24px rgba(74, 46, 26, .12);
}
.hero__side {
  width: 40%;
  object-position: center 30%;
  border: 5px solid var(--paper-50);
  box-shadow: 0 8px 24px rgba(74, 46, 26, .18);
}
.hero__side--left { left: 0; bottom: 0; transform: rotate(-5deg); }
.hero__side--right { right: 0; bottom: 4%; transform: rotate(5deg); }

@media (min-width: 900px) {
  .hero { padding-top: 56px; padding-bottom: 64px; }
  .hero__copy { align-items: flex-start; text-align: left; }
  .hero__copy .rule { justify-content: flex-start; }
  .hero__ctas { flex-direction: row; max-width: none; }
}

/* ---------- 2. Productos ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.card {
  background: var(--paper-50);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--brown-800);
}
.card__top { display: flex; flex: 1; }
.card__img { width: 42%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; background: #fff; }
.card__img--yogur { object-position: center 40%; }
.card__img--kefir { object-position: 30% 60%; }
.card__body { flex: 1; padding: 16px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; }
.card__name { font: 600 23px/1.1 var(--font-display); color: var(--olive-700); }
.card__size { font-size: 14px; color: var(--brown-500); }
.card__btn { margin: 12px 16px 16px; padding-inline: 16px; }
.chips { display: flex; gap: 6px; }
.chips span { padding: 3px 9px; border: 1px solid var(--paper-300); border-radius: var(--radius-pill); font-size: 13px; }

@media (min-width: 1000px) {
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card__top { flex-direction: column; }
  .card__img { width: 100%; }
  .card__body { justify-content: flex-start; }
}

/* ---------- 3. Beneficios ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 28px 16px; }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.feature__ring {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1.5px solid var(--brown-800);
  display: grid; place-items: center;
  color: var(--brown-800);
}
.feature__ring svg { width: 30px; height: 30px; }
.feature__title { font: 700 13px/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--olive-700); }
.feature p { font-size: 15px; line-height: 1.5; max-width: 26ch; }

/* ---------- 4. Origen ---------- */
.origin { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; }
.origin__copy { flex: 1 1 320px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.origin__steps { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.origin__steps li { display: flex; gap: 12px; align-items: baseline; }
.origin__steps span { min-width: 22px; font: 600 20px/1 var(--font-display); color: var(--gold-500); }
.origin__steps p { font-size: 15px; }
.origin__steps strong { color: var(--olive-700); }
.origin__photos { flex: 1 1 320px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.origin__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.ph {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  padding: 8px;
  text-align: center;
  border: 1.5px dashed var(--gold-500);
  border-radius: var(--radius-md);
  background: var(--paper-100);
  color: var(--gold-700);
  font: 700 13px/1.3 var(--font-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ph--wide, .origin__photos .wide { grid-column: span 2; aspect-ratio: 16 / 10; }

/* ---------- 5. Cómo pedir ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps__n {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-300);
  display: grid; place-items: center;
  font: 600 20px/1 var(--font-display);
  color: var(--gold-300);
}
.steps h3 { margin-bottom: 4px; font: 600 21px/1.2 var(--font-display); color: var(--paper-100); }
.steps p { font-size: 15px; line-height: 1.5; color: var(--olive-100); }
.coverage {
  padding: 10px 18px;
  border: 1px solid rgba(226, 184, 96, .5);
  border-radius: var(--radius-pill);
  font-size: 14px;
  text-align: center;
}
.coverage strong { color: var(--gold-300); }

/* ---------- 6. Testimonios ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.review {
  margin: 0;
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--paper-50);
  border: 1px solid var(--paper-300);
  border-radius: var(--radius-md);
}
.review__q { font: 600 48px/.6 var(--font-display); color: var(--gold-500); }
.review blockquote { margin: 0; font: 500 18px/1.45 var(--font-display); }
.review figcaption { font-size: 14px; color: var(--brown-500); }
.review figcaption strong { color: var(--olive-700); }

/* ---------- 7. FAQ ---------- */
.faq { width: 100%; max-width: 720px; }
.faq details { border-bottom: 1px solid var(--paper-300); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0;
  font: 600 18px/1.3 var(--font-display);
  color: var(--olive-700);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--font-sans); color: var(--gold-500); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-bottom: 18px; font-size: 15px; line-height: 1.6; }
.faq__more { font-size: 15px; text-align: center; }
.faq__more a { font-weight: 700; }

/* ---------- 8. Cierre ---------- */
.closing { padding-block: 64px; text-align: center; gap: 20px; }
.closing__sun { width: 120px; height: 60px; color: var(--gold-500); }
.closing__title {
  font: 600 clamp(34px, 8vw, 56px)/1.05 var(--font-display);
  color: var(--olive-700);
  text-wrap: balance;
  max-width: 16ch;
}
.ig { width: 100%; max-width: 720px; margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ig__handle { font: 700 15px/1.3 var(--font-sans); color: var(--olive-700); text-decoration: none; }
.ig__handle span { color: var(--gold-700); }
.ig__grid { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ig__grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 35%; border-radius: 6px; }

/* ---------- 9. Footer ---------- */
.footer {
  background: var(--olive-900);
  color: var(--olive-100);
  padding: 0 var(--gutter) 96px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  text-align: center;
}
.footer__ridge { display: block; width: 100vw; height: 56px; margin-bottom: 8px; }
.footer__logo { width: 112px; height: 112px; border-radius: 50%; background: var(--paper-100); display: grid; place-items: center; }
.footer__logo img { width: 84px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; font-size: 15px; }
.footer__links a { color: var(--paper-100); }
.footer__legal { font-size: 14px; line-height: 1.6; }
.footer__copy { font-size: 13px; color: #C9CDB6; }

/* ---------- Botón flotante WhatsApp ---------- */
.fab {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 20;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--olive-700);
  color: var(--paper-100);
  display: grid; place-items: center;
  box-shadow: var(--shadow-float);
}
.fab:hover { background: var(--olive-900); color: var(--paper-100); }
.fab svg { width: 30px; height: 30px; }
