/* ============================================================
   DON BLANCO — Home v1
   Design System LOCKED
   ============================================================ */

:root {
  /* Paleta oficial extendida */
  --db-green: #003f33;      /* verde forestal */
  --verde-salvia: #3d6b5c;  /* verde medio — pastelería */
  --amarillo-pan: #E8D48A;  /* amarillo pastel — SOLO tortas */
  --db-cream: #e4e3de;
  --db-gold:  #B8884A;

  /* Tipografías: EB Garamond (display) + Manrope (body) */
  --font-display: 'EB Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-serif: var(--font-display); /* alias display */
  --font-sans:  var(--font-body);    /* alias body */

  /* Espaciado editorial */
  --section-pad: 200px;
  --gutter: clamp(20px, 6vw, 120px);
  --maxw: 1440px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
button, input, textarea, select { font-family: var(--font-body); }

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--db-green);
  background: var(--db-cream);
  overflow-x: hidden;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Fondos de sección ---------- */
.section-dark  { background: var(--db-green); color: var(--db-cream); }
.section-light { background: var(--db-cream); color: var(--db-green); }

section {
  position: relative;
  padding-block: var(--section-pad);
  padding-inline: var(--gutter);
}

/* ============================================================
   TIPOGRAFÍA — Títulos
   ============================================================ */
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.section-title.centered { text-align: center; }

.title-green { color: var(--db-green); }
.title-cream { color: var(--db-cream); }

.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section-eyebrow.centered { text-align: center; }

.body-copy {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.7;
  max-width: 480px;
}

/* ============================================================
   1. HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-inline: var(--gutter);
  transition: color 0.5s ease, background-color 0.5s ease;
}
.site-header[data-theme="dark"]  { color: var(--db-cream); }
.site-header[data-theme="light"] {
  color: var(--db-green);
  background: rgba(228, 227, 222, 0.82);
  backdrop-filter: blur(10px);
}
.site-header[data-theme="dark"] {
  background: rgba(0, 63, 51, 0.82);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.logo-img {
  height: 108px;
  width: auto;
  margin-block: -8px;   /* navbar web un poco más bajo; el logo mantiene 108px */
  transition: filter 0.5s ease;
}
/* Logo = emblema verde transparente. Sobre verde lo llevamos a crema. */
.site-header[data-theme="dark"] .logo-img {
  filter: brightness(0) invert(1);
}
.site-header[data-theme="light"] .logo-img {
  filter: none;
}

.nav-list {
  display: flex;
  gap: 12px;
  align-items: center;
}
.pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid currentColor;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.site-header[data-theme="dark"] .pill:hover  { background: var(--db-cream); color: var(--db-green); }
.site-header[data-theme="light"] .pill:hover { background: var(--db-green); color: var(--db-cream); }

/* --- Dropdown Carta --- */
.nav-dropdown { position: relative; }
.nav-carta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  cursor: pointer;
  color: inherit;
}
.nav-chevron { transition: transform 0.3s ease; }
.nav-dropdown[data-open="true"] .nav-chevron { transform: rotate(180deg); }

/* Puente invisible entre el pill y el menu (el hover no se rompe al cruzar) */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  z-index: 99;
  display: none;
}
.nav-dropdown[data-open="true"]::after { display: block; }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 240px;
  background: var(--db-cream);
  border-radius: 12px;
  padding: 8px 6px;
  box-shadow: 0 12px 32px rgba(0, 63, 51, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 130;
}
.nav-dropdown[data-open="true"] .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  color: var(--db-green);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  border-radius: 6px;
  transition: background 0.2s ease, padding-left 0.25s ease;
}
.nav-dropdown-item:hover { background: rgba(0, 63, 51, 0.06); padding-left: 22px; }
.nav-dropdown-divider {
  height: 1px;
  background: rgba(0, 63, 51, 0.12);
  margin: 6px 12px;
}
.nav-dropdown-verall { justify-content: space-between; font-weight: 600; }
.nav-arrow { opacity: 0.5; transition: transform 0.2s ease; }
.nav-dropdown-verall:hover .nav-arrow { transform: translateX(3px); opacity: 1; }

/* Hamburguesa — oculta en desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  z-index: 120;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.header-social { display: flex; gap: 12px; }
.social-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid currentColor;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.site-header[data-theme="dark"] .social-icon:hover  { background: var(--db-cream); color: var(--db-green); }
.site-header[data-theme="light"] .social-icon:hover { background: var(--db-green); color: var(--db-cream); }

/* ============================================================
   2. HERO — título flanqueando el croissant (banner de fondo)
   ============================================================ */
.hero {
  position: relative;
  height: 85vh;
  min-height: 85vh;
  max-height: 85vh;
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background-color: var(--db-green);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('images/bannernuevodon.png');
  background-size: cover;
  background-position: center center;
}
/* Overlay negro parejo (contraste uniforme, sin tinte verde) */
.hero-overlay-negro {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.4);
}
/* Textura tipo papel/impresión magazine */
.hero-textura {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.25) 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02 0.05' numOctaves='3' seed='5'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='0.5'/%3E%3C/svg%3E");
  background-blend-mode: multiply;
  mix-blend-mode: soft-light;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero-content-centrado {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 40px 110px;   /* bloque un poco más arriba del centro */
  gap: 40px;
  text-align: center;
}
.hero-titulo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-isotipo {
  width: clamp(56px, 5.2vw, 80px);
  height: auto;
  margin-bottom: 22px;   /* más aire logo→bienvenidos que bienvenidos→titular */
  filter: brightness(0) invert(1) drop-shadow(0 2px 20px rgba(0,0,0,0.45)); /* B en cream, como el sello */
  opacity: 0.95;
}
.hero-eyebrow-bienvenida {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--db-cream);
  opacity: 0.85;
  margin: 0 0 -4px;      /* pegado al titular */
  text-align: center;
}
.hero-titulo-centrado {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--db-cream);
  text-align: center;
  margin: 0;
  max-width: 1100px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5), 0 0 60px rgba(0,0,0,0.3);
}
.hero-cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 0;   /* el gap del contenedor ya separa título y CTA */
}
.cta-primario {
  display: inline-block;
  padding: 16px 36px;
  background: var(--db-cream);
  color: var(--db-green);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}
.cta-primario:hover { transform: translateY(-2px); }

/* --- Marquee amarillo debajo del hero --- */
.marquee {
  background: #E8D48A;
  overflow: hidden;
  position: relative;
  padding: 11px 0;
  border-top: 1px solid rgba(0, 63, 51, 0.08);
  border-bottom: 1px solid rgba(0, 63, 51, 0.08);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee-scroll 90s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1;
  color: var(--db-green);
  letter-spacing: 0.02em;
  padding: 0 4px;
}
.marquee-sep {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(11px, 0.9vw, 14px);
  line-height: 1;
  color: var(--db-green);
  opacity: 0.35;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* --- Franja verde (misma banda, color verde + sentido inverso) --- */
.marquee-verde {
  background: var(--db-green);
  border-top-color: rgba(228, 227, 222, 0.12);
  border-bottom-color: rgba(228, 227, 222, 0.12);
}
.marquee-verde .marquee-item { color: var(--db-cream); }
.marquee-wordmark { display: inline-flex; align-items: center; }
/* Wordmark "DON BLANCO" del logo (PNG blanco) en lugar del texto en EB Garamond */
.marquee-wordmark img { height: clamp(12px, 1vw, 15px); width: auto; display: block; opacity: 0.95; }
.marquee-verde .marquee-sep { color: var(--db-cream); opacity: 0.35; }
.marquee-track-rev { animation-direction: reverse; }  /* corre para el lado contrario */
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============================================================
   3. MANIFESTO
   ============================================================ */
.manifesto-grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.manifesto-media {
  position: relative;
  aspect-ratio: 4 / 3;
  /* overflow visible → los line-art asoman desde los bordes */
}
.manifesto-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
/* Line-art asomando medio adentro / medio afuera de la foto */
.miga-lineart-medialuna {
  position: absolute;
  top: -40px;
  left: -50px;
  width: 22%;
  max-width: 180px;
  transform: rotate(-14deg);
  z-index: 3;
  pointer-events: none;
}
.miga-lineart-pan {
  position: absolute;
  bottom: -45px;
  right: -40px;
  width: 18%;
  max-width: 150px;
  transform: rotate(10deg);
  z-index: 3;
  pointer-events: none;
}

.manifesto-text .section-title {
  margin-bottom: 0.6em;
  font-size: clamp(36px, 4.5vw, 68px);
}
/* Override para el título nuevo, más largo: baja el tamaño y limita el ancho
   para que no rompa layout ni pase de 2-3 líneas. */
.manifesto-text .miga-titulo {
  font-size: clamp(28px, 3.5vw, 54px);
  line-height: 1.1;
  max-width: 640px;
}

/* ============================================================
   4. NUESTRAS LÍNEAS (carrusel de 7)
   ============================================================ */
.section-head {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: clamp(48px, 6vw, 90px);
}
.head-rule {
  flex: 1;
  height: 1px;
  background: var(--db-green);
}

.lineas-carrusel-section {
  padding: 100px 0;
  background: var(--db-cream);
}
.lineas-header {
  max-width: 1300px;
  margin: 0 auto 60px;
  padding: 0 40px;
}
.lineas-titulo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 1;
  color: var(--db-green);
  margin: 0;
  letter-spacing: -0.01em;
}
.lineas-carrusel {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 72px;
}
.lineas-viewport {
  overflow: hidden;
  position: relative;
}
.lineas-track {
  display: flex;
  gap: 24px;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.linea-card-carrusel {
  /* 3.3 cards visibles: la 4ta asoma ~30% para el efecto peek */
  flex: 0 0 calc((100% - 24px * 2.3) / 3.3);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  text-decoration: none;   /* la card entera linkea a la carta con el filtro de su línea */
}
.linea-card-carrusel .linea-card-imagen {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 63, 51, 0.05);
}
.linea-card-carrusel .linea-card-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.linea-card-carrusel:hover .linea-card-imagen img { transform: scale(1.04); }

/* Gradient overlay para garantizar legibilidad del título blanco encima
   de imágenes con fondos claros (macarons, tortas) sin diferenciar entre
   cards — mismo overlay para las 7. */
.linea-card-carrusel .linea-card-imagen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 35%,
    rgba(0, 0, 0, 0) 65%
  );
  pointer-events: none;
  z-index: 1;
}
.linea-card-carrusel .linea-card-nombre {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Link "Ver toda la carta" — sutil, debajo del carrusel, centrado */
.lineas-ver-carta {
  text-align: center;
  margin-top: 48px;
}
.lineas-ver-carta-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--db-green);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.15s ease;
}
.lineas-ver-carta-link:hover { opacity: 0.7; }
/* Flechas circulares (mismo estilo que las de sucursales) */
.lineas-flecha {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: var(--db-cream);
  border: 1.5px solid rgba(0, 63, 51, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  z-index: 3;
  color: var(--db-green);
}
.lineas-flecha:hover:not(:disabled) {
  background: var(--db-green);
  color: var(--db-cream);
  border-color: var(--db-green);
}
.lineas-flecha:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.lineas-flecha-izq { left: 0; }
.lineas-flecha-der { right: 0; }

.cta-grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

/* ============================================================
   5. SUCURSALES
   ============================================================ */
.sucursales { padding-block: 160px; }
.sucursales-head {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
}
.sucursales-titulo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--db-green);
  margin: 0 0 8px;
}
.sucursales-copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--db-green);
  opacity: 0.75;
  max-width: 480px;
  margin-inline: auto;
}

/* Carrusel horizontal de 7 cards */
.sucursales-carrusel {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 72px;
}
.sucursales-viewport {
  overflow: hidden;
  position: relative;
}
.sucursales-track {
  display: flex;
  gap: 24px;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.sucursal-card {
  /* 3.4 cards visibles: la 4ta asoma para el efecto peek */
  flex: 0 0 calc((100% - 24px * 2.4) / 3.4);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.sucursal-card-imagen {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 63, 51, 0.05);
}
/* Flechas de navegación */
.sucursales-flecha {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: var(--db-cream);
  border: 1.5px solid rgba(0, 63, 51, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
  z-index: 3;
  color: var(--db-green);
}
.sucursales-flecha:hover:not(:disabled) {
  background: var(--db-green);
  color: var(--db-cream);
  border-color: var(--db-green);
}
.sucursales-flecha:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.sucursales-flecha-izq { left: 0; }
.sucursales-flecha-der { right: 0; }
.sucursal-card-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.sucursal-card:hover .sucursal-card-imagen img { transform: scale(1.04); }
.sucursal-card-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  background: var(--db-green);
  border: 1px dashed rgba(228, 227, 222, 0.5);
  border-radius: 8px;
  color: var(--db-cream);
  font-family: var(--font-body);
  font-size: 12px;
  opacity: 0.85;
}
.sucursal-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 63, 51,0.75) 0%, rgba(0, 63, 51,0) 55%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.sucursal-card:hover .sucursal-card-overlay { opacity: 1; }
.sucursal-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--db-cream);
  color: var(--db-green);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
}
.sucursal-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}
.sucursal-card-nombre {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  color: var(--db-green);
}
.sucursal-card-direccion {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--db-green);
  opacity: 0.65;
}
.sucursal-card--soon { cursor: default; }
.sucursal-card--soon .sucursal-card-imagen { background: var(--db-green); }
.sucursal-card--soon .sucursal-card-imagen img { display: none; }
.sucursal-card--soon:hover .sucursal-card-imagen { background: var(--db-green); }
.sucursal-card-soon-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}
.sucursal-card-soon-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--db-cream);
  text-transform: uppercase;
}

/* --- Modal --- */
.sucursal-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sucursal-modal[data-open="true"] { display: flex; }
.sucursal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 63, 51, 0.6);
  backdrop-filter: blur(6px);
}
.sucursal-modal-content {
  position: relative;
  background: var(--db-cream);
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 24px 64px rgba(0, 63, 51, 0.25);
}
.sucursal-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid rgba(0, 63, 51, 0.2);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--db-green);
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 2;
}
.sucursal-modal-close:hover { background: rgba(0, 63, 51, 0.08); }
.sucursal-modal-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 32px;
}
.sucursal-modal-imagen {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 63, 51,0.05);
}
.sucursal-modal-imagen img { width: 100%; height: 100%; object-fit: cover; }
.sucursal-modal-eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(0, 63, 51, 0.5);
  margin-bottom: 8px;
}
.sucursal-modal-info h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: var(--db-green);
  margin-bottom: 12px;
}
.sucursal-modal-info > p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--db-green);
  opacity: 0.75;
  margin-bottom: 20px;
}
.sucursal-modal-horarios {
  border-top: 1px solid rgba(0, 63, 51, 0.12);
  padding-top: 16px;
  margin-bottom: 16px;
}
.sucursal-modal-horarios p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--db-green);
  opacity: 0.8;
  margin: 4px 0;
}
.sucursal-modal-tel {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--db-green);
  opacity: 0.65;
  margin: 12px 0 20px !important;
}
.sucursal-modal-mapa {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 6px;
  margin-bottom: 20px;
  filter: grayscale(0.2);
}
.sucursal-modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--db-green);
  color: var(--db-cream);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  transition: opacity 0.3s ease;
}
.sucursal-modal-cta:hover { opacity: 0.85; }

/* ============================================================
   6. EL OFICIO
   ============================================================ */
.el-oficio {
  height: 100vh;             /* pantalla completa */
  background: transparent;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;                /* debajo de Catering */
}
.el-oficio-imagenes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;                    /* imágenes pegadas */
  max-width: none;
  margin: 0;
  width: 100%;              /* full-bleed */
  height: 100%;             /* llenan el alto completo */
}
.el-oficio-imagen {
  position: relative;
  height: 100vh;            /* alto fijo → ambas exactamente iguales */
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.6s ease;
}
.el-oficio-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.15) saturate(0.9) brightness(0.96) contrast(1.05);
  transition: filter 0.5s ease, transform 0.6s ease;
}
/* Grain sutil sobre cada imagen */
.el-oficio-imagen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.15;
  mix-blend-mode: overlay;
}
.el-oficio-imagen:hover img {
  filter: sepia(0) saturate(1.05) brightness(1) contrast(1);
  transform: scale(1.03);
}
@media (max-width: 768px) {
  .el-oficio-imagenes { grid-template-columns: 1fr; gap: 0; }
  .el-oficio-imagen { height: 50vh; }   /* 2 apiladas, cada una 50vh → cubren la pantalla */
}

/* ============================================================
   7. CATERING — 2 columnas 50/50, video controlado
   ============================================================ */
.catering {
  padding: 130px 40px 150px;
  background: var(--db-cream);
  position: relative;
  overflow: hidden;
}
/* Panel decorativo de "Formá parte" (.cta-final) */
.cta-final {
  position: relative;
  z-index: 10;
  background: var(--db-green);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(0, 63, 51, 0.15);
}
.catering-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}
.catering-intro {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 440px;
}
.catering-eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.37em;
  color: rgba(0, 63, 51, 0.55);
  text-transform: uppercase;
}
.catering-titulo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 6vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--db-green);
  margin: 0;
}
.catering-copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(0, 63, 51, 0.78);
  margin: 0;
}
.catering-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 16px 30px;
  background: var(--db-green);
  color: var(--db-cream);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.catering-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(0, 63, 51, 0.35);
}
.catering-cta-arrow { transition: transform 0.3s ease; }
.catering-cta:hover .catering-cta-arrow { transform: translateX(4px); }
.catering-bloques {
  display: flex;
  flex-direction: column;
}
.catering-bloque {
  padding: 30px 0;
  border-top: 1px solid rgba(0, 63, 51, 0.14);
}
.catering-bloque:last-child { border-bottom: 1px solid rgba(0, 63, 51, 0.14); }
.catering-bloque h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--db-green);
  margin: 0 0 12px 0;
}
.catering-bloque-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--db-green);
}
.catering-bloque p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(0, 63, 51, 0.65);
  margin: 0;
}
@media (max-width: 900px) {
  .catering { padding: 90px 24px 110px; }
  .catering-container { grid-template-columns: 1fr; gap: 48px; }
  .catering-intro { max-width: none; }
}

/* ============================================================
   8. CTA FINAL
   ============================================================ */
.cta-left .section-title { margin-bottom: 0.5em; }
.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 2em;
  flex-wrap: wrap;
  max-width: 460px;
}
.newsletter-input {
  flex: 1;
  min-width: 180px;
  background: transparent;
  border: 1px solid var(--db-cream);
  border-radius: 999px;
  padding: 14px 22px;
  color: var(--db-cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.newsletter-input::placeholder { color: rgba(228, 227, 222, 0.55); }
.newsletter-input:focus { outline: 1px solid var(--db-gold); }

.pill-cta {
  display: inline-block;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  border: 1px solid var(--db-cream);
}
.cta-fill {
  background: var(--db-cream);
  color: var(--db-green);
}
.cta-fill:hover { background: var(--db-gold); border-color: var(--db-gold); color: var(--db-cream); }
.cta-outline {
  background: transparent;
  color: var(--db-cream);
}
.cta-outline:hover { background: var(--db-cream); color: var(--db-green); }

.cta-card { position: relative; }
.cta-card .placeholder { border-radius: 6px; }
.cta-image-wrap {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
}
.cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.sello {
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
}
/* Solo el texto en curva rota */
.sello-texto-curvo {
  position: absolute;
  inset: 0;
  animation: rotate 20s linear infinite;
}
.sello-text {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  fill: var(--db-cream);
  text-transform: uppercase;
}
/* Isotipo B fijo al centro (~35% del diámetro) */
.sello-isotipo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 49px;
  height: auto;
  filter: brightness(0) invert(1); /* B en cream */
}
@keyframes rotate { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .sello-texto-curvo { animation: none; }
}

/* ============================================================
   9. SEGUINOS (Instagram)
   ============================================================ */
.seguinos {
  padding: 120px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.seguinos-header {
  text-align: center;
  margin-bottom: 60px;
}
.seguinos-titulo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1;
  color: var(--db-green);
  margin: 0 0 12px 0;
}
.seguinos-handle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--db-green);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.seguinos-handle:hover { opacity: 1; }
.seguinos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 900px;      /* vuelve al tamaño anterior (antes se agrandó al pasar el contenedor a 1400px) */
  margin-inline: auto;
}
.seguinos-tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  display: block;
}
.seguinos-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.seguinos-tile:hover img { transform: scale(1.05); }
.seguinos-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 63, 51, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.seguinos-tile:hover::after { opacity: 1; }
.seguinos-cta {
  text-align: center;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .seguinos { padding: 80px 24px; }
  .seguinos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   10. FOOTER
   ============================================================ */
.site-footer { padding-block: clamp(70px, 9vw, 120px); }
.footer-grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.footer-logo {
  height: 120px;   /* logo completo (isotipo + DON BLANCO + PASTELERÍA), como el navbar */
  margin-left: -7px; /* el PNG trae aire a la izquierda: así "DON BLANCO" queda alineado al borde */
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.2rem;
  margin-top: 16px;
  color: var(--db-cream);
}
.footer-heading {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.75;
}
.footer-list li { margin-bottom: 12px; }
.footer-list a {
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.footer-list a:hover { opacity: 1; color: var(--db-gold); }
.footer-casas-copy {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 16px;
}
.footer-casas-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: color 0.3s ease;
}
.footer-casas-link:hover { color: var(--db-gold); }
.footer-newsletter { flex-direction: column; margin-top: 0; }
.footer-newsletter .newsletter-input,
.footer-newsletter .pill-cta { width: 100%; }

.footer-bottom {
  max-width: var(--maxw);
  margin: clamp(50px, 6vw, 80px) auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(228, 227, 222, 0.28);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.82rem;
  opacity: 0.85;
}
.footer-bottom a:hover { color: var(--db-gold); }

/* ============================================================
   PLACEHOLDERS
   ============================================================ */
.placeholder {
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}
.placeholder span {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
.placeholder-on-light { /* va sobre crema → fondo verde */
  background: var(--db-green);
  border: 1px dashed var(--db-cream);
  color: var(--db-cream);
}
.placeholder-on-dark { /* va sobre verde → fondo crema */
  background: var(--db-cream);
  border: 1px dashed var(--db-green);
  color: var(--db-green);
}
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-16-9 { aspect-ratio: 16 / 9; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet 768–1024: 2 columnas donde había 3, tipografía -15% */
@media (min-width: 768px) {
  :root { --section-pad: 160px; }

  .manifesto-grid { grid-template-columns: 1fr 1fr; }
  .cta-grid       { grid-template-columns: 3fr 2fr; }

  .newsletter-form { flex-wrap: nowrap; }
  .footer-newsletter { flex-direction: row; }

  .seguinos-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1.4fr 1.6fr 1.2fr 1.2fr; }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Desktop >1024: grid completo */
@media (min-width: 1024px) {
  :root { --section-pad: 200px; }
}

/* Carrusel sucursales + líneas — menos cards visibles en pantallas chicas */
@media (max-width: 1024px) {
  .sucursal-card { flex: 0 0 calc((100% - 24px * 1.4) / 2.4); }
  .linea-card-carrusel { flex: 0 0 calc((100% - 24px * 1.3) / 2.3); }
}
@media (max-width: 640px) {
  .sucursales-carrusel { padding: 0 20px; }
  .sucursales-flecha { display: none; }
  .sucursales-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .sucursales-viewport::after { display: none; }
  .sucursal-card { flex: 0 0 calc(100% - 40px); scroll-snap-align: center; }

  .lineas-carrusel { padding: 0 20px; }
  .lineas-flecha { display: none; }
  .lineas-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .linea-card-carrusel { flex: 0 0 70%; scroll-snap-align: center; }
}


/* Tablet fino: reducir escalas de tipografía ~15% */
@media (max-width: 1024px) {
  .section-title { font-size: clamp(2.3rem, 5.5vw, 4.4rem); }
}

/* Mobile <768: stack vertical, tipografía -30%, imágenes full-width */
/* Header colapsable con hamburguesa ≤ 900px */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-social { display: none; }   /* evita desborde: en mobile solo logo + hamburguesa */

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(80vw, 340px);
    background: var(--db-green);
    color: var(--db-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
    z-index: 110;
  }
  /* la sombra solo con el menú abierto: cerrado se filtraba en el borde derecho */
  .site-header.menu-open .nav { transform: translateX(0); box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    padding: 0 32px;
  }
  .nav-list .pill {
    display: block;
    text-align: center;
    color: var(--db-cream);
    border-color: var(--db-cream);
    font-size: 1rem;
    padding: 14px 22px;
  }
  .nav-list .pill:hover { background: var(--db-cream); color: var(--db-green); }

  /* Dropdown Carta inline dentro del panel */
  .nav-dropdown { width: 100%; }
  .nav-carta { justify-content: center; width: 100%; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    min-width: 0;
    width: 100%;
    margin-top: 10px;
    max-height: 0;
    padding: 0 8px;
    overflow: hidden;
    box-shadow: none;
    background: rgba(228, 227, 222, 0.08);
    transition: max-height 0.4s ease, padding 0.4s ease;
  }
  .nav-dropdown[data-open="true"] .nav-dropdown-menu {
    max-height: 320px;
    padding: 8px;
  }
  .nav-dropdown-item { color: var(--db-cream); text-align: center; }
  .nav-dropdown-item:hover { background: rgba(228, 227, 222, 0.1); }
  .nav-dropdown-divider { background: rgba(228, 227, 222, 0.2); }

  /* En móvil el header siempre necesita contraste legible para el toggle */
  .site-header.menu-open .nav-toggle { color: var(--db-cream); }
}

@media (max-width: 767px) {
  :root { --section-pad: 100px; }

  .logo-img { height: 84px; margin-block: -8px; }

  .section-title { font-size: clamp(2rem, 9vw, 2.8rem); }

  .sello { width: 108px; height: 108px; bottom: -22px; left: -14px; }
  .sello-isotipo { width: 38px; }

  /* Sucursales mobile: stack, foto horizontal 4:3 */
  .sucursales { padding-block: 100px; }
  .sucursal-modal-grid { grid-template-columns: 1fr; }
  .sucursal-modal-content { padding: 24px; }
}

/* ============================================================
   ESTADOS INICIALES DE ANIMACIÓN (fallback sin JS)
   GSAP usa gsap.from() — el estado por defecto es el visible.
   Si JS está activo, ocultamos hasta animar para evitar flash.
   ============================================================ */
.js .reveal-photo,
.js .reveal-body { will-change: transform, opacity; }

/* ============================================================
   PÁGINA CARTA
   ============================================================ */
.page-carta, .page-producto { background: var(--db-cream); }

/* Hero corto */
.carta-hero {
  text-align: center;
  padding: 60px 40px 36px;   /* compacto: para que asomen las cards abajo */
}
.carta-hero-titulo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--db-green);
  margin: 0;
}

/* Filtros (tabs minimal, sticky al scrollear) */
.filtros-carta {
  position: sticky;
  top: 0;                 /* JS lo ajusta a la altura real del header */
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 32px);
  margin: 0 0 40px 0;
  padding: 18px 40px;
  border-bottom: 1px solid transparent;   /* sin línea entre filtros y descripción */
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  /* Fallback anti-wrap: si los 8 tabs no entran, scroll horizontal con scrollbar oculta */
  overflow-x: auto;
  scrollbar-width: none;
}
.filtros-carta::-webkit-scrollbar { display: none; }
.filtros-carta.sticky {
  background: rgba(228, 227, 222, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: transparent;
}
.filtro-tab {
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
  background: transparent !important;
  padding: 8px 18px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(13px, 1.05vw, 15px);
  letter-spacing: 0;
  color: rgba(0, 63, 51, 0.55);
  border: 1px solid rgba(0, 63, 51, 0.35);
  border-radius: 999px;
  transition: color 0.3s ease, border-color 0.3s ease;
  --tab-color: #003f33;
  outline: none;
}
.filtro-tab:hover { color: var(--db-green); border-color: var(--db-green); }
.filtro-tab[aria-selected="true"] { color: var(--db-green); border-color: var(--db-green); font-weight: 600; }

/* ---------- Nav item Flower Power (logo sobre rectángulo blanco) ---------- */
.nav-flower {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-flower img {
  display: block;
  height: 34px;
  width: auto;
}
.nav-flower:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}
/* Desktop: mostrar el que está en .header-social, ocultar el del nav-list */
.nav-flower-item { display: none; }
@media (max-width: 900px) {
  /* Mobile: mostrar el del menú hamburguesa, ocultar el del header-social */
  .nav-flower-item {
    display: block;
  }
  .nav-flower-item .nav-flower {
    padding: 4px 14px;
  }
  .nav-flower-item .nav-flower img {
    height: 48px;
  }
  .nav-flower-desktop { display: none !important; }

  /* Orden mobile: Carta → Flower Power → Sucursales → Catering → Contacto */
  .nav-list > li { order: 3; }
  .nav-list > li.nav-dropdown { order: 1; }
  .nav-list > li.nav-flower-item { order: 2; margin-top: 0; }
}
@media (max-width: 640px) {
  .filtros-carta {
    gap: 20px;
    padding: 16px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
  }
  .filtro-tab { flex-shrink: 0; scroll-snap-align: center; }

  /* Carta mobile: al bajar se esconde el navbar y los tabs suben a top 0;
     al subir vuelven los dos (clase la pone carta.js). */
  .site-header,
  .filtros-carta { transition: transform 0.35s ease, background 0.3s ease, backdrop-filter 0.3s ease, color 0.5s ease, background-color 0.5s ease; }
  body.carta-nav-oculto .site-header { transform: translateY(-100%); }
  body.carta-nav-oculto .filtros-carta { transform: translateY(calc(-1 * var(--header-h, 0px))); }
}

/* Bloque de descripción por línea (arriba del grid, colapsable) */
.linea-descripcion {
  /* Mismo max-width y padding que .productos-grid → el copy arranca alineado
     con el borde izquierdo de las cards, look editorial. */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              margin 0.5s ease;
}
.linea-descripcion[data-visible="true"] {
  max-height: 560px;
  opacity: 1;
  margin: 0 auto 48px auto;
}
.linea-descripcion-inner {
  padding: 8px 0 4px 0;
  text-align: left;
}
.linea-descripcion-copy {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--db-green);
  margin: 0;
  max-width: 680px;
  letter-spacing: 0;
}
.linea-descripcion-logo {
  display: inline-block;
  max-width: 340px;
  width: auto;
  height: auto;
  margin: 0 0 22px 0;
  padding: 16px 28px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px -12px rgba(0, 63, 51, 0.25);
}
.linea-descripcion-cta {
  display: inline-block;
  margin: 22px 0 0 0;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--db-green);
  background: transparent;
  border: 1px solid var(--db-green);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}
.linea-descripcion-cta:hover { background: var(--db-green); color: var(--db-cream); }
.linea-descripcion-logo[hidden],
.linea-descripcion-cta[hidden] { display: none; }
@media (max-width: 768px) {
  .linea-descripcion { padding: 0 20px; }
  .linea-descripcion-copy { font-size: 14px; }
  .linea-descripcion-logo { max-width: 260px; padding: 14px 22px; }
}

/* Grid de productos */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 72px 32px;   /* más aire entre FILAS (72px); columnas 32px → no achica las imágenes */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px 160px;
}
/* Grid vacío (Flower Power) — mensaje sutil en Manrope, misma familia que tabs */
.productos-grid.grid-vacio::after {
  content: 'Consultá disponibilidad y variedades en tu sucursal más cercana.';
  grid-column: 1 / -1;
  text-align: left;
  padding: 20px 0 60px;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(0, 63, 51, 0.55);
}
.producto-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-body);
}
.producto-imagen {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 63, 51, 0.04);
}
.producto-imagen img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.producto-card:hover .producto-imagen img { transform: scale(1.04); }
.producto-badge { display: none; }   /* labels sobre las imágenes eliminados */
/* Cards sin link (TODOs, carrusel) no muestran cursor pointer */
div.producto-card { cursor: default; }
/* Mini-carrusel dentro de la card (ej. Ensaladas): slides apilados con fade */
.producto-imagen-carrusel .producto-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.producto-imagen-carrusel .producto-slide.is-active { opacity: 1; }
.producto-card:hover .producto-imagen-carrusel .producto-slide.is-active { transform: scale(1.04); }
.producto-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 2;
}
.producto-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.3s ease, transform 0.3s ease;
}
.producto-dot:hover { background: rgba(255, 255, 255, 0.85); }
.producto-dot.is-active { background: #fff; transform: scale(1.15); }
.producto-nombre {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  color: var(--db-green);
}
.producto-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--db-green);
  opacity: 0.65;
  margin-top: 6px;
  line-height: 1.4;
}

/* ============================================================
   VISTA DETALLE (estilo Betular)
   ============================================================ */
.producto-detalle {
  padding: 60px var(--gutter) 120px;
  max-width: 1300px;
  margin: 0 auto;
}
.producto-detalle-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 80px;
  align-items: start;
}
/* Foto sobre vitrina cream plana */
.producto-detalle-imagen {
  aspect-ratio: 1 / 1;
  background: #F0E8DA;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.producto-detalle-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  mix-blend-mode: multiply;   /* funde fondos claros con la vitrina */
  filter: contrast(1.03);
}
.producto-detalle-info {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}
.producto-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(0, 63, 51, 0.55);
  margin-bottom: 24px;
}
.producto-breadcrumb a { color: inherit; transition: color 0.2s ease; }
.producto-breadcrumb a:hover { color: var(--db-green); }
.producto-breadcrumb span { opacity: 0.4; }
.producto-detalle-nombre {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--db-green);
  margin-bottom: 24px;
}
.producto-detalle-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--db-green);
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 460px;
}
.producto-detalle-divisor {
  border: none;
  border-top: 1px solid rgba(0, 63, 51, 0.12);
  margin: 0 0 24px;
}
.producto-detalle-subtitulo {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--db-green);
  margin-bottom: 16px;
}
.producto-detalle-ingredientes ul {
  list-style: none;
  margin: 0 0 32px;
}
.producto-detalle-ingredientes li {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--db-green);
  opacity: 0.85;
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid rgba(0, 63, 51, 0.08);
  position: relative;
}
.producto-detalle-ingredientes li::before {
  content: '·';
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--db-green);
  opacity: 0.5;
}
.producto-detalle-ingredientes li:last-child { border-bottom: none; }
.producto-detalle-aviso {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0, 63, 51, 0.55);
  font-style: italic;
  margin-bottom: 32px;
  max-width: 440px;
}
.producto-detalle-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-primario-lg {
  padding: 18px 36px;
  background: var(--db-green);
  color: var(--db-cream);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.3s ease;
}
.cta-primario-lg:hover { opacity: 0.88; }
.cta-secundario-lg {
  padding: 18px 20px;
  color: var(--db-green);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.cta-secundario-lg:hover { opacity: 1; }

@media (max-width: 900px) {
  .producto-detalle-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   RECOMENDADOS
   ============================================================ */
.recomendados {
  background: rgba(0, 63, 51, 0.03);
  padding: 120px var(--gutter);
  margin-top: 100px;
}
.recomendados-header { text-align: center; margin-bottom: 60px; }
.recomendados-eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.37em;
  text-transform: uppercase;
  color: rgba(0, 63, 51, 0.55);
  display: block;
  margin-bottom: 16px;
}
.recomendados-titulo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4vw, 64px);
  letter-spacing: -0.02em;
  color: var(--db-green);
}
.recomendados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto 60px;
}
.recomendados-cta { text-align: center; }
.btn-outline {
  display: inline-block;
  padding: 16px 32px;
  border: 1.5px solid var(--db-green);
  border-radius: 999px;
  color: var(--db-green);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  transition: background 0.3s ease;
}
.btn-outline:hover { background: rgba(0, 63, 51, 0.06); }

/* ============================================================
   RESPONSIVE CARTA
   ============================================================ */
@media (max-width: 1024px) {
  .productos-grid { grid-template-columns: repeat(3, 1fr); }
  .recomendados-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 480px) {
  .productos-grid { grid-template-columns: 1fr; }
  .recomendados-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   SUBPÁGINA CATERING (Parte B)
   ═══════════════════════════════════════════════════════════════ */
/* HERO CATERING */
.catering-hero {
  padding: 100px 40px 60px;
  background: #e4e3de;
  text-align: center;
}

.catering-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.catering-hero-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.37em;
  color: rgba(0, 63, 51, 0.55);
  text-transform: uppercase;
}

.catering-hero-titulo {
  font-family: 'EB Garamond', serif;
  font-weight: 400;
  font-size: clamp(56px, 6vw, 108px);
  line-height: 0.95;
  color: #003f33;
  margin: 0;
}

.catering-hero-copy {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(0, 63, 51, 0.8);
  max-width: 560px;
  margin: 0;
}

.catering-hero-cta {
  padding: 16px 32px;
  background: #003f33;
  color: #e4e3de;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin-top: 12px;
}

.catering-hero-cta:hover {
  transform: translateY(-2px);
}

/* PROCESO */
.catering-proceso {
  padding: 80px 40px;
  background: #e4e3de;
  border-top: 1px solid rgba(0, 63, 51, 0.08);
  border-bottom: 1px solid rgba(0, 63, 51, 0.08);
}

.catering-proceso-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.catering-proceso-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 26px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 63, 51, 0.10);
  border-radius: 14px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.catering-proceso-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 63, 51, 0.22);
  box-shadow: 0 20px 40px -24px rgba(0, 63, 51, 0.25);
}
.catering-proceso-numero {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: rgba(0, 63, 51, 0.42);
  line-height: 1;
}
.catering-proceso-icon {
  width: 32px;
  height: 32px;
  color: var(--db-green);
  margin-bottom: 2px;
}
.catering-proceso-item h3 {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  color: #003f33;
  margin: 0;
  letter-spacing: -0.01em;
}
.catering-proceso-item p {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(0, 63, 51, 0.7);
  margin: 0;
}

@media (max-width: 768px) {
  .catering-proceso-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Hero split: intro + 3 features en un solo bloque (2 columnas desktop) */
.catering-hero.catering-hero-split {
  padding: 120px 40px 100px;
  text-align: left;
}
.catering-hero-split-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
.catering-hero-split-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.catering-hero-split-left .catering-hero-copy {
  max-width: none;
}
.catering-hero-split-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 12px;
}
@media (max-width: 900px) {
  .catering-hero.catering-hero-split { padding: 80px 24px 60px; }
  .catering-hero-split-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* OPCIONES (dulces + saladas) */
.catering-opciones {
  padding: 120px 40px;
  background: #e4e3de;
}

.catering-opciones-salado {
  background: #e4e3de;
}

.catering-opciones-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.catering-opciones-titulo {
  font-family: 'EB Garamond', serif;
  font-weight: 400;
  font-size: clamp(44px, 5vw, 84px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #003f33;
  margin: 0 0 64px 0;
  text-align: left;
}

.catering-opciones-titulo em {
  font-style: italic;
  font-weight: 400;
}

.catering-boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

/* BOX CARD */
.catering-box {
  background: #e4e3de;
  border: 1px solid rgba(0, 63, 51, 0.1);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.catering-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -20px rgba(0, 63, 51, 0.2);
}

.catering-box-imagen {
  aspect-ratio: 4 / 3;
  background: rgba(0, 63, 51, 0.05);
  overflow: hidden;
}

.catering-box-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.catering-box:hover .catering-box-imagen img {
  transform: scale(1.04);
}

.catering-box-info {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: flex-start;
}

.catering-box-personas {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #003f33;
  text-transform: uppercase;
  padding: 6px 14px;
  background: #E8D48A;
  border-radius: 999px;
  align-self: flex-start;
}

.catering-box-nombre {
  font-family: 'EB Garamond', serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.05;
  color: #003f33;
  margin: 0 0 4px 0;
}

.catering-box-nombre em {
  font-style: italic;
  font-weight: 400;
}

.catering-box-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.catering-box-lista li {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(0, 63, 51, 0.75);
  padding-left: 14px;
  position: relative;
}

.catering-box-lista li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: rgba(0, 63, 51, 0.4);
  font-size: 18px;
  line-height: 1;
}

.catering-box-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 24px;
  background: transparent;
  color: #003f33;
  border: 1.5px solid #003f33;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  align-self: flex-start;
  margin-top: auto;
}

.catering-box-cta:hover {
  background: #003f33;
  color: #e4e3de;
}

/* NOTA VEGGIE */
.catering-veggie-nota {
  padding: 40px;
  text-align: center;
  background: #e4e3de;
}

.catering-veggie-nota p {
  font-family: 'Manrope', sans-serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(0, 63, 51, 0.65);
  max-width: 500px;
  margin: 0 auto;
}

/* CTA FINAL */
.catering-cta-final {
  padding: 100px 40px 120px;
  background: #003f33;
  text-align: center;
}

.catering-cta-final-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.catering-cta-final h2 {
  font-family: 'EB Garamond', serif;
  font-weight: 400;
  font-size: clamp(44px, 5vw, 76px);
  color: #e4e3de;
  margin: 0;
  line-height: 1;
}

.catering-cta-final p {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  color: rgba(228, 227, 222, 0.8);
  margin: 0;
}

.catering-cta-final-btn {
  display: inline-flex;
  align-items: center;
  padding: 18px 36px;
  background: #e4e3de;
  color: #003f33;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin-top: 12px;
}

.catering-cta-final-btn:hover {
  transform: translateY(-2px);
}

/* ============================================================
   FIXES MOBILE — bloque final (gana por orden de cascada)
   Nada de esto aplica en desktop.
   ============================================================ */

/* ---- FIX 1 + 2: navbar y panel mobile ----
   Va en 900px (no 768px) porque es el breakpoint donde aparece
   la hamburguesa; con 768px la franja 769–900 quedaba con el
   menú verde viejo. */
@media (max-width: 900px) {

  /* FIX 1 — hamburguesa: 3 líneas, sin círculo.
     El color sigue el tema del header (currentColor): verde marca
     sobre header claro, cream sobre el header oscuro del hero —
     ahí un verde #003f33 quedaba ilegible contra rgba(0,63,51,.82). */
  .nav-toggle {
    background: transparent;
    border: none;
    border-radius: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    gap: 6px;
  }
  /* Los <button> NO heredan color: iOS Safari les pone su azul de sistema y
     Chrome el negro de `buttontext`. Hay que fijarlo explícito en cada tema,
     no alcanza con currentColor. */
  .site-header[data-theme="dark"]  .nav-toggle { color: var(--db-cream); }
  .site-header[data-theme="light"] .nav-toggle { color: var(--db-green); }
  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
  }
  /* la X de cerrar: verde sobre el panel blanco (antes cream = invisible) */
  .site-header.menu-open .nav-toggle { color: var(--db-green); }
  .site-header.menu-open .nav-toggle span { background: var(--db-green); }

  /* FIX 2 — panel blanco, items desde arriba */
  .nav {
    background: #FFFFFF;
    color: var(--db-green);
    align-items: stretch;
    justify-content: flex-start;
    padding: 100px 32px 40px;
    overflow-y: auto;
  }
  .nav-list {
    gap: 0;
    padding: 0;
  }
  .nav-list .pill,
  .nav-carta {
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 63, 51, 0.1);
    padding: 20px 4px;
    color: var(--db-green);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
  }
  .nav-list .pill:hover,
  .nav-carta:hover {
    background: transparent;
    color: var(--db-green);
  }
  .nav-carta .nav-chevron {
    color: var(--db-green);
    margin-left: 4px;
    transition: transform 0.3s ease;
  }
  .nav-dropdown[data-open="true"] .nav-chevron { transform: rotate(180deg); }

  /* submenú de Carta dentro del panel blanco */
  .nav-dropdown-menu { background: rgba(0, 63, 51, 0.03); }
  .nav-dropdown-item {
    color: var(--db-green);
    text-align: left;
    font-size: 16px;
  }
  .nav-dropdown-item:hover { background: rgba(0, 63, 51, 0.06); }
  .nav-dropdown-divider { background: rgba(0, 63, 51, 0.12); }
}

@media (max-width: 768px) {

  /* ---- FIX 9: hero mobile — título más grande y bloque un poco más arriba.
     El bloque estaba centrado exacto en el hero, pero como el hero mide 85vh
     y en iOS el vh no descuenta las barras del navegador, visualmente caía
     bajo. El padding-bottom extra lo sube ~50px sin tocar la altura. ---- */
  /* Escala con el ancho para no romper las 2 líneas del <br> en pantallas
     de 360/375px: a 38px fijos "horneando Buenos Aires." pasaba a 3 líneas. */
  /* Titular en 2 líneas: "El sabor de una tradición" / "muy nuestra".
     nowrap + tamaño por vw para que la 1ra línea no se parta en 360–430px. */
  .hero-titulo-centrado { font-size: clamp(29px, 8.8vw, 38px); }
  .hero-titulo-centrado .hero-linea { white-space: nowrap; }
  .hero-eyebrow-bienvenida { font-size: 17px; }
  .hero-content-centrado { padding: 40px 24px 230px; }   /* bloque un poco más arriba */
  .cta-primario { padding: 13px 28px; font-size: 14px; }

  /* ---- FIX 3: line-art de "En cada miga un siglo" dentro del viewport ---- */
  .miga-lineart-medialuna {
    top: -20px;
    left: -10px;
    width: 60px;
    max-width: 60px;
  }
  .miga-lineart-pan {
    bottom: -20px;
    right: -10px;
    width: 55px;
    max-width: 55px;
  }

  /* ---- FIX 4: carrusel de sucursales 1.5 cards + flechas ----
     Se mantiene el scroll nativo (el swipe sigue andando) y las
     flechas lo mueven vía scrollBy desde main.js. */
  .sucursales-carrusel {
    padding: 0 16px;
    position: relative;
  }
  .sucursales-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sucursales-viewport::-webkit-scrollbar { display: none; }
  .sucursal-card {
    flex: 0 0 65%;
    scroll-snap-align: center;
  }
  /* sin fade/sombra en el borde derecho */
  .sucursales-viewport::after,
  .sucursales-carrusel::after { display: none; }
  .sucursales-flecha {
    display: flex;
    width: 40px;
    height: 40px;
    top: 42%;
    background: var(--db-cream);
    border: 1.5px solid rgba(0, 63, 51, 0.15);
    color: var(--db-green);
    z-index: 3;
  }
  .sucursales-flecha-izq { left: 4px; }
  .sucursales-flecha-der { right: 4px; }

  /* ---- FIX 5: sello circular con la B centrada ----
     El SVG traía width/height=140 fijos mientras .sello bajaba a
     108px: por eso el círculo de texto quedaba descentrado respecto
     de la B. Se fuerza a escalar con el contenedor. */
  .sello {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
  }
  .sello-texto-curvo {
    width: 100%;
    height: 100%;
    transform-origin: center center;
  }
  .sello-isotipo { width: 42px; }

  /* ---- FIX 6: más aire lateral en la grilla de Seguinos ---- */
  .seguinos { padding: 60px 32px; }
  .seguinos-grid { gap: 10px; }

  /* ---- FIX 8: footer pegado al borde ----
     .footer-grid y .footer-bottom solo tenían max-width + margin auto,
     sin padding horizontal: en mobile el texto arrancaba en x=0. */
  .site-footer { padding-inline: var(--gutter); }

  /* ---- FIX 7: carta, 2 productos por hilera ---- */
  .productos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
    padding: 0 16px 100px;
  }
  .producto-card { gap: 12px; }
  .producto-nombre { font-size: 16px; }
  .producto-desc { font-size: 12px; line-height: 1.4; }
}

/* FIX 7 (cont.): anular el 1-columna que regía por debajo de 480px,
   que era lo que hacía scrollear de más en celulares reales. */
@media (max-width: 480px) {
  .productos-grid { grid-template-columns: 1fr 1fr; }
}

/* Catering mobile: 2 boxes por fila para reducir scroll */
@media (max-width: 768px) {
  .catering-boxes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .catering-box { border-radius: 10px; }
  .catering-box-info { padding: 14px 12px 16px; gap: 8px; }
  .catering-box-personas { font-size: 9px; letter-spacing: 0.12em; padding: 4px 10px; }
  .catering-box-nombre { font-size: 19px; }
  .catering-box-lista li { font-size: 12px; line-height: 1.35; padding-left: 10px; }
  .catering-box-cta { padding: 9px 14px; font-size: 12px; }
}
