/* =========================================================
   Pampi · Passata — estilos
   ========================================================= */

:root {
  --red: #B5121B;
  --red-2: #D7261E;
  --red-deep: #7E0B12;
  --cream: #F5F0E6;
  --cream-2: #EDE4D3;
  --paper: #FBF8F2;
  --ink: #1E1A17;
  --ink-soft: #5A5149;
  --basil: #2E6B34;
  --basil-2: #4FA35A;
  --gold: #C99A4B;

  --serif: "Playfair Display", Georgia, serif;
  --italic: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--cream); }
/* en la mitad inferior el lienzo toma el color del footer (rebote de iOS y barra inferior) */
html.is-bottom { background: var(--ink); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
h1, h2, h3, b, strong, .stat b, .coords div { font-variant-numeric: lining-nums; }
p { margin: 0 0 1em; }

/* grano de papel */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--red); color: var(--cream); }

/* ---------- tipografía común ---------- */
.kicker {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 18px;
}
.kicker--light { color: #FFD9C2; }

.h2 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 28px;
}
.h2 em, .hero__title em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 600;
  color: var(--red);
  letter-spacing: -.01em;
}
.h2--light { color: var(--cream); }
.h2--light em { color: #FFC9A8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 4px rgba(215,38,30,.16); }
.flag {
  width: 36px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #1E8C45 0 33.3%, #fff 33.3% 66.6%, var(--red-2) 66.6%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  text-decoration: none;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s;
}
.btn--red { background: var(--red); color: var(--cream); box-shadow: 0 12px 30px -10px rgba(181,18,27,.6); }
.btn--red:hover { background: var(--red-deep); transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(181,18,27,.7); }
.btn--ghost { color: var(--ink); border: 1.5px solid rgba(30,26,23,.25); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-3px); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(22px + env(safe-area-inset-top)) var(--gutter) 22px;
  transition: padding .4s var(--ease);
}
/* el fondo va en un pseudo-elemento: un backdrop-filter en .nav
   convertiría la cabecera en el bloque contenedor del menú móvil (position: fixed) */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(245,240,230,.86);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(30,26,23,.08);
  opacity: 0;
  transition: opacity .4s;
}
.nav.is-scrolled { padding-top: calc(12px + env(safe-area-inset-top)); padding-bottom: 12px; }
.nav.is-scrolled::before { opacity: 1; }
.nav__logo {
  position: relative; z-index: 60;
  transition: color .4s;
  font-family: var(--serif); font-weight: 900; font-size: 32px;
  color: var(--red); text-decoration: none; letter-spacing: -.02em; line-height: 1;
}
.nav__logo sup { font-size: 12px; font-family: var(--sans); font-weight: 500; vertical-align: top; position: relative; top: 2px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  text-decoration: none; font-weight: 500; font-size: 15px; position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 10px 20px; border-radius: 999px; background: var(--ink); color: var(--cream); }
.nav__cta:hover { background: var(--red); }
.nav__burger { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: 130px var(--gutter) 90px;
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 78% 45%, #FCE3D2 0%, transparent 60%),
    radial-gradient(800px 500px at 10% 100%, #EFE4CF 0%, transparent 70%),
    var(--cream);
}
.hero__bgword {
  position: absolute; left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  font-family: var(--serif); font-weight: 900; font-style: italic;
  font-size: clamp(120px, 24vw, 420px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(181,18,27,.12);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.hero__title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(56px, 8.4vw, 128px);
  line-height: .95; letter-spacing: -.035em;
  margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .15s; }
.hero__title em { font-size: 1.08em; }
@keyframes rise { to { transform: translateY(0); } }

.hero__lead {
  max-width: 500px; font-size: 19px; color: var(--ink-soft);
  opacity: 0; animation: fade 1s .5s var(--ease) forwards;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 44px; opacity: 0; animation: fade 1s .7s var(--ease) forwards; }
.hero__note {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  color: var(--red); margin: 0 0 12px;
  opacity: 0; animation: fade 1s .85s var(--ease) forwards;
}
.hero__badges {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 36px; flex-wrap: wrap;
  opacity: 0; animation: fade 1s .9s var(--ease) forwards;
}
.hero__badges li { font-size: 14px; color: var(--ink-soft); line-height: 1.3; }
.hero__badges strong { display: block; font-family: var(--serif); font-size: 30px; color: var(--red); font-weight: 800; }
@keyframes fade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }


/* flotantes */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.floater { position: absolute; filter: drop-shadow(0 10px 14px rgba(0,0,0,.12)); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.floater.leaf { width: 90px; }
.floater.tomato { width: 70px; }
.f1 { top: 16%; left: 46%; width: 70px !important; rotate: -25deg; animation: bob 7s ease-in-out infinite; }
.f2 { top: 70%; left: 56%; width: 110px !important; rotate: 30deg; animation: bob 9s ease-in-out infinite reverse; }
.f3 { top: 12%; right: 6%; rotate: 150deg; animation: bob 8s ease-in-out infinite; }
.f4 { top: 64%; right: 5%; width: 90px !important; animation: bob 10s ease-in-out infinite; }
.f5 { top: 86%; left: 40%; width: 46px !important; opacity: .9; animation: bob 6s ease-in-out infinite reverse; }
.f6 { top: 22%; left: 3%; width: 60px !important; rotate: 200deg; opacity: .8; animation: bob 11s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -18px; } }

/* ---------- BOTELLA 3D ---------- */
.hero__jar { display: flex; flex-direction: column; align-items: center; }
.jar-stage {
  --w: clamp(150px, 24vh, 240px);
  position: relative;
  width: var(--w);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  opacity: 0;
  animation: jarIn 1.4s .2s var(--ease) forwards;
}
.jar-stage.is-dragging { cursor: grabbing; }
@keyframes jarIn { from { opacity: 0; transform: translateY(60px) scale(.92); } to { opacity: 1; transform: none; } }

/* proporciones tomadas de la botella real (alto ≈ 2,8 × ancho) */
.jar {
  position: relative; width: 100%;
  height: calc(var(--w) * 2.8);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 34px rgba(110,10,15,.35));
}
@keyframes float { 50% { transform: translateY(-12px); } }
.jar__glass { position: absolute; inset: 0; width: 100%; height: 100%; }

.jar__cap {
  position: absolute; left: 15%; width: 70%; top: 0; height: 6.4%;
  border-radius: 7px 7px 4px 4px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 1.5px, transparent 1.5px 5px),
    linear-gradient(90deg, #7E0B12 0%, #C8161E 16%, #F0544A 30%, #D51F25 48%, #A30E16 75%, #6E0910 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -4px 6px rgba(0,0,0,.25);
}
.jar__cap::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(90deg, #6E0910, #E2453B 30%, #B5121B 60%, #600810);
  border-radius: 0 0 4px 4px;
}

.jar__band {
  position: absolute; left: 0; right: 0;
  top: 38.5%; height: 53%;
  overflow: hidden;
}
.jar__label { position: absolute; inset: 0; overflow: hidden; background: #F3EFE7; }
.jar__label .strip {
  position: absolute; top: 0; height: 100%;
  background-image: url("../img/etiqueta-banda.jpg");
  background-repeat: repeat-x;
  transform-origin: left center;
  will-change: background-position;
}
.jar__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(40,0,0,.55) 0%, rgba(40,0,0,.16) 9%, rgba(0,0,0,0) 22%,
    rgba(255,255,255,0) 62%, rgba(40,0,0,.12) 82%, rgba(40,0,0,.5) 100%);
}
.jar__gloss {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 13%, rgba(255,255,255,.5) 17%, rgba(255,255,255,.08) 22%, transparent 25%),
    linear-gradient(90deg, transparent 83%, rgba(255,255,255,.2) 86%, transparent 89%);
  mix-blend-mode: screen;
}
.jar__shadow {
  width: 90%; height: 26px; margin: 6px auto 0;
  background: radial-gradient(closest-side, rgba(70,20,10,.35), transparent);
  animation: shadow 6s ease-in-out infinite;
}
@keyframes shadow { 50% { transform: scaleX(.86); opacity: .7; } }
.jar-hint { margin-top: 14px; font-size: 13px; color: var(--ink-soft); letter-spacing: .04em; }
.jar-hint span { color: var(--red); font-weight: 700; margin-right: 6px; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--ink); color: var(--cream);
  overflow: hidden; padding: 22px 0;
  transform: rotate(-1.5deg) scale(1.03);
  margin: -10px 0 0;
  position: relative; z-index: 4;
}
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3vw, 36px); white-space: nowrap; }
.marquee b { color: var(--red-2); font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   ORIGEN
   ========================================================= */
.origin { padding: clamp(100px, 14vw, 180px) var(--gutter) clamp(140px, 16vw, 220px); }
.origin__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.origin__text p { color: var(--ink-soft); font-size: 18px; max-width: 520px; }
.origin__text strong { color: var(--ink); }
.coords { display: flex; gap: 34px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(30,26,23,.14); flex-wrap: wrap; }
.coords div { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.coords span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }

.postcard {
  position: relative;
  background: var(--paper);
  padding: 14px 14px 46px;
  border-radius: 6px;
  box-shadow: 0 40px 80px -30px rgba(60,20,10,.35), 0 2px 0 rgba(0,0,0,.04);
  transform: rotate(2.5deg);
  transition: transform .8s var(--ease);
}
.postcard:hover { transform: rotate(0) scale(1.02); }
.postcard__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.origin__visual { position: relative; padding: 0 4% 18% 0; }
.snap {
  position: absolute; margin: 0;
  background: var(--paper); padding: 10px 10px 38px;
  border-radius: 4px;
  box-shadow: 0 30px 60px -25px rgba(60,20,10,.45);
  transition: transform .8s var(--ease);
  z-index: 2;
}
.snap img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.snap figcaption { position: absolute; left: 14px; bottom: 8px; font-family: var(--italic); font-style: italic; font-size: 19px; }
.snap--a { width: 38%; left: -8%; bottom: 0; transform: rotate(-6deg); }
.snap--b { width: 32%; right: 0; bottom: 4%; transform: rotate(5deg); }
.snap:hover { transform: rotate(0) scale(1.05); z-index: 3; }
.postcard__caption {
  position: absolute; left: 24px; bottom: 14px; margin: 0;
  font-family: var(--italic); font-style: italic; font-size: 28px; color: var(--ink);
}
.postcard__stamp {
  position: absolute; right: -22px; top: -26px;
  width: 112px; height: 132px;
  background: var(--red); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 800; font-size: 20px;
  transform: rotate(8deg);
  border-radius: 4px;
  outline: 6px dotted var(--red); outline-offset: -3px;
  box-shadow: 0 10px 20px rgba(0,0,0,.2);
}
.postcard__stamp::before { content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(255,255,255,.55); }
.postcard__stamp small { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; font-weight: 500; margin-top: 4px; }

/* =========================================================
   PRODUCTO
   ========================================================= */
.product {
  position: relative;
  background:
    radial-gradient(900px 600px at 85% 10%, #D7261E 0%, transparent 60%),
    radial-gradient(800px 600px at 0% 80%, #8E0C14 0%, transparent 60%),
    var(--red);
  color: var(--cream);
  padding: 160px var(--gutter) 200px;
}
.drip { position: absolute; left: 0; width: 100%; height: 120px; }
.drip--top { top: -1px; }
.drip--bottom { bottom: -1px; }
.product__inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }
.product__head { text-align: center; margin-bottom: 70px; }
.product__sub { font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: #FFD9C2; }

.product__showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.product__photo {
  position: relative;
  background: #F2EEE8;
  border-radius: 50% 50% 46% 54% / 55% 48% 52% 45%;
  aspect-ratio: 1;
  display: grid; place-items: center;
  padding: 12%;
  box-shadow: 0 50px 100px -30px rgba(40,0,0,.6);
  animation: blob 14s ease-in-out infinite;
}
@keyframes blob {
  33% { border-radius: 44% 56% 52% 48% / 48% 55% 45% 52%; }
  66% { border-radius: 55% 45% 48% 52% / 52% 44% 56% 48%; }
}
.product__photo img {
  width: 118%; max-width: none; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}
.ring {
  position: absolute; right: -4%; top: -4%;
  width: 34%; aspect-ratio: 1;
  background: var(--ink); color: var(--cream);
  border-radius: 50%;
  display: grid; place-items: center;
}
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.ring text { font-size: 15px; letter-spacing: 3.2px; fill: var(--cream); font-family: var(--sans); font-weight: 700; }
.ring span { font-family: var(--serif); font-weight: 900; font-size: clamp(18px, 2.4vw, 30px); line-height: 1; text-align: center; color: #FF8A73; }
.ring small { display: block; font-family: var(--italic); font-style: italic; font-size: .6em; color: var(--cream); font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 24px 26px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  transition: background .4s, transform .5s var(--ease);
}
.feature:hover { background: rgba(255,255,255,.13); transform: translateX(8px); }
.feature__icon { flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--cream); color: var(--red); display: grid; place-items: center; }
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 4px; }
.feature p { margin: 0; color: #FFE4D6; font-size: 15.5px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 110px 0 90px; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.stat { padding: 40px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.2); }
.stat b { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(54px, 7vw, 96px); line-height: 1; }
.stat span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #FFD9C2; }

.sheet {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px);
  background: var(--paper); color: var(--ink);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 50px 100px -40px rgba(40,0,0,.7);
}
.sheet__title { font-family: var(--serif); font-size: 26px; margin: 0 0 12px; }
.sheet__title:not(:first-child) { margin-top: 30px; }
.sheet__col p { color: var(--ink-soft); }
.ingredients { display: flex; flex-wrap: wrap; gap: 10px; }
.ingredients span { padding: 10px 18px; border-radius: 999px; background: var(--cream-2); color: var(--ink); font-weight: 500; }
.ingredients span:first-child { background: var(--red); color: var(--cream); }
.ingredients small { color: inherit; opacity: .7; }

.nutri { width: 100%; border-collapse: collapse; font-size: 15px; border: 2px solid var(--ink); }
.nutri caption { text-align: left; font-family: var(--serif); font-weight: 900; font-size: 28px; padding-bottom: 10px; }
.nutri td { padding: 8px 14px; border-top: 1px solid rgba(30,26,23,.18); }
.nutri td:last-child { text-align: right; white-space: nowrap; }
.nutri tr.thick td { border-bottom: 6px solid var(--ink); }
.nutri tr.head td { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.nutri tr.sub td:first-child { padding-left: 32px; color: var(--ink-soft); }
.nutri tr.muted td { color: var(--ink-soft); font-size: 14px; }
.nutri__note { font-size: 12px; margin-top: 12px; }

/* =========================================================
   PROCESO
   ========================================================= */
.process { padding: clamp(110px, 14vw, 180px) var(--gutter) 60px; max-width: 1320px; margin: 0 auto; }
.process__head { max-width: 760px; }
.steps {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  position: relative;
}
/* línea que une los pasos, se dibuja al aparecer */
.steps::before {
  content: ""; position: absolute; top: 40px; left: 40px; right: 40px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(181,18,27,.35) 0 8px, transparent 8px 16px);
}
.step { position: relative; }
.step__badge {
  position: relative; z-index: 1;
  width: 80px; height: 80px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper);
  border: 2px solid var(--red);
  color: var(--red);
  box-shadow: 0 0 0 10px var(--cream);
  transition: background .4s, color .4s, transform .6s var(--ease);
}
.step__icon { width: 38px; height: 38px; }
.step__n {
  position: absolute; top: -6px; right: -10px;
  min-width: 32px; height: 32px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  font: 700 12px var(--sans); letter-spacing: .04em;
}
.step:hover .step__badge { background: var(--red); color: var(--cream); transform: rotate(-8deg) scale(1.06); }
.step__body { margin-top: 26px; padding-right: 8px; }
.step h3 { font-family: var(--serif); font-size: 24px; line-height: 1.15; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* =========================================================
   RECETAS
   ========================================================= */
.recipes { padding: clamp(90px, 12vw, 160px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.recipes__head { text-align: center; }
.tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin: 10px auto 50px;
}
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px 12px 16px;
  border: 1.5px solid rgba(30,26,23,.2); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: 700 16px var(--sans); cursor: pointer;
  transition: all .35s var(--ease);
}
.tab svg { width: 30px; height: 30px; }
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--red); border-color: var(--red); color: var(--cream); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(181,18,27,.6); }

.recipe { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.recipe[hidden] { display: none; }
.recipe.is-active .recipe__card { animation: cardIn .7s var(--ease); }
.recipe.is-active .recipe__art { animation: artIn 1s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } }
@keyframes artIn { from { opacity: 0; transform: rotate(-60deg) scale(.7); } }
.recipe__card {
  background: var(--paper);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 54px);
  box-shadow: 0 30px 70px -40px rgba(60,20,10,.45);
  border: 1px solid rgba(30,26,23,.06);
}
.recipe__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.recipe__meta span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--cream-2); font-weight: 500; }
.recipe h3 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; margin-bottom: 12px; font-weight: 800; }
.recipe__intro { color: var(--ink-soft); font-size: 18px; max-width: 560px; }
.recipe__cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; margin-top: 26px; padding-top: 26px; border-top: 1px dashed rgba(30,26,23,.2); }
.recipe h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.recipe ul, .recipe ol { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 15.5px; }
.recipe li { margin-bottom: 8px; }
.recipe li::marker { color: var(--red); font-weight: 700; }
.recipe__art svg { width: 100%; max-width: 380px; margin: 0 auto; filter: drop-shadow(0 30px 30px rgba(60,20,10,.25)); }
.recipe__art .steam path { animation: steam 3s ease-in-out infinite; }
.recipe__art .steam path:nth-child(2) { animation-delay: .4s; }
.recipe__art .steam path:nth-child(3) { animation-delay: .8s; }
@keyframes steam { 50% { transform: translateY(-8px); opacity: .2; } }

/* =========================================================
   CITA
   ========================================================= */
.quote { padding: 60px var(--gutter) clamp(110px, 14vw, 170px); text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 1000px; }
.quote p { font-family: var(--italic); font-style: italic; font-weight: 500; font-size: clamp(34px, 5.4vw, 72px); line-height: 1.1; margin-bottom: 26px; }
.quote em { color: var(--red); font-weight: 600; }
.quote footer { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }

/* =========================================================
   DESPENSA / PRÓXIMAMENTE
   ========================================================= */
.pantry {
  background: var(--ink); color: var(--cream);
  padding: clamp(100px, 12vw, 160px) 0;
  border-radius: 48px 48px 0 0;
  position: relative; overflow: hidden;
}
.pantry::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(215,38,30,.35), transparent);
}
.pantry__head { padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto 60px; position: relative; }
.pantry__lead { max-width: 560px; color: #CFC6BA; font-size: 18px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto 30px; position: relative; }
.chip {
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.22); background: transparent; color: #CFC6BA;
  font: 500 14px var(--sans); transition: all .3s var(--ease);
}
.chip:hover { border-color: rgba(255,255,255,.5); color: var(--cream); }
.chip.is-active { background: var(--cream); border-color: var(--cream); color: var(--ink); }

.shelf { overflow-x: auto; scrollbar-width: none; cursor: grab; padding: 14px 0 30px; scroll-snap-type: x proximity; }
.shelf::-webkit-scrollbar { display: none; }
.shelf.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.shelf__track { display: flex; gap: 20px; padding: 0 var(--gutter); width: max-content; }
.item {
  position: relative;
  width: 270px; height: 460px; flex: none;
  border-radius: 24px;
  overflow: hidden;
  background: #2A2420;
  scroll-snap-align: start;
  transition: transform .6s var(--ease), opacity .4s, box-shadow .6s;
  box-shadow: 0 30px 50px -30px rgba(0,0,0,.8);
}
.item[hidden] { display: none; }
.item.is-entering { animation: itemIn .6s var(--ease) both; }
@keyframes itemIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.item img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;
  transition: transform 1.2s var(--ease), filter .6s;
  pointer-events: none;
}
.item img[src*="atun"] { object-position: 50% 75%; }
.item:not(.item--now) img { filter: saturate(.92); }
.item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,16,14,0) 50%, rgba(20,16,14,.86) 74%, rgba(20,16,14,.96) 100%);
}
.item:hover { transform: translateY(-10px); }
.item:hover img { transform: scale(1.06); filter: none; }
.item__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px 24px; z-index: 1; }
.item h3 { font-family: var(--serif); font-size: 25px; line-height: 1.08; margin-bottom: 6px; color: var(--cream); }
.item p { margin: 0; color: #CFC6BA; font-size: 13.5px; line-height: 1.4; }
.item__n { display: block; font-family: var(--italic); font-style: italic; font-size: 18px; color: #FFB79E; margin-bottom: 2px; }
.item__tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(30,26,23,.72); color: var(--cream);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.item--now { box-shadow: 0 0 0 2px var(--red-2), 0 30px 50px -30px rgba(0,0,0,.8); }
.item--now .item__tag { background: var(--red-2); }
.item--now::after { background: linear-gradient(180deg, rgba(126,11,18,0) 56%, rgba(126,11,18,.84) 78%, rgba(126,11,18,.97) 100%); }
.item--now p { color: #FFD9C2; }
.shelf__hint { text-align: center; color: #8C8379; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 10px 0 0; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact {
  background: var(--ink);
  padding: 0 var(--gutter) clamp(100px, 12vw, 150px);
}
.contact__inner {
  max-width: 1240px; margin: 0 auto;
  background: var(--cream);
  border-radius: 36px;
  padding: clamp(40px, 7vw, 100px);
  text-align: center;
  background-image:
    radial-gradient(600px 300px at 50% 0%, #FCE3D2, transparent 70%);
}
.contact__lead { max-width: 600px; margin: 0 auto 40px; color: var(--ink-soft); font-size: 18px; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.social {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 14px 26px 14px 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid rgba(30,26,23,.1);
  text-align: left; line-height: 1.2; font-weight: 700;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.social svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--red); color: var(--cream); }
.social small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-soft); }
.social:hover { transform: translateY(-4px); background: var(--ink); color: var(--cream); }
.social:hover small { color: #B9AFA2; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: #CFC6BA; padding: 0 var(--gutter) calc(40px + env(safe-area-inset-bottom)); }
.footer__brand { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__logo { font-family: var(--serif); font-weight: 900; font-size: clamp(64px, 10vw, 140px); color: var(--red-2); line-height: .9; letter-spacing: -.03em; }
.footer__logo sup { font-size: .16em; font-family: var(--sans); color: #CFC6BA; vertical-align: top; }
.footer__brand p { margin: 0; font-family: var(--italic); font-style: italic; font-size: 30px; color: var(--cream); }
.tricolor { display: flex; margin-left: auto; }
.tricolor i { width: 26px; height: 6px; }
.tricolor i:nth-child(1) { background: #1E8C45; } .tricolor i:nth-child(2) { background: #fff; } .tricolor i:nth-child(3) { background: var(--red-2); }
.footer__cols { max-width: 1240px; margin: 40px auto; display: grid; grid-template-columns: 1fr 1.6fr .8fr; gap: 40px; font-size: 14px; }
.footer h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #8C8379; margin-bottom: 10px; }
.footer__credits { max-width: 1240px; margin: 0 auto 12px; font-size: 12px; color: #6F675E; }
.footer__copy { max-width: 1240px; margin: 0 auto; font-size: 13px; color: #8C8379; }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.features .reveal:nth-child(2) { transition-delay: .1s; }
.features .reveal:nth-child(3) { transition-delay: .2s; }
.features .reveal:nth-child(4) { transition-delay: .3s; }
.stats .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .12s; }
.stats .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .24s; }
.stats .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .36s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .sheet { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .f4, .f5 { display: none; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__badges { justify-content: center; }
  .hero__jar { order: -1; }
  .jar-stage { --w: 160px; }
  .hero { padding-top: 110px; }
  .f1 { left: 8%; } .f2 { left: 70%; top: 36%; }
  .origin__grid, .product__showcase, .sheet, .recipe { grid-template-columns: 1fr; }
  .postcard { max-width: 560px; margin: 0 auto; }
  .product__photo { max-width: 460px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .recipe__art { order: -1; max-width: 240px; margin: 0 auto; }
  .footer__cols { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav::before { background: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.menu-open .nav__logo { color: var(--cream); }
  .nav.menu-open .nav__burger { background: var(--cream); }
  .nav.menu-open .nav__burger span { background: var(--red); }
  .nav__burger {
    position: relative;
    display: grid; gap: 6px; z-index: 60;
    width: 44px; height: 44px; place-content: center;
    border: 0; border-radius: 50%; background: var(--ink); cursor: pointer;
  }
  .nav__burger span { width: 18px; height: 2px; background: var(--cream); transition: transform .4s var(--ease); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--red);
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
    visibility: hidden;
    clip-path: circle(0 at calc(100% - 38px) calc(38px + env(safe-area-inset-top)));
    transition: clip-path .7s var(--ease), visibility 0s .7s;
  }
  .nav__links.is-open { visibility: visible; clip-path: circle(150% at calc(100% - 38px) calc(38px + env(safe-area-inset-top))); transition: clip-path .7s var(--ease); }
  .nav__links a { font-family: var(--serif); font-size: 36px; color: var(--cream); font-weight: 700; }
  .nav__cta { background: var(--cream); color: var(--red) !important; font-size: 24px !important; padding: 12px 30px; }
  .hero__badges { gap: 22px; }
  .hero { padding-bottom: 60px; }
  .f1 { top: 22%; left: 6%; } .f3 { top: 14%; right: 6%; } .f6 { top: 40%; left: 2%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); }
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .steps::before { display: block; top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(181,18,27,.35) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding-bottom: 30px; }
  .step:last-child { padding-bottom: 0; }
  .step__badge { width: 64px; height: 64px; box-shadow: 0 0 0 8px var(--cream); }
  .step__icon { width: 30px; height: 30px; }
  .step__n { min-width: 26px; height: 26px; font-size: 11px; right: -8px; }
  .step__body { margin-top: 6px; }
  .step h3 { font-size: 22px; margin-bottom: 4px; }
  .recipe__cols { grid-template-columns: 1fr; gap: 20px; }
  .sheet { padding: 26px 18px; border-radius: 22px; }
  .nutri { font-size: 14px; }
  .nutri caption { font-size: 24px; }
  .nutri td { padding: 7px 10px; }
  .nutri tr.sub td:first-child { padding-left: 20px; }
  .social { width: 100%; max-width: 300px; }
  .snap--a { left: 0; width: 44%; }
  .snap--b { width: 40%; }
  .snap figcaption { font-size: 15px; }
  .postcard__stamp { right: -6px; width: 88px; height: 104px; font-size: 16px; }
  .item { width: 230px; height: 400px; }
  .tricolor { margin-left: 0; }
  .marquee { transform: rotate(-2deg) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
