/* ============================================================
   EXTREMAS — styles.css
   Paleta tomada del mockup:
   Rojo marca ..... #ED2025
   Rojo oscuro .... #C81319
   Dorado (acento). #BE975C  (solo Franquicias: ficha técnica)
   Crema (acento) . #FFDCB2  (solo Franquicias: Know How)
   Fondo claro .... #F7F4F2
   Gris oscuro .... #232323
   Tarjetas ....... #3B3B3B
   Footer ......... #ED2025
   ============================================================ */

/* ---------- Tipografías ---------- */
@font-face {
  font-family: 'Provicali';
  src: url('../fonts/Provicali.woff2') format('woff2'),
       url('../fonts/Provicali.woff') format('woff'),
       url('../fonts/Provicali.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* D-DIN PRO (licencia SIL OFL): alternativa libre visualmente
   equivalente a DIN. Si más adelante conseguís la DIN Medium
   original, agregá el archivo en /fonts y descomentá el bloque
   'DIN Medium' de abajo: el stack la tomará automáticamente. */
@font-face {
  font-family: 'D-DIN PRO';
  src: url('../fonts/D-DIN-PRO-Medium.woff2') format('woff2'),
       url('../fonts/D-DIN-PRO-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'D-DIN PRO';
  src: url('../fonts/D-DIN-PRO-Bold.woff2') format('woff2'),
       url('../fonts/D-DIN-PRO-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/*
@font-face {
  font-family: 'DIN Medium';
  src: url('../fonts/DIN-Medium.woff2') format('woff2'),
       url('../fonts/DIN-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
*/

:root {
  /* --gold pasa a ser el ROJO de marca: es el color primario usado
     en botones, bordes, pills, tabs y foco en todo el sitio. */
  --gold:        #ED2025;
  --red:         #ED2025;
  --red-dark:    #C81319;
  --cream:       #FFDCB2;   /* acento crema (Know How, Franquicias) */
  --accent:      #BE975C;   /* acento dorado (ficha técnica) */
  --bg-light:    #F7F4F2;
  --dark:        #232323;
  --card:        #3B3B3B;
  --footer:      #ED2025;
  --black:       #111111;
  --white:       #FFFFFF;
  --font-title:  'Provicali', 'Arial Black', sans-serif;
  --font-body:   'DIN Medium', 'D-DIN PRO', 'DIN', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --container:   1520px;
  --radius-img:  22px;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Compensa la cabecera fija al navegar a anclas (#nosotros, etc.) */
[id] { scroll-margin-top: 88px; }

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: normal;
  line-height: 1.05;
}

/* ---------- Botones píldora ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  min-width: 88px;
  padding: 0 26px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease;
}
.btn-pill img { height: 26px; width: auto; }
.btn-pill:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-pill:focus-visible,
a:focus-visible,
button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-gold  { background: var(--gold); }
.btn-black { background: var(--black); }
.btn-white { background: var(--white); }
.btn-black img { height: 30px; }
.btn-white img { height: 34px; }

/* ---------- Botones expandibles (hover: crecen a la derecha) ---------- */
.btn-expand {
  justify-content: flex-start;
  transition: transform .25s ease, background-color .3s ease;
}
.btn-expand img { transition: filter .3s ease; }
.btn-expand .btn-label {
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  transition: max-width .35s ease, margin-left .35s ease, opacity .25s ease;
}
.btn-expand:hover,
.btn-expand:focus-visible {
  background: var(--dark);
  filter: none;
}
.btn-expand:hover .btn-label,
.btn-expand:focus-visible .btn-label {
  max-width: 220px;
  margin-left: 14px;
  opacity: 1;
}
/* Íconos oscuros: se invierten a blanco sobre el fondo gris oscuro */
.btn-gold.btn-expand:hover img,
.btn-gold.btn-expand:focus-visible img,
.btn-white.btn-expand:hover img,
.btn-white.btn-expand:focus-visible img { filter: brightness(0) invert(1); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: background-color .3s ease;
}
/* Al scrollear: fondo negro semitransparente */
.site-header.is-scrolled {
  background: rgba(0, 0, 0, .72);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}
.logo img { width: 148px; height: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(0, 0, 0, .42);
  pointer-events: none;
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content { padding-top: 60px; }
.hero h1 {
  color: var(--white);
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: .01em;
  text-shadow: none;
  margin-bottom: 22px;
}
.hero p {
  color: var(--white);
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
  margin-bottom: 34px;
}
/* Diapositivas del slider del hero (crossfade) */
.hero-bg .hero-slide {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
}
.hero-bg .hero-slide.is-active { opacity: 1; }

.hero-indicator {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 230px;
  height: 7px;
  border-radius: 999px;
  background: var(--white);
  opacity: .95;
  overflow: hidden;
}
/* Barra interna que se llena en dorado hasta pasar de foto */
.hero-indicator-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

/* ============================================================
   NUESTRO MENÚ
   ============================================================ */
.menu {
  position: relative;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.menu-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(249,244,238,.72), rgba(249,244,238,.72)),
    url('../im/bg-ingredientes.jpg') center / cover no-repeat;
}
.menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.menu-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px clamp(28px, 6vw, 100px);
}
.menu h2 {
  color: var(--black);
  text-transform: uppercase;
  font-size: clamp(2.5rem, 4.4vw, 4.1rem);
  margin-bottom: 40px;
}
.menu-actions {
  display: flex;
  gap: 14px;
}
.menu-figure {
  position: relative;
  justify-self: stretch;
  width: 100%;
  min-height: 520px;
  margin: 0;
}
.menu-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.gold-line {
  display: block;
  margin-top: 26px;
  height: 3px;
  width: 100%;
  background: var(--gold);
  border-radius: 2px;
}

/* ============================================================
   ¿DÓNDE ESTAMOS? (HOME)
   ============================================================ */
.locales {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.locales-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.locales-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}
.locales h2 {
  color: var(--white);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  margin-bottom: 30px;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.locales-content p {
  color: var(--white);
  font-size: clamp(.95rem, 1.15vw, 1.1rem);
  margin: -12px 0 30px;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

/* ============================================================
   SOBRE NOSOTROS
   ============================================================ */
.nosotros {
  padding: 0;
  background: var(--white);
}
.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.nosotros-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px clamp(28px, 6vw, 100px);
  max-width: none;
}
.eyebrow {
  display: block;
  font-size: .95rem;
  color: #555;
  margin-bottom: 14px;
}
.nosotros h2 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 28px;
  text-transform: none;
}
.nosotros-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 420px;
}
.nosotros-text p:last-child { margin-bottom: 0; }
.nosotros-figure {
  justify-self: stretch;
  width: 100%;
  min-height: 520px;
  margin: 0;
}
.nosotros-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

/* ============================================================
   FRANQUICIAS — SÉ PARTE DEL ÉXITO
   ============================================================ */
.franquicias {
  background: var(--dark);
  color: var(--white);
  padding: 110px 0 96px;
  text-align: center;
}
.franquicias h2 {
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.franquicias-intro {
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: .98rem;
  color: #E8E8E8;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto 64px;
}
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 44px 30px 40px;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); }
.card-icon {
  height: 30px;
  width: auto;
  margin: 0 auto 22px;
}
.card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.card p {
  font-size: .9rem;
  color: #D8D8D8;
}
.franquicias-checklist {
  list-style: none;
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: left;
}
.franquicias-checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  font-size: .95rem;
  color: #E8E8E8;
}
.franquicias-checklist li:last-child { margin-bottom: 0; }
.franquicias-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}
.btn-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: .95rem;
  padding: 15px 44px;
  border-radius: 999px;
  transition: transform .25s ease, filter .25s ease;
}
.btn-cta:hover { transform: translateY(-2px); filter: brightness(1.07); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--footer);
  color: var(--white);
  padding: 54px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo img { width: 168px; height: auto; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  font-size: .9rem;
}
.footer-nav a { transition: color .2s ease; }
.footer-nav a:hover { color: var(--cream); }
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.6px solid var(--white);
  border-radius: 50%;
  transition: background .25s ease, color .25s ease;
}
.footer-social a:hover {
  background: var(--white);
  color: var(--footer);
}
.footer-social svg { width: 18px; height: 18px; }

/* ============================================================
   ANIMACIONES — carga suave de imágenes y fade-up al scrollear
   ============================================================ */
.img-smooth {
  opacity: 0;
  transition: opacity 1s ease;
}
.img-smooth.is-loaded { opacity: 1; }

.reveal { will-change: opacity, transform; }
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }
.delay-3 { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .img-smooth, .fade-up, .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards { gap: 22px; }
}

@media (max-width: 860px) {
  .menu-inner,
  .nosotros-inner {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    max-width: 100%;
  }
  .menu-text,
  .nosotros-text,
  .menu-figure,
  .nosotros-figure {
    min-width: 0;
    max-width: 100%;
  }
  .menu-figure,
  .nosotros-figure {
    justify-self: stretch;
    min-height: 360px;
    aspect-ratio: 4 / 3;
  }
  .menu-text,
  .nosotros-text {
    padding: 72px 24px 40px;
  }
  .nosotros-text p { max-width: none; }
  .locales { min-height: 480px; }
  .cards { grid-template-columns: 1fr; max-width: 460px; }
  .expansion-inner { grid-template-columns: 1fr; gap: 36px; }
  .caracteristicas-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav { justify-content: center; }
}

@media (max-width: 520px) {
  .site-header .container { padding-right: 16px; padding-left: 16px; }
  .header-inner { min-height: 72px; min-width: 0; }
  .logo { flex: 0 1 auto; min-width: 0; }
  .logo img { width: 118px; }
  .btn-menu,
  .btn-menu.reveal,
  .btn-menu.reveal.is-visible {
    position: absolute;
    top: 50%;
    right: 16px;
    flex: 0 0 52px;
    width: 52px;
    min-width: 52px;
    height: 44px;
    margin: 0;
    padding: 0;
    opacity: 1;
    transform: translateY(-50%);
  }
  .footer-logo img { width: 132px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-indicator { width: 150px; height: 6px; bottom: 24px; }
  .franquicias { padding: 80px 0 72px; }
  .card { padding: 36px 24px 32px; }
  .footer-nav { gap: 18px 24px; }
}

/* ============================================================
   PÁGINA SUCURSALES
   ============================================================ */
.hero-sucursales {
  min-height: 720px;
  max-height: 88svh;
  align-items: center;
  text-align: center;
}
.hero-sucursales .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(32, 28, 28, .62);
}
.hero-sucursales .hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-sucursales-content {
  padding-top: 90px;
}
.hero-sucursales h1 {
  color: var(--cream);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.4vw, 4rem);
  margin-bottom: 18px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-sucursales p {
  color: var(--white);
  font-size: clamp(.95rem, 1.15vw, 1.1rem);
  margin-bottom: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

.sucursales {
  background: var(--white);
  padding: 96px 0 130px;
}
.container-narrow { max-width: 1280px; }

/* --- Barra de filtros --- */
.sucursales-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.sucursales-label {
  font-weight: 700;
  font-size: 1.02rem;
}
.sucursales-filters {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.search-pill {
  position: relative;
}
.search-pill input[type="search"] {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  height: 44px;
  min-width: 260px;
  padding: 0 22px;
}
.search-pill input[type="search"]::placeholder { color: #9a9a9a; }
.search-pill input[type="search"]:focus {
  outline: none;
  box-shadow: 0 3px 12px rgba(190,151,92,.3);
}
.sucursales-contador {
  font-size: .9rem;
  color: #6b6b6b;
  margin: -30px 0 30px;
}

.select-pill {
  position: relative;
}
.select-pill select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  height: 44px;
  min-width: 185px;
  padding: 0 44px 0 22px;
  cursor: pointer;
  transition: box-shadow .2s ease;
}
.select-pill select:hover { box-shadow: 0 3px 12px rgba(190,151,92,.25); }
.select-pill::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.filtro-localidad-wrap {
  position: relative;
}
.btn-limpiar-filtros {
  position: absolute;
  top: -28px;
  right: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(190, 151, 92, .7);
  border-radius: 50%;
  background: var(--white);
  color: #5a5a5a;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn-limpiar-filtros[hidden] {
  display: none !important;
}
.btn-limpiar-filtros svg {
  width: 9px;
  height: 9px;
}
.btn-limpiar-filtros:hover {
  color: var(--black);
  background: #FFF6ED;
  border-color: var(--gold);
}
.btn-limpiar-filtros:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(190,151,92,.35);
}

/* --- Tarjetas de sucursal --- */
.sucursales-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.sucursal-card {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr auto;
  align-items: center;
  gap: 20px;
  background: #FFF6ED;
  border: 1px solid rgba(190, 151, 92, .45);
  border-radius: 30px;
  padding: 24px 46px 24px 42px;
  transition: box-shadow .3s ease, transform .3s ease;
}
/* display:grid anula el [hidden] nativo; forzar ocultado al filtrar */
.sucursal-card[hidden] {
  display: none !important;
}
.sucursal-card:hover,
.sucursal-card:first-child {
  box-shadow: 0 10px 26px rgba(60, 45, 20, .14);
}
.sucursal-card:hover { transform: translateY(-2px); }
.sucursal-nombre {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.3;
}
.sucursal-direccion,
.sucursal-horario {
  font-size: 1.15rem;
}
.btn-mapa {
  justify-self: end;
  padding: 8px 36px;
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 500;
}
.sucursales-empty {
  margin-top: 40px;
  text-align: center;
  font-size: 1rem;
  color: #6b6b6b;
}

@media (max-width: 900px) {
  .sucursales-toolbar { flex-direction: column; align-items: flex-start; }
  .filtro-localidad-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .btn-limpiar-filtros {
    position: static;
    top: auto;
    right: auto;
    flex-shrink: 0;
  }
  .sucursal-card {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "nombre    boton"
      "direccion boton"
      "horario   boton";
    border-radius: 32px;
    padding: 22px 26px;
    row-gap: 4px;
  }
  .sucursal-nombre    { grid-area: nombre; }
  .sucursal-direccion { grid-area: direccion; }
  .sucursal-horario   { grid-area: horario; }
  .btn-mapa           { grid-area: boton; align-self: center; }
}

@media (max-width: 520px) {
  .sucursales { padding: 64px 0 90px; }
  .select-pill select { min-width: 100%; width: 100%; }
  .select-pill { width: 100%; }
  .filtro-localidad-wrap {
    width: 100%;
  }
  .filtro-localidad-wrap .select-pill {
    flex: 1;
    width: auto;
    min-width: 0;
  }
  .sucursales-filters { width: 100%; }
  .search-pill { width: 100%; }
  .search-pill input[type="search"] { min-width: 100%; width: 100%; }
  .sucursal-card {
    grid-template-columns: 1fr;
    grid-template-areas: "nombre" "direccion" "horario" "boton";
  }
  .btn-mapa { justify-self: start; margin-top: 10px; }
  .hero-sucursales { min-height: 540px; }
}

/* ============================================================
   PÁGINA MENÚ
   ============================================================ */
.hero-menu {
  min-height: 720px;
  max-height: 88svh;
  align-items: center;
  text-align: center;
}
.hero-menu .hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-menu .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 32, 18, .55);
}
.hero-menu-content { padding-top: 90px; }
.hero-menu h1 {
  color: var(--cream);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.4vw, 4rem);
  margin-bottom: 22px;
  text-shadow: 0 2px 18px rgba(0,0,0,.3);
}
.hero-menu p {
  color: var(--white);
  font-size: clamp(.95rem, 1.15vw, 1.1rem);
  margin-bottom: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}

.ingredientes {
  background: var(--white);
  padding: 100px 0 30px;
  text-align: center;
}
.ingredientes-inner { max-width: 780px; margin: 0 auto; }
.ingredientes h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  margin-bottom: 26px;
}
.ingredientes p { font-size: .98rem; }

.productos {
  background: var(--white);
  padding: 88px 0 120px;
}

/* --- Tabs de categorías --- */
.productos-tabs {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.tab-pill {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  min-width: 185px;
  height: 44px;
  padding: 0 28px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .2s ease;
}
.tab-pill:hover { box-shadow: 0 3px 12px rgba(190,151,92,.25); }
.tab-pill.is-active {
  background: var(--gold);
  color: var(--white);
}

/* --- Grilla de productos --- */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 46px;
}
.producto-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(190, 151, 92, .55);
  border-radius: 24px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.producto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(60, 45, 20, .16);
}
.producto-img {
  aspect-ratio: 380 / 265;
  overflow: hidden;
}
.producto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.producto-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.producto-nombre {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.producto-desc {
  font-size: .85rem;
  line-height: 1.45;
  margin-bottom: 18px;
}
.btn-pedido {
  align-self: flex-end;
  margin-top: auto;
  background: var(--black);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 999px;
  transition: transform .25s ease, background .25s ease;
}
.btn-pedido:hover {
  transform: translateY(-2px);
  background: #2a2a2a;
}

@media (max-width: 1024px) {
  .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
}
@media (max-width: 640px) {
  .productos { padding: 64px 0 90px; }
  .productos-tabs { gap: 12px; margin-bottom: 48px; }
  .tab-pill { min-width: 0; flex: 1 1 30%; }
  .productos-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-menu { min-height: 560px; }
}

/* ============================================================
   PÁGINA FRANQUICIAS
   ============================================================ */
.hero-franquicias {
  min-height: 720px;
  max-height: 88svh;
  align-items: center;
  text-align: center;
}
.hero-franquicias .hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-franquicias .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(32, 28, 28, .62);
}
.hero-franquicias-content { padding-top: 90px; }
.hero-franquicias h1 {
  text-transform: uppercase;
  font-size: clamp(2rem, 4.4vw, 4rem);
  margin-bottom: 22px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-franquicias .linea-crema  { color: var(--cream); }
.hero-franquicias .linea-blanca { color: var(--white); }
.hero-franquicias p {
  color: var(--white);
  font-size: clamp(.95rem, 1.15vw, 1.1rem);
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

/* --- Ventajas --- */
.ventajas {
  background: var(--white);
  padding: 120px 0 100px;
  text-align: center;
}
.ventajas h2 {
  color: var(--gold);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  margin-bottom: 40px;
}
.ventajas-intro {
  max-width: 680px;
  margin: 0 auto;
  font-size: .98rem;
}
.ventajas-intro p { margin-bottom: 22px; }
.ventajas-intro p:last-child { margin-bottom: 0; }
.eyebrow-center { text-align: center; color: var(--gold); text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.franquicias-tagline {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  margin-bottom: 30px;
}

/* --- Plan de expansión --- */
.expansion {
  background: var(--bg-light);
  padding: 100px 0;
}
.expansion-inner {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 60px;
  align-items: center;
}
.expansion-figure img {
  width: 100%;
  border-radius: var(--radius-img);
  box-shadow: 0 18px 50px rgba(0,0,0,.14);
}
.expansion-text h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin-bottom: 24px;
}
.expansion-text p { font-size: .96rem; margin-bottom: 18px; }
.expansion-text p:last-child { margin-bottom: 0; }

/* --- Características --- */
.caracteristicas { background: var(--white); padding: 40px 0 110px; }
.caracteristicas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.caracteristica h3 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.caracteristica p { font-size: .96rem; }

/* --- Slider 7 puntos --- */
.puntos-slider {
  --slider-h: 640px;
  position: relative;
  min-height: var(--slider-h);
  overflow: hidden;
  isolation: isolate;
  background: var(--dark);
}
.punto-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}
.punto-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  width: 100%;
  min-height: var(--slider-h);
}
.punto-bg { position: absolute; inset: 0; z-index: -1; }
.punto-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(38, 30, 22, .45);
}
.punto-content {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 90px;
}
.punto-content h2 {
  color: var(--cream);
  text-transform: uppercase;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  margin-bottom: 26px;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.punto-content p {
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
  font-size: .98rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.punto-indicador {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  display: flex;
  width: min(480px, 60vw);
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  z-index: 2;
}
.punto-seg {
  flex: 1;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, .85);
  cursor: pointer;
  transition: background .35s ease;
}
.punto-seg.is-active,
.punto-seg.is-passed {
  background: var(--cream);
}

/* --- Ficha técnica --- */
.ficha {
  background: var(--white);
  padding: 110px 0 70px;
}
.ficha-titulo {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 54px;
}
.ficha-cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: start;
  padding-left: 4%;
}
.ficha-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  margin-bottom: 34px;
  align-items: start;
}
.ficha-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.ficha-item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 6px;
}
.ficha-item p {
  font-size: .95rem;
}
.ficha-datos {
  list-style: none;
  padding-top: 6px;
}
.ficha-datos li {
  font-size: .98rem;
  margin-bottom: 22px;
}
.ficha-datos strong {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
}

/* --- Formulario --- */
.contacto {
  background: var(--white);
  padding: 40px 0 120px;
}
.form-franquicias {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  max-width: 1060px;
  margin: 0 auto;
}
.form-col {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.form-franquicias input,
.form-franquicias textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  height: 50px;
  padding: 0 24px;
  width: 100%;
  transition: box-shadow .2s ease;
}
.form-franquicias textarea {
  border-radius: 12px;
  height: auto;
  flex: 1;
  min-height: 200px;
  padding: 16px 24px;
  resize: vertical;
}
.form-franquicias input:focus,
.form-franquicias textarea:focus {
  outline: none;
  box-shadow: 0 3px 14px rgba(190,151,92,.35);
}
.form-franquicias ::placeholder { color: #555; opacity: 1; }
.hp-field { position: absolute !important; left: -9999px !important; height: 1px !important; width: 1px !important; border: none !important; }
.btn-negro {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 13px 46px;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
  text-align: center;
}
.btn-negro:hover { transform: translateY(-2px); background: #2a2a2a; }
.form-col .btn-negro { align-self: flex-end; }
.contacto-cta {
  text-align: center;
  margin-top: 64px;
}
.btn-solicitar { text-transform: uppercase; letter-spacing: .04em; padding: 13px 38px; }
.form-feedback {
  max-width: 1060px;
  margin: 0 auto 30px;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: .95rem;
}
.form-exito { background: #eef7ee; border: 1px solid #bfe3bf; color: #22662a; }
.form-fallo { background: #fdf0ee; border: 1px solid #efc4bd; color: #8c2f22; }

@media (max-width: 900px) {
  .ficha-cols { grid-template-columns: 1fr; gap: 20px; padding-left: 0; }
  .form-franquicias { grid-template-columns: 1fr; gap: 26px; }
  .form-franquicias textarea { min-height: 160px; }
  .puntos-slider { --slider-h: 560px; }
  .ventajas { padding: 84px 0 70px; }
}
@media (max-width: 520px) {
  .hero-franquicias { min-height: 540px; }
  .ficha { padding: 72px 0 40px; }
  .contacto { padding: 24px 0 84px; }
  .contacto-cta { margin-top: 44px; }
}

/* ============================================================
   PÁGINA DEJANOS TU OPINIÓN
   ============================================================ */
.hero-opinion {
  min-height: 720px;
  max-height: 88svh;
  align-items: center;
  text-align: center;
}
.hero-opinion .hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-opinion .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 20, .55);
}
.hero-opinion-content { padding-top: 90px; }
.hero-opinion h1 {
  color: var(--cream);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.4vw, 4rem);
  margin-bottom: 22px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-opinion p {
  color: var(--white);
  font-size: clamp(.95rem, 1.15vw, 1.1rem);
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
}

.contacto-opinion { padding: 96px 0 120px; }
.contacto-label {
  font-weight: 700;
  font-size: 1.02rem;
  max-width: 1060px;
  margin: 0 auto 34px;
}

/* --- Botón WhatsApp --- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #00A54F;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 13px 30px;
  transition: transform .25s ease, filter .25s ease;
}
.btn-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-whatsapp svg { width: 26px; height: 26px; }

@media (max-width: 520px) {
  .hero-opinion { min-height: 540px; }
  .contacto-opinion { padding: 64px 0 90px; }
}

/* ============================================================
   MENÚ DESPLEGABLE DE LA CABECERA
   ============================================================ */
.header-inner { position: relative; }
.menu-desplegable {
  position: absolute;
  top: calc(100% - 12px);
  right: 24px;
  min-width: 280px;
  background: var(--gold);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(30, 20, 5, .35);
  padding: 14px 0 10px;
  z-index: 40;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}
.menu-desplegable.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.menu-desplegable ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-desplegable li + li {
  border-top: 1px solid rgba(255, 255, 255, .28);
}
.menu-desplegable a {
  display: block;
  padding: 15px 28px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: background .2s ease, padding-left .2s ease;
}
.menu-desplegable a:hover,
.menu-desplegable a:focus-visible {
  background: rgba(0, 0, 0, .14);
  padding-left: 34px;
}
/* El botón hamburguesa alterna entre ícono de menú y 'X' según su estado */
.btn-menu .ico-cerrar {
  display: none;
  width: 24px;
  height: 24px;
  color: var(--white);
}
.btn-menu[aria-expanded="true"] .ico-abrir  { display: none; }
.btn-menu[aria-expanded="true"] .ico-cerrar { display: block; }

@media (max-width: 520px) {
  .menu-desplegable {
    left: 16px;
    right: 16px;
    min-width: 0;
    max-width: calc(100vw - 32px);
  }
}

/* ============================================================
   EXTREMAS — Ajustes de marca (overrides)
   Bloque agregado sobre la base para llevar el diseño de
   "Sabores Express" al look de las muestras de Extremas:
   cajas resaltadas en títulos, header oscuro, footer rojo,
   botón circular y tarjetas de "Sé parte del éxito".
   ============================================================ */

/* ---------- Cabecera: gradiente oscuro para que el logo
   (blanco con la X roja) siempre tenga contraste ---------- */
.site-header {
  background: linear-gradient(rgba(0,0,0,.60), rgba(0,0,0,0));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header.is-scrolled {
  background: rgba(17, 17, 17, .92);
}

/* ---------- Cajas resaltadas de títulos (marcador) ---------- */
.mark,
.mark-dark {
  display: inline-block;
  position: relative;
  isolation: isolate;
  padding: 0 .34em;
  color: var(--white);
  line-height: 1;
  vertical-align: baseline;
}
.mark-bg {
  position: absolute;
  z-index: 0;
  /* El bloque se alinea con la base del texto y comienza por debajo
     de las mayúsculas, que quedan visualmente por delante. */
  top: .22em;
  right: 0;
  bottom: 0;
  left: 0;
}
.mark-text {
  position: relative;
  z-index: 1;
}
.mark      .mark-bg { background: var(--red); }
.mark-dark .mark-bg { background: var(--black); }
/* En el módulo de menú, el diseño usa tipografía roja sobre negro. */
.menu .mark-menu { color: var(--red); }

/* Títulos con cajas: el interlineado define la separación vertical
   entre los bloques de color (una línea = un bloque) */
.hero h1,
.hero-menu h1,
.hero-sucursales h1,
.hero-opinion h1,
.hero-franquicias h1,
.menu h2,
.locales h2 {
  color: var(--white);
  line-height: 1.34;
  text-shadow: none;
  text-transform: uppercase;
}

/* ---------- HERO home: botón rojo con ícono de hamburguesa ---------- */
.hero .btn-gold.btn-expand:hover img,
.menu .btn-gold.btn-expand:hover img { filter: none; } /* el ícono ya es blanco */

/* ---------- NUESTRO MENÚ (home): fondo con ingredientes ---------- */
.menu-bg {
  background:
    linear-gradient(rgba(247,244,242,.68), rgba(247,244,242,.68)),
    url('../im/bg-ingredientes.jpg') center / cover no-repeat;
}
.gold-line { background: var(--red); }

/* ---------- ¿DÓNDE ESTAMOS? (home): local en blanco y negro ---------- */
.locales-bg img { filter: grayscale(1) contrast(1.05); }
.locales-bg::after { background: rgba(0,0,0,.5); }

/* Botón circular blanco con ícono de mapa (no se expande) */
.locales .btn-white {
  width: 66px;
  height: 66px;
  min-width: 0;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
}
.locales .btn-white .btn-label { display: none; }
.locales .btn-white img { height: 30px; }
.locales .btn-white:hover { background: var(--white); filter: brightness(1); transform: translateY(-2px); }
.locales .btn-white:hover img { filter: none; }

/* ---------- SÉ PARTE DEL ÉXITO (home) ---------- */
.franquicias { background: var(--dark); }
.card { background: var(--card); border-radius: 22px; }
.card-icon { height: 34px; }
.btn-cta { color: var(--white); }
.btn-cta:hover { filter: brightness(1); background: var(--red-dark); }

/* ---------- FOOTER rojo ---------- */
.footer-nav a:hover  { color: #111; }
.footer-social a:hover { background: var(--white); color: var(--red); }

/* ============================================================
   PÁGINA MENÚ — hero oscuro + grilla de productos
   ============================================================ */
.hero-menu .hero-bg::after { background: rgba(0,0,0,.5); }

.productos-tabs { margin-bottom: 56px; }

/* Tarjetas de producto sin borde, centradas (como la muestra) */
.producto-card {
  border: none;
  border-radius: 0;
  background: transparent;
}
.producto-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}
.producto-img { border-radius: 14px; background: #000; }
.producto-body {
  align-items: center;
  text-align: center;
  padding: 18px 10px 10px;
}
.producto-nombre {
  color: var(--red);
  font-size: 1.55rem;
  letter-spacing: .01em;
}
.producto-desc { max-width: 300px; }
.btn-pedido { align-self: center; padding: 11px 30px; font-size: .85rem; }

/* ============================================================
   PÁGINA SUCURSALES — tarjetas rosadas + botón rojo
   ============================================================ */
.hero-sucursales .hero-bg img,
.hero-franquicias .hero-bg img { filter: grayscale(1) contrast(1.04); }

.sucursal-card {
  background: #FCEBEA;
  border: 1px solid rgba(237, 32, 37, .28);
  border-radius: 26px;
}
.sucursal-card:hover,
.sucursal-card:first-child { box-shadow: 0 10px 26px rgba(237, 32, 37, .14); }
.btn-mapa { color: var(--white); }

/* Selects con borde rojo (coherente con el resto) */
.select-pill select { border-color: var(--red); }
.select-pill::after { border-color: var(--red); }

/* ============================================================
   PÁGINA FRANQUICIAS
   ============================================================ */
.hero-franquicias .hero-bg::after { background: rgba(0,0,0,.55); }
.ventajas h2 { color: var(--red); }
/* El Know How mantiene el crema del acento (ya definido en base) */

/* ============================================================
   PÁGINA OPINIÓN — fila de CTAs (WhatsApp verde + rojo)
   ============================================================ */
.hero-opinion .hero-bg::after { background: rgba(0,0,0,.5); }
.opinion-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 44px;
}
.btn-rojo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 13px 40px;
  transition: transform .25s ease, filter .25s ease;
}
.btn-rojo:hover { transform: translateY(-2px); filter: brightness(1.06); }

@media (max-width: 520px) {
  .opinion-cta-row { flex-direction: column; align-items: stretch; }
  .opinion-cta-row .btn-whatsapp,
  .opinion-cta-row .btn-rojo { justify-content: center; }
}
