/* Coffis: estilos compartidos. Móvil primero; se amplía en 600, 760 y 960 px. */
:root {
  --cream: #FBF7F2;
  --sand: #F3ECE3;
  --line: #EADFD2;
  --white: #FFFFFF;
  --brown: #36190E;
  --brown-2: #5A2E1A;
  --ink-soft: #5B4033;
  --pink: #C2286F;
  --pink-d: #A41F5D;
  --pink-l: #F6D6E1;
  --o-bg: #DCE8CC; --o-fg: #2F5A2A;
  --d-bg: #F6D6E1; --d-fg: #9C2F58;
  --l-bg: #D5E6EE; --l-fg: #245E7A;
  --c-bg: #F5DFC0; --c-fg: #8A4E14;
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;
  --sh-1: 0 1px 2px rgba(54,25,14,.06), 0 6px 18px rgba(54,25,14,.06);
  --sh-2: 0 14px 32px rgba(54,25,14,.16);
  --f-head: 'Bricolage Grotesque', 'Work Sans', system-ui, sans-serif;
  --f-body: 'Work Sans', system-ui, sans-serif;
  --gutter: 20px;
  --sec: 56px;
  --header-h: 64px;
  --t-fast: 200ms;
  --t-in: 520ms;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (min-width: 760px) { :root { --gutter: 32px; --sec: 88px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--brown); font: 400 17px/1.55 var(--f-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-weight: 800; font-size: clamp(30px, 7.4vw, 50px); }
h3 { font-weight: 800; font-size: 22px; }
p { margin: 0; }
a { color: var(--brown); text-underline-offset: 3px; }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brown); color: #fff; padding: 10px 16px; border-radius: var(--r-s); text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sec { padding-top: var(--sec); padding-bottom: var(--sec); }
.sec--white { background: var(--white); }
.sec--sand { background: var(--sand); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.sec-head p { max-width: 46ch; color: var(--ink-soft); }
@media (min-width: 760px) { .sec-head { margin-bottom: 36px; } }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--ink-soft); }
.stripes { display: flex; height: 6px; }
.stripes span { flex: 1; }
.stripes span:nth-child(1) { background: #6FA84F; } .stripes span:nth-child(2) { background: #E0548E; }
.stripes span:nth-child(3) { background: #4F97C2; } .stripes span:nth-child(4) { background: #E8B23A; }

/* Botones: misma altura, radio y transición en todo el sitio */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: 600 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer; transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn svg { flex: none; }
.btn--pink { background: var(--pink); color: #fff; }
.btn--pink:hover { background: var(--pink-d); color: #fff; }
.btn--dark { background: var(--brown); color: #fff; }
.btn--dark:hover { background: var(--brown-2); color: #fff; }
.btn--line { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn--line:hover { background: var(--brown); color: #fff; }
.btn--white { background: #fff; color: var(--brown); }
.btn--white:hover { background: var(--pink-l); color: var(--brown); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; }

/* Cabecera compacta y fija */
.hdr { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.hdr__bar { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.hdr__logo img { height: 40px; width: auto; }
@media (min-width: 760px) { .hdr__logo img { height: 48px; } }
.hdr__nav { display: none; }
.hdr__cta { display: none; }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 2px solid var(--brown); border-radius: 999px; background: transparent; color: var(--brown); font: 600 15px var(--f-body); cursor: pointer; }
.menu-btn__icon { width: 18px; height: 12px; position: relative; }
.menu-btn__icon span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) ease; }
.menu-btn__icon span:nth-child(1) { top: 0; } .menu-btn__icon span:nth-child(2) { top: 5px; } .menu-btn__icon span:nth-child(3) { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.menu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(54,25,14,.12); padding: 8px var(--gutter) 20px; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity var(--t-fast) ease, transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast); }
.menu.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity var(--t-fast) ease, transform var(--t-fast) var(--ease), visibility 0s; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a { display: flex; align-items: center; min-height: 52px; font: 600 20px var(--f-head); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu li a[aria-current="page"] { color: var(--pink); }
.menu .btn { width: 100%; margin-top: 16px; }
@media (min-width: 960px) {
  .menu-btn, .menu { display: none; }
  .hdr__nav { display: flex; gap: 26px; margin-left: 12px; flex: 1; }
  .hdr__nav a { font-weight: 500; text-decoration: none; padding: 8px 0; }
  .hdr__nav a[aria-current="page"] { color: var(--pink); }
  .hdr__nav a:hover { color: var(--pink); text-decoration: underline; text-underline-offset: 6px; }
  .hdr__cta { display: inline-flex; }
}

/* Portada */
.hero { padding-top: 24px; padding-bottom: 40px; display: grid; gap: 22px; }
.hero__brand { font: 600 15px var(--f-body); color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.hero__brand img { width: 34px; height: 34px; border-radius: 6px; }
.hero h1 { font-weight: 800; font-size: clamp(32px, 8.6vw, 64px); line-height: 1.02; letter-spacing: -0.02em; margin-top: 10px; }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero .lead { margin-top: 12px; max-width: 34ch; }
.hero .btns { margin-top: 20px; }
.hero__dist { margin-top: 14px; font-size: 15px; }
.hero__dist a { font-weight: 600; }
.hero__art { position: relative; justify-self: center; width: min(100%, 340px); }
.hero__arch { background: var(--pink-l); border-radius: 999px 999px 28px 28px; padding: 18px 18px 18px; }
.hero__arch img { width: 100%; aspect-ratio: 631 / 838; object-fit: contain; }
.hero__heart { position: absolute; right: -10px; top: 34%; width: 72px; height: 72px; transform: rotate(12deg); }
@media (min-width: 760px) {
  .hero { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 72px; }
  .hero__art { width: min(100%, 420px); }
  .hero__heart { width: 92px; height: 92px; right: -18px; }
}
/* En móvil la foto entra en la primera pantalla: el arco se limita al alto disponible */
@media (max-width: 759px) {
  .hero__art { width: auto; max-width: 100%; }
  .hero__arch img { width: auto; max-height: 52vh; max-height: 52svh; }
}

/* Entrada de la portada: corta, una sola vez, solo si se permite movimiento */
@media (prefers-reduced-motion: no-preference) {
  .in { animation: rise var(--t-in) var(--ease) both; }
  .in-2 { animation-delay: 90ms; } .in-3 { animation-delay: 180ms; } .in-4 { animation-delay: 260ms; }
  .in-photo { animation: photo 600ms var(--ease) 120ms both; }
  .hero__heart { animation: beat 700ms var(--ease) 650ms 1 both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes photo { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
  @keyframes beat { 0% { transform: rotate(12deg) scale(.6); opacity: 0; } 60% { transform: rotate(12deg) scale(1.12); opacity: 1; } 100% { transform: rotate(12deg) scale(1); opacity: 1; } }
  /* Aparición al desplazarse: el JS solo la activa si puede revelar el contenido */
  .reveal-on [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--t-in) var(--ease), transform var(--t-in) var(--ease); }
  .reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Cifras */
.stats { background: var(--brown); color: var(--cream); }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding-top: 24px; padding-bottom: 24px; }
.stats__n { font: 800 clamp(24px, 6.2vw, 38px)/1.05 var(--f-head); }
.stats__t { font-size: 14px; line-height: 1.35; margin-top: 2px; }
.stats__grid > div:nth-child(1) .stats__n { color: #A9D18A; } .stats__grid > div:nth-child(2) .stats__n { color: #F59BC0; }
.stats__grid > div:nth-child(3) .stats__n { color: #9ACDE6; } .stats__grid > div:nth-child(4) .stats__n { color: #F4C95D; }
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 30px; padding-bottom: 30px; } .stats__t { font-size: 16px; } }

/* Sabores: tarjetas uniformes */
.flavors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 339px) { .flavors { grid-template-columns: 1fr; } }
@media (min-width: 760px) { .flavors { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.flavor { display: flex; flex-direction: column; text-decoration: none; color: var(--brown); background: var(--fbg); border-radius: var(--r-m); overflow: hidden; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) ease; -webkit-tap-highlight-color: transparent; }
.flavor:hover { color: var(--brown); }
.flavor__img { aspect-ratio: 3 / 4; overflow: hidden; background: #E4E4E6; }
.flavor__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.flavor__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.flavor__name { font: 800 20px/1.1 var(--f-head); color: var(--ffg); }
.flavor__note { font-size: 14px; line-height: 1.35; }
.flavor__more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--ffg); }
.flavor:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .flavor:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
  .flavor:hover .flavor__img img { transform: scale(1.04); }
}
@media (min-width: 760px) { .flavor__name { font-size: 26px; } .flavor__body { padding: 16px 18px 18px; } .flavor__note { font-size: 15px; } }
.f-original { --fbg: var(--o-bg); --ffg: var(--o-fg); }
.f-deslactosado { --fbg: var(--d-bg); --ffg: var(--d-fg); }
.f-light { --fbg: var(--l-bg); --ffg: var(--l-fg); }
.f-cacahuate { --fbg: var(--c-bg); --ffg: var(--c-fg); }

/* Ficha de sabor: panel inferior en móvil, diálogo en escritorio */
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: 24px 24px 0 0; background: var(--cream); color: var(--brown); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--sh-2); }
.sheet:not([open]) { display: none; }
.sheet::backdrop { background: rgba(30,14,8,.5); }
.sheet__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 8px 20px; background: var(--fbg); }
.sheet__top h2 { font-size: 28px; color: var(--ffg); }
.sheet__close { width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255,255,255,.85); color: var(--brown); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.sheet__close:hover { background: #fff; }
.sheet__scroll { overflow-y: auto; overscroll-behavior: contain; padding: 0 20px calc(20px + env(safe-area-inset-bottom)); }
.sheet__media { background: var(--fbg); margin: 0 -20px 18px; padding: 0 20px 18px; }
.sheet__media img { width: 100%; max-width: 260px; margin: 0 auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-m); }
.sheet__desc { margin-bottom: 14px; }
.sheet dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 14px; font-size: 16px; }
.sheet dt { font-weight: 600; }
.sheet dd { margin: 0; }
.sheet__warn { font-weight: 600; font-size: 15px; background: #fff; border-left: 4px solid var(--ffg); padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; }
.sheet .btns { margin-top: 4px; }
.sheet .btns .btn { flex: 1 1 200px; }
.sheet__page { display: inline-flex; margin-top: 10px; font-size: 15px; }
@media (min-width: 760px) {
  .sheet { margin: auto; width: min(760px, calc(100% - 64px)); max-height: min(86vh, 720px); border-radius: var(--r-l); }
  .sheet__body { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
  .sheet__media { margin: 0; padding: 0; background: none; }
  .sheet__scroll { padding: 20px 24px 24px; }
  .sheet__top { padding: 14px 14px 14px 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .sheet[open] { animation: sheet-up 280ms var(--ease); }
  .sheet[open]::backdrop { animation: fade 240ms ease; }
  @media (min-width: 760px) { .sheet[open] { animation: sheet-in 240ms var(--ease); } }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
  @keyframes sheet-in { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}
html.is-locked, html.is-locked body { overflow: hidden; }

/* Temporada */
.season { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
.season::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 88%; scroll-snap-align: start; position: relative; border-radius: var(--r-m); overflow: hidden; background: var(--brown); color: #fff; text-decoration: none; display: block; aspect-ratio: 16 / 10; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; background: linear-gradient(transparent, rgba(54,25,14,.88)); }
.slide__tag { display: inline-block; font-size: 13px; font-weight: 600; background: var(--pink); padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.slide__title { display: block; font: 800 20px/1.1 var(--f-head); }
.slide:hover { color: #fff; }
.season-ctl { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.dots { display: flex; gap: 4px; }
.dots button { width: 32px; height: 32px; border: 0; background: none; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dots button::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: #D9C9B8; transition: background-color var(--t-fast) ease, width var(--t-fast) ease; }
.dots button[aria-current="true"]::before { background: var(--pink); width: 22px; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--brown); background: transparent; color: var(--brown); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.arrow:disabled { opacity: .35; cursor: default; }
@media (min-width: 760px) {
  .season { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; overflow: visible; margin: 0; padding: 0; }
  .slide { aspect-ratio: 16 / 9; }
  .slide__txt { padding: 22px; }
  .slide__title { font-size: 26px; }
  .season-ctl { display: none; }
}

/* Distribuidores (bloque de inicio y página) */
.dist { display: grid; gap: 24px; }
.dist__copy { display: grid; gap: 16px; }
.dist__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.terms { display: grid; grid-template-columns: 1fr; gap: 10px; list-style: none; padding: 0; margin: 0; }
.terms li { background: var(--cream); border-radius: var(--r-s); padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.35; }
.terms li strong { font-size: 16px; }
.terms li strong::after { content: " "; }
@media (min-width: 600px) { .terms { grid-template-columns: repeat(3, minmax(0, 1fr)); } .terms li strong { display: block; } }
.terms svg { flex: none; color: var(--pink); margin-top: 2px; }
.sec--sand .terms li, .sec--cream .terms li { background: #fff; }
.modes { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.mode { display: flex; align-items: center; gap: 14px; background: var(--cream); border-radius: var(--r-m); padding: 10px; text-decoration: none; color: var(--brown); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) ease; }
.mode img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-s); flex: none; }
.mode strong { display: block; font-size: 17px; }
.mode span span { font-size: 14px; color: var(--ink-soft); }
.mode:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .mode:hover { transform: translateY(-2px); box-shadow: var(--sh-1); color: var(--brown); } }
@media (min-width: 760px) {
  .dist { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .dist__photo { order: -1; }
  .modes { grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
  .mode img { width: 88px; height: 88px; }
}

/* Historia */
.story { display: grid; gap: 20px; }
.story img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-l); }
.story__copy { display: grid; gap: 12px; }
.story__copy p { max-width: 48ch; }
@media (min-width: 760px) { .story { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; } }

/* Dónde comprar */
.buy { display: grid; gap: 16px; }
.card { background: #fff; border-radius: var(--r-l); padding: 22px; box-shadow: var(--sh-1); }
.card--store { border: 2px solid var(--pink); }
.card h3 { margin-bottom: 6px; }
.card .tag { display: inline-block; font-size: 13px; font-weight: 600; color: #fff; background: var(--pink); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.info { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 8px; font-size: 16px; }
.info li { display: flex; gap: 10px; align-items: flex-start; }
.info svg { flex: none; margin-top: 3px; color: var(--pink); }
.buy__map { margin: 16px 0 0; }
.buy__map img { width: 100%; border-radius: var(--r-m); aspect-ratio: 1400 / 678; object-fit: cover; }
.buy__map figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
@media (min-width: 760px) { .buy { grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; } }

/* Pie */
.ftr { background: #fff; }
.ftr__grid { display: grid; grid-template-columns: auto 1fr; gap: 24px 32px; padding-top: 36px; padding-bottom: 20px; font-size: 15px; }
.ftr__brand { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ftr__brand img.logo { height: 44px; width: auto; }
.ftr__brand p { max-width: 30ch; margin-top: 8px; color: var(--ink-soft); }
.ftr__seal { display: flex; align-items: center; gap: 8px; font-size: 13px; max-width: none; }
.ftr__seal img { width: 52px; height: 52px; border-radius: 6px; flex: none; }
.ftr h2 { font: 600 15px var(--f-body); margin-bottom: 8px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ftr ul a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.soc { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--sand); color: var(--brown); transition: background-color var(--t-fast) ease, color var(--t-fast) ease; }
.soc:hover { background: var(--pink); color: #fff; }
.ftr__legal { border-top: 1px solid var(--line); padding-top: 14px; padding-bottom: 20px; font-size: 13px; color: var(--ink-soft); }
@media (min-width: 760px) {
  .ftr__grid { grid-template-columns: 2fr 1fr 1.4fr; padding-top: 48px; }
  .ftr__brand { grid-column: auto; flex-direction: column; align-items: flex-start; }
}

/* Un solo acceso flotante a WhatsApp, solo en móvil, dentro de los márgenes seguros */
.wa { display: none; }
@media (max-width: 759px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .wa { position: fixed; right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--brown); border: 1px solid var(--line); text-decoration: none; box-shadow: 0 6px 16px rgba(54,25,14,.18); transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) ease; }
  .wa:hover, .wa:active { background: var(--sand); color: var(--brown); }
  .wa:active { transform: scale(.94); }
  .wa svg { width: 24px; height: 24px; }
  .wa.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
}

/* Páginas internas */
.page-hero { padding-top: 28px; padding-bottom: 32px; }
.page-hero h1 { font-weight: 800; font-size: clamp(36px, 9vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
.page-hero .lead { margin-top: 12px; max-width: 40ch; }
@media (min-width: 760px) { .page-hero { padding-top: 64px; padding-bottom: 48px; } }
.hero__word { display: block; font: 600 clamp(52px, 15vw, 120px)/.8 'Source Sans 3', var(--f-body); letter-spacing: -0.03em; color: var(--brown); }
.hero__seal { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-top: 18px; color: var(--ink-soft); }
.hero__seal img { width: 40px; height: 40px; border-radius: 6px; flex: none; }

/* Página Sabores */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; background: var(--fbg); color: var(--ffg); transition: filter var(--t-fast) ease; }
.jump a:hover { filter: brightness(.94); color: var(--ffg); }
.split { display: grid; gap: 24px; align-items: center; }
.split__img img { width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-l); }
@media (max-width: 759px) { .split__img img { max-width: 300px; } }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split--rev .split__img { order: 2; } }
.fsec { background: var(--fbg); }
.fsec h2 { color: var(--ffg); font-size: clamp(38px, 9vw, 64px); margin-bottom: 12px; }
.fsec p { max-width: 44ch; }
.fsec .chips { margin: 16px 0 20px; }
.fsec .btn { background: var(--ffg); color: #fff; }
.fsec .btn:hover { filter: brightness(.9); color: #fff; }
.warn { font-weight: 600; font-size: 15px; margin: -6px 0 18px; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--r-m); box-shadow: var(--sh-1); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; text-align: left; }
.cmp th, .cmp td { padding: 12px 14px; vertical-align: top; }
.cmp thead th { border-bottom: 2px solid var(--line); font-size: 14px; }
.cmp tbody tr + tr { border-top: 1px solid var(--line); }
.cmp tbody th { color: var(--ffg); }
@media (max-width: 599px) { .cmp .ideal { display: none; } }
@media (min-width: 760px) { .cmp { font-size: 16px; } .cmp th, .cmp td { padding: 16px 22px; } }
.note { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.tag-new { display: inline-block; background: var(--brown); color: var(--cream); font-weight: 600; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 16px 0 22px; }
.facts dt { font-weight: 600; } .facts dd { margin: 0; }
.band { background: var(--pink); color: #fff; }
.band .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }
.band h2 { font-size: clamp(26px, 6vw, 40px); }
.band p { margin-top: 6px; }

/* Página Nosotros */
.wide-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; border-radius: var(--r-l); }
@media (min-width: 760px) { .wide-img img { aspect-ratio: 21 / 9; } }
.founder img { width: 100%; max-width: 360px; margin: 0 auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 60%; border-radius: 200px 200px var(--r-l) var(--r-l); }
@media (min-width: 760px) { .founder img { aspect-ratio: 5 / 7; } }
.prose { display: grid; gap: 14px; }
.prose p { max-width: 54ch; }
.quote { background: var(--brown); color: var(--cream); text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 30ch; font: 600 clamp(24px, 5.6vw, 40px)/1.22 var(--f-head); }
.quote p { margin-top: 16px; color: var(--pink-l); font-weight: 600; }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 24px; }
.mini-stats p:first-child { font: 800 clamp(30px, 8vw, 40px)/1.05 var(--f-head); color: var(--pink); }
.mini-stats p + p { font-size: 14px; }
.truck img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: left center; border-radius: var(--r-l); }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 359px) { .values { grid-template-columns: 1fr; } }
@media (min-width: 960px) { .values { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.value { background: var(--fbg); border-radius: var(--r-m); padding: 18px; }
.value svg { color: var(--ffg); }
.value h3 { margin: 10px 0 4px; font-size: 20px; }
.value p { font-size: 15px; line-height: 1.45; }

/* Página Distribuidores */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { background: #fff; border-radius: var(--r-m); padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline; }
.step__n { font: 800 34px/1 var(--f-head); grid-row: span 2; }
.step:nth-child(1) .step__n { color: var(--o-fg); } .step:nth-child(2) .step__n { color: var(--pink); } .step:nth-child(3) .step__n { color: var(--l-fg); }
.step h3 { font-family: var(--f-body); font-size: 18px; font-weight: 600; }
.step p { font-size: 15px; }
.offers { display: grid; gap: 12px; }
@media (min-width: 760px) { .offers { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.offer { background: var(--cream); border-radius: var(--r-m); overflow: hidden; display: grid; grid-template-columns: 96px 1fr; }
.offer img { width: 100%; height: 100%; object-fit: cover; }
.offer__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.offer h3 { font-size: 19px; }
.offer p { font-size: 15px; line-height: 1.4; }
.offer .btn { align-self: flex-start; margin-top: 4px; }
@media (min-width: 760px) { .offer { grid-template-columns: 1fr; } .offer img { aspect-ratio: 16 / 10; height: auto; } .offer__body { padding: 20px; flex: 1; } .offer p { flex: 1; } }
.quotes { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 760px) { .quotes { grid-template-columns: 1fr 1fr; gap: 20px; } }
.quotes figure { margin: 0; background: #fff; border-radius: var(--r-m); padding: 20px; }
.quotes blockquote { margin: 0 0 10px; font: 600 19px/1.35 var(--f-head); }
.quotes figcaption { font-size: 14px; color: var(--ink-soft); }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--r-s); }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 18px; min-height: 48px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 22px/1 var(--f-body); color: var(--pink); transition: transform var(--t-fast) ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 16px; }
.join { display: grid; gap: 28px; }
@media (min-width: 900px) { .join { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; } }
.form-card { background: #fff; border-radius: var(--r-l); padding: 22px; display: grid; grid-template-columns: 1fr; gap: 16px; box-shadow: var(--sh-1); }
@media (min-width: 600px) { .form-card { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 30px; } }
.form-card label { font-weight: 600; font-size: 15px; }
.form-card input, .form-card select, .form-card textarea { min-height: 48px; }
.form-card > div { grid-column: 1 / -1; }
@media (min-width: 600px) { .form-card > div { grid-column: auto; } .form-card > div.wide { grid-column: 1 / -1; } }
.page-hero .terms li { background: #fff; }
@media (max-width: 759px) { .founder img { max-width: 290px; } }
/* Ajustes de validación */
.hero { overflow-x: clip; }
@media (max-width: 759px) { .hero__heart { right: 0; } }
.ftr__brand { flex-wrap: wrap; }
.dots button { width: 44px; height: 44px; }
.flavor__name { hyphens: auto; -webkit-hyphens: auto; }
@media (min-width: 760px) and (max-width: 959px) { .flavor__name { font-size: 19px; } .flavor__body { padding: 12px; } }
.ftr__grid > * { min-width: 0; }
.ftr ul a { overflow-wrap: anywhere; }
@media (max-width: 379px) { .ftr__grid { grid-template-columns: 1fr; } }
/* El logo trae fondo blanco: se funde con el fondo del header y del pie */
.hdr__logo img, .ftr__brand img.logo { mix-blend-mode: multiply; }
/* Toque de fondo en la portada: luces suaves con los colores de los sabores y "granitos" de café */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(246,214,225,.85), transparent) 78% 70% / 520px 520px no-repeat,
    radial-gradient(closest-side, rgba(220,232,204,.7), transparent) 4% 8% / 360px 360px no-repeat,
    radial-gradient(closest-side, rgba(245,223,192,.7), transparent) 100% 0% / 340px 340px no-repeat,
    radial-gradient(closest-side, rgba(213,230,238,.6), transparent) 0% 100% / 380px 380px no-repeat; }
.hero::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); pointer-events: none;
  background-image: radial-gradient(rgba(54,25,14,.08) 1.2px, transparent 1.6px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
@media (min-width: 960px) {
  .hero::before { background:
    radial-gradient(closest-side, rgba(246,214,225,.85), transparent) 80% 55% / 760px 760px no-repeat,
    radial-gradient(closest-side, rgba(220,232,204,.7), transparent) 6% 10% / 520px 520px no-repeat,
    radial-gradient(closest-side, rgba(245,223,192,.65), transparent) 98% 0% / 460px 460px no-repeat,
    radial-gradient(closest-side, rgba(213,230,238,.6), transparent) 30% 100% / 520px 520px no-repeat; }
}
/* Franja de colores con vida: cada 9 s pasa una "ola" elástica. Cada color se estira y regresa
   con un pequeño rebote, uno tras otro, y un brillo suave recorre la cinta al mismo tiempo. */
@media (prefers-reduced-motion: no-preference) {
  .stripes { position: relative; overflow: hidden; }
  /* Al abrir la página: la cinta se "tira" desde la izquierda, color por color, más gruesa y con rebote */
  .stripes span { transform-origin: top; animation: abre 1s cubic-bezier(.34,1.56,.64,1) .1s both, estira 9s cubic-bezier(.34,1.56,.64,1) 3s infinite; }
  .stripes span:nth-child(2) { animation-delay: .28s, 3.18s; }
  .stripes span:nth-child(3) { animation-delay: .46s, 3.36s; }
  .stripes span:nth-child(4) { animation-delay: .64s, 3.54s; }
  @keyframes abre { 0% { flex-grow: 0; transform: scaleY(2.2); } 55% { flex-grow: 3.4; transform: scaleY(2.2); } 100% { flex-grow: 1; transform: scaleY(1); } }
  @keyframes estira { 0% { flex-grow: 1; } 7% { flex-grow: 2.8; } 16%, 100% { flex-grow: 1; } }
  .stripes::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
    transform: translateX(-120%); animation: brillo 9s cubic-bezier(.45,0,.25,1) 1.4s infinite; }
  @keyframes brillo { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(440%); } }
}

/* Menú móvil v2: panel de altura completa, enlaces grandes con el color de cada sabor, accesos directos y la tienda */
@media (max-width: 959px) {
  html.menu-open, html.menu-open body { overflow: hidden; }
  .menu { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; background: var(--cream); padding: 6px var(--gutter) calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 0 0 100vmax rgba(30,14,8,0); transition: opacity var(--t-fast) ease, transform var(--t-fast) var(--ease), box-shadow var(--t-fast) ease, visibility 0s linear var(--t-fast); }
  .menu.is-open { box-shadow: 0 0 0 100vmax rgba(30,14,8,.45); transition: opacity var(--t-fast) ease, transform var(--t-fast) var(--ease), box-shadow var(--t-fast) ease, visibility 0s; }
  .menu__links li a { min-height: 58px; gap: 14px; font-size: 24px; font-weight: 800; }
  .menu__links li a::before { content: ""; width: 12px; height: 12px; border-radius: 999px; flex: none; background: var(--dot, var(--pink)); }
  .menu__links li a::after { content: "→"; margin-left: auto; font: 500 20px var(--f-body); color: var(--ink-soft); transition: transform var(--t-fast) var(--ease); }
  .menu__links li a:active::after { transform: translateX(4px); }
  .menu__links li:nth-child(1) { --dot: #6FA84F; } .menu__links li:nth-child(2) { --dot: #E0548E; }
  .menu__links li:nth-child(3) { --dot: #4F97C2; } .menu__links li:nth-child(4) { --dot: #E8B23A; }
  .menu__links li:nth-child(5) { --dot: var(--brown); }
  .menu__links li a[aria-current="page"] { color: var(--pink); }
  .menu__cta { display: grid; gap: 10px; margin-top: 18px; }
  .menu__cta .btn { width: 100%; margin: 0; }
  .menu__store { margin-top: 18px; padding: 14px 16px; background: #fff; border-radius: var(--r-m); font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
  .menu__store strong { display: block; color: var(--brown); font-size: 15px; }
  @media (prefers-reduced-motion: no-preference) {
    .menu.is-open .menu__links li, .menu.is-open .menu__cta, .menu.is-open .menu__store { animation: menu-in 320ms var(--ease) both; }
    .menu.is-open .menu__links li:nth-child(2) { animation-delay: 40ms; } .menu.is-open .menu__links li:nth-child(3) { animation-delay: 80ms; }
    .menu.is-open .menu__links li:nth-child(4) { animation-delay: 120ms; } .menu.is-open .menu__links li:nth-child(5) { animation-delay: 160ms; }
    .menu.is-open .menu__cta { animation-delay: 200ms; } .menu.is-open .menu__store { animation-delay: 240ms; }
    @keyframes menu-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  }
}

/* Pie v2: invitación final en café, y debajo la tienda, el sitio y el contacto */
.ftr { background: var(--sand); padding-top: 28px; }
.ftr__cta { background: var(--brown); color: var(--cream); border-radius: var(--r-l); padding: 24px 22px; display: grid; gap: 18px; position: relative; overflow: hidden; }
.ftr__cta::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(224,84,142,.35), transparent); pointer-events: none; }
.ftr__cta h2 { font: 800 clamp(26px, 7vw, 40px)/1.08 var(--f-head); color: #fff; margin: 0 0 6px; }
.ftr__cta p { color: #EADFD2; }
.ftr__cta .btns { position: relative; z-index: 1; }
.btn--cream { border-color: #EADFD2; color: #fff; background: transparent; }
.btn--cream:hover { background: #fff; color: var(--brown); }
.ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 32px; }
.ftr__brand { grid-column: 1 / -1; display: grid; gap: 10px; justify-items: start; }
.ftr__brand p { margin: 0; }
.ftr__visit { grid-column: 1 / -1; }
.ftr__visit p { margin: 0 0 6px; color: var(--ink-soft); }
.ftr__visit p strong { color: var(--brown); }
.ftr__visit .link-arrow { min-height: 40px; }
.ftr .soc { background: #fff; }
.ftr__legal { border-top-color: #E2D5C6; }
@media (max-width: 379px) { .ftr__grid { grid-template-columns: 1fr; } }
@media (min-width: 760px) {
  .ftr { padding-top: 48px; }
  .ftr__cta { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; }
  .ftr__grid { grid-template-columns: 1.3fr 1.2fr .8fr 1fr; gap: 32px; padding-top: 44px; }
  .ftr__brand, .ftr__visit { grid-column: auto; }
}

/* Pie: los enlaces de contacto fluyen como texto para que "WhatsApp" no se parta */
.ftr ul a { display: inline-block; min-height: 0; padding: 7px 0; line-height: 1.4; overflow-wrap: normal; }
@media (min-width: 760px) and (max-width: 1023px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
