/* PapillApp — sitio público.
   Paleta del ícono de la app: crema de papilla, rosa Amelia, salvia de la
   ramita y cacao para el texto, más los colores de los grupos de alimentos
   de la Guía. Fredoka repite la forma redondeada del logotipo, Atkinson
   Hyperlegible Next se lee bien a las 3 de la mañana y Caveat es la letra
   del cuaderno del refrigerador (solo para acentos). */

:root {
  --crema: #FDF9F0;
  --papel: #FFFDF7;
  --linea: #EFE3D0;
  --rosa: #D9607C;
  --rosa-hondo: #B94764;
  --bruma: #FBEEF1;
  --rubor: #F3CFD8;
  --rosa-claro: #FFE3EA;
  --salvia: #8FA35A;
  --salvia-bruma: #EEF2E1;
  --cacao: #2E2A25;
  --cacao-suave: #6B6257;
  --blanco: #FFFFFF;
  --postit: #FFF1B8;

  --proteina: #C0485D;
  --carbo: #D9A441;
  --verdura: #6E9A4E;

  --display: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mano: "Caveat", "Segoe Print", cursive;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Segoe UI", system-ui, sans-serif;

  --radio: 22px;
  --sombra: 0 18px 50px -24px rgba(185, 71, 100, 0.35), 0 2px 8px rgba(46, 42, 37, 0.06);
  --ancho: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
/* Nada puede ensanchar la página: si algo sobresale (un teléfono rotado,
   un post-it), en el celular se podía alejar el zoom y el diseño se veía
   desarmado. `clip` recorta sin crear otra zona con scroll. */
/* Solo `clip` (y `hidden` en html como respaldo): `hidden` en body lo vuelve
   un contenedor con scroll y la barra superior deja de quedar fija. */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--cacao);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rosa-hondo); }
:focus-visible { outline: 3px solid var(--rosa-hondo); outline-offset: 3px; border-radius: 8px; }
.on-rosa :focus-visible { outline-color: var(--crema); }

.wrap { width: min(100% - 2 * var(--gutter), var(--ancho)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cacao); color: var(--blanco); padding: 8px 14px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.9rem, 7.4vw, 5.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 0.95; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0; }

.hand { font-family: var(--mano); font-weight: 600; font-size: 1.65rem; line-height: 1.1; color: var(--rosa-hondo); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.26rem); color: var(--cacao-suave); max-width: 40ch; }
.section { padding-block: clamp(64px, 10vw, 128px); overflow-x: clip; }
.section-head { display: grid; gap: 12px; max-width: 660px; margin-bottom: clamp(36px, 6vw, 60px); }
.section-head p { color: var(--cacao-suave); font-size: 1.12rem; }

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(253, 249, 240, 0.9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { border-color: var(--rubor); box-shadow: 0 6px 24px -18px rgba(46, 42, 37, 0.4); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rosa); }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.01em; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
.site-nav a { color: var(--cacao); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.site-nav a:hover { color: var(--rosa-hondo); }
.site-nav .nav-optional { display: none; }
@media (min-width: 760px) { .site-nav .nav-optional { display: inline; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none;
  border-radius: 999px; padding: 10px 20px; border: 0; cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.site-nav .btn-rosa, .btn-rosa { background: var(--rosa); color: var(--blanco); box-shadow: 0 10px 22px -12px rgba(217, 96, 124, 0.9); }
.site-nav .btn-rosa:hover, .btn-rosa:hover { background: var(--rosa-hondo); color: var(--blanco); transform: translateY(-1px); }

/* ---------- Paneles rosa (portada y cierre) ---------- */

.on-rosa { background: var(--rosa); color: var(--crema); position: relative; overflow: hidden; isolation: isolate; }
/* iOS no siempre recorta con border-radius a los hijos animados (el anillo
   que gira): la máscara lo obliga a recortar dentro del panel. */
@supports (-webkit-touch-callout: none) { .on-rosa { -webkit-mask-image: -webkit-radial-gradient(white, black); } }
.on-rosa .hand { color: var(--rosa-claro); }
.on-rosa .lead { color: #FFF4F6; }
.on-rosa a { color: var(--crema); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 204px;
  padding: 11px 22px 11px 16px; border-radius: 999px; text-decoration: none;
  background: var(--crema); color: var(--cacao); border: 2px solid var(--crema);
  box-shadow: 0 14px 26px -16px rgba(60, 10, 25, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.on-rosa a.store { color: var(--cacao); }
.store i { font-size: 1.6rem; width: 28px; text-align: center; color: var(--rosa-hondo); }
.store small { display: block; font-size: 0.7rem; line-height: 1.1; opacity: 0.75; letter-spacing: 0.03em; }
.store strong { display: block; font-family: var(--ui); font-size: 1.08rem; line-height: 1.15; font-weight: 600; }
a.store:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -16px rgba(60, 10, 25, 0.7); }
.store.is-soon { background: transparent; color: var(--crema); border-color: rgba(253, 249, 240, 0.6); box-shadow: none; cursor: default; }
.store.is-soon i { color: var(--crema); }
.store-note { font-size: 0.95rem; color: var(--rosa-claro); max-width: 46ch; }
.store-note a { font-weight: 700; }

/* ---------- Portada ---------- */

.hero { overflow-x: clip; border-radius: 0 0 clamp(28px, 6vw, 64px) clamp(28px, 6vw, 64px); padding-block: clamp(36px, 6vw, 72px) clamp(70px, 9vw, 116px); }
.hero::before {
  content: ""; position: absolute; width: min(90vw, 720px); aspect-ratio: 1; right: -12%; top: 50%;
  translate: 0 -50%; border-radius: 50%; border: 2px dashed rgba(253, 249, 240, 0.35);
  animation: spin 60s linear infinite; pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: clamp(44px, 6vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.08fr 1fr; } }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero h1 .line { display: block; }
.hero h1 .line-2 { color: var(--rosa-claro); }

.relay { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 3vw, 28px); align-items: end; max-width: 540px; width: 100%; margin-inline: auto; }
.relay-side { display: grid; gap: 12px; justify-items: center; }
.relay-side:first-child { transform: translateY(26px) rotate(-3deg); }
.relay-side:last-child { transform: rotate(2.5deg); }
.relay-label { font-family: var(--display); font-weight: 500; font-size: 0.9rem; color: var(--cacao); background: rgba(253, 249, 240, 0.94); border-radius: 999px; padding: 4px 12px; }

.phone { position: relative; width: 100%; max-width: 250px; aspect-ratio: 9 / 19.5; border-radius: clamp(26px, 4vw, 38px); padding: 7px; background: #1F1A1B; box-shadow: 0 30px 60px -26px rgba(60, 10, 25, 0.6), inset 0 0 0 1.5px #3A3133; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: clamp(20px, 3.4vw, 31px); overflow: hidden; background: var(--crema); }
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.tap { position: absolute; left: 24%; top: 58%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid var(--rosa); opacity: 0; pointer-events: none; }
.tap.is-on { animation: tap 0.9s ease-out; }
@keyframes tap { 0% { transform: scale(0.4); opacity: 0.95; } 100% { transform: scale(1.8); opacity: 0; } }

.lock {
  position: absolute; inset: 0; color: var(--blanco); font-family: var(--ui);
  background:
    radial-gradient(120% 70% at 20% 0%, rgba(243, 207, 216, 0.55), transparent 60%),
    radial-gradient(120% 80% at 100% 100%, rgba(143, 163, 90, 0.45), transparent 60%),
    linear-gradient(160deg, #8C3F55, #3A2A2E 75%);
  display: flex; flex-direction: column; align-items: center; padding: 16% 7% 0;
}
.lock-date { font-size: clamp(0.62rem, 1.2vw, 0.8rem); opacity: 0.9; font-weight: 500; }
.lock-time { font-size: clamp(2.3rem, 5.6vw, 3.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-top: 2px; }
.notifs { list-style: none; margin: 14% 0 0; padding: 0; width: 100%; display: grid; gap: 7px; }
.notif {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: start;
  background: rgba(255, 255, 255, 0.86); color: #1B1718; border-radius: 14px; padding: 8px 9px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.5);
  font-size: clamp(0.56rem, 1.05vw, 0.72rem); line-height: 1.3;
  animation: notif-in 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.25) both;
}
.notif img { grid-row: span 3; width: 18px; height: 18px; border-radius: 5px; margin-top: 1px; }
.notif-app { display: flex; justify-content: space-between; color: #6E6466; font-size: 0.92em; }
.notif-title { font-weight: 700; }
.notif-body { color: #3B3335; }
.notif.is-leaving { animation: notif-out 0.35s ease-in both; }
@keyframes notif-in { from { opacity: 0; transform: translateY(-14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes notif-out { to { opacity: 0; transform: scale(0.94); } }

.sound { position: absolute; top: -20px; right: 8px; display: flex; gap: 3px; align-items: flex-end; height: 22px; opacity: 0; transition: opacity 0.3s ease; }
.sound.is-on { opacity: 1; }
.sound span { width: 4px; border-radius: 4px; background: var(--crema); animation: bars 0.8s ease-in-out infinite; }
.sound span:nth-child(1) { height: 8px; }
.sound span:nth-child(2) { height: 18px; animation-delay: 0.12s; }
.sound span:nth-child(3) { height: 12px; animation-delay: 0.24s; }
@keyframes bars { 50% { transform: scaleY(0.45); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cuaderno del refrigerador ---------- */

.cuaderno { background-color: var(--papel); background-image: linear-gradient(var(--linea) 1px, transparent 1px); background-size: 100% 34px; }
.cuaderno-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 980px) { .cuaderno-grid { grid-template-columns: 1fr 1fr; } }
.cuaderno-copy { display: grid; gap: 18px; justify-items: start; }
.scribble { position: relative; white-space: nowrap; }
.scribble svg { position: absolute; left: -4%; bottom: -0.24em; width: 108%; height: 0.5em; overflow: visible; }
.scribble path { stroke: var(--salvia); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.2s 0.3s ease; }
.is-in .scribble path { stroke-dashoffset: 0; }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; color: var(--cacao-suave); }
.checks li::before { content: "✓"; font-family: var(--mano); font-size: 1.7rem; line-height: 1; color: var(--salvia); }

.spread { position: relative; min-height: 540px; max-width: 560px; width: 100%; margin-inline: auto; }
.page {
  position: absolute; left: 0; top: 40px; width: min(84%, 380px); background: var(--blanco); border-radius: 6px;
  padding: 24px 22px 28px 44px; transform: rotate(-4deg); box-shadow: 0 30px 60px -34px rgba(46, 42, 37, 0.5);
  background-image: linear-gradient(#F4E7D4 1px, transparent 1px); background-size: 100% 36px; background-position: 0 22px;
}
.page::before { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; width: 2px; background: #F2B9C6; }
.page .magnet { position: absolute; top: -14px; left: 46%; width: 30px; height: 30px; border-radius: 50%; background: var(--rosa); box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.15), 0 6px 10px -4px rgba(0, 0, 0, 0.4); }
.page h3 { font-family: var(--mano); font-size: 2rem; margin: 0 0 4px; color: var(--rosa-hondo); }
.page ol { list-style: none; margin: 0; padding: 0; font-family: var(--mano); font-size: 1.5rem; line-height: 36px; color: #3B3431; }
.page li { opacity: 0; transform: translateX(-6px); transition: opacity 0.45s ease, transform 0.45s ease; }
.is-in .page li { opacity: 1; transform: none; }
.is-in .page li:nth-child(2) { transition-delay: 0.35s; }
.is-in .page li:nth-child(3) { transition-delay: 0.7s; }
.is-in .page li:nth-child(4) { transition-delay: 1.05s; }
.is-in .page li:nth-child(5) { transition-delay: 1.4s; }
.page s { text-decoration-color: var(--rosa); text-decoration-thickness: 2px; }
.spread .phone { position: absolute; right: 0; top: 0; width: min(50%, 250px); transform: rotate(4deg); }
.tape { position: absolute; z-index: 2; width: 110px; height: 30px; background: rgba(143, 163, 90, 0.38); top: -12px; left: 50%; transform: translateX(-50%) rotate(-6deg); }
.postit {
  position: absolute; right: 0; bottom: 30px; z-index: 3; font-family: var(--mano); font-size: 1.55rem; line-height: 1.1;
  color: var(--rosa-hondo); background: var(--postit); padding: 10px 16px; transform: rotate(-5deg);
  box-shadow: 0 12px 22px -14px rgba(0, 0, 0, 0.5);
}

/* ---------- Un día con dos teléfonos ---------- */

.day { background: var(--blanco); border-block: 1px solid var(--rubor); }
.day-grid { display: grid; gap: clamp(32px, 6vw, 80px); }
@media (min-width: 980px) { .day-grid { grid-template-columns: 1fr 320px; } }
.moments { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(30px, 5vw, 60px); position: relative; }
.moments::before { content: ""; position: absolute; left: 47px; top: 12px; bottom: 12px; width: 2px; background: repeating-linear-gradient(to bottom, var(--rubor) 0 8px, transparent 8px 16px); }
.moment { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.moment-time {
  position: relative; z-index: 1; justify-self: start; min-width: 94px; text-align: center;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--rosa-hondo);
  background: var(--bruma); border: 1.5px solid var(--rubor); border-radius: 999px; padding: 6px 12px;
  font-variant-numeric: tabular-nums; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.moment.is-active .moment-time { background: var(--rosa); color: var(--blanco); border-color: var(--rosa); }
.moment-body { display: grid; gap: 8px; padding-top: 4px; }
.moment-who { font-size: 0.85rem; font-weight: 700; color: var(--salvia); text-transform: uppercase; letter-spacing: 0.08em; }
.moment-body p { color: var(--cacao-suave); max-width: 52ch; }
.moment-shot { margin-top: 10px; width: min(62vw, 230px); }
.moment-shot .phone { max-width: none; }
@media (min-width: 980px) { .moment-shot { display: none; } }
.day-phone { display: none; }
@media (min-width: 980px) {
  .day-phone { display: block; position: sticky; top: 104px; align-self: start; }
  .day-phone .phone { max-width: 300px; box-shadow: var(--sombra), inset 0 0 0 1.5px #3A3133; }
}
.day-phone .layer { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.day-phone .layer.is-active { opacity: 1; }
.day-phone .layer img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lock-mini { padding-top: 18%; }
.lock-mini .notifs { margin-top: 18%; }
.lock-mini .notif { animation: none; font-size: 0.72rem; }
.moment-shot .lock-mini .notif { font-size: 0.6rem; }

/* ---------- El plato ---------- */

.plato-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 980px) { .plato-grid { grid-template-columns: 1fr 1fr; } }
.plate { position: relative; width: min(84vw, 440px); aspect-ratio: 1; margin-inline: auto; }
.plate-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed var(--rubor); }
.plate-core { position: absolute; inset: 19%; border-radius: 50%; background: var(--blanco); box-shadow: 0 30px 60px -24px rgba(185, 71, 100, 0.45), inset 0 0 0 10px var(--bruma); display: grid; place-items: center; }
.plate-core img { width: 80%; border-radius: 28%; }
.orbit { position: absolute; inset: 0; animation: spin 48s linear infinite; }
.orbit-item { position: absolute; inset: 0; }
.chip-wrap { position: absolute; left: 50%; top: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 10px 18px; border-radius: 999px; color: var(--blanco);
  font-family: var(--display); font-weight: 600; font-size: clamp(0.85rem, 2.4vw, 1rem);
  box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.45);
  animation: spin 48s linear infinite reverse;
}
.g-proteina { background: var(--proteina); }
.g-carbo { background: var(--carbo); color: #3A2A10; }
.g-verdura { background: var(--verdura); }
.plato-copy { display: grid; gap: 18px; }
.plato-copy > p { color: var(--cacao-suave); font-size: 1.1rem; max-width: 48ch; }
.formula { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--display); font-weight: 500; }
.formula b { padding: 5px 13px; border-radius: 999px; font-weight: 600; }
.formula .g-carbo { color: #3A2A10; }
.formula b.g-proteina, .formula b.g-verdura { color: var(--blanco); }
.bullets { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; }
.bullets li { display: grid; grid-template-columns: 42px 1fr; gap: 2px 14px; }
.bullets .emoji { grid-row: span 2; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; background: var(--bruma); border: 1px solid var(--rubor); }
.bullets strong { font-family: var(--display); font-weight: 600; font-size: 1.08rem; }
.bullets span { color: var(--cacao-suave); }

/* ---------- Del plan al plato ---------- */

.flow-section { background: var(--bruma); border-block: 1px solid var(--rubor); }
.flow { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.flow-step { position: relative; display: grid; gap: 14px; align-content: start; background: var(--blanco); border-radius: var(--radio); padding: 22px; box-shadow: var(--sombra); }
@media (min-width: 900px) {
  .flow-step { margin-inline: 12px; }
  .flow-step:nth-child(1) { transform: rotate(-0.8deg); }
  .flow-step:nth-child(2) { transform: rotate(0.6deg) translateY(10px); }
  .flow-step:nth-child(3) { transform: rotate(-0.4deg); }
  .flow-step + .flow-step::before { content: "→"; position: absolute; left: -24px; top: 26px; font-family: var(--mano); font-size: 2.2rem; color: var(--rosa); }
}
.flow-verb { font-family: var(--mano); font-size: 2.4rem; line-height: 1; color: var(--rosa-hondo); }
.flow-step p { color: var(--cacao-suave); }
.flow-crop { border-radius: 16px; overflow: hidden; border: 1px solid var(--rubor); aspect-ratio: 4 / 3; background: var(--crema); }
.flow-crop img { width: 100%; height: 100%; object-fit: cover; }
.flow-crop.pos-menu img { object-position: 50% 24%; }
.flow-crop.pos-dia img { object-position: 50% 14%; }
.flow-crop.pos-calendario img { object-position: 50% 10%; }

/* ---------- Informe y extras ---------- */

.extras { background: var(--salvia-bruma); }
.extras-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 980px) { .extras-grid { grid-template-columns: 0.9fr 1.1fr; } }
.paper { position: relative; max-width: 420px; margin: 0 auto; }
.paper img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(46, 42, 37, 0.55); transform: rotate(-2.5deg); background: var(--blanco); }
.paper .tape { top: -10px; left: 30%; }
.paper figcaption { position: absolute; right: 4px; bottom: 22px; font-family: var(--mano); font-size: 1.6rem; line-height: 1.05; color: var(--rosa-hondo); background: var(--postit); padding: 8px 14px; transform: rotate(4deg); box-shadow: 0 12px 22px -14px rgba(0, 0, 0, 0.5); }
.extras-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 640px) { .extras-list { grid-template-columns: 1fr 1fr; } }
.extras-list li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; }
.extras-list .emoji { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--blanco); border: 1px solid #DCE4C6; }
.extras-list h3 { font-size: 1.1rem; }
.extras-list p { color: var(--cacao-suave); font-size: 0.98rem; }

/* ---------- Promesa ---------- */

.promise { display: grid; gap: 18px; }
@media (min-width: 860px) { .promise { grid-template-columns: repeat(2, 1fr); } }
.promise-card { border-radius: var(--radio); padding: 26px; display: grid; gap: 10px; align-content: start; background: var(--blanco); border: 1px solid var(--rubor); }
.promise-card.is-bruma { background: var(--bruma); }
.promise-card p { color: var(--cacao-suave); }

/* ---------- Cierre ---------- */

.closing { border-radius: clamp(28px, 6vw, 64px) clamp(28px, 6vw, 64px) 0 0; text-align: center; padding-block: clamp(64px, 10vw, 120px); }
.closing .wrap { display: grid; justify-items: center; gap: 22px; }
.closing-art { width: clamp(170px, 28vw, 240px); border-radius: 30%; box-shadow: 0 30px 60px -24px rgba(60, 10, 25, 0.6); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.closing .stores { justify-content: center; }
.closing .lead { max-width: 44ch; }

/* ---------- Pie ---------- */

.site-footer { background: var(--cacao); color: #D9CFC6; padding-block: 36px; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--crema); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--rosa-claro); }
.site-footer .brand { color: var(--rosa-claro); }

/* ---------- Páginas de texto ---------- */

.page-hero { padding-block: clamp(40px, 7vw, 80px) clamp(20px, 4vw, 36px); }
.page-hero .wrap { display: grid; gap: 14px; max-width: 780px; }
.page-hero .lead { max-width: 56ch; }
.prose { max-width: 780px; padding-bottom: clamp(56px, 9vw, 110px); }
.prose h2 { font-size: 1.55rem; margin: 2.1em 0 0.6em; color: var(--rosa-hondo); }
.prose p, .prose li { color: #4A433C; }
.prose p + p { margin-top: 0.9em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.5em; }
.prose .updated { color: var(--cacao-suave); font-size: 0.95rem; }

.contact-card { display: grid; gap: 12px; background: var(--blanco); border: 1px solid var(--rubor); border-radius: var(--radio); padding: 24px; box-shadow: var(--sombra); margin-bottom: 40px; }
.contact-card .btn { justify-self: start; }
.contact-card p { color: var(--cacao-suave); }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--blanco); border: 1px solid var(--rubor); border-radius: 18px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 1.6rem; color: var(--rosa); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: 18px; display: grid; gap: 10px; }
.faq .answer p, .faq .answer li { color: #4A433C; }
.faq ol, .faq ul { margin: 0; padding-left: 1.2em; }

/* ---------- Aparición al hacer scroll ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }

@media (max-width: 600px) {
  .store { min-width: 0; flex: 1 1 100%; }
  .moments::before { left: 39px; }
  .moment { grid-template-columns: 80px 1fr; gap: 14px; }
  .moment-time { min-width: 78px; font-size: 0.95rem; padding: 5px 8px; }
  .spread { min-height: 470px; }
  .page { width: 88%; padding-left: 38px; }
  .page ol { font-size: 1.28rem; }
  .spread .phone { width: 46%; top: -10px; }
  .postit { font-size: 1.3rem; bottom: 10px; }
  .hero::before { display: none; }
  .plate { width: min(56vw, 440px); margin-block: 28px; }
  .chip { padding: 7px 12px; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .page li { opacity: 1; transform: none; }
  .scribble path { stroke-dashoffset: 0; }
}
