/* =============================================================
   DEUX COFFEE ROASTERS — Design System
   Paleta extraída del logo + fotos reales del cliente.
   Tipografía: Jost (la real del sitio actual, libre en Google Fonts).
   Swappear títulos por "Outside Voice Medium": cambiar --font-heading.
   ============================================================= */

:root {
  /* ---- Color — minimalista (negro / blanco / beige), tema CLARO ---- */
  --ink:       #1A1714;  /* texto casi-negro */
  --espresso:  #241E17;  /* (reservado) */
  --roast:     #6B4A32;  /* marrón sutil (tags) */
  --amber:     #7A6A58;  /* acento discreto (taupe cálido) */
  --amber-deep:#5F5142;  /* hover del acento */
  --wood:      #A08E7A;  /* taupe claro (puntos, detalles) */
  --paper:     #FAF8F4;  /* fondo base (blanco cálido) */
  --paper-2:   #EFEBE3;  /* panel beige suave */
  --mist:      #EFEBE3;
  --white:     #FFFFFF;  /* superficie de cards */

  --ink-70: rgba(26,23,20,.66);
  --ink-55: rgba(26,23,20,.50);
  --ink-40: rgba(26,23,20,.36);
  --line:   rgba(26,23,20,.12);
  --line-2: rgba(26,23,20,.06);

  /* ---- Tipografía ---- */
  --font-heading: 'Jost', system-ui, sans-serif;   /* → Outside Voice Medium (1 línea) */
  --font-body:    'Jost', system-ui, sans-serif;

  --step--1: clamp(0.80rem, 0.77rem + 0.14vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.45rem);
  --step-2:  clamp(1.55rem, 1.35rem + 0.95vw, 2.15rem);
  --h2:      clamp(1.95rem, 1.55rem + 1.95vw, 3.15rem);
  --h1:      clamp(2.60rem, 1.75rem + 4.00vw, 5.40rem);

  /* ---- Espaciado / layout ---- */
  --wrap: 1200px;
  --gutter: clamp(1.15rem, 0.7rem + 2.2vw, 2.75rem);
  --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);
  --radius: 4px;
  --radius-lg: 10px;

  --header-h: 74px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Tema OSCURO ---- */
:root[data-theme="dark"] {
  --ink:       #F3EFE8;
  --espresso:  #0D0C0B;
  --roast:     #b9a892;
  --amber:     #b9a892;
  --amber-deep:#cdbca6;
  --wood:      #b9a892;
  --paper:     #131210;
  --paper-2:   #1D1B17;
  --mist:      #1D1B17;
  --white:     #1B1915;

  --ink-70: rgba(243,239,232,.68);
  --ink-55: rgba(243,239,232,.52);
  --ink-40: rgba(243,239,232,.36);
  --line:   rgba(243,239,232,.15);
  --line-2: rgba(243,239,232,.07);
}
:root[data-theme="dark"] .brand img,
:root[data-theme="dark"] .footer-brand img { filter: invert(1) brightness(1.9); }
html { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* ============ Reset / base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ============ Utilidades ============ */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 820px; }
.section { padding-block: var(--section-y); }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2.5px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

/* Firma "deux = dos": eyebrow con dos puntos ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-heading);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--amber);
  font-weight: 500;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "··";
  letter-spacing: .12em;
  font-size: 1.5em;
  line-height: 0;
  color: var(--amber);
  transform: translateY(-.12em);
}
.eyebrow--center { justify-content: center; }

.lead { font-size: var(--step-1); color: var(--ink-70); line-height: 1.5; }

/* Botones -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: .14em; font-size: var(--step--1);
  font-weight: 500;
  padding: .95em 1.7em;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--white);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--amber); border-color: var(--amber); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--amber); color: var(--white); border-color: var(--amber); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.site-header__bar {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: clamp(1rem, 0.4rem + 1.4vw, 2.1rem); align-items: center; }
.nav__link {
  font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: .13em;
  font-size: .82rem; font-weight: 500; color: var(--ink-70);
  padding: .4em 0; position: relative;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--amber); transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }

.header-tools { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

/* Selector de idioma */
.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.lang__btn {
  font-family: var(--font-heading); font-weight: 500;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .42em .62em; background: transparent; color: var(--ink-55);
  border: 0; transition: background .25s, color .25s;
}
.lang__btn[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.lang__btn:hover { color: var(--ink); }
.lang__btn[aria-pressed="true"]:hover { color: var(--white); }

.wa-header {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-heading); font-weight: 600; letter-spacing: .06em;
  font-size: .78rem; padding: .55em .95em; border-radius: 999px;
  transition: transform .3s var(--ease), opacity .3s;
}
.wa-header:hover { transform: translateY(-2px); opacity: .85; }
.wa-header svg { width: 16px; height: 16px; }

/* Toggle móvil */
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: var(--radius); background: transparent; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 18px; height: 1.7px;
  background: var(--ink); transform: translateX(-50%); transition: .3s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -.85px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: min(90vh, 760px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero__title { color: #fff; }
/* botones del hero fijos (siempre sobre imagen oscura) */
.hero .btn--light { background: #fff; color: #17130F; border-color: #fff; }
.hero .btn--light:hover { background: var(--amber); color: #fff; border-color: var(--amber); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(23,19,15,.22) 0%, rgba(23,19,15,.40) 45%, rgba(23,19,15,.86) 100%),
    linear-gradient(90deg, rgba(23,19,15,.55) 0%, rgba(23,19,15,.18) 45%, transparent 78%);
}
.hero__inner { padding-block: clamp(3rem, 2rem + 6vw, 6.5rem); max-width: 40rem; }
.hero__title {
  font-size: var(--h1); font-weight: 300; line-height: .96;
  text-transform: uppercase; letter-spacing: .01em; margin-bottom: 1rem;
  text-shadow: 0 2px 28px rgba(0,0,0,.4);
}
.hero__title strong { font-weight: 500; }
.hero__sub { font-size: var(--step-1); color: rgba(251,250,248,.95); max-width: 34ch; margin-bottom: 2rem; text-shadow: 0 1px 16px rgba(0,0,0,.45); }
.hero .eyebrow { color: rgba(251,250,248,.92); text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero .eyebrow::before { color: var(--wood); text-shadow: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 1.4rem; z-index: 1;
  font-family: var(--font-heading); font-size: .68rem; letter-spacing: .25em;
  text-transform: uppercase; color: rgba(251,250,248,.65);
  writing-mode: vertical-rl;
}

/* ============ Franja de datos / stats ============ */
.facts { background: var(--paper-2); color: var(--ink); border-block: 1px solid var(--line); }
.facts__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem); padding-block: clamp(2.2rem, 4vw, 3.4rem);
}
.fact { text-align: center; }
.fact__num {
  font-family: var(--font-heading); font-weight: 300;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); color: var(--ink); line-height: 1;
}
.fact__num span { color: var(--amber); }
.fact__label {
  display: block; margin-top: .6rem; font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: .16em; color: var(--ink-55);
}
.fact + .fact { border-inline-start: 1px solid var(--line); }

/* ============ Section head ============ */
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: var(--h2); font-weight: 400; }
.section-head p { margin: 1rem 0 0; color: var(--ink-70); font-size: var(--step-1); }

/* ============ Split (imagen + texto) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-lg); aspect-ratio: 4/3; max-height: 380px; }
.split__media--tall img { aspect-ratio: 4/5; max-height: 460px; }
.split__body p + p { margin-top: 1.1rem; }
.split__body p { color: var(--ink-70); }

/* ============ Galería (mosaico) ============ */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.5rem, 1.2vw, 1rem); }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 1.4rem 1rem .9rem;
  font-size: var(--step--1); color: var(--white);
  background: linear-gradient(transparent, rgba(23,19,15,.75));
}
.mosaic .m-a { grid-column: span 3; aspect-ratio: 3/2; }
.mosaic .m-b { grid-column: span 3; aspect-ratio: 3/2; }
.mosaic .m-c { grid-column: span 2; aspect-ratio: 1; }
.mosaic .m-d { grid-column: span 2; aspect-ratio: 1; }
.mosaic .m-e { grid-column: span 2; aspect-ratio: 1; }

/* Galería 2×2 (Quiénes somos) */
.gallery4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.6rem, 1.4vw, 1.1rem); }
.gallery4 figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3/2; }
.gallery4 img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery4 figure:hover img { transform: scale(1.05); }
.gallery4 figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 1.6rem 1.1rem .95rem;
  font-size: var(--step--1); color: #fff;
  background: linear-gradient(transparent, rgba(23,19,15,.78));
}

/* ============ Menú ============ */
.menu-tabbar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-2); margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}
.menu-tabs { display: flex; gap: .4rem; flex-wrap: wrap; padding: .8rem 0; overflow-x: auto; }
.menu-tab {
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .1em;
  font-size: .78rem; font-weight: 500; color: var(--ink-55);
  padding: .5em 1em; border-radius: 999px; border: 1px solid transparent;
  background: transparent; transition: .25s var(--ease); white-space: nowrap;
}
.menu-tab:hover { color: var(--ink); border-color: var(--line); }
.menu-tab.is-active { background: var(--ink); color: var(--white); }

.menu-cat { scroll-margin-top: calc(var(--header-h) + 70px); margin-bottom: clamp(2.6rem, 5vw, 4.5rem); }
.menu-cat__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem; }
.menu-cat__head h2 { font-size: var(--step-2); font-weight: 400; }
.menu-cat__head .count { font-size: var(--step--1); color: var(--ink-40); letter-spacing: .1em; }
.menu-cat__rule { flex: 1; height: 1px; background: var(--line); }

.menu-grid {
  display: grid; gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.card {
  background: var(--white); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(23,19,15,.45); }
.card__media { aspect-ratio: 1; background: var(--paper-2); position: relative; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__nophoto {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  gap: .4rem; color: var(--ink-40); font-size: var(--step--1); letter-spacing: .08em;
  text-transform: uppercase;
}
.card__nophoto span { font-size: 1.6rem; }
.card__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__name { font-family: var(--font-heading); font-size: var(--step-1); font-weight: 500; line-height: 1.1; }
.card__desc { font-size: var(--step--1); color: var(--ink-70); line-height: 1.45; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .3rem; }
.price { font-family: var(--font-heading); font-weight: 500; font-size: var(--step-0); color: var(--ink); }
.price .cur { color: var(--ink-40); font-size: .85em; margin-inline-end: .15em; }

/* "Consultar por WhatsApp" — precio a confirmar */
.pending {
  display: inline-flex; align-items: center; gap: .35em;
  font-family: var(--font-heading); font-weight: 500; font-size: var(--step--1);
  letter-spacing: .01em; color: var(--amber-deep);
}
.pending::before {
  content: ""; width: 12px; height: 12px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.9 9.9 0 0 0 4.79 1.21c5.46 0 9.91-4.45 9.91-9.91C21.95 6.45 17.5 2 12.04 2z'/%3E%3C/svg%3E");
          mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.9 9.9 0 0 0 4.79 1.21c5.46 0 9.91-4.45 9.91-9.91C21.95 6.45 17.5 2 12.04 2z'/%3E%3C/svg%3E");
}
.desc-pending { color: var(--ink-40); font-style: italic; }

/* Adicionales */
.addons { display: flex; flex-wrap: wrap; gap: .6rem; }
.addon {
  border: 1px solid var(--line); border-radius: 999px; padding: .5em 1.05em;
  font-size: var(--step--1); background: var(--white); color: var(--ink-70);
}

/* ============ Sucursales ============ */
.branch-grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.branch {
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.branch:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -26px rgba(23,19,15,.4); }
.branch__media { aspect-ratio: 16/11; background: var(--paper-2); overflow: hidden; }
.branch__media img { width: 100%; height: 100%; object-fit: cover; }
.branch__body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.branch__name { font-family: var(--font-heading); font-size: var(--step-2); font-weight: 500; line-height: 1; }
.branch__tag {
  align-self: flex-start; font-size: .66rem; text-transform: uppercase; letter-spacing: .14em;
  font-family: var(--font-heading); font-weight: 600; padding: .3em .7em; border-radius: 999px;
}
.branch__tag--dinein { background: color-mix(in srgb, var(--roast) 16%, transparent); color: var(--roast); }
.branch__tag--togo { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber-deep); }
.branch__tag--soon { background: var(--mist); color: var(--ink-55); }
.branch__row { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--step--1); color: var(--ink-70); }
.branch__row svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .2rem; color: var(--amber); }
.branch__foot { margin-top: auto; padding-top: .6rem; }
.branch__map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); }
.branch__map-embed iframe { display: block; width: 100%; height: 160px; border: 0; }
.branch__map {
  display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-heading);
  font-weight: 500; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink); border-bottom: 1.5px solid var(--amber); padding-bottom: 2px;
}
.branch__map:hover { color: var(--amber-deep); }
.branch.is-soon { opacity: .78; }

/* Carrusel de fotos por sucursal */
.carousel { position: relative; width: 100%; height: 100%; }
.carousel__track {
  display: flex; height: 100%; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgba(23,19,15,.45); color: #fff; font-size: 1.55rem; line-height: 0;
  display: grid; place-content: center; opacity: 0;
  transition: opacity .25s var(--ease), background .25s var(--ease);
}
.branch:hover .carousel__btn, .carousel:hover .carousel__btn, .carousel:focus-within .carousel__btn { opacity: 1; }
.carousel__btn:hover { background: var(--amber); }
.carousel__btn--prev { left: 8px; }
.carousel__btn--next { right: 8px; }
.carousel__dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; padding: 4px 7px; border-radius: 999px;
  background: rgba(23,19,15,.3); z-index: 1;
}
.carousel__dot {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.55); cursor: pointer;
  transition: width .25s var(--ease), background .25s var(--ease);
}
.carousel__dot.is-active { width: 16px; background: #fff; }
@media (hover: none) {
  .carousel__btn { opacity: 1; background: rgba(23,19,15,.38); }
}

/* ============ Tienda ============ */
.store-grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.product { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -26px rgba(23,19,15,.4); }
.product__media { aspect-ratio: 4/5; background: var(--paper-2); overflow: hidden; position: relative; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__body { padding: 1.1rem 1.2rem 1.35rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product__name { font-family: var(--font-heading); font-size: var(--step-1); font-weight: 500; }
.product__desc { font-size: var(--step--1); color: var(--ink-70); flex: 1; }

/* ============ Contacto ============ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.6rem, 3vw, 2.4rem); max-width: 620px; margin-inline: auto; }
.contact-methods { display: grid; gap: 1rem; align-content: start; }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem; transition: transform .3s var(--ease), border-color .3s;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--line); }
.contact-card__ic { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-content: center; border-radius: 50%; background: var(--paper); color: var(--amber); }
.contact-card__ic svg { width: 20px; height: 20px; }
.contact-card h3 { font-family: var(--font-heading); font-size: var(--step-1); font-weight: 500; margin-bottom: .15rem; }
.contact-card p { margin: 0; font-size: var(--step--1); color: var(--ink-70); }
.contact-card--wa { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.contact-card--wa h3 { color: var(--paper); }
.contact-card--wa .contact-card__ic { background: color-mix(in srgb, var(--paper) 16%, transparent); color: var(--paper); }
.contact-card--wa p { color: color-mix(in srgb, var(--paper) 75%, transparent); }

.form { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-heading); font-weight: 500; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .45rem; color: var(--ink-70); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: var(--step-0); color: var(--ink);
  padding: .8em .9em; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus { border-color: var(--amber); background: var(--white); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: var(--step--1); color: var(--ink-40); margin-top: .4rem; }

/* Acordeón (Trabajo / Franquicias / Reclamos) */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.3rem .2rem; background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .12em;
  font-size: var(--step-0); font-weight: 500; color: var(--ink);
  transition: color .25s var(--ease);
}
.acc-head:hover { color: var(--amber-deep); }
.acc-plus { position: relative; width: 15px; height: 15px; flex: 0 0 auto; }
.acc-plus::before, .acc-plus::after {
  content: ""; position: absolute; background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.acc-plus::before { left: 0; top: 50%; width: 100%; height: 1.5px; transform: translateY(-50%); }
.acc-plus::after { top: 0; left: 50%; height: 100%; width: 1.5px; transform: translateX(-50%); }
.acc-head[aria-expanded="true"] .acc-plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.acc-title { flex: 1; }

.acc-panel {
  overflow: hidden; max-height: 0; visibility: hidden;
  transition: max-height .4s var(--ease), visibility 0s linear .4s;
}
.acc-panel.is-open {
  max-height: 1600px; visibility: visible;
  transition: max-height .45s var(--ease), visibility 0s;
}
.acc-panel__inner { overflow: hidden; }
.acc-panel__body { padding: .2rem .2rem 1.8rem 2rem; }
.acc-panel__body > p { color: var(--ink-70); margin: 0 0 1.2rem; max-width: 52ch; }
.acc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.acc-form .field { margin: 0; }
.acc-form .field--full { grid-column: 1 / -1; }
.acc-form .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 560px) { .acc-form { grid-template-columns: 1fr; } .acc-panel__body { padding-left: .2rem; } }

/* ============ Franja CTA ============ */
.cta-band { background: var(--paper-2); color: var(--ink); text-align: center; border-block: 1px solid var(--line); }
.cta-band .section-title { color: var(--ink); }
.cta-band p { color: var(--ink-70); max-width: 44ch; margin: 1rem auto 2rem; }
.cta-band .btn-row { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
/* botones del CTA sobre fondo claro (sobrescribe estilos inline blancos del hero) */
.cta-band .btn--light { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cta-band .btn--light:hover { opacity: .85; background: var(--ink); border-color: var(--ink); }
.cta-band .btn--ghost { color: var(--ink) !important; border-color: var(--ink) !important; }
.cta-band .btn--ghost:hover { background: var(--ink) !important; color: var(--paper) !important; }

/* ============ Footer ============ */
.site-footer { background: var(--paper-2); color: var(--ink-70); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 48px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 34ch; font-size: var(--step--1); }
.footer-col h4 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--ink); margin-bottom: 1rem; font-weight: 500; }
.footer-col a, .footer-col li { font-size: var(--step--1); padding: .22em 0; display: block; transition: color .25s; }
.footer-col a:hover { color: var(--amber-deep); }
.footer-social { display: flex; gap: .7rem; margin-top: .3rem; }
.footer-social a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-content: center; padding: 0; transition: .3s var(--ease); }
.footer-social a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: .78rem; color: var(--ink-55); }
.footer-bottom a:hover { color: var(--amber-deep); }

/* ============ WhatsApp flotante ============ */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-content: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ============ Reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .card, .branch, .product, .btn, .mosaic img, .card__media img { transition: none !important; }
  .acc-panel, .acc-panel__inner, .acc-plus::before, .acc-plus::after { transition: none !important; }
  .carousel__track { scroll-behavior: auto; }
}

/* ============ Carrito ============ */
.cart-btn { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); display: grid; place-content: center; transition: background .25s var(--ease), color .25s var(--ease); flex-shrink: 0; }
.cart-btn:hover { background: var(--ink); color: var(--white); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-btn.bump { animation: cartBump .4s var(--ease); }
@keyframes cartBump { 0%,100% { transform: none; } 30% { transform: scale(1.18); } }
.cart-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--amber); color: #fff; font-family: var(--font-heading); font-size: .64rem; font-weight: 600; display: grid; place-content: center; }

.product .card__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.add-btn { width: 38px; height: 38px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 1.4rem; line-height: 0; display: grid; place-content: center; transition: background .25s var(--ease), transform .25s var(--ease); }
.add-btn:hover { background: var(--amber); transform: scale(1.08); }
.add-btn.is-added { background: #2e9e5b; }

.cart-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(23,19,15,.5); opacity: 0; transition: opacity .3s var(--ease); }
.cart-overlay.is-open { opacity: 1; }
.cart-drawer { position: fixed; top: 0; right: 0; z-index: 201; width: min(400px, 92vw); height: 100%; background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: -20px 0 60px -30px rgba(23,19,15,.55); }
.cart-drawer.is-open { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem var(--gutter); border-bottom: 1px solid var(--line); }
.cart-drawer__title { font-family: var(--font-heading); font-size: var(--step-2); font-weight: 500; }
.cart-close { background: none; border: 0; font-size: 1.9rem; line-height: 1; color: var(--ink-55); width: 36px; height: 36px; }
.cart-close:hover { color: var(--ink); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: .4rem var(--gutter) 1rem; }
.cart-empty { color: var(--ink-55); text-align: center; padding: 3.5rem 1rem; }
.cart-item { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line-2); }
.cart-item__img { width: 60px; height: 60px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; background: var(--paper-2); }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__top { display: flex; justify-content: space-between; gap: .6rem; }
.cart-item__name { font-weight: 500; font-size: var(--step-0); line-height: 1.2; }
.cart-item__remove { background: none; border: 0; color: var(--ink-40); font-size: var(--step--1); text-decoration: underline; padding: 0; flex-shrink: 0; white-space: nowrap; }
.cart-item__remove:hover { color: var(--amber-deep); }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: .65rem; }
.cart-item__price { font-family: var(--font-heading); font-weight: 500; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.stepper button { width: 28px; height: 28px; border: 0; background: none; color: var(--ink); font-size: 1.1rem; line-height: 0; }
.stepper button:hover { color: var(--amber-deep); }
.stepper span { min-width: 24px; text-align: center; font-size: var(--step--1); }
.cart-drawer__foot { border-top: 1px solid var(--line); padding: 1.2rem var(--gutter) 1.5rem; background: var(--paper); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-heading); margin-bottom: 1rem; }
.cart-total span { text-transform: uppercase; letter-spacing: .1em; font-size: var(--step--1); color: var(--ink-55); }
.cart-total strong { font-size: var(--step-1); font-weight: 500; }
.cart-checkout { width: 100%; justify-content: center; background: var(--ink); border-color: var(--ink); color: var(--paper); padding: .8em 1.2em; font-size: .72rem; letter-spacing: .1em; }
.cart-checkout svg { width: 15px; height: 15px; }
.cart-checkout:hover { opacity: .88; background: var(--ink); border-color: var(--ink); color: var(--paper); transform: none; }
.cart-note { text-align: center; font-size: var(--step--1); color: var(--ink-40); margin: .8rem 0 0; }
@media (prefers-reduced-motion: reduce) { .cart-overlay, .cart-drawer { transition: none; } .cart-btn.bump { animation: none; } }

/* ============ Stickers (nuevo / más vendido) ============ */
.sticker {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--font-heading); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: .62rem; padding: .38em .72em; border-radius: 999px;
}
.sticker--new { background: var(--ink); color: var(--paper); }
.sticker--best { background: var(--amber); color: #fff; }
:root[data-theme="dark"] .sticker--best { color: #17130F; }
.sticker--inline { position: static; display: inline-block; vertical-align: middle; }

/* Notas de producto en tienda */
.product__meta { font-size: var(--step--1); color: var(--ink-70); flex: 1; }
.product__meta p { margin: .12rem 0; }
.product__meta span { color: var(--ink-40); text-transform: uppercase; letter-spacing: .07em; font-size: .72em; }

/* Cards de sucursal como enlaces */
.branch--link { text-decoration: none; color: inherit; }
.branch__media { position: relative; }
.branch__more { display: inline-block; margin-top: .3rem; font-family: var(--font-heading); font-weight: 500; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .1em; color: var(--amber-deep); transition: color .25s; }
.branch--link:hover .branch__more { color: var(--ink); }
.branch__soon { font-size: var(--step--1); color: var(--ink-55); }

/* ============ Modal (molienda / entrega) ============ */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1rem; }
.modal__overlay { position: absolute; inset: 0; background: rgba(23,19,15,.55); opacity: 0; transition: opacity .3s var(--ease); }
.modal.is-open .modal__overlay { opacity: 1; }
.modal__panel { position: relative; z-index: 1; width: min(440px, 96vw); max-height: 92vh; overflow-y: auto; background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); transform: translateY(16px) scale(.98); opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__close { position: absolute; top: .5rem; right: .7rem; background: none; border: 0; font-size: 1.9rem; line-height: 1; color: var(--ink-55); width: 40px; height: 40px; }
.modal__close:hover { color: var(--ink); }
.modal__eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--amber-deep); margin: 0 0 .3rem; }
.modal__title { font-family: var(--font-heading); font-size: var(--step-2); font-weight: 500; margin: 0 0 1.2rem; padding-right: 1.5rem; }
.modal__confirm { width: 100%; justify-content: center; margin-top: 1.2rem; }

.grind-opts, .deliv-opts { display: grid; gap: .5rem; }
.grind-opt, .deliv-opt { text-align: left; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: .85em 1em; font: inherit; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.grind-opt:hover, .deliv-opt:hover { border-color: var(--ink); }
.grind-opt.is-sel, .deliv-opt.is-sel { border-color: var(--ink); background: var(--paper-2); font-weight: 500; }
.grind-opt.is-sel::after { content: "✓"; color: var(--ink); }
.deliv-opt__tag { font-size: var(--step--1); color: var(--ink-55); font-weight: 400; }
.deliv-opt.is-sel .deliv-opt__tag { color: var(--amber-deep); }
.deliv-map-wrap { margin-top: 1rem; }
.deliv-map-hint { font-size: var(--step--1); color: var(--ink-55); margin: 0 0 .5rem; }
.deliv-map { width: 100%; height: 240px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.deliv-address { width: 100%; margin-top: .6rem; font: inherit; font-size: var(--step-0); padding: .7em .9em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.deliv-address:focus { border-color: var(--ink); outline: none; }
.cart-item__grind { font-size: var(--step--1); color: var(--ink-55); margin: .2rem 0 0; }

/* ============ Página individual de sucursal ============ */
.branchpage__head { padding-top: clamp(1.5rem,3vw,2.5rem); max-width: 62rem; }
.branchpage__back { font-family: var(--font-heading); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-55); display: inline-block; margin-bottom: 1.2rem; }
.branchpage__back:hover { color: var(--ink); }
.branchpage__title { font-size: var(--h1); font-weight: 300; line-height: 1; margin: .3rem 0 .6rem; }
.branchpage__tagline { font-size: var(--step-1); color: var(--ink-70); max-width: 42ch; }
.branchpage__gallery { margin-top: clamp(1.5rem,3vw,2.5rem); }
.branchpage__gallery .carousel { height: clamp(280px, 52vh, 520px); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.branchpage__gallery .carousel__btn { opacity: 1; width: 40px; height: 40px; font-size: 1.7rem; background: rgba(23,19,15,.5); }
.branchpage__gallery .carousel__btn:hover { background: var(--ink); }
.branchpage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); margin-top: clamp(2rem,4vw,3.5rem); align-items: start; }
.branchpage__about p:not(.eyebrow) { color: var(--ink-70); font-size: var(--step-1); line-height: 1.6; }
.branchpage__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.branchpage__map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.branchpage__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 820px) { .branchpage__grid { grid-template-columns: 1fr; } .branchpage__gallery .carousel { aspect-ratio: 4/3; } }

/* ============ Toggle de tema (claro/oscuro) ============ */
.theme-btn {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink); display: grid; place-content: center;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s; flex-shrink: 0;
}
.theme-btn:hover { background: var(--ink); color: var(--paper); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .icon-sun { display: none; }
.theme-btn .icon-moon { display: block; }
:root[data-theme="dark"] .theme-btn .icon-sun { display: block; }
:root[data-theme="dark"] .theme-btn .icon-moon { display: none; }

/* ============ Landing (video + transición) ============ */
body.landing { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 500; background: #FBF9F5; display: grid; place-items: center; transition: opacity 1s var(--ease); }
.intro.is-hidden { opacity: 0; pointer-events: none; }
.intro__logo { width: clamp(170px, 28vw, 320px); height: auto; }

.landing-main { position: relative; height: 100dvh; min-height: 520px; overflow: hidden; }
.landing-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.landing-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.52)); }
.landing-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -54%); z-index: 3; width: clamp(170px, 28vw, 320px); display: block; }
.landing-logo img { width: 100%; height: auto; filter: invert(1) brightness(2); }
.landing-enter {
  position: absolute; top: calc(50% + clamp(92px, 13vw, 155px)); left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .3em; font-size: .78rem;
  color: rgba(255,255,255,.85); padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.5);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.landing-enter:hover { color: #fff; border-color: #fff; }

.audio-toggle {
  position: absolute; z-index: 4; bottom: 22px; right: 22px; display: inline-flex; align-items: center; gap: .5em;
  background: rgba(0,0,0,.35); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: .5em .9em; font-family: var(--font-heading); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  backdrop-filter: blur(4px); transition: background .25s var(--ease);
}
.audio-toggle:hover { background: rgba(0,0,0,.55); }
.audio-toggle svg { width: 16px; height: 16px; }
.audio-toggle .ic-sound { display: none; }
.audio-toggle.is-on .ic-sound { display: block; }
.audio-toggle.is-on .ic-mute { display: none; }

.site-header--landing { position: absolute; top: 0; left: 0; right: 0; background: transparent; backdrop-filter: none; border-bottom: 0; z-index: 20; }
.site-header--landing .site-header__bar { justify-content: space-between; }
.site-header--landing .nav { margin-inline-start: 0; }
.site-header--landing .nav__link { color: rgba(255,255,255,.82); }
.site-header--landing .nav__link:hover, .site-header--landing .nav__link[aria-current="page"] { color: #fff; }
.site-header--landing .nav__link::after { background: #fff; }
.site-header--landing .nav-toggle { border-color: rgba(255,255,255,.4); }
.site-header--landing .nav-toggle span,
.site-header--landing .nav-toggle span::before,
.site-header--landing .nav-toggle span::after { background: #fff; }
.site-header--landing .lang { border-color: rgba(255,255,255,.4); }
.site-header--landing .lang__btn { color: rgba(255,255,255,.78); }
.site-header--landing .lang__btn[aria-pressed="true"] { background: #fff; color: #17130F; }
.site-header--landing .theme-btn, .site-header--landing .cart-btn { color: #fff; border-color: rgba(255,255,255,.4); }
.site-header--landing .theme-btn:hover, .site-header--landing .cart-btn:hover { background: #fff; color: #17130F; }
@media (prefers-reduced-motion: reduce) { .intro { transition: opacity .2s; } }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3), .fact:nth-child(4) { border-top: 1px solid rgba(237,236,232,.12); padding-top: 1.4rem; }
  .fact:nth-child(3) { border-inline-start: 0; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 16/10; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic .m-a, .mosaic .m-b, .mosaic .m-c, .mosaic .m-d, .mosaic .m-e { grid-column: span 1; aspect-ratio: 4/3; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; order: 3; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: .6rem var(--gutter) 1.4rem; }
  .nav__link { padding: .95em 0; border-bottom: 1px solid var(--line-2); font-size: 1rem; }
  .nav__link::after { display: none; }
  .header-tools { margin-inline-start: auto; }
  .wa-header span { display: none; }
  .wa-header { padding: .55em; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero { min-height: 82vh; }
  .lang__btn { padding: .42em .5em; }
}

/* ===== Correcciones mobile (no afectan desktop) ===== */
@media (max-width: 780px) {
  /* Landing: links del desplegable legibles sobre fondo claro */
  .site-header--landing .nav { background: var(--paper); }
  .site-header--landing .nav__link,
  .site-header--landing .nav__link:hover,
  .site-header--landing .nav__link[aria-current="page"] { color: var(--ink); }
  /* Menú: la barra de categorías no queda fija al scrollear */
  .menu-tabbar { position: static; top: auto; }
}
@media (max-width: 560px) {
  /* Menú: productos más chicos, varios por fila */
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .menu-grid .card__body { padding: .55rem .7rem .8rem; }
  .menu-grid .card__name { font-size: .82rem; line-height: 1.15; }
  .menu-cat__head h2 { font-size: var(--step-1); }
  /* Galería "El obrador": captions más compactos */
  .gallery4 figcaption { padding: .85rem .7rem .55rem; font-size: .68rem; line-height: 1.25; }
}

/* ===== Vaciar carrito + descuento café ===== */
.cart-disc { display: flex; justify-content: space-between; font-size: var(--step--1); color: var(--amber-deep); margin-bottom: .5rem; }
.cart-clear { display: block; width: 100%; margin-top: .7rem; background: none; border: 0; color: var(--ink-55); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cart-clear:hover { color: var(--amber-deep); }

/* ===== Toggle servido Dine In / To Go (menú) ===== */
.menu-serving { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-top: 1.4rem; }
.serving__label { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--ink-55); }
.serving__toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.serving__btn { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 500; padding: .5em 1.1em; border: 0; background: transparent; color: var(--ink-55); border-radius: 999px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.serving__btn.is-active { background: var(--ink); color: var(--paper); }
.serving__btn:hover:not(.is-active) { color: var(--ink); }

/* Imagen de producto (bolsa) en split: la foto (con su fondo en gradiente) llena la tarjeta, sin recuadro interno */
.split__media--product { border-radius: 22px; overflow: hidden; }
.split__media--product img { object-fit: cover; aspect-ratio: 3/2; max-height: 400px; object-position: center 62%; }
/* Taza / vaso (Dine In / To Go): cuadrado centrado, con el texto alineado debajo */
.split__media--cup { max-width: 340px; margin-inline: auto; }
.split__media--cup img { aspect-ratio: 1/1; object-fit: cover; width: 100%; display: block; background: #f4f2ee; }

/* Nota de descuento en la tienda (arriba) */
.section-head p.store-promo { display: inline-flex; align-items: center; gap: .5em; margin: 1.1rem 0 0; font-family: var(--font-heading); font-weight: 500; font-size: var(--step--1); letter-spacing: .01em; color: var(--amber-deep); background: color-mix(in srgb, var(--amber) 14%, transparent); border-radius: 999px; padding: .45em 1.05em; max-width: max-content; }
.store-promo::before { content: ""; width: 13px; height: 13px; flex-shrink: 0; background: currentColor; -webkit-mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.59 13.41 11 3.83A2 2 0 0 0 9.59 3H4a1 1 0 0 0-1 1v5.59A2 2 0 0 0 3.83 11l9.58 9.59a2 2 0 0 0 2.83 0l4.35-4.35a2 2 0 0 0 0-2.83zM7 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E"); mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.59 13.41 11 3.83A2 2 0 0 0 9.59 3H4a1 1 0 0 0-1 1v5.59A2 2 0 0 0 3.83 11l9.58 9.59a2 2 0 0 0 2.83 0l4.35-4.35a2 2 0 0 0 0-2.83zM7 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E"); }

/* Carrito: precio (incluye "Consultar por WhatsApp") más chico y separado */
.cart-item__bottom { gap: .9rem; }
.cart-item__price { font-size: var(--step--1); text-align: right; line-height: 1.2; max-width: 9em; }

/* Landing: el logo se desvanece a los ~5s */
.landing-logo { transition: opacity 1s var(--ease); }
.landing-logo.is-hidden { opacity: 0; pointer-events: none; }

/* Landing "Entrar": oculto en desktop (ya está el menú de arriba); en mobile, abajo del todo */
.landing-enter { display: none; }
@media (max-width: 780px) {
  .landing-enter { display: inline-block; top: auto; bottom: 76px; }
}
