/* Fresas y Chocolate · web. Mobile first. Brand palette from the identity; --hero-bg is the flat
   background of the hero video (scripts/extraer-frames.sh prints it) so the frames blend in.
   Below the hero the page "enters the shop": --pared is the shop's teal wall and --oro its gilded
   logo, alternating with the pink of the packaging and a milk-white ground. */
:root {
  --nata: #fbf5ec;
  --pared: #2e4c52;
  --pared-honda: #223a3f;
  --oro: #d4b26a;
  --rosa: #f4cdc6;
  --choco-fundido: #3a200c;
  --font-display: "Italiana", "Didot", "Bodoni 72", serif;
  --crema: #fdf6cd;
  --papel: #fcf6e9;
  --menta: #cdded2;
  --peonia: #fbcac3;
  --peonia-suave: #fde4df;
  --choco: #613613;
  --choco-soft: #6f4f38;
  --fresa: #b5485c;
  --hero-bg: #acc5aa; /* js/hero.js overrides it with the manifest's colour */
  --line: color-mix(in srgb, var(--choco) 20%, transparent);
  --font-body: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-script: "Petit Formal Script", "Snell Roundhand", "Apple Chancery", cursive;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --hero-run: 300vh;
  --bar: 72px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--hero-bg); -webkit-text-size-adjust: 100%; overflow-x: clip; overscroll-behavior-x: none; scroll-padding-top: calc(var(--bar) + env(safe-area-inset-top, 0px)); }
body { margin: 0; background: var(--nata); color: var(--choco); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--fresa); outline-offset: 3px; }
::selection { background: var(--peonia); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 50; left: 16px; top: 12px; padding: 12px 16px; border-radius: 999px; background: var(--choco); color: var(--crema); text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }
.logo { display: block; color: var(--choco); height: auto; }

/* ---------- top bar + burger menu ----------
   With the scroll hero running, the bar stays hidden above the screen and slides down (.show, set by
   js/hero.js) just before the menu section arrives. Without it (no JS, reduced motion) it is always there. */
.topbar {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0;
  height: calc(var(--bar) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--hero-bg); box-shadow: 0 6px 18px -14px rgba(97, 54, 19, .6);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.hero-ready .topbar:not(.show) { transform: translateY(-110%); }
.topbar-logo { display: flex; align-items: center; gap: 10px; color: var(--choco); }
.topbar-logo .simbolo { height: 44px; width: auto; flex: none; }
/* As tall as the bar allows (54px), narrower on small phones so the burger still fits. The swash under
   FRESAS makes the box bottom-heavy: nudge it down so the capitals, not the box, sit on the bar's centre. */
.topbar-logo .logo { width: min(282px, 100vw - 2 * var(--gutter) - 112px); height: auto; transform: translateY(13.6%); }
.burger {
  width: 48px; height: 48px; margin-right: -10px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer;
  display: grid; place-content: center; gap: 6px; color: var(--choco);
}
.burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.no-js .burger { display: none; }

.nav-panel {
  position: fixed; z-index: 39; inset: 0; padding: calc(var(--bar) + env(safe-area-inset-top, 0px) + 32px) var(--gutter) 40px;
  background: var(--hero-bg); display: flex; flex-direction: column; justify-content: space-between;
}
.nav-panel[hidden] { display: none; }
.nav-panel { overflow-y: auto; }
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel li a { display: block; padding: 10px 0; font: 400 clamp(34px, 10vw, 52px)/1.1 var(--font-body); text-decoration: none; }
.nav-panel li.nav-lang a { display: inline-flex; margin-top: 14px; padding: 8px 18px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 17px; line-height: 1; letter-spacing: .06em; }
.nav-group-t { margin: 0 0 2px; font: 600 12px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; opacity: .65; }
.nav-panel .nav-sub { margin: 0 0 8px; padding-left: 14px; border-left: 2px solid color-mix(in srgb, var(--choco) 28%, transparent); }
.nav-panel .nav-sub a { padding: 6px 0; font-size: clamp(28px, 8vw, 40px); }
.nav-foot { display: flex; align-items: center; gap: 16px; font-size: 15px; letter-spacing: .04em; line-height: 1.5; }
.nav-foot p { margin: 0; min-width: 0; }
.nav-foot p a { text-decoration: none; font-weight: 500; }
.nav-foot .nav-ig { display: flex; align-items: center; justify-content: center; flex: none; width: 64px; height: 64px; border: 1.5px solid currentColor; border-radius: 50%; transition: background-color .2s, color .2s; }
.nav-foot .nav-ig:active { background: var(--choco); color: var(--hero-bg); }
.nav-foot .nav-ig .ig { width: 32px; height: 32px; margin: 0; vertical-align: 0; }
/* Short phones: smaller links so the language button and Instagram stay on screen. */
@media (max-height: 700px) { .nav-panel .nav-sub a { padding: 3px 0; font-size: clamp(22px, 6.4vw, 28px); } .nav-panel .nav-sub { margin-bottom: 4px; } .nav-panel { padding-top: calc(var(--bar) + env(safe-area-inset-top, 0px) + 12px); } .nav-panel li a { padding: 6px 0; font-size: clamp(26px, 7.6vw, 34px); } .nav-panel li.nav-lang a { margin-top: 8px; } }
@media (max-height: 600px) { .nav-panel .nav-sub a { padding: 2px 0; font-size: clamp(20px, 5.8vw, 24px); } .nav-panel { padding-bottom: 20px; } .nav-panel li a { padding: 3px 0; font-size: clamp(24px, 7vw, 28px); } .nav-foot .nav-ig { width: 52px; height: 52px; } .nav-foot .nav-ig .ig { width: 26px; height: 26px; } }

/* Desktop navigation: the sections inline in the bar, with an underline that grows on hover and
   marks the section on screen (aria-current, set by js/menu.js). "Visítanos" closes the row as a button. */
.topnav { display: none; }
@media (min-width: 1100px) {
  .topbar { padding-inline: max(32px, (100% - 1280px) / 2); }
  .burger, .nav-panel { display: none !important; }
  .topnav { display: block; }
  .topnav ul { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; }
  .topnav a { position: relative; display: block; white-space: nowrap; padding: 8px 0; color: var(--choco); font: 400 15px/1 var(--font-body); letter-spacing: .02em; text-decoration: none; }
  .topnav a:not(.topnav-cta)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .7, .2, 1);
  }
  .topnav a[aria-current="true"]::after { transform: scaleX(1); }
  .topnav a[aria-current="true"] { font-weight: 500; }
  .topnav .topnav-cta { padding: 11px 20px; border: 1.5px solid var(--choco); border-radius: 999px; font-weight: 500; transition: background-color .2s, color .2s; }
  .topnav .topnav-cta[aria-current="true"] { background: var(--choco); color: var(--nata); }
  @media (hover: hover) and (pointer: fine) {
    .topnav a:hover::after { transform: scaleX(1); }
    .topnav .topnav-cta:hover { background: var(--choco); color: var(--nata); }
  }
  .topnav .topnav-lang a { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .12em; opacity: .92; transition: opacity .2s, background-color .2s; }
  .topnav .topnav-lang a::after { display: none; }
  @media (hover: hover) and (pointer: fine) { .topnav .topnav-lang a:hover { opacity: 1; background: color-mix(in srgb, var(--choco) 12%, transparent); } }
  /* "Carta" opens a small list with the sections you can order from. */
  .topnav-group { position: relative; }
  .topnav-parent { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; background: none; color: var(--choco); font: 400 15px/1 var(--font-body); letter-spacing: .02em; cursor: pointer; }
  .topnav-parent svg { width: 10px; height: 10px; transition: transform .2s; }
  .topnav-group.open .topnav-parent svg { transform: rotate(180deg); }
  .topnav-parent[aria-current="true"] { font-weight: 500; }
  .topnav .topnav-sub { display: none; position: absolute; top: 100%; left: -16px; z-index: 5; min-width: 210px; margin: 0; padding: 8px; list-style: none; border-radius: 16px; background: var(--hero-bg); box-shadow: 0 10px 30px rgba(58, 32, 12, .18); }
  .topnav-group::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; } /* keeps the list open while the pointer crosses the gap */
  .topnav .topnav-group.open .topnav-sub, .no-js .topnav .topnav-group:hover .topnav-sub, .no-js .topnav .topnav-group:focus-within .topnav-sub { display: block; }
  .topnav-sub a { padding: 10px 14px; border-radius: 10px; font-size: 15px; }
  .topnav-sub a::after { display: none; }
  .topnav-sub a[aria-current="true"] { font-weight: 500; background: color-mix(in srgb, var(--choco) 10%, transparent); }
  @media (hover: hover) and (pointer: fine) { .topnav-sub a:hover { background: color-mix(in srgb, var(--choco) 12%, transparent); } .topnav-parent:hover { opacity: .75; } }
  .topnav-parent:focus-visible { outline: 3px solid var(--fresa); outline-offset: 4px; border-radius: 4px; }
  .topnav a:focus-visible { outline: 3px solid var(--fresa); outline-offset: 4px; border-radius: 4px; }
}
.nav-open, .nav-open body { overflow: hidden; }

/* ---------- buttons ---------- */
.actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  font: 500 15px/1 var(--font-body); letter-spacing: .04em; text-decoration: none;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--choco);
  color: var(--choco); background: transparent; transition: background-color .2s, color .2s;
}
.ig { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.28em; margin-right: .5em; }
a[href*="instagram.com"]:not(.btn):not(.ig-card):not(.mosaic):not(.nav-ig) { display: inline-block; white-space: nowrap; }
.btn .ig { width: 20px; height: 20px; margin: 0 9px 0 0; vertical-align: 0; }
.btn.primary { background: var(--choco); color: var(--crema); }
/* Hover colours only with a real mouse: on touch screens iOS turns the tap into a hover that sticks.
   Touch gets a short press instead. */
.btn { transition: background-color .2s, color .2s, border-color .2s, transform .12s; }
.btn:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--choco); color: var(--crema); }
  .btn.primary:hover { background: #4a280d; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: var(--hero-run); background: var(--hero-bg); }
.hero-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  padding: max(20px, env(safe-area-inset-top, 0px)) var(--gutter) 0;
}
.hero-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; position: relative; z-index: 2; padding-top: 5svh; }
.hero-brand .logo { width: min(68vw, 310px); }
/* Static hero (no JS / reduced motion): leave room for the always-visible bar. */
:root:not(.hero-ready) .hero-pin { padding-top: calc(var(--bar) + env(safe-area-inset-top, 0px) + 20px); }
/* "Desliza" sits under the strawberry, near the bottom of the screen. */
.hint {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--choco);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.hint svg { width: 12px; height: 12px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }

/* Mobile: the video fills the whole screen behind the logo, scaled to the screen height (--hero-fit,
   read by js/hero.js), so the chocolate pours in from the top edge. */
.hero-stage { position: absolute; inset: 0; z-index: 0; --hero-fit: height; }
.hero-stage canvas, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster { object-fit: cover; }
.hero-ready .hero-poster { display: none; }

.hero-close {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  background: linear-gradient(to top, var(--hero-bg) 55%, transparent);
  padding-top: 48px;
}
.hero-ready .hero-close { opacity: 0; transform: translateY(14px); pointer-events: none; }
.hero-ready .hero-close.on { pointer-events: auto; }
.lema { font-family: var(--font-script); font-size: clamp(27px, 7.6vw, 44px); line-height: 1.1; margin: 0; text-wrap: balance; }

/* Without JS or with reduced motion the hero is a single static screen showing the last frame. */
.no-js .hero { height: auto; }
.no-js .hero-pin { position: relative; }
.no-js .hint { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-pin { position: relative; }
  .hint { display: none; }
}

/* Desktop: the same centred composition as on mobile, scaled to the screen height. The video zooms in
   (js/hero.js) so the strawberry sits centred under the logo, and the chocolate pours from behind it. */
@media (min-width: 900px) and (min-height: 521px) {
  .hero-brand { padding-top: 5vh; }
  .hero-brand .logo { width: min(32vh, 380px); }
  .hint { font-size: 13px; }
  .lema { font-size: clamp(34px, 5vh, 54px); }
  .hero-close { gap: 20px; padding-bottom: 6vh; padding-top: 96px; }
}

/* Phones held sideways: too short for that, so logo and closing line on the left, video on the right. */
@media (orientation: landscape) and (max-height: 520px) {
  .hero-pin {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
    max-width: 1280px; margin: 0 auto; padding-block: 0; column-gap: 32px;
  }
  .hero-brand { grid-column: 1; grid-row: 1; align-self: start; align-items: flex-start; text-align: left; padding-top: 14vh; }
  .hero-brand .logo { width: min(32vw, 400px); }
  /* The video sits in the right column; its top edge fades so the stream enters softly. */
  .hero-stage { position: relative; inset: auto; min-height: 0; grid-column: 2; grid-row: 1; --hero-fit: contain; }
  .hint { left: 50%; bottom: 6vh; }
  .hero-stage canvas, .hero-poster {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 14%);
  }
  .hero-poster { object-fit: contain; }
  .hero-close {
    position: relative; grid-column: 1; grid-row: 1; align-self: end; align-items: flex-start; text-align: left;
    background: none; padding: 0 0 14vh;
  }
  .hero-close .actions { justify-content: flex-start; }
}

@media (orientation: landscape) and (max-height: 520px) {
  .hero-brand { padding-top: 6vh; }
  .hero-brand .logo { width: min(32vw, 40vh); }
  .hero-close { padding-bottom: 6vh; }
  .lema { font-size: clamp(21px, 6vh, 34px); }
}

/* ---------- sections: shared ---------- */
.block { position: relative; padding: 64px var(--gutter) 80px; }
.wrap { max-width: 1120px; margin: 0 auto; }
.kicker { font-family: var(--font-script); font-size: clamp(25px, 6.8vw, 34px); line-height: 1; color: var(--fresa); margin: 0 0 6px; }
.display {
  font: 400 clamp(46px, 13.5vw, 88px)/.92 var(--font-display); text-transform: uppercase; letter-spacing: .01em;
  margin: 0 0 18px; text-wrap: balance;
}
.lead { margin: 0; max-width: 34ch; font-size: 18px; line-height: 1.5; }
/* Italiana's figures don't read well: numbers inside display headings use the body face, light. */
.num { font-family: var(--font-body); font-weight: 300; letter-spacing: 0; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; }
.menu li::after { content: ""; order: 1; flex: 1; min-width: 16px; border-bottom: 1.5px dotted currentColor; opacity: .3; transform: translateY(-4px); }
.menu .p { order: 2; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.menu small { display: block; font-size: 13px; opacity: .88; }

/* Dark grounds: the shop wall. */
.encargos, .nosotras, .visita, .foot { background: var(--pared); color: var(--nata); }
.encargos .display, .nosotras .display, .visita .display { color: var(--oro); }
.encargos .kicker, .nosotras .kicker, .visita .kicker, .origen .kicker { color: var(--rosa); }
.encargos .btn, .visita .btn { border-color: var(--nata); color: var(--nata); }
@media (hover: hover) and (pointer: fine) {
  .encargos .btn:hover, .visita .btn:hover { background: var(--nata); color: var(--pared); }
}
.btn.gold, .encargos .btn.gold, .visita .btn.gold { background: var(--oro); border-color: var(--oro); color: var(--pared-honda); }
@media (hover: hover) and (pointer: fine) {
  .btn.gold:hover, .encargos .btn.gold:hover, .visita .btn.gold:hover { background: var(--nata); border-color: var(--nata); color: var(--pared-honda); }
}

/* Chocolate drip where the hero meets the menu. */
.drip { display: block; width: 100%; height: clamp(40px, 7vw, 80px); color: var(--nata); margin-bottom: -1px; background: var(--hero-bg); }

/* ---------- monta tu vaso ---------- */
.vaso { padding-top: 32px; }
/* House specials (Dubái, Tokio…): ready-made cups, shown as cards above the three steps. */
.especiales { margin-top: 56px; }
.especiales-t { margin: 0 0 8px; font: 400 clamp(28px, 7.5vw, 38px)/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.especiales-lista { display: grid; gap: 14px; }
.especial { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); border-radius: 24px; overflow: hidden; background: var(--peonia-suave); }
.especial-foto { background: var(--rosa); min-height: 190px; position: relative; }
.especial-foto img, .especial-foto video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.especial-vacio { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; padding: 14px; text-align: center; background: var(--menta); color: color-mix(in srgb, var(--choco) 70%, transparent); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.especial-vacio .simbolo { width: 38px; height: auto; color: var(--choco); opacity: .55; }
.especial-body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px 16px; }
.especial h4 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0; font: 400 clamp(28px, 7.5vw, 34px)/1 var(--font-display); text-transform: uppercase; }
.especial h4 .p { font: 600 13px/1 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: .04em; color: #fff; background: var(--fresa); border-radius: 999px; padding: 7px 11px; }
.especial-ing { margin: 0; font-size: 15px; line-height: 1.45; }
.especial-al { margin: 0; font-size: 12.5px; color: var(--choco-soft); }
.especial-al:empty { display: none; }
.especiales-nota { margin: 14px 0 0; font-size: 14px; color: var(--choco-soft); }
.especiales-sub { margin: 0 0 18px; font-size: 17px; max-width: 34ch; }
.builder { margin-top: 36px; display: grid; gap: 22px; }
/* One card per step, like the three panels of the shop's printed menu: a photo or clip on top, the
   step number in a coloured corner (pink, chocolate, strawberry as on the menu), the options below. */
.paso {
  position: relative; margin: 0; padding: 0; border: 0; min-width: 0; overflow: hidden;
  border-radius: 24px; background: var(--peonia-suave);
}
.paso::before {
  content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 92px; height: 92px;
  clip-path: polygon(0 0, 100% 0, 0 100%); background: var(--corner);
}
.p1 { --corner: var(--rosa); --n: var(--choco); }
.p2 { --corner: var(--choco); --n: var(--nata); }
.p3 { --corner: var(--fresa); --n: var(--nata); }
.paso-media { aspect-ratio: 4 / 3; background: var(--rosa); }
.paso-media img, .paso-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.paso-body { padding: 20px 18px 24px; }
.paso-t { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 0; margin: 0 0 14px; font: 400 clamp(30px, 8vw, 38px)/1 var(--font-display); text-transform: uppercase; }
.paso .n { position: absolute; z-index: 2; top: 12px; left: 18px; font: 300 34px/1 var(--font-body); color: var(--n); }
.paso .p, .tier {
  font: 600 13px/1 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: .04em;
  color: #fff; background: var(--fresa); border-radius: 999px; padding: 7px 11px;
}
.paso-note { margin: -6px 0 0; color: var(--choco-soft); }
.tier { display: inline-block; margin: 18px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--choco) 28%, transparent); background: #fff;
  font-size: 15px; line-height: 1.2; transition: background-color .15s, color .15s, border-color .15s;
}
.chip input:checked + span { background: var(--choco); border-color: var(--choco); color: var(--nata); }
.chip input:focus-visible + span { outline: 3px solid var(--fresa); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .chip:hover input:not(:checked) + span { border-color: var(--choco); }
}

/* The running total rides along at the bottom of the screen while the chips are on view. */
.total {
  position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 5;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px;
  padding: 14px 18px; border-radius: 20px; background: var(--pared); color: var(--nata);
  box-shadow: 0 14px 30px -16px rgba(34, 58, 63, .7);
}
.total p { margin: 0; }
.total-desc { grid-column: 1; font-size: 14px; line-height: 1.3; }
.total-al { grid-column: 1; font-size: 12px; letter-spacing: .03em; opacity: .75; margin-top: 4px !important; }
.total-price { grid-column: 2; grid-row: 1 / span 2; font: 500 30px/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--oro); white-space: nowrap; }

/* After the total: the way to the shop (the cup is made on the spot), with today's hours. */
.pedir { margin-top: 40px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.pedir-t { margin: 0; font-family: var(--font-script); font-size: clamp(28px, 7.6vw, 40px); line-height: 1.1; color: var(--fresa); }
.pedir-hoy { margin: -6px 0 4px; font-size: 15px; color: var(--choco-soft); }
.pedir-hoy .abierto { color: #3d7a4a; font-weight: 500; }
.pedir-hoy .abierto::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.alergenos { margin: 14px 0 0; max-width: 46ch; font-size: 14px; color: var(--choco-soft); }

/* ---------- galería deslizable (Para beber, Por encargo) ----------
   Photos and clips side by side, swiped on touch screens; with a mouse, arrows appear underneath. */
/* El carrusel ocupa todo el ancho de la pantalla (sale del relleno de la sección); el padding de .strip alinea la primera tarjeta con el texto. */
.carrusel { margin: 32px calc(var(--gutter) * -1) 40px; }
.strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter); scroll-padding-inline: var(--gutter);
}
.strip::-webkit-scrollbar { display: none; }
.strip > img, .strip > video {
  flex: 0 0 auto; width: min(64vw, 300px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px;
  scroll-snap-align: start; background: color-mix(in srgb, currentColor 12%, transparent);
}
.strip > .ig-card {
  flex: 0 0 auto; width: min(64vw, 300px); aspect-ratio: 3 / 4; border-radius: 18px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 14px;
  text-align: center; text-decoration: none; background: var(--choco); color: var(--nata);
}
.encargos .strip > .ig-card { background: var(--pared-honda); color: var(--oro); box-shadow: inset 0 0 0 1.5px var(--oro); }
.ig-card .simbolo { width: 54px; height: auto; color: var(--rosa); }
.encargos .ig-card .simbolo { color: var(--oro); }
.ig-card-t { font-family: var(--font-display); font-size: clamp(26px, 7vw, 32px); line-height: 1.05; }
.ig-card-u .ig { width: 16px; height: 16px; margin-right: 7px; }
.ig-card-u { display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; letter-spacing: .02em; white-space: nowrap; opacity: .9; }
.ig-card-b { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 18px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.ig-card-b svg { width: 14px; height: 14px; transform: rotate(-90deg); }
.ig-card .estrellas { --s: 15px; margin-right: 8px; background: linear-gradient(90deg, var(--rosa) calc(var(--v) * 20%), rgba(255, 255, 255, .25) 0); }
.ig-card:focus-visible { outline: 3px solid var(--fresa); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .bebidas .ig-card:hover .ig-card-b { background: var(--nata); color: var(--choco); }
  .encargos .ig-card:hover .ig-card-b { background: var(--oro); color: var(--pared-honda); }
}
/* ---------- En la tienda: como «Para beber» (galería y listas); sin precio, sin línea de puntos ---------- */
.productos { padding-bottom: 72px; }
.productos .lead { margin-bottom: 8px; }
.menu li.sin-precio::after { display: none; }
.grupo-nota { margin: -2px 0 6px; font-size: 13px; color: var(--choco-soft); }

/* ---------- reseñas ---------- */
.resenas { background: var(--rosa); padding-bottom: 72px; }
.valoracion { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 6px 0 0; font-size: 17px; }
.valoracion strong { font-size: 30px; font-weight: 500; line-height: 1; }
.valoracion-total { flex-basis: 100%; opacity: .9; }
@media (min-width: 700px) { .valoracion-total { flex-basis: auto; } .valoracion-total::before { content: "· "; } }
.estrellas {
  --s: 18px; display: inline-block; flex: none; width: calc(var(--s) * 5); height: var(--s);
  background: linear-gradient(90deg, var(--fresa) calc(var(--v) * 20%), color-mix(in srgb, var(--choco) 20%, transparent) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2l3 6.3 6.9.9-5.1 4.8 1.3 6.8L12 17.6 5.9 21l1.3-6.8L2.1 9.4l6.9-.9z'/%3E%3C/svg%3E") 0 0 / 20% 100% repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2l3 6.3 6.9.9-5.1 4.8 1.3 6.8L12 17.6 5.9 21l1.3-6.8L2.1 9.4l6.9-.9z'/%3E%3C/svg%3E") 0 0 / 20% 100% repeat-x;
}
.estrellas.grandes { --s: 26px; }
.resenas-carrusel { margin-top: 28px; margin-bottom: 8px; }
.strip > .resena {
  flex: 0 0 auto; width: min(80vw, 340px); margin: 0; padding: 22px 22px 20px; border-radius: 18px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 14px; background: var(--nata); color: var(--choco);
}
.resena blockquote { margin: 0; flex: 1; }
.resena blockquote p { margin: 0; font-size: 17px; line-height: 1.5; }
.resena blockquote .resena-trad { margin: 8px 0 0; font-size: 12px; font-style: italic; opacity: .8; }
.resena figcaption { font-size: 14px; }
.resena figcaption span { opacity: .65; }
.resenas-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.carrusel-nav { display: flex; justify-content: flex-end; gap: 8px; padding: 14px var(--gutter) 0; }
.carrusel-nav[hidden] { display: none; }
.carrusel-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1.5px solid currentColor; background: none; color: inherit; opacity: .8; transition: opacity .2s, background-color .2s, color .2s;
}
.carrusel-btn svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .carrusel-btn:hover:not(:disabled) { opacity: 1; background: var(--choco); border-color: var(--choco); color: var(--nata); }
  .encargos .carrusel-btn:hover:not(:disabled) { background: var(--oro); border-color: var(--oro); color: var(--pared-honda); }
}
.carrusel-btn:disabled { opacity: .3; cursor: default; }
.carrusel-btn:focus-visible { outline: 3px solid var(--fresa); outline-offset: 3px; }

/* ---------- bebidas ---------- */
.bebidas { background: var(--rosa); }
.drinks { display: grid; gap: 32px; }
.drinks h3, .bandeja h3, .horario h3 { font: 600 12px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 8px; }

/* ---------- por encargo ---------- */
.encargos .lead { color: color-mix(in srgb, var(--nata) 85%, transparent); }
.bandejas { display: grid; gap: 12px; }
.bandeja { border: 1px solid color-mix(in srgb, var(--oro) 50%, transparent); border-radius: 20px; padding: 20px; }
.bandeja h3 { font: 400 clamp(24px, 2.1vw, 30px)/1.05 var(--font-display); letter-spacing: .02em; color: var(--oro); margin-bottom: 10px; overflow-wrap: anywhere; }
.bandeja .p { color: var(--oro); }
.bandeja-note { margin: 0 0 6px; font-size: 15px; opacity: .8; }
.como { margin-top: 28px; display: grid; gap: 18px; justify-items: start; }
.como p { margin: 0; max-width: 40ch; }

/* ---------- origen ---------- */
.origen { position: relative; min-height: 92svh; display: grid; align-items: end; background: var(--choco-fundido); color: var(--nata); overflow: hidden; }
.origen-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The strawberries fade into melted chocolate, which carries on into the Callebaut block below. */
.origen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(58, 32, 12, 0) 25%, rgba(58, 32, 12, .9) 72%, var(--choco-fundido) 100%); }
.origen-text { position: relative; z-index: 1; box-sizing: content-box; width: calc(100% - 2 * var(--gutter)); max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter) 64px; }
.origen .display { max-width: 14ch; }
.origen .display { font-size: clamp(40px, 11vw, 76px); }
.origen-text p:last-child { margin: 0; font-size: 18px; max-width: 34ch; }
.origen a { text-underline-offset: 3px; }

/* ---------- chocolate ---------- */
/* The chocolate darkens into the shop's teal wall, the backdrop of Rosi and Adri's photo below. */
.chocolate {
  background: linear-gradient(to bottom, var(--choco-fundido) calc(100% - 300px), var(--pared) 100%);
  color: var(--nata); padding: 24px var(--gutter) 48px;
}
.chocolate .display { color: var(--oro); font-size: clamp(40px, 11vw, 76px); }
.chocolate .kicker { color: var(--rosa); }
.chocolate .lead { max-width: 30ch; }
.chocolate-video { margin-top: 32px; width: 100%; max-width: 420px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 24px; background: var(--choco); }
.chocolate-video video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- quiénes somos ---------- */
/* The shop's oval seal, stamped in gold on the corner of the photo like the gilded logo on the wall
   behind them. A wall-coloured backing keeps its fine lines legible over the picture. */
.nosotras .wrap { display: grid; gap: 28px; }
.nosotras-head .display { margin-bottom: 0; }
.nosotras-foto { position: relative; margin: 0 0 28px; }
.nosotras-foto img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.nosotras-foto .sello {
  position: absolute; right: 14px; bottom: -34px; width: clamp(104px, 30vw, 150px); height: auto; color: var(--oro);
  padding: 10px 12px; box-sizing: content-box; background: var(--pared); border-radius: 50% / 46%;
  transform: rotate(-8deg); filter: drop-shadow(0 10px 18px rgba(20, 35, 38, .35));
}
.nosotras-texto { max-width: 46ch; }
.nosotras-texto p { margin: 0 0 14px; }
.nosotras-texto p:not(.lead) { color: color-mix(in srgb, var(--nata) 82%, transparent); }
.firma-mano { font-family: var(--font-script); font-size: clamp(26px, 7vw, 34px); line-height: 1.1; color: var(--rosa); margin-top: 22px !important; }

/* ---------- instagram ---------- */
.nosotras { padding-top: 8px; }
.insta { padding-top: 64px; padding-bottom: 32px; }
.contacto { display: grid; justify-items: start; gap: 18px; margin: 4px 0 8px; }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 24px 0 28px; border-radius: 18px; overflow: hidden; }
.mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mosaic img { transition: filter .3s; }
@media (hover: hover) { .mosaic:hover img { filter: brightness(.85); } .mosaic:hover img:hover { filter: none; } }
.mosaic:focus-visible { outline: 3px solid var(--fresa); outline-offset: 4px; }

/* ---------- preguntas frecuentes ---------- */
.faq { padding-top: 24px; }
.faq-list { margin-top: 28px; max-width: 760px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0;
  cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; line-height: 1.35;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* The + turns into a × in a strawberry circle while the answer is open. */
.faq-item summary::after {
  content: ""; flex: none; width: 34px; height: 34px; box-sizing: border-box; border-radius: 50%;
  color: var(--fresa); border: 1.5px solid color-mix(in srgb, var(--fresa) 35%, transparent);
  /* The cross is drawn, not typed, so it sits exactly in the middle whatever the font. */
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 13px 1.5px, 1.5px 13px; background-position: center; background-repeat: no-repeat;
  transition: transform .32s cubic-bezier(.2, .7, .2, 1), background-color .25s, color .25s, border-color .25s;
}
.faq-item[open]:not(.is-closing) summary::after { transform: rotate(135deg); background-color: var(--fresa); border-color: var(--fresa); color: var(--nata); }
@media (hover: hover) { .faq-item summary:hover { color: var(--fresa); } .faq-item summary:hover::after { border-color: var(--fresa); } }
.faq-item summary:focus-visible { outline: 3px solid var(--fresa); outline-offset: 4px; }
.faq-item p { margin: -4px 0 20px; max-width: 62ch; color: var(--choco-soft); }
/* The answer slides in a touch after the row starts to open. */
.faq-item[open] p { animation: faq-in .38s .06s cubic-bezier(.2, .7, .2, 1) both; }
.faq-item.is-closing p { opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .faq-item[open] p { animation: none; } }
.faq-item a { color: var(--choco); text-underline-offset: 3px; }

/* ---------- visita ---------- */
.visita .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.fachada { order: 2; width: 100%; max-width: 280px; border-radius: 22px; justify-self: center; }
.addr { font-style: normal; font-size: 20px; line-height: 1.4; margin: 0 0 26px; overflow-wrap: anywhere; }
.horario { margin: 0 0 28px; max-width: 380px; }
.horario h3 { color: var(--oro); }
.horario dl { margin: 0; }
.horario dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--nata) 22%, transparent); }
.horario dl div:first-child { border-top: 0; }
.horario dt { margin: 0; }
.horario dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.visita .actions { justify-content: flex-start; }
.mapa { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; margin-top: 28px; border-radius: 22px; overflow: hidden; background: var(--pared-honda); }
.mapa iframe { display: block; width: 100%; height: 100%; border: 0; }
.mapa-aviso { display: grid; justify-items: center; gap: 10px; padding: 24px; text-align: center; }
.mapa-aviso .simbolo { width: 40px; height: auto; color: var(--oro); }
.mapa-dir { margin: 0; font-size: 16px; line-height: 1.4; }
.mapa-nota { margin: 0; font-size: 12px; opacity: .6; }

/* ---------- footer ---------- */
.foot { background: var(--pared-honda); padding: 48px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot .wrap { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.foot .logo { color: var(--oro); width: min(70vw, 320px); }
.foot p { margin: 0; font-size: 14px; letter-spacing: .04em; opacity: .85; }
.foot a { text-underline-offset: 3px; }
.foot .idioma { font-size: 13px; letter-spacing: .08em; }
.foot .financiacion-logo { display: block; width: min(250px, 66vw); height: auto; margin: 6px auto 0; opacity: .7; }
.foot .financiacion { max-width: 36ch; margin-inline: auto; font-size: 12px; line-height: 1.4; opacity: .6; }
.foot .legales { font-size: 12px; opacity: .6; }
.foot .legales a { color: inherit; }

/* ---------- páginas legales ---------- */
.legal-top { display: flex; align-items: center; height: calc(var(--bar) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--gutter) 0; background: var(--hero-bg); }
.legal-top a { display: flex; align-items: center; gap: 10px; color: var(--choco); }
.legal-top .simbolo { height: 40px; width: auto; }
.legal-top .logo { height: 30px; width: auto; }
.legal { max-width: 720px; margin: 0 auto; padding: 56px var(--gutter) 72px; }
.legal .display { font-size: clamp(40px, 11vw, 72px); }
.legal-nota { margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--choco) 8%, transparent); font-size: 14px; color: var(--choco-soft); }
.legal p.legal-nota a:not(.btn) { color: var(--choco); text-decoration: underline; }
.legal-fecha { margin: 0 0 32px; font-size: 13px; color: var(--choco-soft); }
.legal h2 { margin: 40px 0 10px; font: 600 13px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.legal h3 { margin: 24px 0 6px; font-size: 17px; font-weight: 500; }
.legal p, .legal li { line-height: 1.6; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal a:not(.btn) { color: var(--fresa); text-underline-offset: 3px; }
.legal-volver { margin-top: 48px; }
.foot .firma { font-size: 13px; opacity: .65; }
.foot .firma a { color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .foot .firma a:hover { color: var(--oro); }
}

/* ---------- wider screens ---------- */
@media (min-width: 900px) {
  .block { padding-block: 96px 112px; }
  /* The three cards side by side, as on the shop's menu; the total stays docked underneath. */
  .builder { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .especiales-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .especial-foto { min-height: 240px; }
  .total { grid-column: 1 / -1; width: min(100%, 640px); justify-self: center; padding: 18px 24px; }
  .total-price { font-size: 40px; }
  /* Desktop: the strip starts on the content column and runs off to the right edge. */
  .strip { padding-inline: max(var(--gutter), (100% - 1120px) / 2); scroll-padding-inline: max(var(--gutter), (100% - 1120px) / 2); }
  .strip > img, .strip > video, .strip > .ig-card { width: 280px; }
  .strip > .resena { width: 340px; }
  .carrusel-nav { max-width: 1120px; margin-inline: auto; padding-inline: 0; }
  /* Lists flow into three balanced columns, so an odd number of groups never leaves a gap. */
  .drinks { display: block; column-count: 3; column-gap: 48px; }
  .drinks > div { break-inside: avoid; margin-bottom: 36px; }
  /* Same layout as Para beber: gallery across, then the three trays side by side. */
  .bandejas { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 20px; align-items: start; }
  .como { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 32px; margin-top: 36px; }
  .nosotras .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: 88px; row-gap: 24px; }
  .nosotras-foto { grid-column: 1; grid-row: 1 / -1; margin: 0; }
  .nosotras-head { grid-column: 2; grid-row: 2; }
  .nosotras-texto { grid-column: 2; grid-row: 3; }
  .nosotras-foto .sello { right: -64px; bottom: 56px; width: 150px; }
  .nosotras { padding-top: 16px; }
  .insta { padding-bottom: 48px; }
  .faq { padding-top: 24px; }
  .chocolate .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto auto 1fr; column-gap: 64px; }
  .chocolate .wrap > :not(.chocolate-video) { grid-column: 1; }
  .chocolate-video { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  /* The shopfront fills the whole height of the column beside it (address, hours, buttons, map). */
  .visita .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: stretch; }
  .fachada { max-width: none; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 30%; }
  /* FAQ: heading and list centred on the page; answers stay left-aligned for reading. */
  .faq .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .faq-list { width: 100%; text-align: left; }
}
