/**
 * Landing QUESAZO. — mismos tokens que packages/ui/src/tokens.css y las reglas
 * del brandbook (docs/PROJECT_ANALYSIS.md §2): amarillo dominante, marrón para
 * texto, stone de descanso y el azul solo como firma (CTA y punto final).
 *
 * En escritorio cada sección cabe entera en una pantalla (ver bloque
 * "Escritorio: una sección = una pantalla"): tipografía e imágenes escalan con
 * la altura de la ventana, no solo con el ancho.
 */
@font-face {
  font-family: "Talina";
  src: url("assets/fonts/Talina.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Grotesk";
  src: url("assets/fonts/NeueHaasDisplayRoman.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Grotesk";
  src: url("assets/fonts/NeueHaasDisplayMediu.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Neue Haas Grotesk";
  src: url("assets/fonts/NeueHaasDisplayBold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --amarillo: #F7C600;
  --marron: #493026;
  --stone: #EAE4DA;
  --azul: #007FEA;
  --blanco: #FFFDF8;

  --font-marca: "Talina", "Arial Black", Impact, sans-serif;
  --font-sistema: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --radius: 24px;
  --nav-h: 64px;
  --ticker-h: 60px;
  /* Alto útil de una pantalla bajo la barra de navegación. */
  --screen: calc(100vh - var(--nav-h));
}
@supports (height: 100svh) {
  :root { --screen: calc(100svh - var(--nav-h)); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--amarillo);
  color: var(--marron);
  font: 400 clamp(16px, 1.1vw, 18px)/1.5 var(--font-sistema);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ── Tipografía ─────────────────────────────────────────────── */
.display {
  font-family: var(--font-marca);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -.01em;
}
.display i, .tier__name i, .ticker i { font-style: normal; color: var(--azul); }
.h2 { font-size: clamp(38px, 7vw, 96px); }
.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow--yellow { color: var(--amarillo); }
.eyebrow--white { color: var(--blanco); }
.tag {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--marron);
  color: var(--amarillo);
  border-radius: 999px;
  padding: 6px 12px;
}

/* ── Botones ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 16px/1 var(--font-sistema);
  text-decoration: none;
  border-radius: 999px;
  padding: 17px 26px;
  border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--blue { background: var(--azul); color: #fff; }
.btn--yellow { background: var(--amarillo); color: var(--marron); }
.btn--ghost { border-color: var(--marron); }
.btn--ghost:hover { background: var(--marron); color: var(--amarillo); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 20px 30px; font-size: 17px; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }

.ig { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.ig__dot { fill: currentColor; stroke: none; }
.wa { width: 1.3em; height: 1.3em; fill: currentColor; flex: none; }

/* ── Navegación ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
  padding-inline: var(--gutter);
  background: var(--amarillo);
  transition: box-shadow .25s ease;
}
.nav--scrolled { box-shadow: 0 1px 0 rgba(73, 48, 38, .15), 0 10px 30px -18px rgba(73, 48, 38, .4); }
.nav__logo img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 32px var(--gutter) 56px;
  max-width: 1400px;
  margin-inline: auto;
}
.hero__title { font-size: clamp(54px, 11vw, 176px); }
.hero__price { display: flex; align-items: baseline; gap: 14px; margin-top: 16px; }
.hero__from { font-weight: 700; font-size: clamp(15px, 1.5vw, 20px); text-transform: uppercase; letter-spacing: .08em; }
.hero__price .display { font-size: clamp(46px, 6vw, 96px); color: var(--azul); }
.hero__lead { max-width: 44ch; margin-top: 18px; font-size: clamp(16px, 1.25vw, 19px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 2px solid rgba(73, 48, 38, .18);
  font-weight: 500;
}
.hero__facts strong { font: 700 26px/1 var(--font-marca); margin-right: 6px; }

.hero__art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  /* La foto se queda siempre dentro del círculo: nada sale por los bordes. */
  padding: 6%;
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blanco);
  opacity: .35;
}
.hero__slice {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 30px 30px rgba(73, 48, 38, .35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

/* ── Cinta ──────────────────────────────────────────────────── */
.ticker {
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  background: var(--marron);
  color: var(--amarillo);
  overflow: hidden;
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 56px;
  font: 700 36px/1 var(--font-marca);
  animation: ticker 28s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Secciones ──────────────────────────────────────────────── */
.section { padding-block: 72px; }
.section--stone { background: var(--stone); }
.section--yellow { background: var(--amarillo); }
.section--brown { background: var(--marron); color: var(--stone); }
.section--brown .h2 { color: var(--amarillo); }
.section--blue { background: var(--azul); color: var(--blanco); }
.section__head { margin-bottom: 36px; }
.section__lead { margin-top: 18px; max-width: 52ch; font-size: clamp(16px, 1.25vw, 19px); }

.group-title {
  font: 700 clamp(22px, 2.2vw, 30px)/1 var(--font-marca);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Carta: la Clásica y las siete especiales en una sola rejilla. */
.menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.classic {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  background: var(--amarillo);
  border-radius: var(--radius);
  padding: 22px;
}
.classic img { max-width: 260px; filter: drop-shadow(0 18px 18px rgba(73, 48, 38, .3)); }
.classic__name { font-size: 40px; margin-top: 10px; }
.classic__desc { margin-top: 6px; font-size: 15px; }
.classic__price { display: flex; align-items: flex-start; gap: 2px; font-weight: 700; font-size: 22px; }
.classic__price .display { font-size: 64px; }

.flavor {
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  border-radius: var(--radius);
  padding: 16px;
  transition: transform .25s ease, background-color .25s ease;
}
.flavor img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(73, 48, 38, .22));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1.2);
}
.flavor h3 { font: 700 20px/1.05 var(--font-marca); text-transform: uppercase; margin-top: 10px; }
.flavor__price { margin-top: auto; padding-top: 4px; font-weight: 700; font-size: 14px; opacity: .7; }
.flavor:hover { background: var(--amarillo); transform: translateY(-4px); }
.flavor:hover img { transform: rotate(-6deg) scale(1.06); }
.flavor--cta {
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  background: var(--marron);
  color: var(--amarillo);
  text-decoration: none;
}
.flavor--cta p { font: 700 22px/1.05 var(--font-marca); text-transform: uppercase; }
.flavor--cta span { font-weight: 700; color: var(--stone); }
.flavor--cta:hover { background: var(--azul); color: #fff; }

/* Niveles */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier {
  border: 2px solid rgba(234, 228, 218, .25);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tier__step { font-weight: 700; letter-spacing: .14em; opacity: .6; }
.combo { display: flex; align-items: center; gap: 6px; }
.combo__item {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(234, 228, 218, .12);
  display: grid;
  place-items: center;
  padding: 8px;
}
.combo__item img { width: 100%; height: 100%; object-fit: contain; }
.combo__plus { font-weight: 700; font-size: 20px; color: var(--amarillo); }
.tier__name { font-size: clamp(30px, 3vw, 42px); color: var(--amarillo); }
.tier__what { font-size: 17px; }
.tier__price { margin-top: auto; padding-top: 10px; opacity: .85; }
.tier__price strong { color: var(--amarillo); font-size: 22px; }
.tier--top { background: var(--amarillo); color: var(--marron); border-color: var(--amarillo); }
.tier--top .tier__name { color: var(--marron); }
.tier--top .tier__price { opacity: 1; }
.tier--top .tier__price strong { color: var(--marron); }
.tier--top .combo__item { background: rgba(255, 253, 248, .6); }
.tier--top .combo__plus { color: var(--marron); }

/* Toppings */
.toppings { display: grid; gap: 32px; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chips li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--blanco);
  border-radius: 16px;
  padding: 10px 10px 12px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  transition: transform .2s ease;
}
.chips li:hover { transform: translateY(-3px); }
.chips img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(73, 48, 38, .18));
}

/* Tartas enteras */
.whole { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.whole__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.whole__prices div { background: var(--marron); color: var(--amarillo); border-radius: 20px; padding: 16px 20px; }
.whole__prices dt { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.whole__prices dd { display: flex; align-items: flex-start; gap: 2px; font-weight: 700; font-size: 18px; margin-top: 6px; }
.whole__prices .display { font-size: 40px; }
.whole__note { margin-top: 16px; font-weight: 500; }
.whole__order { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.whole__art { display: grid; place-items: center; }
.whole__cake { width: 100%; max-width: 420px; filter: drop-shadow(0 30px 28px rgba(73, 48, 38, .35)); }

/* Frappé */
.frappe { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.frappe__cups { display: flex; justify-content: center; align-items: flex-end; order: 2; }
.frappe__cups img { height: 240px; width: auto; filter: drop-shadow(0 26px 24px rgba(73, 48, 38, .3)); }
.frappe__cups img:first-child { transform: rotate(-6deg) translateX(10%); }
.frappe__cups img:last-child { transform: rotate(5deg) translate(-10%, -8%); }
.frappe__list { margin-top: 26px; max-width: 420px; border-top: 2px solid var(--marron); }
.frappe__list li {
  display: flex;
  justify-content: space-between;
  padding-block: 14px;
  border-bottom: 2px solid var(--marron);
  font: 700 22px/1 var(--font-marca);
  text-transform: uppercase;
}
.frappe__list strong { font-family: var(--font-sistema); font-size: 19px; }

/* Quiénes somos */
.about__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.about__face { position: relative; width: 100%; max-width: 240px; }
.about__face img { width: 100%; border-radius: 50%; }
.about__face::after {
  /* El punto azul llega el último, como en el motion de marca. */
  content: "";
  position: absolute;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--azul);
  right: 2%;
  bottom: 4%;
  border: 5px solid var(--amarillo);
}
.about__title { font-size: clamp(34px, 9vw, 72px); }
.about__text { display: grid; gap: 14px; margin-top: 24px; max-width: 56ch; }

/* Instagram */
.insta .h2 { color: var(--blanco); }
.insta .dot-yellow { color: var(--amarillo); }
.insta .btn { margin-top: 28px; }
.insta__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.insta__card {
  display: block;
  width: 100%;
  max-width: 420px;
  text-decoration: none;
  background: var(--blanco);
  color: var(--marron);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45);
  transform: rotate(2deg);
  transition: transform .3s ease;
}
.insta__card:hover { transform: rotate(0) scale(1.02); }
.insta__profile { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.insta__profile img { width: 48px; height: 48px; border-radius: 50%; }
.insta__profile strong { display: block; }
.insta__profile span { font-size: 14px; opacity: .7; }
.insta__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; border-radius: 14px; overflow: hidden; }
.t { aspect-ratio: 1; min-width: 0; overflow: hidden; display: grid; place-items: center; padding: 10%; }
.t img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.t--y { background: var(--amarillo); }
.t--s { background: var(--stone); }
.t--b { background: var(--marron); color: var(--amarillo); padding: 6%; }
.t--b .display { font-size: clamp(10px, 1.1vw, 15px); text-align: center; }
.insta__follow {
  display: block;
  margin-top: 14px;
  text-align: center;
  background: var(--azul);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px;
}

/* ── Pie ────────────────────────────────────────────────────── */
.footer { background: var(--marron); color: var(--stone); padding-block: 64px 32px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.footer__logo { width: min(280px, 100%); }
.footer__cols { display: grid; grid-template-columns: 1fr; gap: 28px; }
.footer h3 { color: var(--amarillo); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.footer a { display: block; text-decoration: none; margin-bottom: 8px; opacity: .9; }
.footer a:hover { color: var(--amarillo); }
.footer p { font-size: 15px; opacity: .85; }
.footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(234, 228, 218, .2); font-size: 14px; }

/* ── WhatsApp flotante ──────────────────────────────────────── */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--azul);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px;
  border: 2px solid var(--blanco);
  box-shadow: 0 12px 30px -8px rgba(0, 63, 117, .55);
  transition: transform .2s ease;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float .wa { width: 24px; height: 24px; }
.wa-float span { display: none; }

/* ── Entrada al hacer scroll ────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.menu .reveal:nth-child(3n+2), .tiers .reveal:nth-child(2) { transition-delay: .08s; }
.menu .reveal:nth-child(3n), .tiers .reveal:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slice, .ticker__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Móvil y tablet ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav .btn--sm { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero__art { max-width: 420px; width: 100%; justify-self: center; }
  .tiers { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .menu { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .nav .btn--sm span { display: none; }
  .nav .btn--sm { padding: 10px; }
  .section { padding-block: 60px; }
  .hero { padding-top: 20px; gap: 8px; }
  .hero__title { font-size: clamp(52px, 16vw, 72px); }
  .hero__price .display { font-size: 46px; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero__art { max-width: 340px; }
  .hero__facts { gap: 8px 18px; font-size: 14px; }
  .hero__facts strong { font-size: 22px; }
  .ticker { --ticker-h: 52px; }
  .ticker__track { font-size: 28px; }
  .whole__order .btn, .insta .btn { width: 100%; justify-content: center; }
  .combo__item { width: 52px; height: 52px; }
}

/* ── Escritorio: una sección = una pantalla ─────────────────── */
@media (min-width: 961px) {
  .h2 { font-size: clamp(34px, min(5.6vw, 8vh), 92px); }
  .section__lead { font-size: clamp(15px, 2.1vh, 19px); margin-top: 0; }
  .eyebrow { margin-bottom: 1.4vh; }

  /* Cada sección ocupa como mucho una pantalla y centra su contenido. */
  .section {
    min-height: var(--screen);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(24px, 6vh, 80px);
  }

  /* Cabecera de sección en dos columnas: titular a la izquierda, entradilla a la derecha. */
  .section__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
    grid-template-areas: "eyebrow ." "title lead";
    column-gap: 48px;
    align-items: end;
    margin-bottom: clamp(16px, 4vh, 44px);
  }
  .section__head .eyebrow { grid-area: eyebrow; }
  .section__head .h2 { grid-area: title; }
  .section__head .section__lead { grid-area: lead; }

  /* Hero + cinta = exactamente la primera pantalla. */
  .hero {
    height: calc(var(--screen) - var(--ticker-h));
    min-height: 380px;
    padding-block: clamp(16px, 4vh, 48px);
  }
  /* Tope de 118px: el hero mide como mucho 1400px y "DE QUESO" debe caber en una línea. */
  .hero__title { font-size: clamp(48px, min(6vw, 14vh), 118px); }
  .hero__price { margin-top: 1.4vh; }
  .hero__price .display { font-size: clamp(40px, min(6vw, 9vh), 96px); }
  .hero__lead { margin-top: 1.8vh; font-size: clamp(15px, 2.1vh, 19px); }
  .hero__ctas { margin-top: 2.6vh; }
  .hero__facts { margin-top: 2.8vh; padding-top: 2vh; }
  .hero__facts strong { font-size: clamp(20px, 3.2vh, 28px); }
  .hero { grid-template-rows: minmax(0, 1fr); }
  .hero__art { width: min(100%, calc(var(--screen) - var(--ticker-h) - 12vh)); justify-self: center; }

  /* Carta: la Clásica ocupa dos filas y las especiales llenan una rejilla de 4×2. */
  .menu {
    grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
    gap: clamp(8px, 1.4vh, 14px);
  }
  .classic {
    grid-column: 1;
    grid-row: span 2;
    grid-template-columns: 1fr;
    align-content: space-between;
    padding: clamp(14px, 2.6vh, 28px);
    gap: 1vh;
  }
  .classic img { height: 17vh; width: auto; max-width: 100%; object-fit: contain; }
  .classic__name { font-size: clamp(30px, 5.4vh, 54px); margin-top: 1vh; }
  .classic__desc { font-size: clamp(13px, 1.8vh, 16px); }
  .classic__price .display { font-size: clamp(48px, 9vh, 96px); }
  .flavor { padding: clamp(10px, 1.8vh, 18px); }
  .flavor img { height: 12vh; aspect-ratio: auto; }
  .flavor h3 { font-size: clamp(15px, 2.5vh, 22px); margin-top: 1vh; }
  .flavor__price { font-size: clamp(12px, 1.7vh, 14px); }
  .flavor--cta p { font-size: clamp(16px, 2.8vh, 24px); }

  /* Niveles */
  .tier { padding: clamp(16px, 3vh, 30px) 26px; gap: clamp(6px, 1.4vh, 14px); }
  .combo__item { width: clamp(44px, 8vh, 72px); height: clamp(44px, 8vh, 72px); border-radius: 14px; }
  .tier__name { font-size: clamp(26px, min(3vw, 5.4vh), 46px); }
  .tier__what { font-size: clamp(14px, 2vh, 18px); }

  /* Toppings: cada familia en una fila, con su nombre a la izquierda. */
  .toppings { gap: clamp(12px, 3vh, 32px); }
  .toppings__group { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 24px; }
  .toppings__group .group-title { margin: 0; font-size: clamp(20px, 3.4vh, 28px); }
  .chips { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
  .chips li { padding: clamp(8px, 1.4vh, 14px); font-size: clamp(12px, 1.8vh, 15px); }
  .chips img { height: 10vh; aspect-ratio: auto; }

  /* Tartas enteras */
  .whole { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .whole .section__lead { margin-top: 2vh; }
  .whole__prices { display: flex; gap: 12px; margin-top: 3vh; }
  .whole__prices div { padding: clamp(10px, 1.8vh, 18px) 22px; }
  .whole__prices .display { font-size: clamp(34px, 7vh, 72px); }
  .whole__note { margin-top: 2vh; font-size: clamp(14px, 1.9vh, 16px); }
  .whole__order { margin-top: 2.8vh; }
  .whole__order .btn { padding-block: clamp(14px, 2.2vh, 20px); }
  .whole__cake { max-width: 100%; max-height: 58vh; width: auto; }

  /* Frappé */
  .frappe { grid-template-columns: 1fr 1fr; gap: 56px; }
  .frappe__cups { order: 0; }
  .frappe__cups img { height: clamp(260px, 62vh, 560px); }
  .frappe .section__lead { margin-top: 2vh; }
  .frappe__list { margin-top: 3vh; }
  .frappe__list li { padding-block: clamp(10px, 1.8vh, 16px); font-size: clamp(20px, 3vh, 28px); }

  /* Quiénes somos */
  .about__grid { grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
  .about__face { width: min(400px, 30vw, 60vh); max-width: none; }
  .about__face::after { border-width: 6px; }
  .about__title { font-size: clamp(30px, min(4.4vw, 6.4vh), 72px); }
  .about__text { margin-top: 2.6vh; gap: 1.4vh; font-size: clamp(15px, 2vh, 19px); }

  /* Instagram */
  .insta__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .insta .section__lead { margin-top: 2vh; }
  .insta .btn { margin-top: 3.4vh; }
  .insta__card { width: min(420px, 58vh); justify-self: center; }

  /* Pie */
  .footer__grid { grid-template-columns: 1fr 1.6fr; gap: 48px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); gap: 32px; }

  .wa-float { padding: 14px 20px; }
  .wa-float span { display: inline; }
}
/* Paso de sección a sección en escritorio. La clase la pone el script solo
   cuando todas las secciones caben en la pantalla (ver index.html), así nunca
   deja contenido atrapado a medio ver. */
html.snap { scroll-snap-type: y mandatory; }
html.snap .hero,
html.snap .section { scroll-snap-align: start; scroll-snap-stop: always; }
html.snap .footer { scroll-snap-align: end; }
html.snap.snap-moving { scroll-snap-type: none; scroll-behavior: auto; }

/* Pantallas de PC bajas (portátiles de 768 px o ventanas reducidas): se
   sacrifica lo accesorio para que la portada siga cabiendo entera. */
@media (min-width: 961px) and (max-height: 720px) {
  .hero__facts { display: none; }
}
