/* ═══════════════════════════════════════════
   Pizzería Popular — Global Styles
   ═══════════════════════════════════════════ */

:root {
  --cream: #EDE8D9;
  --gold: #D8A460;
  --dark: #392E2C;
  --dark2: #241C1A;
  --mid: #7A6460;
  --white: #FDFAF4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: var(--cream); color: var(--dark); }

/* ─── ABRIL FATFACE LETTER SPACING ─── */
.hero-title, .hbien-title, .page-title, .section-title, .page-404 h1,
.photo-full-title, .carta-title, .manifesto-quote, .manifesto-title,
.bienvenidos-title, .franq-form-title,
.blog-modal .bm-hero h1 { letter-spacing: 0.03em; }

.dif-title, .local-name, .menu-item-name, .blog-title, .star-val,
.tl-year, .stat-num, .hero-stat-number, .franq-stat-num, .franq-stat-number,
.res-name, .promo-title, .promo-card h3, .franquicia-name, .franq-card-title,
.franq-model-card h3, .franq-benefit h4, .manifesto-value h3,
.carta-category-title, .carta-item h3, .carta-card-info h3,
.footer-logo, .hola-footer, .hola, .dd-header h4,
.historia-header h2, .franquicias-sub, .franquicias-models-section h2,
.contacto-info h3, .contacto-form-wrap h2, .contacto-info h2,
.legal-content h2, .blog-modal .bm-content h2, .blog-modal .bm-cta h2,
.rv-name, .review-name, .destacados-title, .sucursales-title,
.timeline-year, .mobile-menu a { letter-spacing: 0.02em; }

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .8s cubic-bezier(.25,.46,.45,.94), transform .8s cubic-bezier(.25,.46,.45,.94);
}
.reveal.left  { transform: translateX(-48px); }
.reveal.right { transform: translateX(48px); }
.reveal.scale { transform: scale(.92); }
.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

/* ─── HERO BIENVENIDOS ─── */
.hero-bienvenidos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  width: 100%;
  margin: 0 0 0.7rem;
  animation: fadeIn 1s .3s both;
  text-align: center;
}
.hbien-title {
  font-family: 'Abril Fatface', serif;
  font-size: clamp(2rem, 6.5vw, 6rem);
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 0.92;
  display: block;
  width: 100%;
  margin: 0;
  font-weight: normal;
}
.hbien-sub {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.6rem, 4.8vw, 4rem);
  color: rgba(237,232,217,0.92);
  line-height: 1.15;
  display: block;
  width: 100%;
}

/* ─── HERO LOGO ─── */
.hero-logo {
  width: min(520px, 80vw);
  margin: 0 auto 1.8rem;
  display: block;
  animation: fadeIn 1s .3s both;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.4));
}

/* ─── HERO VIDEO ─── */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  transform: translateZ(0);
  will-change: transform;
  contain: paint;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(36,28,26,.30) 0%,
    rgba(36,28,26,.35) 45%,
    rgba(36,28,26,.55) 75%,
    rgba(36,28,26,.65) 100%
  );
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5%;
  transition: all .4s ease;
}
nav.scrolled {
  background: rgba(237,232,217,.96);
  backdrop-filter: blur(16px);
  padding: 12px 5%;
  box-shadow: 0 4px 30px rgba(57,46,44,.07);
  border-bottom: 1px solid rgba(57,46,44,.07);
}
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; transition: opacity .3s; }
.nav-logo img { height: 70px; width: auto; filter: none; transition: filter .3s; }
nav.scrolled .nav-logo img { filter: invert(1) opacity(0.85); }
nav.scrolled .nav-logo { color: var(--dark); }
.nav-logo span { color: var(--gold); }
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 1rem; list-style: none; }
.nav-links a { text-decoration: none; color: rgba(237,232,217,.8); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
nav.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--dark);
  padding: .55rem 1.4rem; border-radius: 40px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  transition: all .2s;
}
.nav-cta:hover { background: var(--cream); transform: translateY(-2px); }
.nav-right { display: flex; align-items: center; gap: .8rem; }

/* ─── DELIVERY DROPDOWN ─── */
.delivery-wrap { position: relative; }
.delivery-dropdown {
  display: none; position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 12px 48px rgba(57,46,44,.18); border: 1px solid rgba(57,46,44,.08);
  min-width: 320px; z-index: 300; overflow: hidden;
  animation: ddIn .25s ease;
}
@keyframes ddIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.delivery-dropdown.open { display: block; }
.dd-header {
  background: var(--dark2); padding: 16px 20px;
  display: flex; align-items: center; gap: 10px;
}
.dd-header h4 { font-family: 'Abril Fatface', serif; font-size: 1rem; color: var(--cream); margin: 0; }
.dd-header span { font-size: 1.2rem; }
.dd-local {
  padding: 14px 20px; border-bottom: 1px solid rgba(57,46,44,.06);
  transition: background .2s;
}
.dd-local:last-child { border-bottom: none; }
.dd-local:hover { background: rgba(216,164,96,.06); }
.dd-local-name {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dark); margin-bottom: 8px;
}
.dd-local-city { font-size: .62rem; color: var(--mid); font-weight: 400; letter-spacing: .05em; }
.dd-links { display: flex; gap: 8px; }
.dd-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px; font-size: .72rem; font-weight: 700;
  text-decoration: none; transition: all .2s; letter-spacing: .02em;
}
.dd-link-glovo { background: #00A082; color: #fff; }
.dd-link-glovo:hover { background: #008a6f; transform: translateY(-1px); }
.dd-link-uber { background: #142328; color: #06C167; }
.dd-link-uber:hover { background: #0a1a1f; transform: translateY(-1px); }
.dd-link svg { width: 14px; height: 14px; fill: currentColor; }

/* ─── LANGUAGE SWITCH ─── */
.lang-switch {
  display: flex; gap: 2px; align-items: center;
  background: rgba(237,232,217,.1); border-radius: 20px;
  padding: 2px;
}
nav.scrolled .lang-switch { background: rgba(57,46,44,.08); }
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-size: .65rem; font-weight: 700; letter-spacing: .08em;
  color: rgba(237,232,217,.5); padding: .3rem .6rem;
  border-radius: 18px; transition: all .2s;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none; display: inline-block;
}
nav.scrolled .lang-btn { color: rgba(57,46,44,.4); }
.lang-btn.active { background: var(--gold); color: var(--dark); }
nav.scrolled .lang-btn.active { background: var(--gold); color: var(--dark); }
.lang-btn:hover:not(.active) { color: var(--gold); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--cream); display: block; transition: background .3s; }
nav.scrolled .hamburger span { background: var(--dark); }
/* ─── MOBILE MENU OVERLAY ─── */
.mobile-menu {
  display: flex; position: fixed; inset: 0; z-index: 1000;
  flex-direction: column;
  align-items: center; justify-content: center; gap: 1.4rem;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(env(safe-area-inset-top) + 56px) 1rem calc(env(safe-area-inset-bottom) + 36px);
  /* Fondo custom con identidad de marca */
  background-color: #1a0f0d;
  background-image:
    radial-gradient(circle at 50% 42%, rgba(197,165,114,.10), transparent 60%),
    url('/images/bg-menu-pattern.svg');
  background-repeat: no-repeat, repeat;
  background-position: center center, top left;
  background-attachment: scroll, scroll;
  opacity: 0; visibility: hidden;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: opacity .3s ease, visibility .3s ease,
              -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}
.mobile-menu.open {
  opacity: 1; visibility: visible;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
/* Etiqueta superior */
.mobile-menu::after {
  content: 'MENÚ'; position: absolute;
  top: calc(env(safe-area-inset-top) + 28px); left: 0; right: 0;
  text-align: center; pointer-events: none;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: .7rem; letter-spacing: .42em; text-indent: .42em;
  color: var(--gold); opacity: .7;
}
html[lang="en"] .mobile-menu::after { content: 'MENU'; }

/* Items */
.mobile-menu a {
  position: relative;
  font-family: 'Abril Fatface', serif; font-size: 2rem;
  color: var(--cream); text-decoration: none;
  letter-spacing: .02em;
  opacity: 0; transform: translateY(10px);
  transition: color .3s ease, letter-spacing .3s ease, background .3s ease;
}
.mobile-menu a:first-of-type { margin-top: auto; }
.mobile-menu a:last-of-type { margin-bottom: auto; }
.mobile-menu a:not(.mobile-cta):hover,
.mobile-menu a:not(.mobile-cta):active { color: var(--gold); letter-spacing: .05em; }

/* Subrayado dorado animado desde el centro */
.mobile-menu a:not(.mobile-cta)::after {
  content: ''; position: absolute;
  left: 50%; bottom: .1rem;
  width: 42%; height: 2px; background: var(--gold);
  transform: translateX(-50%) scaleX(0); transform-origin: center;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.mobile-menu a:not(.mobile-cta):hover::after,
.mobile-menu a:not(.mobile-cta):active::after { transform: translateX(-50%) scaleX(1); }

/* Iconos */
.mobile-menu a:not(.mobile-cta)::before {
  margin-right: .55rem; font-size: .78em; opacity: .9;
}
.mobile-menu a[href="/"]::before { content: '🏠'; }
.mobile-menu a[href="/nosotros/"]::before { content: '✨'; }
.mobile-menu a[href="/restaurantes/"]:not(.mobile-cta)::before { content: '📍'; }
.mobile-menu a[href="/carta/"]::before { content: '🍕'; }
.mobile-menu a[href="/promos/"]::before { content: '🔥'; }
.mobile-menu a[href="/franquicias/"]::before { content: '💼'; }
.mobile-menu a[href="/blog/"]::before { content: '📝'; }
.mobile-menu a[href="/contacto/"]::before { content: '✉️'; }
.mobile-menu a[href="/en/home/"]::before { content: '🏠'; }
.mobile-menu a[href="/en/about-us/"]::before { content: '✨'; }
.mobile-menu a[href="/en/restaurants/"]:not(.mobile-cta)::before { content: '📍'; }
.mobile-menu a[href="/en/menu/"]::before { content: '🍕'; }
.mobile-menu a[href="/en/promos/"]::before { content: '🔥'; }
.mobile-menu a[href="/en/franchises/"]::before { content: '💼'; }
.mobile-menu a[href="/en/blog/"]::before { content: '📝'; }
.mobile-menu a[href="/en/contact/"]::before { content: '✉️'; }

/* CTA destacada (pill dorada) */
.mobile-menu a.mobile-cta {
  color: var(--dark); background: var(--gold);
  padding: 1.1rem 2.5rem; border-radius: 50px;
  margin-top: 2rem; box-shadow: 0 4px 20px rgba(216,164,96,.3);
}
.mobile-menu a.mobile-cta:hover,
.mobile-menu a.mobile-cta:active { background: var(--cream); color: var(--dark); }

/* Stagger de entrada (estilo iOS) */
@keyframes menuItemIn { to { opacity: 1; transform: translateY(0); } }
@keyframes menuItemOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(10px); }
}
.mobile-menu.open a { animation: menuItemIn .55s cubic-bezier(.16,1,.3,1) both; }
.mobile-menu.open a:nth-of-type(1) { animation-delay: .12s; }
.mobile-menu.open a:nth-of-type(2) { animation-delay: .17s; }
.mobile-menu.open a:nth-of-type(3) { animation-delay: .22s; }
.mobile-menu.open a:nth-of-type(4) { animation-delay: .27s; }
.mobile-menu.open a:nth-of-type(5) { animation-delay: .32s; }
.mobile-menu.open a:nth-of-type(6) { animation-delay: .37s; }
.mobile-menu.open a:nth-of-type(7) { animation-delay: .42s; }
.mobile-menu.open a:nth-of-type(8) { animation-delay: .47s; }
.mobile-menu.open a:nth-of-type(9) { animation-delay: .52s; }
/* Cierre: stagger inverso */
.mobile-menu.open.closing a { animation: menuItemOut .22s cubic-bezier(.16,1,.3,1) both; }
.mobile-menu.open.closing a:nth-of-type(1) { animation-delay: .12s; }
.mobile-menu.open.closing a:nth-of-type(2) { animation-delay: .105s; }
.mobile-menu.open.closing a:nth-of-type(3) { animation-delay: .09s; }
.mobile-menu.open.closing a:nth-of-type(4) { animation-delay: .075s; }
.mobile-menu.open.closing a:nth-of-type(5) { animation-delay: .06s; }
.mobile-menu.open.closing a:nth-of-type(6) { animation-delay: .045s; }
.mobile-menu.open.closing a:nth-of-type(7) { animation-delay: .03s; }
.mobile-menu.open.closing a:nth-of-type(8) { animation-delay: .015s; }
.mobile-menu.open.closing a:nth-of-type(9) { animation-delay: 0s; }

.mobile-close {
  position: fixed; top: calc(env(safe-area-inset-top) + 14px); right: 5%;
  z-index: 1001; width: 44px; height: 44px;
  font-size: 2rem; line-height: 1; color: var(--cream);
  cursor: pointer; background: none; border: none;
  transition: color .25s ease, transform .25s ease;
}
.mobile-close:hover, .mobile-close:active { color: var(--gold); transform: rotate(90deg); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--dark2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 200px 5% 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 65% 45%, rgba(216,164,96,.2) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 75%, rgba(216,164,96,.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 10%, rgba(57,46,44,.4) 0%, transparent 60%);
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 70% 60%, rgba(216,164,96,.12) 0%, transparent 50%);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 1100px; width: 90%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 2.2rem;
  padding: .4rem 1.2rem; border: 1px solid rgba(216,164,96,.6);
  border-radius: 30px; background: rgba(36,28,26,.45);
}
.hero-title {
  font-family: 'Abril Fatface', serif;
  font-size: clamp(4rem, 12vw, 9.5rem);
  color: var(--cream);
  line-height: .9;
  margin-bottom: 0.7rem;
  letter-spacing: -.01em;
}
.hero-title span { color: var(--gold); }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: inline-block;
  animation: slideUp .9s cubic-bezier(.25,.46,.45,.94) both;
}
.hero-title .line:nth-child(2) span { animation-delay: .15s; }
@keyframes slideUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.hero-sub {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: rgba(237,232,217,.92);
  max-width: 520px; margin: 0 auto 1.6rem;
  line-height: 1.8; font-weight: 300;
  animation: fadeIn 1s .5s both;
}
/* Hero desc: texto largo en desktop, frase corta en mobile (≤768px) */
.hero-desc-desktop { display: inline; }
.hero-desc-mobile { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-btns {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn .8s .7s both;
}
.btn-primary {
  background: var(--gold); color: var(--dark);
  padding: .9rem 2.4rem; border-radius: 50px;
  font-weight: 700; font-size: .88rem; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  transition: all .25s; display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary:hover { background: var(--cream); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(216,164,96,.3); }
.btn-outline {
  border: 2px solid rgba(237,232,217,.3); color: var(--cream);
  padding: .9rem 2.4rem; border-radius: 50px;
  font-weight: 600; font-size: .88rem; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  transition: all .25s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  display: flex; gap: 3.5rem; justify-content: center;
  margin-top: 4.5rem; flex-wrap: wrap;
  animation: fadeIn .8s .9s both;
}
.stat { text-align: center; }
.stat-num { font-family: 'Abril Fatface', serif; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.stat-label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(237,232,217,.65); margin-top: .35rem; }
@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── MARQUEE BAND ─── */
.marquee-band {
  background: var(--gold); overflow: hidden;
  padding: 1rem 0; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 0;
  animation: marqueeScroll 20s linear infinite;
}
.marquee-track span {
  font-family: 'Abril Fatface', serif;
  font-size: 1rem; letter-spacing: .05em;
  color: var(--dark); padding: 0 2rem;
}
.marquee-dot { color: var(--dark2); opacity: .4; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── MANIFESTO ─── */
.manifesto { background: var(--dark2); text-align: center; padding: 65px 5%; }
.manifesto-quote {
  font-family: 'Abril Fatface', serif;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  color: var(--cream); max-width: 820px; margin: 0 auto 2rem;
  line-height: 1.15;
}
.manifesto-quote span { color: var(--gold); }
.manifesto-body {
  max-width: 580px; margin: 0 auto;
  color: rgba(237,232,217,.55); line-height: 2;
  font-size: .97rem; font-weight: 300;
}
.hola { display: inline-block; font-family: 'Abril Fatface', serif; font-size: 1.5rem; color: var(--gold); margin-top: 2.5rem; letter-spacing: .04em; }

/* ─── FULL-BLEED PHOTO SECTION ─── */
.photo-full {
  position: relative; overflow: hidden;
  height: 70vh; min-height: 420px;
  display: flex; align-items: flex-end;
}
.photo-full-bg {
  position: absolute; inset: 0;
  background: var(--dark2);
  display: flex; align-items: center; justify-content: center;
}
.photo-full-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
  filter: brightness(.75);
  transition: transform 6s ease;
}
.photo-full:hover .photo-full-bg img { transform: scale(1.04); }
.photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--dark2) 0%, #3d2017 50%, var(--dark2) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
}
.photo-placeholder-icon { font-size: 4rem; opacity: .3; }
.photo-placeholder-text { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(237,232,217,.2); }
.photo-full-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(36,28,26,.9) 0%, rgba(36,28,26,.2) 50%, transparent 100%);
  z-index: 1;
}
.photo-full-content {
  position: relative; z-index: 2;
  padding: 3rem 5%;
  width: 100%;
}
.photo-full-label { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .8rem; }
.photo-full-title { font-family: 'Abril Fatface', serif; font-size: clamp(2.2rem, 6vw, 4.5rem); color: var(--cream); line-height: 1; }
.photo-full-title span { color: var(--gold); }

/* ─── DIFERENCIALES ─── */
.diferenciales { background: var(--cream); padding: 55px 5%; }
.dif-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
.dif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: rgba(57,46,44,.08); border: 1.5px solid rgba(57,46,44,.08); }
.dif-card {
  background: var(--white); padding: 2.8rem 2.4rem;
  transition: background .25s, transform .25s;
  cursor: default; position: relative; overflow: hidden;
}
.dif-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold);
  transform: scaleX(0); transition: transform .3s;
  transform-origin: left;
}
.dif-card:hover::after { transform: scaleX(1); }
.dif-card:hover { background: var(--gold); transform: translateY(-4px); }
.dif-card:hover .dif-title, .dif-card:hover .dif-body { color: var(--dark); }
.dif-icon { font-size: 2rem; margin-bottom: 1.2rem; display: block; }
.dif-title { font-family: 'Abril Fatface', serif; font-size: 1.25rem; color: var(--dark); margin-bottom: .6rem; }
.dif-body { font-size: .86rem; color: var(--mid); line-height: 1.75; }

/* ─── LOCALES ─── */
.locales { background: var(--dark2); padding: 55px 5%; position: relative; overflow: hidden; }
.locales-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; padding: 0 1rem; }
.locales-5 { grid-template-columns: repeat(5, 1fr); }
.locales-6 { grid-template-columns: repeat(6, 1fr); }
/* Desktop real (≥1024px): 6 locales en una fila (6×1), altura natural por card,
   sin espacios muertos. Botones pegados al bloque de features. */
@media (min-width: 1024px) {
  .locales-6 {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    align-items: start;            /* cada card su alto natural, sin estirar */
  }
  .locales-6 .local-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    align-self: start;
    padding: 2.2rem 1rem 1.25rem;  /* top deja sitio al province-badge */
  }
  /* Nada estira los bloques intermedios */
  .locales-6 .local-card > * { flex: 0 0 auto; }
  /* Nombre: reserva 2 líneas para que el rating arranque parejo entre cards */
  .locales-6 .local-card .local-name {
    font-size: 1.25rem;
    line-height: 1.1;
    min-height: 2.5em;
    margin-bottom: 0.2rem;
  }
  /* Dirección: menos aire alrededor */
  .locales-6 .local-card .local-address {
    margin-top: 0.3rem;
    margin-bottom: 0.6rem;
  }
  /* Rating compacto en 2 líneas: "4.6 ★★★★☆" / "1255 opiniones en Google" */
  .locales-6 .local-card .local-rating {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.2rem 0 0.6rem;
  }
  .locales-6 .local-card .local-rating .rating-num {
    font-size: 1.6rem; font-weight: 700; color: #F0C674; line-height: 1;
  }
  .locales-6 .local-card .local-rating .rating-stars {
    font-size: 0.95rem; color: #F0C674; line-height: 1;
  }
  .locales-6 .local-card .local-rating .reviews-line {
    flex-basis: 100%;              /* fuerza la 2da línea */
    font-size: 0.78rem;
    color: rgba(237, 232, 217, 0.85);
  }
  .locales-6 .local-card .local-rating .google-label {
    color: #C5A572;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: none;          /* "en Google", no mayúsculas */
  }
  /* Features: altura natural, píldoras compactas */
  .locales-6 .local-card .local-tags {
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.35rem;
    margin: 0.4rem 0;
  }
  .locales-6 .local-card .local-tags span {
    font-size: 0.62rem;
    padding: 0.2rem 0.55rem;
    letter-spacing: 0.04em;
  }
  /* Botones pegados a las features (sin margin-top:auto), compactos */
  .locales-6 .local-card .local-btns {
    margin-top: 0.8rem;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  .locales-6 .local-card .local-btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }
  /* Province badge */
  .locales-6 .local-card .province-badge {
    font-size: 0.55rem;
    padding: 0.22rem 0.5rem;
    top: 0.5rem;
    left: 0.5rem;
  }
}
.local-card {
  background: rgba(0,0,0,0.78); padding: 2.6rem 1.5rem 1.5rem;
  position: relative; overflow: hidden;
  transition: background .3s; cursor: pointer;
  text-decoration: none; display: flex; flex-direction: column;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  border: 1px solid rgba(216,164,96,0.28);
}
.local-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94); z-index: 0;
}
.local-card:hover::before { transform: scaleY(1); }
.local-card > * { position: relative; z-index: 1; }
.local-card:hover .local-name, .local-card:hover .local-address, .local-card:hover .local-rating { color: var(--dark); }
.local-card:hover .local-city, .local-card:hover .local-link { color: var(--dark2); }
.local-card:hover .tag { border-color: rgba(57,46,44,.25); color: var(--dark2); }
.local-card:hover .rating-num,
.local-card:hover .rating-stars,
.local-card:hover .rating-reviews,
.local-card:hover .rating-badge { color: var(--dark); }
.local-city { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; font-weight: 700; }
.local-name { font-family: 'Abril Fatface', serif; font-size: 1.7rem; color: #fff; margin-bottom: .8rem; line-height: 1.1; }
.local-address { font-size: .85rem; color: rgba(255,255,255,.95); line-height: 1.65; margin-bottom: 1.2rem; }
.local-rating { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; font-size: .82rem; color: var(--gold); font-weight: 700; margin-bottom: 1.5rem; }
.local-rating span { color: rgba(237,232,217,.35); font-weight: 400; }
.local-rating .rating-num { font-size: 1.5rem; line-height: 1; color: #C5A572; font-weight: 800; letter-spacing: 0; }
.local-rating .rating-stars { color: #FFC107; font-size: 1rem; letter-spacing: 1px; font-weight: 400; }
.local-rating .rating-reviews { color: rgba(255,255,255,.9); font-weight: 400; font-size: .78rem; }
.local-rating .rating-badge { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(216,164,96,.7); font-weight: 700; margin-left: auto; }
/* Rating compacto: "X opiniones en Google" (lo emite ratings.js como rating-line) */
.reviews-line { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .3rem; }
.reviews-line .reviews-count { color: rgba(255,255,255,.9); font-weight: 400; font-size: .78rem; }
.reviews-line .google-label { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(216,164,96,.75); font-weight: 700; }
.local-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.tag { font-size: .66rem; padding: .25rem .75rem; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; color: rgba(255,255,255,.95); letter-spacing: .05em; }
.local-link { font-size: .77rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; transition: gap .2s; }
.local-link:hover { gap: .9rem; }
.local-link::after { content: '\2192'; }
.local-btns { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 14px; }
.local-btn { display: block; text-align: center; padding: 9px 10px; border-radius: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; transition: opacity .2s; }
.local-btn:hover { opacity: .85; }
.local-btn-primary { background: var(--gold); color: var(--dark); }
.local-btn-wa { background: #25D366; color: #fff; }

/* ─── SPLIT SECTION ─── */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.split-photo {
  position: relative; overflow: hidden;
  background: var(--dark2);
  min-height: 400px;
}
.split-photo-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #3d2017 0%, var(--dark2) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.split-content {
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: 2.5rem 4rem;
}
.split-content .section-label { margin-bottom: .4rem; }
.split-content .section-title { margin-bottom: .75rem; }
.split-content p { color: var(--mid); line-height: 1.85; font-size: .93rem; font-weight: 300; margin-bottom: 2rem; }

/* ─── MENU ─── */
.menu-section { background: var(--white); padding: 55px 5%; text-align: center; }
.menu-cats { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 3rem 0; }
.menu-cat {
  padding: .6rem 1.6rem; border: 2px solid rgba(57,46,44,.13);
  border-radius: 30px; font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
  color: var(--dark); text-decoration: none;
}
.menu-cat:hover, .menu-cat.active { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.menu-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; max-width: 1050px; margin: 0 auto; }
.menu-item {
  background: var(--white); padding: 2rem; border-radius: 2px;
  text-align: left; position: relative; overflow: hidden;
  border: 1px solid rgba(57,46,44,.07);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.menu-item:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(57,46,44,.08); }
.menu-item-emoji { font-size: 1.8rem; margin-bottom: .8rem; display: block; }
.menu-item-name { font-family: 'Abril Fatface', serif; font-size: 1.1rem; color: var(--dark); margin-bottom: .4rem; }
.menu-item-desc { font-size: .8rem; color: var(--mid); line-height: 1.65; }
.menu-cta { margin-top: 1.75rem; }

/* ─── RESERVAS ─── */
.reservas { background: var(--gold); text-align: center; padding: 55px 5%; }
.reservas .section-title { color: var(--dark); }
.reservas-desc { color: rgba(237,232,217,.75); max-width: 500px; margin: 1.2rem auto 3rem; line-height: 1.75; font-size: .95rem; }
.reservas-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 1300px; margin: 32px auto 0; }
.res-card { background: rgba(20,14,10,0.6); border: 1px solid rgba(216,164,96,.3); border-radius: 12px; padding: 20px 16px; display: flex; flex-direction: column; gap: 10px; backdrop-filter: blur(6px); text-align: center; }
.res-city { font-size: .6rem; font-weight: 700; letter-spacing: .2em; color: rgba(216,164,96,.8); }
.res-name { font-family: 'Abril Fatface', serif; font-size: 1rem; color: #EDE8D9; line-height: 1.2; }
.res-btn { display: block; margin-top: auto; background: #D8A460; color: #1E1614; font-size: .72rem; font-weight: 700; padding: 10px 8px; border-radius: 8px; text-decoration: none; transition: opacity .2s; }
.res-btn:hover { opacity: .85; }
.btn-reserva {
  background: var(--dark); color: var(--cream);
  padding: .85rem 1.8rem; border-radius: 40px;
  font-size: .79rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  transition: all .25s;
}
.btn-reserva:hover { background: var(--dark2); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(57,46,44,.25); }
.vida-linda-wrap { text-align: center; padding: 20px 0 40px; }
.vida-linda { font-family: 'Great Vibes', 'Dancing Script', cursive; font-size: clamp(3rem, 8vw, 7rem); color: #EDE8D9; text-shadow: 0 3px 20px rgba(0,0,0,.6), 0 1px 6px rgba(0,0,0,.8); line-height: 1.1; letter-spacing: .02em; }
#reservas .section-label { color: rgba(216,164,96,.8); }
#reservas .section-title { color: #EDE8D9; }
#reservas p { color: rgba(237,232,217,.85); }

/* ─── GOOGLE STATS ─── */
.google-stats { background: var(--cream); text-align: center; padding: 50px 5%; }
.stars-row { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-top: 1.75rem; }
.star-item {
  text-align: center; padding: 1.5rem 2rem;
  border: 1.5px solid rgba(57,46,44,.1); border-radius: 12px;
  background: var(--white); min-width: 120px;
  transition: all .25s;
}
.star-item:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 8px 20px rgba(216,164,96,.15); }
.star-val { font-family: 'Abril Fatface', serif; font-size: 2.6rem; color: var(--dark); line-height: 1; }
.star-ico { font-size: .9rem; color: #FFC107; margin: .4rem 0; }
.star-local { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); }
.google-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.5rem; padding: .7rem 1.5rem;
  border: 1.5px solid rgba(57,46,44,.1); border-radius: 40px;
  background: var(--white); font-size: .82rem; color: var(--mid);
}
.google-badge strong { color: var(--dark); }
.google-badge-icon { font-size: 1rem; }

/* ─── PROMOCIONES ─── */
.promos {
  background: var(--dark2); padding: 55px 5%;
  position: relative; overflow: hidden;
}
.promos::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 10% 20%, rgba(216,164,96,.1) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 90% 80%, rgba(216,164,96,.07) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}
.promos > * { position: relative; z-index: 1; }
.promos-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; margin-top: 2rem; max-width: 1100px; margin-left: auto; margin-right: auto;
}
.promo-card {
  background: rgba(237,232,217,.06); border: 1px solid rgba(237,232,217,.08);
  border-radius: 4px; padding: 2.8rem 2.4rem; position: relative; overflow: hidden;
  transition: all .3s;
}
.promo-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gold); transform: scaleX(0);
  transition: transform .3s; transform-origin: left;
}
.promo-card:hover::before { transform: scaleX(1); }
.promo-card:hover { border-color: rgba(216,164,96,.25); transform: translateY(-4px); }
.promo-badge {
  display: inline-block; background: var(--gold); color: var(--dark);
  font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 20px; margin-bottom: 1.2rem;
}
.promo-icon { font-size: 2.8rem; margin-bottom: 1rem; display: block; }
.promo-title {
  font-family: 'Abril Fatface', serif; font-size: 1.6rem;
  color: var(--cream); margin-bottom: .6rem; line-height: 1.1;
}
.promo-desc { font-size: .88rem; color: rgba(237,232,217,.5); line-height: 1.75; margin-bottom: 1.5rem; }
.promo-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; transition: gap .2s;
}
.promo-cta:hover { gap: .9rem; }
.promo-cta::after { content: '\2192'; }
.promos-note {
  text-align: center; margin-top: 1.5rem;
  font-size: .78rem; color: rgba(237,232,217,.3); font-style: italic;
}

/* ─── FRANQUICIAS ─── */
.franquicias {
  background: var(--cream); padding: 55px 5%;
  position: relative; overflow: hidden;
}
.franquicias::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 0% 0%, rgba(216,164,96,.12) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 100% 100%, rgba(57,46,44,.06) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}
.franquicias > * { position: relative; z-index: 1; }
.franq-intro {
  max-width: 700px; margin: .75rem auto 2rem; text-align: center;
  color: var(--mid); line-height: 1.85; font-size: .95rem; font-weight: 300;
}
.franq-stats {
  display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.franq-stat {
  text-align: center; padding: 1.5rem 2rem;
  border: 1.5px solid rgba(57,46,44,.1); border-radius: 12px;
  background: var(--white); min-width: 140px; transition: all .25s;
}
.franq-stat:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 8px 20px rgba(216,164,96,.15); }
.franq-stat-num { font-family: 'Abril Fatface', serif; font-size: 2.4rem; color: var(--dark); line-height: 1; }
.franq-stat-label { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--mid); margin-top: .4rem; }
.franq-models {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px; background: rgba(57,46,44,.08); border: 1.5px solid rgba(57,46,44,.08);
  max-width: 1100px; margin: 0 auto 3rem;
}
.franq-card {
  background: var(--white); padding: 2.4rem 2rem;
  transition: background .25s, transform .25s; cursor: default; position: relative; overflow: hidden;
}
.franq-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold);
  transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.franq-card:hover::after { transform: scaleX(1); }
.franq-card:hover { background: var(--gold); transform: translateY(-4px); }
.franq-card:hover .franq-card-title,
.franq-card:hover .franq-card-body,
.franq-card:hover .franq-card-price { color: var(--dark); }
.franq-card-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.franq-card-title { font-family: 'Abril Fatface', serif; font-size: 1.2rem; color: var(--dark); margin-bottom: .5rem; }
.franq-card-body { font-size: .84rem; color: var(--mid); line-height: 1.7; margin-bottom: 1rem; }
.franq-card-price { font-size: .78rem; font-weight: 700; color: var(--gold); letter-spacing: .05em; }
.franq-cta-wrap { text-align: center; margin-top: 1.5rem; }
.franq-support {
  max-width: 800px; margin: 3rem auto 0; text-align: center;
  font-size: .88rem; color: var(--mid); line-height: 1.8;
}

/* ─── FLOATING CTA ─── */
.float-cta {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 150;
  background: var(--gold); color: var(--dark);
  padding: .85rem 1.8rem; border-radius: 50px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  box-shadow: 0 8px 30px rgba(216,164,96,.4);
  transition: all .3s; display: flex; align-items: center; gap: .5rem;
  transform: translateY(100px); opacity: 0;
}
.float-cta.visible { transform: translateY(0); opacity: 1; }
.float-cta:hover { background: var(--cream); transform: translateY(-3px) !important; box-shadow: 0 14px 40px rgba(216,164,96,.5); }
.float-cta-icon { font-size: 1rem; }

/* ─── SECTION DEFAULTS ─── */
.section-label { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .5rem; }
.section-title { font-family: 'Abril Fatface', serif; font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--dark); line-height: 1.05; }
.section-title.light { color: var(--cream); }

/* ─── HISTORIA / TIMELINE ─── */
.historia { padding: 40px 0 50px; background: var(--cream); overflow: hidden; position: relative; }
.historia::before { content: ''; position: absolute; inset: 0; background: rgba(237,232,217,0.83); z-index: 0; pointer-events: none; }
.historia > * { position: relative; z-index: 1; }
.historia-header { text-align: center; padding: 0 5%; margin-bottom: 20px; }
.historia-header h2 { font-family: 'Abril Fatface', serif; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; color: var(--dark); }
.historia-header h2 span { color: var(--gold); }
.historia-frase { font-family: 'Great Vibes', cursive; font-size: clamp(1.82rem, 3.9vw, 2.86rem); color: var(--dark); margin-top: 14px; line-height: 1.3; opacity: 0.9; }
.frase-num { font-family: 'Abril Fatface', serif; font-size: 1.2em; color: var(--gold); font-style: normal; }

.tl-outer { overflow-x: auto; padding: 60px 4% 60px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; cursor: grab; }
.tl-outer:active { cursor: grabbing; }
.tl-outer::-webkit-scrollbar { height: 4px; }
.tl-outer::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.tl-track { display: flex; min-width: 1275px; width: 100%; position: relative; }
.tl-track::before { content: ''; position: absolute; top: 372px; left: 0; right: 0; height: 2px; background: linear-gradient(to right, transparent, var(--gold) 3%, var(--gold) 97%, transparent); }
.tl-item { flex: 1; display: flex; flex-direction: column; align-items: center; }
.tl-top { height: 300px; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.tl-conn-top { height: 40px; width: 1px; background: rgba(216,164,96,.4); }
.tl-mid { height: 56px; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; z-index: 2; }
.tl-conn-bot { height: 40px; width: 1px; background: rgba(216,164,96,.4); }
.tl-bot { height: 300px; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.tl-item.up .tl-conn-bot, .tl-item.down .tl-conn-top { opacity: 0; pointer-events: none; }
.tl-dot { width: 13px; height: 13px; background: var(--gold); border-radius: 50%; border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--gold); flex-shrink: 0; }
.tl-dot.glow { width: 17px; height: 17px; box-shadow: 0 0 0 3px rgba(216,164,96,.35), 0 0 16px rgba(216,164,96,.5); }
.tl-year { font-family: 'Abril Fatface', serif; font-size: 1.53rem; color: var(--dark); white-space: nowrap; height: 0; overflow: visible; display: flex; align-items: flex-start; justify-content: center; position: relative; z-index: 4; background: rgba(237,232,217,0.9); padding: 0 12px 4px; border-radius: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.tl-item.up .tl-year { transform: translateY(-1.6rem); }
.tl-item.down .tl-year { transform: translateY(0.1rem); }
.tl-card { width: 182px; height: 248px; min-height: 248px; max-height: 248px; padding: 11px 10px; background: rgba(255,255,255,.96); border: 1px solid rgba(216,164,96,.4); box-shadow: 0 4px 24px rgba(0,0,0,.35); border-radius: 10px; text-align: center; display: flex; flex-direction: column; overflow: hidden; }
.tl-card.highlight { border-color: rgba(216,164,96,.7); }
.tl-img { width: 100%; height: 104px !important; flex-shrink: 0; background: rgba(57,46,44,.07); border-radius: 6px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; border: 1px dashed rgba(216,164,96,.25); }
.tl-img span { font-size: .52rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(57,46,44,.3); }
.tl-text { font-size: .81rem; line-height: 1.55; color: rgba(57,46,44,.72); flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.tl-name { font-weight: 700; color: var(--gold); font-size: .78rem; margin-top: auto; padding-top: 6px; display: block; flex-shrink: 0; }
.tl-addr { display: block; font-size: .65rem; color: rgba(57,46,44,0.5); margin-top: 4px; line-height: 1.3; }
.tl-rating { display: flex; align-items: center; gap: 3px; font-size: .72rem; font-weight: 700; color: #D8A460; margin-top: 4px; }
.tl-rating .stars { color: #F5A623; font-size: .8rem; }
a.tl-card { text-decoration: none; color: inherit; }
.tl-clickable { cursor: pointer; }
.tl-clickable:hover { border-color: rgba(216,164,96,0.5); }
.tl-clickable .tl-name::after { content: " \2197"; font-size: .62rem; opacity: .5; }

.tl-item.up:hover .tl-card { transform: scale(1.5); transform-origin: center bottom; z-index: 20; box-shadow: 0 14px 40px rgba(57,46,44,0.25); }
.tl-item.down:hover .tl-card { transform: scale(1.5); transform-origin: center top; z-index: 20; box-shadow: 0 14px 40px rgba(57,46,44,0.25); }
.tl-item.up:hover .tl-card, .tl-item.down:hover .tl-card { overflow: visible; }
.tl-item:hover .tl-text { -webkit-line-clamp: unset; display: block; }

/* Indicador de swipe del carrusel (solo visible en mobile, ver media query) */
.swipe-indicator { display: none; }
@keyframes swipeArrowMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}
@keyframes swipeArrowMoveLeft {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-8px); }
}
@keyframes pulseSwipe {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(197,165,114,0.4), 0 0 0 1px rgba(197,165,114,0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 32px rgba(197,165,114,0.65), 0 0 0 1px rgba(197,165,114,0.5);
    transform: scale(1.03);
  }
}
/* Subpáginas /nosotros/ y /en/about-us/: eyebrow + H2 de la sección historia
   solo se muestran en mobile (en desktop la cabecera la da el .page-header) */
.historia-subpage .historia-header .section-label,
.historia-subpage .historia-header h2 { display: none; }

/* ─── CARTA SECTION ─── */
.carta-section { padding: 40px 5%; position: relative; background: var(--dark2); }
.carta-section::before { content: ''; position: absolute; inset: 0; background: rgba(14,8,6,0.55); z-index: 0; pointer-events: none; }
/* Disable the warm-dark ::before when carta-section has its own inline bg image (avoids double overlay) */
.carta-section[style*="background"]::before { display: none; }
.carta-inner { max-width: 1300px; margin: 0 auto; position: relative; z-index: 1; }
.carta-header { display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: 40px; padding-bottom: 24px; border-bottom: 1px solid rgba(237,232,217,.15); margin-bottom: 30px; }
.carta-title { font-family: 'Abril Fatface', serif; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--cream); line-height: 1.1; }
.carta-cats {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 10px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: opacity .2s; }
.cat-item:hover { opacity: .7; }
.cat-icon { width: 54px; height: 54px; border: 1.5px solid rgba(237,232,217,.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; transition: border-color .2s, background .2s; }
.cat-item.active .cat-icon, .cat-item:hover .cat-icon { border-color: var(--gold); background: rgba(216,164,96,.08); }
.cat-label { font-size: .65rem; font-weight: 600; letter-spacing: .04em; color: rgba(237,232,217,.85); text-align: center; }
.destacados-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1rem, 2.2vw, 1.4rem); letter-spacing: .15em; text-transform: uppercase; text-align: center; color: #EDE8D9; margin-bottom: 16px; }
.productos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.producto-card { cursor: pointer; }
.producto-img { width: 100%; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: rgba(57,46,44,.08); margin-bottom: 12px; }
.producto-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.producto-card:hover .producto-img img { transform: scale(1.05); }
.producto-name { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; line-height: 1.4; text-shadow: 0 2px 6px rgba(0,0,0,.9); }
.producto-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, rgba(216,164,96,.15), rgba(57,46,44,.08)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.sucursales-wrap { text-align: center; }
.sucursales-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1rem, 2.2vw, 1.4rem); letter-spacing: .15em; text-transform: uppercase; color: #EDE8D9; margin-bottom: 12px; }
.sucursales-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.suc-btn { background: #8B2020; color: #fff; font-family: 'Montserrat', sans-serif; font-size: .8rem; font-weight: 600; padding: 14px 28px; border-radius: 50px; text-decoration: none; transition: background .2s, transform .15s; text-align: center; min-width: 140px; display: flex; align-items: center; justify-content: center; line-height: 1.3; }
.suc-btn:hover { background: #6B1616; transform: translateY(-2px); }

/* ─── REVIEWS (light) ─── */
.reviews-wrap { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(57,46,44,.12); }
.reviews-label { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); text-align: center; margin-bottom: 14px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fff; border: 1px solid rgba(57,46,44,.1); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.review-header { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: #392E2C; color: #EDE8D9; font-size: .9rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-name { font-size: .8rem; font-weight: 700; color: #392E2C; }
.review-local { font-size: .68rem; color: #7A7266; margin-top: 1px; }
.review-stars { color: #F4B400; font-size: .85rem; letter-spacing: 1px; }
.review-text { font-size: .78rem; color: #5A4E4A; line-height: 1.6; font-style: italic; }

/* ─── RESENAS ─── */
.resenas-section { background: var(--cream); padding: 30px 5%; }
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1200px; margin: 0 auto; }
.rv-card { background: #fff; border: 1px solid rgba(57,46,44,.1); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.rv-header { display: flex; align-items: center; gap: 10px; }
.rv-avatar { width: 38px; height: 38px; border-radius: 50%; background: #392E2C; color: #EDE8D9; font-size: .9rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rv-name { font-size: .8rem; font-weight: 700; color: #392E2C; }
.rv-local { font-size: .68rem; color: #7A7266; margin-top: 1px; }
.rv-stars { color: #F4B400; font-size: .85rem; letter-spacing: 1px; }
.rv-text { font-size: .78rem; color: #5A4E4A; line-height: 1.6; font-style: italic; }

/* ─── BLOG ─── */
.blog-section { background: var(--cream); padding: 40px 5%; }
.blog-inner { max-width: 1200px; margin: 0 auto; }
.blog-header { text-align: center; margin-bottom: 1.5rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.blog-loading { text-align: center; color: #7A7266; padding: 40px; grid-column: 1/-1; font-size: .9rem; }
.blog-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 16px rgba(57,46,44,.08); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; text-decoration: none; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(57,46,44,.14); }
.blog-img-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.04); }
.blog-img-placeholder { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--dark2) 0%, #3d2017 50%, var(--dark2) 100%); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.blog-date { font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.blog-title { font-family: 'Abril Fatface', serif; font-size: 1.05rem; color: #392E2C; line-height: 1.3; letter-spacing: 0.02em; }
.blog-title a { text-decoration: none; color: inherit; }
.blog-title a:hover { color: var(--gold); }
.blog-excerpt { font-size: .78rem; color: #7A7266; line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-link { font-size: .72rem; font-weight: 700; color: #392E2C; text-decoration: none; letter-spacing: .04em; margin-top: 4px; }
.blog-link:hover { color: var(--gold); }
.blog-cta-wrap { text-align: center; margin-top: 1.5rem; }
.blog-thumb { width: 100%; height: 200px; object-fit: cover; background: #EDE8D9; display: block; }
.blog-thumb-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, #EDE8D9, #D8C8A8); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }

/* ─── BLOG MODAL ─── */
.blog-modal-overlay { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(36,28,26,.7); backdrop-filter: blur(6px); overflow-y: auto; padding: 40px 20px; }
.blog-modal-overlay.active { display: flex; justify-content: center; align-items: flex-start; }
.blog-modal { background: var(--cream); max-width: 780px; width: 100%; border-radius: 18px; overflow: hidden; position: relative; animation: blogModalIn .35s ease; }
@keyframes blogModalIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.blog-modal-close { position: absolute; top: 16px; right: 20px; background: rgba(255,255,255,.15); border: none; color: var(--cream); font-size: 1.6rem; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 2; }
.blog-modal-close:hover { background: rgba(255,255,255,.3); }
.blog-modal .bm-hero { background: var(--dark2); padding: 60px 40px 40px; text-align: center; }
.blog-modal .bm-hero-label { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 1rem; }
.blog-modal .bm-hero h1 { font-family: 'Abril Fatface', serif; font-size: clamp(1.6rem, 4vw, 2.8rem); color: var(--cream); line-height: 1.15; max-width: 660px; margin: 0 auto .8rem; }
.blog-modal .bm-hero-meta { font-size: .78rem; color: rgba(237,232,217,.45); }
.blog-modal .bm-content { max-width: 660px; margin: 0 auto; padding: 48px 40px 56px; }
.blog-modal .bm-content p { font-size: .92rem; color: var(--mid); line-height: 1.95; margin-bottom: 1.4rem; font-weight: 300; }
.blog-modal .bm-content h2 { font-family: 'Abril Fatface', serif; font-size: 1.45rem; color: var(--dark); margin: 2.2rem 0 .9rem; line-height: 1.2; }
.blog-modal .bm-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin: 1.8rem 0 .7rem; }
.blog-modal .bm-content strong { color: var(--dark); font-weight: 600; }
.blog-modal .bm-content ul { margin: 0 0 1.4rem 1.5rem; }
.blog-modal .bm-content li { font-size: .88rem; color: var(--mid); line-height: 1.8; margin-bottom: .4rem; }
.blog-modal .bm-cta { background: var(--gold); text-align: center; padding: 48px 40px; }
.blog-modal .bm-cta h2 { font-family: 'Abril Fatface', serif; font-size: 1.5rem; color: var(--dark); margin-bottom: .8rem; }
.blog-modal .bm-cta p { color: rgba(57,46,44,.65); margin-bottom: 1.2rem; font-size: .88rem; }
.blog-modal .bm-cta a { background: var(--dark); color: var(--cream); padding: .8rem 1.8rem; border-radius: 40px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: all .25s; display: inline-block; }
.blog-modal .bm-cta a:hover { background: var(--dark2); transform: translateY(-2px); }

/* ─── CONTACTO / FORM ─── */
.contacto-section { background: var(--cream); padding: 55px 5%; }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1100px; margin: 3rem auto 0; }
.contacto-form { display: flex; flex-direction: column; gap: 1.2rem; }
.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  font-family: 'Montserrat', sans-serif;
  padding: 1rem 1.2rem;
  border: 1.5px solid rgba(57,46,44,.15);
  border-radius: 8px;
  font-size: .88rem;
  background: var(--white);
  color: var(--dark);
  transition: border-color .2s;
}
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contacto-form textarea { min-height: 150px; resize: vertical; }
.contacto-form .btn-primary { border: none; cursor: pointer; justify-content: center; }
.contacto-info h3 { font-family: 'Abril Fatface', serif; font-size: 1.3rem; color: var(--dark); margin-bottom: 1.5rem; }
.contacto-info-item { margin-bottom: 1.5rem; }
.contacto-info-item h4 { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .4rem; }
.contacto-info-item p, .contacto-info-item a { font-size: .88rem; color: var(--mid); line-height: 1.7; text-decoration: none; }
.contacto-info-item a:hover { color: var(--gold); }

/* ─── SUBPAGE BG (body-wide fixed image + overlay) ─── */
body.bg-fixed { background-attachment: fixed; background-size: cover; background-position: center; background-repeat: no-repeat; }
body.bg-fixed .page-header,
body.bg-fixed .carta-section,
body.bg-fixed .locales,
body.bg-fixed .locales-section,
body.bg-fixed .restaurantes-section,
body.bg-fixed .historia,
body.bg-fixed .promos-section,
body.bg-fixed .franquicias-section,
body.bg-fixed .contacto-section,
body.bg-fixed .blog-section,
body.bg-fixed .manifesto-section { background: transparent !important; }
body.bg-fixed .carta-section::before,
body.bg-fixed .page-header::before { display: none !important; }
/* Promo cards get their own bg image; stretch + content at bottom */
body.bg-fixed .promo-card { min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; background: rgba(0,0,0,.4); }
body.bg-fixed .promo-card .promo-info { padding: 1.6rem 1.8rem 1.8rem; }
body.bg-fixed .promo-card .promo-desc { color: rgba(237,232,217,.85); }
/* Tighten gap below page-header on subpages */
body.bg-fixed main > section + section { padding-top: 1rem; }
/* /nosotros/ + /en/about-us/ — darken the page-header overlay so the title reads on the pizza bg */
body.about-page .page-header {
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.55)) !important;
}
/* /carta/ + /en/menu/ — halve vertical breathing room around header → categories → destacados */
body.menu-page .page-label { margin-bottom: .6rem; }
body.menu-page .page-header { padding-bottom: 1rem; }
body.bg-fixed.menu-page main > section + section { padding-top: 1rem; }
body.menu-page .carta-categories { margin-bottom: 1.5rem; }
body.menu-page .carta-header { margin-bottom: 1rem; }
body.menu-page .carta-destacados { padding-top: 1.5rem; }
body.menu-page .carta-sub { margin-bottom: 1rem; }
/* Bump card bg on /restaurantes/ for legibility over darker overlay */
body.bg-fixed .local-card { background-color: rgba(0,0,0,.78); }

/* ─── PAGE HEADER (inner pages) ─── */
.page-header {
  background: var(--dark2); padding: 120px 5% 1rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(216,164,96,.1) 0%, transparent 50%);
  z-index: 0; pointer-events: none;
}
.page-header > * { position: relative; z-index: 1; }
.page-header .section-label { color: var(--gold); }
.page-header .section-title { color: var(--cream); margin-bottom: .5rem; }
/* /nosotros/ + /en/about-us/: header con fondo claro (igual a sección Historia) → título oscuro */
.page-header-historia .page-title { color: var(--dark); }
.page-header-desc { color: rgba(237,232,217,.6); max-width: 550px; margin: 0 auto; line-height: 1.8; font-size: .95rem; font-weight: 300; }

/* ─── LEGAL PAGES ─── */
.legal-content { max-width: 800px; margin: 0 auto; padding: 40px 5%; }
.legal-content h2 { font-family: 'Abril Fatface', serif; font-size: 1.5rem; color: var(--dark); margin: 2rem 0 1rem; }
.legal-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 1.5rem 0 .8rem; }
.legal-content p { font-size: .9rem; color: var(--mid); line-height: 1.9; margin-bottom: 1rem; }
.legal-content ul { margin: 0 0 1rem 1.5rem; }
.legal-content li { font-size: .88rem; color: var(--mid); line-height: 1.8; margin-bottom: .3rem; }
.legal-content a { color: var(--gold); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* ─── SUBPAGE: NOSOTROS TIMELINE ─── */
.historia-section { background: var(--cream); padding: 40px 0 30px; position: relative; overflow: hidden; }
.historia-section::before { content: ''; position: absolute; inset: 0; background: rgba(237,232,217,0.83); z-index: 0; pointer-events: none; }
.historia-section > *, .historia-inner { position: relative; z-index: 1; }

.timeline {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 2rem;
  padding: 2rem 4%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  cursor: grab;
}
.timeline:active { cursor: grabbing; }
.timeline::-webkit-scrollbar { height: 4px; }
.timeline::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.timeline-item {
  flex: 0 0 220px;
  min-width: 220px;
}

.timeline-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(216,164,96,.4);
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.timeline-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(57,46,44,.2); }
.timeline-item.highlight .timeline-card { border-color: var(--gold); border-width: 2px; box-shadow: 0 0 20px rgba(216,164,96,.3); }

.timeline-img {
  width: 100%; height: 120px; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(216,164,96,.15), rgba(57,46,44,.1));
}
.timeline-img img { width: 100%; height: 100%; object-fit: cover; }

.timeline-content { padding: 14px 12px; flex: 1; display: flex; flex-direction: column; }
.timeline-year {
  font-family: 'Abril Fatface', serif; font-size: 1.3rem; color: var(--gold);
  display: block; margin-bottom: 6px;
}
.timeline-text { font-size: .78rem; line-height: 1.5; color: rgba(57,46,44,.7); margin-bottom: 6px; flex: 1; }
.timeline-location { font-weight: 700; color: var(--dark); font-size: .72rem; display: block; margin-top: auto; }

.historia-section .historia-frase { text-align: center; margin-top: 2rem; padding: 0 5%; }
.historia-section .frase-grande {
  font-family: 'Great Vibes', cursive; font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--dark); opacity: .9;
}
.historia-section .frase-grande span { font-family: 'Abril Fatface', serif; font-size: 1.2em; color: var(--gold); font-style: normal; }

/* ─── SUBPAGE: NOSOTROS MANIFESTO ─── */
.manifesto-section { background: var(--dark2); padding: 50px 5%; text-align: center; }
.manifesto-inner { max-width: 800px; margin: 0 auto; }
.manifesto-title {
  font-family: 'Abril Fatface', serif; font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream); margin-bottom: 2rem;
}
.manifesto-text {
  color: rgba(237,232,217,.6); line-height: 2; font-size: .95rem; font-weight: 300;
  margin-bottom: 1.5rem;
}
.manifesto-values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem;
}
.manifesto-value {
  background: rgba(237,232,217,.04); border: 1px solid rgba(216,164,96,.15);
  border-radius: 12px; padding: 2rem 1.5rem; transition: all .3s;
}
.manifesto-value:hover { border-color: var(--gold); transform: translateY(-4px); }
.manifesto-value h3 {
  font-family: 'Abril Fatface', serif; font-size: 1.15rem;
  color: var(--gold); margin-bottom: .6rem;
}
.manifesto-value p { font-size: .84rem; color: rgba(237,232,217,.5); line-height: 1.7; }
@media (max-width: 640px) {
  .manifesto-values { grid-template-columns: 1fr; }
}

/* ─── SUBPAGE: RESTAURANTES (ES locales-section + EN restaurantes-section) ─── */
.locales-section, .restaurantes-section { background: var(--dark2); padding: 40px 5% 50px; }
.locales-inner, .restaurantes-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; max-width: 1400px; margin: 0 auto; padding: 0 2rem;
}
.local-card, .restaurante-card {
  background: rgba(0,0,0,0.78); padding: 1.5rem;
  position: relative; overflow: hidden;
  transition: all .3s; display: flex; flex-direction: column;
  backdrop-filter: blur(6px);
  border-radius: 8px;
  border: 1px solid rgba(216,164,96,0.28);
}
.local-card:hover, .restaurante-card:hover { background: rgba(0,0,0,0.85); }
.local-img, .restaurante-img {
  width: 100%; height: 180px; overflow: hidden;
  background: linear-gradient(135deg, var(--dark2) 0%, #3d2017 50%, var(--dark2) 100%);
}
.local-img img, .restaurante-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.local-card:hover .local-img img, .restaurante-card:hover .restaurante-img img { transform: scale(1.05); }
.local-info, .restaurante-info { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.local-info h3, .restaurante-info h2 {
  font-family: 'Abril Fatface', serif; font-size: 1.4rem; color: var(--cream);
  margin-bottom: .5rem; line-height: 1.15;
}
.local-city, .restaurante-city {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: .6rem; display: block;
}
.local-address, .restaurante-address { font-size: .85rem; color: rgba(255,255,255,.95); line-height: 1.6; margin-bottom: 1rem; }
.local-rating, .restaurante-rating { font-size: .82rem; color: var(--gold); font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.local-stars { color: #FFC107; }
.local-reviews { color: rgba(255,255,255,.9); font-weight: 400; }
.local-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.local-tag { font-size: .66rem; padding: .25rem .75rem; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; color: rgba(255,255,255,.95); letter-spacing: .05em; }
.local-buttons, .restaurante-btns { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.local-btn-primary {
  display: block; text-align: center; padding: 10px 12px; border-radius: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; transition: opacity .2s;
  background: var(--gold); color: var(--dark);
}
.local-btn-wa {
  display: block; text-align: center; padding: 10px 12px; border-radius: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; transition: opacity .2s;
  background: #25D366; color: #fff;
}
.local-btn-primary:hover, .local-btn-wa:hover { opacity: .85; }
.restaurante-btns .btn { font-size: .75rem; padding: .7rem 1rem; text-align: center; display: block; }

/* ─── SUBPAGE: CARTA / EN MENU ─── */
.carta-nav {
  display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap;
  padding: 2rem 5%; background: var(--dark2); position: sticky; top: 0; z-index: 50;
}
.carta-tab {
  padding: .6rem 1.4rem; border: 2px solid rgba(237,232,217,.15);
  border-radius: 30px; font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(237,232,217,.6); text-decoration: none; transition: all .2s;
}
.carta-tab:hover, .carta-tab.active { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.carta-category { padding: 3rem 5% 2rem; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.carta-category-title {
  font-family: 'Abril Fatface', serif; font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cream); margin-bottom: .6rem;
}
.carta-category-desc { font-size: .9rem; color: rgba(237,232,217,.55); line-height: 1.7; margin-bottom: 2rem; max-width: 600px; }
.carta-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem; margin-bottom: 2rem;
}
.carta-item {
  background: rgba(237,232,217,.06); padding: 1.8rem; border-radius: 4px;
  border: 1px solid rgba(237,232,217,.08); transition: all .25s;
}
.carta-item:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.carta-item h3 { font-family: 'Abril Fatface', serif; font-size: 1.05rem; color: var(--cream); margin-bottom: .4rem; }
.carta-item p { font-size: .82rem; color: rgba(237,232,217,.5); line-height: 1.65; }
.carta-note { text-align: center; font-size: .8rem; color: rgba(237,232,217,.4); font-style: italic; padding: 2rem 5%; position: relative; z-index: 1; }

/* ES carta subpage specific */
.carta-categories { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin: 0 auto 3rem; }
.carta-cat {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .75rem 1.6rem; border: 1px solid rgba(216,164,96,.45);
  border-radius: 40px; font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream); background: rgba(36,28,26,.55);
  text-decoration: none; transition: all .25s; cursor: default;
}
.carta-cat:hover, .carta-cat.active { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.carta-header { display: block; text-align: center; margin-bottom: 2rem; padding-bottom: 0; border-bottom: none; grid-template-columns: none; }
.carta-sub { font-family: 'Abril Fatface', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: #FAF3E8; letter-spacing: .05em; line-height: 1.2; margin: 0 0 2rem; text-align: center; }
.carta-destacados { padding: 3rem 5%; max-width: 1100px; margin: 0 auto; }
.carta-destacados .carta-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .carta-destacados .carta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .carta-destacados .carta-grid { grid-template-columns: 1fr; } }
.carta-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(57,46,44,.07); transition: all .25s;
}
.carta-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(57,46,44,.08); }
.carta-card-img { width: 100%; height: 160px; overflow: hidden; background: rgba(57,46,44,.05); }
.carta-card-img img { width: 100%; height: 100%; object-fit: cover; }
.carta-card-info { padding: 1.2rem; }
.carta-card-info h3 { font-family: 'Abril Fatface', serif; font-size: 1rem; color: var(--dark); margin-bottom: .3rem; }
.carta-card-info p { font-size: .8rem; color: var(--mid); line-height: 1.6; }
.carta-sucursales { text-align: center; padding: 3rem 5%; }
.carta-links-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 1.5rem; }
.carta-link-card {
  background: #8B2020; color: #fff; padding: 14px 28px; border-radius: 50px;
  text-decoration: none; font-size: .8rem; font-weight: 600; transition: all .2s;
  text-align: center; min-width: 140px;
}
.carta-link-card:hover { background: #6B1616; transform: translateY(-2px); }
.carta-link-name { display: block; }
.carta-link-city { display: block; font-size: .65rem; opacity: .7; }

/* ─── EN HOME: hero-stat classes (different from index.html stat classes) ─── */
.hero-stat { text-align: center; }
.hero-stat-number { font-family: 'Abril Fatface', serif; font-size: 2.4rem; color: var(--gold); line-height: 1; display: block; }
.hero-stat-label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(237,232,217,.65); margin-top: .35rem; display: block; }
.hero-line { display: block; }
.hero-desc {
  font-size: clamp(.9rem, 2vw, 1.1rem); color: rgba(237,232,217,.92);
  max-width: 520px; margin: 0 auto 1.6rem; line-height: 1.8; font-weight: 300;
}

/* ─── EN HOME: resena-* classes (different from rv-* in index) ─── */
.resenas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1200px; margin: 0 auto; }
.resena-card {
  background: #fff; border: 1px solid rgba(57,46,44,.1); border-radius: 14px;
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.resena-header { display: flex; align-items: center; gap: 10px; margin-bottom: .3rem; }
.resena-header strong { font-size: .85rem; color: #392E2C; }
.resena-location { font-size: .68rem; color: #7A7266; margin-left: auto; }
.resena-stars { color: #F4B400; font-size: .85rem; letter-spacing: 1px; }
.resena-text { font-size: .78rem; color: #5A4E4A; line-height: 1.6; font-style: italic; }
@media (max-width: 900px) { .resenas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .resenas-grid { grid-template-columns: 1fr; } }

/* ─── GENERIC .btn CLASSES (used in EN pages) ─── */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; padding: .8rem 1.8rem; border-radius: 50px; transition: all .25s; text-align: center; }
.btn.btn-primary { background: var(--gold); color: var(--dark); }
.btn.btn-primary:hover { background: var(--cream); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(216,164,96,.3); }
.btn.btn-outline { border: 2px solid rgba(237,232,217,.3); color: var(--cream); background: none; }
.btn.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── SUBPAGE: PAGE HEADER ─── */
.page-header {
  background: var(--dark2); padding: 120px 5% 1rem; text-align: center;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(216,164,96,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(216,164,96,.06) 0%, transparent 50%);
  z-index: 0; pointer-events: none;
}
.page-header > *, .page-header-inner { position: relative; z-index: 1; }
.page-label {
  display: inline-block; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: .6rem;
}
.page-title {
  font-family: 'Abril Fatface', serif; font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--cream); line-height: 1.05;
}

/* ─── SUBPAGE: FRANQUICIAS ─── */
.franquicias-section { background: var(--dark2); padding: 40px 5% 50px; }
.franquicias-inner { max-width: 1100px; margin: 0 auto; }
.franquicias-intro { text-align: center; margin-bottom: 2rem; }
.franquicias-text {
  color: rgba(237,232,217,.7); line-height: 1.9; font-size: .95rem; font-weight: 300;
  max-width: 700px; margin: 0 auto;
}
.franquicias-stats {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem;
}
.franquicia-stat {
  text-align: center; padding: 2rem 2.5rem;
  background: rgba(237,232,217,.04); border: 1px solid rgba(216,164,96,.2);
  border-radius: 12px; min-width: 140px; transition: all .3s;
}
.franquicia-stat:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(216,164,96,.15); }
.franquicia-stat .stat-number,
.franquicia-stat .stat-num {
  font-family: 'Abril Fatface', serif; font-size: 2.6rem; color: var(--gold); line-height: 1; display: block;
}
.franquicia-stat .stat-label {
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(237,232,217,.5); margin-top: .5rem; display: block;
}
.franquicias-sub {
  font-family: 'Abril Fatface', serif; font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--cream); text-align: center; margin-bottom: 1.25rem;
}
.franquicias-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px; background: rgba(216,164,96,.1); border: 1.5px solid rgba(216,164,96,.1);
  margin-bottom: 1.5rem;
}
.franquicia-card {
  background: var(--dark2); padding: 2.4rem 2rem;
  transition: all .3s; position: relative; overflow: hidden;
}
.franquicia-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold);
  transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.franquicia-card:hover::after { transform: scaleX(1); }
.franquicia-card:hover { background: rgba(216,164,96,.08); }
.franquicia-name,
.franquicia-card h3 {
  font-family: 'Abril Fatface', serif; font-size: 1.25rem;
  color: var(--gold); margin-bottom: .6rem;
}
.franquicia-desc,
.franquicia-card p {
  font-size: .86rem; color: rgba(237,232,217,.5); line-height: 1.75; margin-bottom: 1rem;
}
.franquicia-price,
.franquicia-card span:last-child {
  font-size: .8rem; font-weight: 700; color: var(--cream); letter-spacing: .05em;
}
.franquicias-soporte {
  text-align: center; max-width: 700px; margin: 0 auto 1.5rem;
}
.franquicias-soporte p {
  color: rgba(237,232,217,.5); line-height: 1.9; font-size: .9rem; font-weight: 300;
}
.franquicias-cta { text-align: center; margin-top: 1rem; }
.franquicias-btn {
  display: inline-block; background: var(--gold); color: var(--dark);
  padding: 1rem 2.8rem; border-radius: 50px;
  font-weight: 700; font-size: .88rem; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  transition: all .25s;
}
.franquicias-btn:hover { background: var(--cream); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(216,164,96,.3); }

/* Franquicias EN overrides (same classes, different wrapper names) */
.franquicias-page { background: var(--dark2); padding: 40px 5% 50px; }
.franquicias-page .franquicias-intro-section { text-align: center; margin-bottom: 1.5rem; }
.franquicias-page .franquicias-intro {
  color: rgba(237,232,217,.7); line-height: 1.9; font-size: .95rem; font-weight: 300;
  max-width: 700px; margin: 0 auto;
}
.franquicias-page .franquicias-stats {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem;
}
.franquicias-page .franq-stat {
  text-align: center; padding: 2rem 2.5rem;
  background: rgba(237,232,217,.04); border: 1px solid rgba(216,164,96,.2);
  border-radius: 12px; min-width: 140px; transition: all .3s;
}
.franquicias-page .franq-stat:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(216,164,96,.15); }
.franquicias-page .franq-stat-num { font-family: 'Abril Fatface', serif; font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; }
.franquicias-page .franq-stat-label { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(237,232,217,.5); margin-top: .5rem; display: block; }
.franquicias-models-section { margin-bottom: 1.5rem; }
.franquicias-models-section h2 { font-family: 'Abril Fatface', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--cream); text-align: center; margin-bottom: 1.25rem; }
.franquicias-models {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px; background: rgba(216,164,96,.1); border: 1.5px solid rgba(216,164,96,.1);
}
.franq-card { background: var(--dark2); padding: 2.4rem 2rem; transition: all .3s; position: relative; overflow: hidden; }
.franq-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.franq-card:hover::after { transform: scaleX(1); }
.franq-card:hover { background: rgba(216,164,96,.08); }
.franq-card-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.franq-card-title { font-family: 'Abril Fatface', serif; font-size: 1.2rem; color: var(--gold); margin-bottom: .5rem; }
.franq-card-body { font-size: .84rem; color: rgba(237,232,217,.5); line-height: 1.7; margin-bottom: 1rem; }
.franq-card-price { font-size: .78rem; font-weight: 700; color: var(--cream); letter-spacing: .05em; }
.franquicias-support-section { text-align: center; max-width: 700px; margin: 1.5rem auto; }
.franquicias-support-section h3, .franquicias-page h3 { font-family: 'Abril Fatface', serif; font-size: 1.4rem; color: var(--cream); margin-bottom: 1rem; }
.franquicias-page .franquicias-support { color: rgba(237,232,217,.5); line-height: 1.9; font-size: .9rem; font-weight: 300; text-align: center; max-width: 700px; margin: 0 auto 2rem; }
.franquicias-page .franq-cta-wrap, .franquicias-page .franquicias-cta { text-align: center; }
.franquicias-page .btn-primary { display: inline-block; }
.franq-stat-number { font-family: 'Abril Fatface', serif; font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; }
.franq-model-card {
  background: var(--dark2); padding: 2.4rem 2rem;
  transition: all .3s; position: relative; overflow: hidden;
}
.franq-model-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.franq-model-card:hover::after { transform: scaleX(1); }
.franq-model-card:hover { background: rgba(216,164,96,.08); }
.franq-model-card h3 { font-family: 'Abril Fatface', serif; font-size: 1.2rem; color: var(--gold); margin-bottom: .5rem; }
.franq-model-card p { font-size: .84rem; color: rgba(237,232,217,.5); line-height: 1.7; margin-bottom: 1rem; }
.franq-model-card span { font-size: .78rem; font-weight: 700; color: var(--cream); letter-spacing: .05em; }
.franq-benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin: 1rem 0 1.5rem;
}
.franq-benefit {
  background: rgba(237,232,217,.04); border: 1px solid rgba(216,164,96,.15);
  border-radius: 12px; padding: 2rem 1.5rem; text-align: center; transition: all .3s;
}
.franq-benefit:hover { border-color: var(--gold); transform: translateY(-4px); }
.franq-benefit h4 { font-family: 'Abril Fatface', serif; font-size: 1rem; color: var(--gold); margin-bottom: .5rem; }
.franq-benefit p { font-size: .82rem; color: rgba(237,232,217,.5); line-height: 1.7; }

/* ─── FRANCHISE FORM ─── */
.franq-form-wrap {
  max-width: 900px; margin: 0 auto;
  background: rgba(26,26,26,.6); border: 1px solid rgba(216,164,96,.15);
  border-radius: 16px; padding: 3rem 2.5rem;
}
.franq-form-title {
  font-family: 'Abril Fatface', serif; font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cream); text-align: center; margin-bottom: .6rem;
}
.franq-form-sub {
  text-align: center; color: rgba(237,232,217,.5); font-size: .9rem;
  margin-bottom: 1.25rem; font-weight: 300;
}
.franq-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
}
.franq-field { display: flex; flex-direction: column; gap: .4rem; }
.franq-field-full { margin-top: 1.4rem; }
.franq-field label {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold);
}
.franq-form input,
.franq-form select,
.franq-form textarea {
  font-family: 'Montserrat', sans-serif;
  padding: .9rem 1.1rem; border: 1.5px solid rgba(216,164,96,.18);
  border-radius: 8px; font-size: .86rem;
  background: #2a2a2a; color: var(--cream);
  transition: border-color .2s, box-shadow .2s;
}
.franq-form input::placeholder,
.franq-form textarea::placeholder { color: rgba(237,232,217,.3); }
.franq-form input:focus,
.franq-form select:focus,
.franq-form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216,164,96,.12);
}
.franq-form select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D8A460' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.franq-form select option { background: #2a2a2a; color: var(--cream); }
.franq-form textarea { min-height: 110px; resize: vertical; }
.franq-form-actions { text-align: center; margin-top: 1rem; }
.franq-submit {
  background: var(--gold); color: var(--dark); border: none; cursor: pointer;
  padding: 1rem 3rem; border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .88rem; letter-spacing: .08em;
  text-transform: uppercase; transition: all .25s;
}
.franq-submit:hover { background: var(--cream); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(216,164,96,.3); }
.franq-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.franq-form-msg {
  text-align: center; margin-top: 1.2rem; font-size: .85rem; font-weight: 600;
  min-height: 1.5em;
}
.franq-form-msg.success { color: #4CAF50; }
.franq-form-msg.error { color: #ff6b6b; }
@media (max-width: 640px) {
  .franq-form-grid { grid-template-columns: 1fr; }
  .franq-form-wrap { padding: 2rem 1.5rem; }
}

/* ─── SUBPAGE: PROMOCIONES ─── */
.promos-section { background: var(--dark2); padding: 40px 5% 50px; }
.promos-inner { max-width: 1300px; margin: 0 auto; }
.promos-section .promos-grid,
.promos-page-section .promos-grid,
.promos-page-section {
  background: var(--dark2); padding: 40px 5% 50px;
}
.promos-section .promos-grid,
.promos-page-section .promos-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; max-width: 1300px; margin: 0 auto; padding: 0;
}
@media (max-width: 1100px) {
  .promos-section .promos-grid,
  .promos-page-section .promos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .promos-section .promos-grid,
  .promos-page-section .promos-grid { grid-template-columns: 1fr; }
}
.promo-card {
  background: rgba(237,232,217,.04); border: 1px solid rgba(237,232,217,.08);
  border-radius: 16px; overflow: hidden;
  transition: all .3s; position: relative;
}
.promo-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gold); transform: scaleX(0);
  transition: transform .3s; transform-origin: left; z-index: 2;
}
.promo-card:hover::before { transform: scaleX(1); }
.promo-card:hover { border-color: rgba(216,164,96,.25); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.promo-card > .promo-badge,
.promo-card > .promo-icon,
.promo-card > h3,
.promo-card > p,
.promo-card > a { margin-left: 2rem; margin-right: 2rem; }
.promo-card > .promo-badge { margin-top: 2rem; }
.promo-card > a:last-child { margin-bottom: 2rem; }
.promo-img {
  width: 100%; height: 200px; overflow: hidden;
  background: linear-gradient(135deg, rgba(216,164,96,.15) 0%, rgba(57,46,44,.3) 100%);
  display: flex; align-items: center; justify-content: center;
}
.promo-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-info { padding: 2rem; }
.promo-badge {
  display: inline-block; background: var(--gold); color: var(--dark);
  font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 20px; margin-bottom: 1rem;
}
.promo-icon { font-size: 2.8rem; margin-bottom: 1rem; display: block; }
.promo-title,
.promo-card h3 {
  font-family: 'Abril Fatface', serif; font-size: 1.5rem;
  color: var(--cream); margin-bottom: .6rem; line-height: 1.15;
}
.promo-desc,
.promo-card > p,
.promo-info p {
  font-size: .88rem; color: rgba(237,232,217,.5); line-height: 1.75; margin-bottom: 1.5rem;
}
.promo-btn,
.promo-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--dark);
  padding: .7rem 1.6rem; border-radius: 40px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  transition: all .25s;
}
.promo-btn:hover, .promo-cta:hover { background: var(--cream); transform: translateY(-2px); }
.promos-note {
  text-align: center; margin-top: 1.5rem;
  font-size: .78rem; color: rgba(237,232,217,.3); font-style: italic;
}

/* Promo cards: small-print conditions + button-as-promo-btn reset */
.promo-card .promo-conditions {
  font-size: .72rem; color: rgba(237,232,217,.7);
  line-height: 1.55; margin-top: -.6rem; margin-bottom: 1.2rem;
  font-style: italic;
}
button.promo-btn { border: none; cursor: pointer; font-family: inherit; }

/* ─── PROMO MODALS (booking + menus) ─── */
.promo-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(14,8,6,0.85);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  overflow-y: auto; padding: 40px 20px;
}
.promo-modal-overlay.active { display: flex; justify-content: center; align-items: flex-start; }
.promo-modal {
  background: var(--dark2); max-width: 560px; width: 100%;
  border: 1px solid rgba(216,164,96,0.25); border-radius: 16px;
  padding: 48px 40px 40px; position: relative;
  animation: promoModalIn .3s ease;
}
.promo-modal-wide { max-width: 880px; }
@keyframes promoModalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.promo-modal-close {
  position: absolute; top: 16px; right: 20px;
  background: rgba(255,255,255,0.08); border: none; color: var(--cream);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; padding: 0;
}
.promo-modal-close:hover { background: rgba(255,255,255,0.18); }
.promo-modal-title {
  font-family: 'Abril Fatface', serif; font-size: 1.8rem;
  color: var(--cream); margin: 0 0 .4rem; text-align: center; line-height: 1.15;
}
.promo-modal-sub {
  font-size: .85rem; color: rgba(237,232,217,0.6);
  text-align: center; margin: 0 0 2rem; line-height: 1.5;
}
.promo-modal-locales { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.promo-modal-local {
  display: flex; flex-direction: column; gap: .35rem;
  padding: 1.4rem 1rem; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(216,164,96,0.2); border-radius: 12px;
  text-decoration: none; text-align: center; transition: all .2s;
}
.promo-modal-local:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.promo-modal-local .loc-name {
  font-family: 'Abril Fatface', serif; font-size: 1.3rem;
  color: var(--cream); line-height: 1.1;
}
.promo-modal-local:hover .loc-name { color: var(--dark); }
.promo-modal-local .loc-city {
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.promo-modal-local:hover .loc-city { color: rgba(57,46,44,.7); }

/* ─── DELIVERY MODAL — lista de locales (Glovo / Uber Eats) ─── */
.delivery-locales-list { display: flex; flex-direction: column; gap: .8rem; }
.delivery-local {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(216,164,96,0.2);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.delivery-local h4 {
  font-family: 'Abril Fatface', serif; font-weight: 400;
  font-size: 1.05rem; color: var(--cream);
  margin: 0 0 .7rem; text-align: center;
}
.delivery-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.delivery-platforms a {
  display: flex; align-items: center; justify-content: center;
  padding: .6rem .5rem; min-height: 44px;
  border-radius: 9px; text-decoration: none;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  transition: transform .15s ease;
}
.delivery-platforms a:active { transform: scale(.96); }
.delivery-glovo { background: #FFC244; color: #1a1a1a; }
.delivery-uber  { background: #06C167; color: #ffffff; }

/* ─── HERO MOBILE LAYOUT + ACTIONS + PIZZA FLOTANTE ─── */
.hero-actions-mobile { display: none; }
/* Pizza flotante — emoji girando con glow pulsante (mobile + desktop) */
.spinning-pizza {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #E8C87A 0%, #C5A572 50%, #A88B5C 100%);
  border-radius: 50%;
  box-shadow:
    0 4px 20px rgba(197, 165, 114, 0.5),
    0 0 0 2px rgba(255, 255, 255, 0.15),
    inset 0 1px 3px rgba(255, 255, 255, 0.3);
  z-index: 9990;
  cursor: pointer;
  pointer-events: auto;
  transition: transform .28s ease, opacity .28s ease;
  animation: pizzaGlowPulse 2s ease-in-out infinite;
}
.spinning-pizza:hover  { transform: translateY(-50%) scale(1.12); }
.spinning-pizza:active { transform: translateY(-50%) scale(1.04); }
.spinning-pizza.chat-open {
  opacity: 0;
  transform: translateY(-50%) scale(0);
  pointer-events: none;
}
.pizza-dot {
  position: absolute; top: 2px; right: 2px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #46c46a; border: 2px solid #fff;
}
.pizza-dot::after {
  content: ''; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid #46c46a; animation: ppchat-ping 1.9s ease-out infinite;
}
/* Nubecita de invitación de Pepe — discreta */
.pepe-hint {
  position: fixed;
  right: 96px; top: 50%;
  z-index: 9989;
  display: flex; align-items: center; gap: 8px;
  background: var(--cream); color: var(--dark);
  font-family: 'Montserrat', sans-serif; font-size: .82rem; font-weight: 600;
  padding: 10px 13px; border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  max-width: 210px;
  opacity: 0;
  transform: translateY(-50%) translateX(12px);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.pepe-hint.show {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}
.pepe-hint::after {
  content: ''; position: absolute;
  right: -6px; top: 50%; transform: translateY(-50%);
  border: 7px solid transparent; border-right: 0;
  border-left-color: var(--cream);
}
.pepe-hint-text { cursor: pointer; line-height: 1.3; }
.pepe-hint-x {
  background: none; border: none; cursor: pointer;
  color: var(--dark); opacity: .4; font-size: .68rem;
  padding: 2px; flex-shrink: 0; line-height: 1;
}
.pepe-hint-x:hover { opacity: .85; }
@media (max-width: 480px) {
  .pepe-hint { right: 76px; max-width: 158px; font-size: .78rem; padding: 9px 11px; }
}
@media (min-width: 769px) {
  .spinning-pizza { right: 1.5rem; width: 60px; height: 60px; }
  .pizza-emoji { font-size: 1.8rem; }
}
.pizza-emoji {
  font-size: 1.5rem;
  line-height: 1;
  display: inline-block;
  will-change: transform;
}
/* En desktop los wrappers son transparentes: no alteran el layout existente */
.hero-top, .hero-bottom { display: contents; }
@keyframes pizzaGlowPulse {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(197,165,114,0.5),
      0 0 0 2px rgba(255,255,255,0.15),
      inset 0 1px 3px rgba(255,255,255,0.3);
  }
  50% {
    box-shadow:
      0 6px 32px rgba(197,165,114,0.85),
      0 0 0 4px rgba(197,165,114,0.25),
      inset 0 1px 3px rgba(255,255,255,0.3);
  }
}
@media (max-width: 768px) {
  /* Hero: grupo superior arriba, grupo inferior abajo, video visible al centro */
  .hero-content {
    display: flex; flex-direction: column;
    justify-content: space-between;
    width: 100%; max-width: 100%;
  }
  .hero-top { display: block; flex-shrink: 0; }
  .hero-bottom {
    display: flex; flex-direction: column;
    gap: 1.2rem; flex-shrink: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .hero-actions-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%; padding: 0;
  }
  .hero-action-btn {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.4rem;
    padding: 0.9rem 0.5rem;
    background: rgba(197,165,114,0.18);
    border: 1px solid rgba(197,165,114,0.55);
    border-radius: 14px;
    color: #EDE8D9; text-decoration: none;
    min-height: 80px; cursor: pointer;
    transition: all 0.25s ease;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
  }
  .hero-action-btn:active {
    background: rgba(197,165,114,0.3);
    transform: scale(0.97);
  }
  .hero-action-icon { font-size: 1.4rem; line-height: 1; }
  .hero-action-label {
    font-size: 0.7rem; letter-spacing: 0.1em;
    text-transform: uppercase; font-weight: 600;
    color: #C5A572;
  }
  /* Ocultar los botones originales y el indicador scroll en mobile */
  .hero-btns { display: none !important; }
}

/* Menu tabs + image display */
.menu-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem;
  justify-content: center; margin-bottom: 1.5rem;
}
.menu-tab {
  padding: .55rem 1.1rem; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(216,164,96,0.2); border-radius: 30px;
  color: rgba(237,232,217,0.7); font-size: .82rem; font-weight: 500;
  font-family: 'Montserrat', sans-serif; cursor: pointer; transition: all .2s;
}
.menu-tab:hover { background: rgba(216,164,96,0.15); color: var(--cream); }
.menu-tab.active { background: var(--gold); border-color: var(--gold); color: var(--dark); font-weight: 700; }
.menu-display {
  background: rgba(0,0,0,0.3); border-radius: 12px; overflow: hidden;
  min-height: 400px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.menu-image { width: 100%; height: auto; display: block; }
.menu-fallback {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 20px; text-align: center; width: 100%; min-height: 400px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.menu-fallback p {
  font-family: 'Abril Fatface', serif; font-size: 1.5rem;
  color: rgba(237,232,217,0.6); margin: 0;
}

@media (max-width: 600px) {
  .promo-modal-locales { grid-template-columns: 1fr; }
  .promo-modal { padding: 40px 24px 32px; }
  .menu-tabs { gap: .35rem; }
  .menu-tab { font-size: .72rem; padding: .45rem .9rem; }
  .menu-display, .menu-fallback { min-height: 300px; }
  .menu-fallback p { font-size: 1.2rem; }
}

/* ─── SUBPAGE: CONTACTO ─── */
.contacto-section { background: var(--dark2); padding: 40px 5% 50px; }
.contacto-inner { max-width: 1100px; margin: 0 auto; }
.contacto-section .contacto-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  max-width: 1100px; margin: 0 auto;
}
.contacto-form-wrap h2, .contacto-info h2 {
  font-family: 'Abril Fatface', serif; font-size: 1.6rem;
  color: var(--cream); margin-bottom: 1rem;
}
.contacto-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
}
.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  font-family: 'Montserrat', sans-serif;
  padding: 1rem 1.2rem; border: 1.5px solid rgba(216,164,96,.2);
  border-radius: 8px; font-size: .88rem;
  background: rgba(237,232,217,.06); color: var(--cream);
  transition: border-color .2s;
}
.contacto-form input::placeholder,
.contacto-form textarea::placeholder { color: rgba(237,232,217,.35); }
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216,164,96,.1);
}
.contacto-form select { appearance: none; cursor: pointer; }
.contacto-form select option { background: var(--dark2); color: var(--cream); }
.contacto-form textarea { min-height: 140px; resize: vertical; }
.form-submit {
  background: var(--gold); color: var(--dark); border: none; cursor: pointer;
  padding: 1rem 2.4rem; border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .88rem; letter-spacing: .08em;
  text-transform: uppercase; transition: all .25s;
  align-self: flex-start;
}
.form-submit:hover { background: var(--cream); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(216,164,96,.3); }
.contacto-info h3 {
  font-family: 'Abril Fatface', serif; font-size: 1.3rem;
  color: var(--cream); margin: 2rem 0 1rem;
}
.contacto-dato, .contacto-item {
  margin-bottom: 1.5rem;
}
.contacto-dato h4, .contacto-item h4 {
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: .4rem;
}
.contacto-dato a, .contacto-dato p,
.contacto-item a, .contacto-item p {
  font-size: .88rem; color: rgba(237,232,217,.6); line-height: 1.7;
  text-decoration: none; display: block;
}
.contacto-dato a:hover, .contacto-item a:hover { color: var(--gold); }
.contacto-locales-info { margin-top: 1rem; }
.contacto-locales-info h3 {
  font-family: 'Abril Fatface', serif; font-size: 1.2rem;
  color: var(--cream); margin-bottom: 1.5rem;
}
.contacto-local {
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(237,232,217,.06);
}
.contacto-local:last-child { border-bottom: none; }
.contacto-local h4 {
  font-size: .78rem; font-weight: 700; color: var(--cream);
  margin-bottom: .3rem; letter-spacing: .04em;
}
.contacto-local p {
  font-size: .82rem; color: rgba(237,232,217,.4); line-height: 1.5; margin-bottom: .3rem;
}
.contacto-local a {
  font-size: .82rem; color: var(--gold); text-decoration: none; font-weight: 600;
}
.contacto-local a:hover { color: var(--cream); }

/* ─── SUBPAGE RESPONSIVE ─── */
@media (max-width: 768px) {
  .contacto-section .contacto-grid { grid-template-columns: 1fr; gap: 3rem; }
  .franquicias-stats { gap: 1rem; }
  .franquicia-stat { padding: 1.5rem 1.8rem; min-width: 120px; }
}

/* ─── 404 PAGE ─── */
.page-404 {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--dark2); text-align: center; padding: 5%;
}
.page-404 h1 { font-family: 'Abril Fatface', serif; font-size: clamp(6rem, 15vw, 12rem); color: var(--gold); line-height: 1; }
.page-404 p { color: rgba(237,232,217,.6); font-size: 1.1rem; margin: 1rem 0 2rem; }

/* ─── FOOTER ─── */
footer { background-color: #0d0d0d; background-image: url('/images/bg-footer-pattern.svg'); background-repeat: repeat; padding: 80px 5% 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(237,232,217,.07); }
.footer-logo { font-family: 'Abril Fatface', serif; font-size: 1.7rem; color: var(--cream); margin-bottom: 1rem; }
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: .83rem; color: rgba(237,232,217,.38); line-height: 1.85; max-width: 240px; }
.footer-social { display: flex; gap: .8rem; margin-top: 1.6rem; }
.social-link { width: 38px; height: 38px; border: 1px solid rgba(237,232,217,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: .8rem; font-weight: 700; color: rgba(237,232,217,.4); transition: all .2s; }
.social-link:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-col h4 { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .75rem; }
.footer-col a { text-decoration: none; font-size: .82rem; color: rgba(237,232,217,.38); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .73rem; color: rgba(237,232,217,.2); }
.hola-footer { font-family: 'Abril Fatface', serif; font-size: 1.1rem; color: rgba(237,232,217,.15); }
.footer-vocai {
  text-align: center; padding: 2rem 1rem 1.1rem; margin-top: 1.4rem;
  border-top: 1px solid rgba(237,232,217,.07);
}
.footer-vocai-label {
  display: block; font-size: .72rem; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(237,232,217,.4);
}
.footer-vocai-name {
  display: inline-block; margin-top: .45rem;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(2.2rem, 7.5vw, 4.6rem); letter-spacing: 0;
  line-height: 1; text-decoration: none;
  background: linear-gradient(95deg, #5F70F0 0%, #F26E7E 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transition: filter .2s;
}
.footer-vocai-name:hover { filter: brightness(1.13); }
.footer-vocai-ig {
  display: flex; justify-content: center; align-items: center; gap: .42rem;
  margin-top: .95rem; font-size: .84rem; letter-spacing: .02em;
  color: rgba(237,232,217,.55); text-decoration: none; transition: color .2s;
}
.footer-vocai-ig:hover { color: #F26E7E; }
.footer-vocai-ig svg { width: 18px; height: 18px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .locales-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .dif-grid { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-photo { min-height: 320px; }
  .locales-5 { grid-template-columns: repeat(2, 1fr); }
  .locales-6 { grid-template-columns: repeat(2, 1fr); }
  .carta-header { grid-template-columns: 1fr; text-align: center; }
  .carta-cats { justify-content: center; }
  .productos-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .rv-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .reservas-grid { grid-template-columns: repeat(3, 1fr); }
  .contacto-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-right .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stars-row { gap: 1rem; }
  .float-cta span.float-text { display: none; }
  /* Ocultar el CTA flotante en mobile — queda solo la pizza flotante */
  .float-cta { display: none !important; }
}
@media (max-width: 768px) {
  /* ─── TIMELINE HISTORIA → carrusel horizontal con snap (mobile) ─── */
  .tl-outer {
    overflow-x: auto; overflow-y: hidden;
    padding: 4px 0 6px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: default;
  }
  .tl-outer::-webkit-scrollbar { display: none; }
  .tl-track {
    flex-direction: row;
    min-width: 0; width: max-content;
    gap: 16px; padding: 16px;
    position: static;
  }
  /* Quitar línea de tiempo, puntos y conectores del diseño zigzag */
  .tl-track::before,
  .tl-conn-top, .tl-conn-bot, .tl-mid { display: none; }

  .tl-item {
    flex: 0 0 85vw; max-width: 340px;
    height: auto;
    display: flex; flex-direction: column;
    align-items: stretch;
    scroll-snap-align: center;
    background: #0d0d0d;
    border: none; box-shadow: none;
    border-radius: 18px;
    overflow: hidden;
  }
  /* Desenrollar los contenedores intermedios para reordenar el contenido */
  .tl-top, .tl-bot, .tl-card { display: contents; }
  .tl-top:empty, .tl-bot:empty { display: none; }

  /* Orden vertical idéntico en las 7 cards: imagen · año · texto · nombre */
  .tl-img  { order: 1; }
  .tl-year { order: 2; }
  .tl-text { order: 3; }
  .tl-name { order: 4; }

  .tl-img {
    width: 100%; height: auto !important;
    aspect-ratio: 4 / 3; object-fit: cover;
    display: block; margin: 0;
    border: none; border-radius: 0;
  }
  /* Año: centrado, dentro de la card, debajo de la imagen (sin offsets up/down) */
  .tl-year,
  .tl-item.up .tl-year,
  .tl-item.down .tl-year {
    transform: none; height: auto;
    font-family: 'Abril Fatface', serif;
    font-size: 1.6rem; font-weight: 700;
    line-height: 1; letter-spacing: .02em;
    color: #C5A572;
    background: none; box-shadow: none;
    border-radius: 0; white-space: normal;
    display: block; text-align: center;
    padding: 1.2rem 1rem .5rem; margin: 0;
  }
  .tl-text {
    font-size: .92rem; line-height: 1.5;
    color: #EDE8D9; text-align: center;
    padding: 0 1.5rem; margin: 0;
    display: block; overflow: visible;
    -webkit-line-clamp: unset; flex: none;
  }
  .tl-name {
    font-size: .85rem; font-weight: 700;
    letter-spacing: .02em;
    color: #C5A572; text-align: center;
    padding: .8rem 1rem 1.4rem; margin: 0;
    display: block;
  }

  /* Indicador de swipe — banner sólido dorado, encima del carrusel */
  .swipe-indicator {
    display: flex;
    align-items: center; justify-content: center;
    gap: 0.6rem;
    margin: 0 auto 1.5rem;
    padding: 0.9rem 1.4rem;
    background: linear-gradient(135deg, #D8B575 0%, #C5A572 50%, #A88B5C 100%);
    border-radius: 50px;
    width: fit-content; max-width: 92%;
    color: #1a0f0d;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    text-align: center;
    box-shadow: 0 6px 24px rgba(197,165,114,0.4), 0 0 0 1px rgba(197,165,114,0.3);
    animation: pulseSwipe 2.2s ease-in-out infinite;
  }
  .swipe-arrow {
    flex-shrink: 0;
    animation: swipeArrowMove 1.2s ease-in-out infinite;
  }
  .swipe-arrow-left { animation-name: swipeArrowMoveLeft; }

  /* Subpáginas: ocultar el page-header y mostrar la cabecera de historia */
  .page-header-historia { display: none; }
  .historia-subpage .historia-header .section-label { display: flex; }
  .historia-subpage .historia-header h2 { display: block; }
  .historia.historia-subpage { padding-top: 96px; }
}
@media (max-width: 600px) {
  .blog-modal .bm-hero { padding: 48px 20px 32px; }
  .blog-modal .bm-content { padding: 32px 20px 40px; }
  .blog-modal .bm-cta { padding: 36px 20px; }
}
@media (max-width: 560px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .rv-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .reservas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .dif-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .split-content { padding: 3rem 1.5rem; }
}
@media (max-width: 700px) {
  .locales-6 { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .locales-5 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .productos-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE REFACTOR — mobile-first technical rules
   Visual design (colors / fonts / hero / cards / patterns) UNCHANGED.
   Breakpoints: ≤379 chico · 380+ estándar · 481+ grande · 769+ desktop pequeño · 1024+ desktop
   Lateral padding canónico: 16px. Card grids: 2 cols mobile. Tap: 44px.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── iOS / viewport safety (all viewports) ── */
/* overflow-x: clip recorta el desborde horizontal SIN crear scroll-container
   (clip no rompe ni el scroll de la rueda ni position:sticky;
   overflow-y queda 'visible' → el viewport es el scroll container → sticky funciona) */
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
body { overscroll-behavior: none; min-height: 100vh; min-height: 100dvh; }
img, video, iframe { max-width: 100%; height: auto; }
* { -webkit-tap-highlight-color: transparent; }

/* ═════════════════════════════════════════════════
   MOBILE (≤768px) — base mobile-chico, layered up
   ═════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Fixed bg attachment rompe iOS Safari */
  body.bg-fixed { background-attachment: scroll !important; }

  /* ─── LATERAL PADDING CANÓNICO = 16px ─── */
  .hero,
  .locales, .locales-section, .restaurantes-section,
  .carta-section, .carta-destacados, .carta-sucursales, .carta-category,
  .promos, .promos-section, .promos-page-section,
  .franquicias, .franquicias-section, .franquicias-page,
  .contacto-section,
  .blog-section,
  .resenas-section,
  .google-stats,
  .historia, .historia-section,
  .page-header,
  .manifesto, .manifesto-section,
  .diferenciales,
  .menu-section,
  .reservas,
  footer { padding-left: 16px; padding-right: 16px; }

  /* ─── SPACING VERTICAL SISTEMÁTICO ─── */
  .hero { padding: 88px 16px 1.5rem; min-height: 100vh; min-height: 100dvh; background-color: #1a0f0d; align-items: stretch; }
  .locales, .locales-section, .restaurantes-section,
  .carta-section, .promos, .promos-section, .promos-page-section,
  .franquicias, .franquicias-section, .franquicias-page,
  .contacto-section, .blog-section, .resenas-section,
  .google-stats, .historia, .historia-section,
  .manifesto, .manifesto-section, .diferenciales,
  .menu-section, .reservas { padding-top: 40px; padding-bottom: 50px; }
  .page-header { padding-top: 96px; padding-bottom: 24px; }
  footer { padding-top: 48px; padding-bottom: 24px; }

  /* ─── NAV ─── */
  nav { padding: 12px 16px; }
  nav.scrolled { padding: 10px 16px; }
  .nav-logo img { height: 44px; }
  .nav-links { display: none !important; }
  .nav-right .delivery-wrap,
  .nav-right .nav-cta { display: none !important; }
  .hamburger { display: flex !important; }
  .hamburger span { width: 26px; height: 2px; }
  /* Selector de idioma en el nav superior: [LOGO] -- [ES|EN] [☰] */
  .nav-right { gap: .7rem; }
  .nav-right .lang-switch { display: flex !important; }
  .lang-btn {
    font-size: .7rem; letter-spacing: .05em;
    padding: .3rem .6rem; text-transform: uppercase;
  }
  .lang-btn:not(.active) { color: rgba(237,232,217,.6); }
  nav.scrolled .lang-btn:not(.active) { color: rgba(57,46,44,.5); }
  .mobile-menu a {
    font-size: 1.35rem; padding: .5rem 1rem;
    min-height: 44px; display: flex; align-items: center;
    justify-content: center; text-align: center;
  }

  /* ─── HERO ─── */
  .hero-eyebrow {
    font-size: .58rem; letter-spacing: .18em;
    padding: .35rem .8rem; margin-bottom: 2.8rem;
    line-height: 1.6; text-align: center;
    white-space: normal; max-width: 92%;
  }
  /* Hero desc: ocultar texto largo, mostrar frase corta */
  .hero-desc-desktop { display: none; }
  .hero-desc-mobile {
    display: inline;
    color: #f3ead7;
    text-shadow: 0 0 16px rgba(197, 165, 114, 0.65), 0 0 28px rgba(197, 165, 114, 0.35), 0 2px 10px rgba(0,0,0,0.7);
  }
  /* "Bienvenidos a pasear el alma" +20% solo mobile */
  .hbien-title { font-size: clamp(2.4rem, 9.6vw, 3.6rem); line-height: .95; }
  .hbien-sub   { font-size: clamp(1.9rem, 8.64vw, 3.11rem); line-height: 1.15; }
  .hero-title  { font-size: clamp(2rem, 8vw, 3rem); line-height: .95; }
  .hero-sub, .hero-desc {
    font-size: .9rem; line-height: 1.6;
    max-width: 100%; margin-bottom: 2.8rem;
  }
  .hero-btns {
    flex-direction: column; align-items: center;
    max-width: 240px; margin: 0 auto; gap: .65rem;
  }
  /* CTAs hero -30% solo mobile */
  .hero-btns .btn-primary, .hero-btns .btn-outline, .hero-btns .btn {
    width: 100%; padding: .7rem .85rem;
    font-size: .7rem; font-weight: 600;
    min-height: 44px; justify-content: center;
  }
  .hero-stats {
    display: grid !important; grid-template-columns: repeat(3, 1fr);
    gap: 12px !important; margin: 0 auto; width: 100%; max-width: 100%;
  }
  /* Stats valoración Google +20% solo mobile */
  .stat-num, .hero-stat-number { font-size: 1.68rem; }
  .stat-label, .hero-stat-label {
    font-size: .66rem; letter-spacing: .12em;
    text-transform: uppercase; margin-top: .3rem;
  }

  /* ─── PAGE HEADERS ─── */
  .page-title { font-size: clamp(1.8rem, 8vw, 2.8rem); line-height: 1.05; }
  .page-label { font-size: .58rem; letter-spacing: .22em; margin-bottom: .5rem; }
  .page-header-desc { font-size: .85rem; line-height: 1.6; }
  .section-title { font-size: clamp(1.5rem, 6.5vw, 2.4rem); line-height: 1.1; }
  /* Eyebrows estandarizados — centrados y uniformes, con guiones decorativos */
  .section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 1.2rem;
    font-size: clamp(0.75rem, 3.5vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
    text-transform: uppercase;
    color: #C5A572;
    text-align: center;
  }
  .section-label::before,
  .section-label::after {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 30px; height: 1px;
    background: #C5A572;
    opacity: 0.5;
  }
  /* "NUESTRA HISTORIA" — más legible sobre el fondo claro de la sección */
  .historia-eyebrow {
    color: #9A7B3F;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  }
  .historia-eyebrow::before,
  .historia-eyebrow::after {
    width: 38px; height: 2px;
    background: #9A7B3F;
    opacity: 0.85;
  }

  /* ─── MARQUEE ─── */
  .marquee-band { padding: .8rem 0; }
  .marquee-track { animation-duration: 26s; }
  .marquee-track span { font-size: .85rem; padding: 0 1.1rem; }

  /* ─── MANIFESTO ─── */
  .manifesto-quote, .manifesto-title { font-size: clamp(1.5rem, 6.5vw, 2.2rem); line-height: 1.2; }
  .manifesto-body, .manifesto-text { font-size: .88rem; line-height: 1.8; }
  .manifesto-values { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.8rem; }
  .manifesto-value { padding: 1rem .9rem; }
  .manifesto-value h3 { font-size: 1rem; }
  .manifesto-value p { font-size: .78rem; line-height: 1.5; }
  .hola { font-size: 1.2rem; margin-top: 1.6rem; }

  /* ─── PHOTO-FULL ─── */
  .photo-full { height: 50vh; min-height: 320px; }
  .photo-full-content { padding: 1.6rem 16px; }
  .photo-full-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  /* ─── DIFERENCIALES ─── */
  .dif-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .dif-card { padding: 16px 14px; }
  .dif-icon { font-size: 1.6rem; margin-bottom: .8rem; }
  .dif-title { font-size: 1rem; line-height: 1.15; }
  .dif-body { font-size: .78rem; line-height: 1.55; }
  .dif-header { flex-direction: column; align-items: flex-start; gap: .9rem; }

  /* ─── SPLIT ─── */
  .split-section { grid-template-columns: 1fr; }
  .split-content { padding: 2rem 16px; }

  /* ═══════════════════════════════════════════
     CARDS — todos los grids principales: 2 cols mobile, gap 12px
     ═══════════════════════════════════════════ */

  /* LOCALES (homepage 6 cards) */
  .locales-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; padding: 0; }
  .locales-5, .locales-6 { grid-template-columns: repeat(2, 1fr) !important; }
  .local-card { padding: 1.9rem 14px 14px; }
  .local-city { font-size: .58rem; letter-spacing: .18em; margin-bottom: .35rem; }
  .local-name { font-size: 1.05rem; line-height: 1.15; margin-bottom: .5rem; }
  .local-address { font-size: .78rem; line-height: 1.5; margin-bottom: .7rem; }
  .local-rating { font-size: .74rem; gap: .4rem; margin-bottom: .8rem; }
  .local-rating .rating-num { font-size: 1.05rem; }
  .local-rating .rating-stars { font-size: .8rem; }
  .local-rating .rating-reviews { font-size: .68rem; }
  .local-rating .rating-badge { display: none; }
  .local-tags { gap: .3rem; margin-bottom: .9rem; }
  .tag, .local-tag { font-size: .58rem; padding: .18rem .55rem; }
  .local-btns, .local-buttons, .restaurante-btns { gap: 6px; padding-top: 8px; }
  .local-btn, .local-btn-primary, .local-btn-wa {
    padding: .65rem .5rem; font-size: .7rem; font-weight: 600;
    min-height: 44px; display: flex; align-items: center; justify-content: center;
    line-height: 1.1;
  }

  /* LOCALES (restaurantes subpage) */
  .locales-inner, .restaurantes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px; padding: 0;
  }
  .local-img, .restaurante-img { height: 120px; }
  .local-info, .restaurante-info { padding: 14px; }
  .local-info h3, .restaurante-info h2 { font-size: 1.05rem; line-height: 1.15; }
  .local-city, .restaurante-city { font-size: .58rem; letter-spacing: .18em; }
  .local-address, .restaurante-address { font-size: .78rem; line-height: 1.5; }

  /* CARTA */
  .carta-header { grid-template-columns: 1fr; gap: 1.2rem; text-align: center; padding-bottom: 1.2rem; margin-bottom: 1.4rem; border-bottom-width: 0; }
  .carta-title { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  .carta-cats {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 6px;
  }
  .cat-item { width: 100%; min-width: 0; gap: 5px; }
  .cat-icon { width: 38px; height: 38px; font-size: 16px; }
  .cat-label { font-size: 0.55rem; letter-spacing: 0.05em; line-height: 1.2; }
  /* Productos destacados: 2 cols mobile, gap 12px */
  .productos-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .producto-img { aspect-ratio: 1/1; margin-bottom: 8px; }
  .producto-name { font-size: .68rem; letter-spacing: .04em; line-height: 1.3; }
  .destacados-title, .sucursales-title { font-size: .95rem; letter-spacing: .12em; margin-bottom: 12px; }
  /* Sucursales: stay stacked on mobile (long names) */
  .sucursales-btns, .carta-links-grid {
    flex-direction: column; gap: 8px; align-items: stretch;
  }
  .suc-btn, .carta-link-card {
    width: 100%; min-width: 0;
    padding: 12px 14px; font-size: .82rem; font-weight: 600;
    min-height: 44px;
  }

  /* CARTA subpage */
  .carta-category { padding-top: 1.6rem; padding-bottom: 1.6rem; }
  .carta-category-title { font-size: 1.3rem; }
  .carta-category-desc { font-size: .82rem; line-height: 1.55; margin-bottom: 1.3rem; }
  .carta-grid, .carta-destacados .carta-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .carta-item { padding: 14px 12px; }
  .carta-item h3 { font-size: .95rem; }
  .carta-item p { font-size: .76rem; line-height: 1.5; }
  .carta-card-info { padding: .9rem; }
  .carta-card-info h3 { font-size: .95rem; }
  .carta-card-info p { font-size: .76rem; line-height: 1.5; }
  .carta-card-img { height: 120px; }
  .carta-categories {
    display: grid !important; grid-template-columns: repeat(2, 1fr);
    gap: 8px; margin: 0 auto 1.6rem;
  }
  .carta-cat {
    width: 100%; justify-content: center;
    padding: .65rem .7rem; font-size: .66rem;
    letter-spacing: .08em; min-height: 44px;
  }
  .carta-nav { padding: 1rem 16px; gap: .35rem; }
  .carta-tab { padding: .5rem 1rem; font-size: .66rem; min-height: 38px; }

  /* PROMOS — 2 cols mobile */
  .promos-grid,
  .promos-section .promos-grid,
  .promos-page-section .promos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px; max-width: 100%;
  }
  .promo-card { padding: 0; border-radius: 12px; }
  .promo-card > .promo-badge,
  .promo-card > .promo-icon,
  .promo-card > h3,
  .promo-card > p,
  .promo-card > a { margin-left: 14px; margin-right: 14px; }
  .promo-card > .promo-badge { margin-top: 14px; }
  .promo-card > a:last-child { margin-bottom: 14px; }
  .promo-info { padding: 14px; }
  .promo-img { height: 130px; }
  .promo-badge { font-size: .55rem; padding: .22rem .6rem; margin-bottom: .7rem; }
  .promo-icon { font-size: 1.8rem; margin-bottom: .6rem; }
  .promo-title, .promo-card h3 { font-size: 1rem; line-height: 1.15; margin-bottom: .4rem; }
  .promo-desc, .promo-info p, .promo-card > p { font-size: .78rem; line-height: 1.5; margin-bottom: 1rem; }
  .promo-card .promo-conditions { font-size: .68rem; line-height: 1.45; }
  .promo-btn, .promo-cta {
    padding: .65rem 1rem; font-size: .7rem; font-weight: 600;
    min-height: 44px; justify-content: center;
  }
  body.bg-fixed .promo-card { min-height: 240px; }
  body.bg-fixed .promo-card .promo-info { padding: 14px; }

  /* PROMO MODALS — full-screen-ish */
  .promo-modal-overlay { padding: 12px; }
  .promo-modal, .promo-modal-wide {
    padding: 36px 16px 20px; max-width: 100%; border-radius: 12px;
  }
  .promo-modal-title { font-size: 1.25rem; }
  .promo-modal-sub { font-size: .78rem; margin-bottom: 1.2rem; }
  .promo-modal-locales { grid-template-columns: 1fr !important; gap: 8px; }
  .promo-modal-local { padding: 1rem .9rem; min-height: 44px; }
  .promo-modal-local .loc-name { font-size: 1rem; }
  .promo-modal-local .loc-city { font-size: .58rem; letter-spacing: .2em; }
  .menu-tabs { gap: .3rem; margin-bottom: .9rem; }
  .menu-tab { font-size: .68rem; padding: .42rem .8rem; min-height: 38px; }
  .menu-display {
    min-height: 220px; padding: 4px; border-radius: 10px;
    max-width: 100%; overflow: hidden;
  }
  .menu-image {
    width: 100% !important; max-width: 100% !important;
    height: auto !important; object-fit: contain; display: block;
  }
  .menu-fallback { padding: 40px 14px; min-height: 220px; }
  .menu-fallback p { font-size: 1rem; }

  /* FRANQUICIAS — stats 2x2 */
  .franq-stats, .franquicias-stats {
    display: grid !important; grid-template-columns: 1fr 1fr !important;
    gap: 8px !important; max-width: 100%; margin-bottom: 1.4rem;
  }
  .franq-stat, .franquicia-stat, .franquicias-page .franq-stat {
    min-width: 0 !important; padding: 14px 10px !important; width: 100%;
  }
  .franq-stat-num, .franq-stat-number,
  .franquicia-stat .stat-number, .franquicia-stat .stat-num,
  .franquicias-page .franq-stat-num { font-size: 1.5rem !important; }
  .franq-stat-label, .franquicia-stat .stat-label,
  .franquicias-page .franq-stat-label { font-size: .55rem; letter-spacing: .12em; margin-top: .3rem; }
  .franq-models, .franquicias-grid, .franquicias-models,
  .franq-benefits-grid { grid-template-columns: 1fr; gap: 1px; }
  .franq-card, .franquicia-card, .franq-model-card { padding: 16px 14px; }
  .franq-card-icon { font-size: 1.6rem; margin-bottom: .7rem; }
  .franq-card-title, .franquicia-name, .franq-model-card h3 { font-size: 1.05rem; }
  .franq-card-body, .franquicia-desc, .franq-model-card p { font-size: .8rem; line-height: 1.55; }
  .franq-card-price, .franquicia-price, .franq-model-card span { font-size: .72rem; }
  .franq-benefit { padding: 14px 12px; }
  .franq-benefit h4 { font-size: .95rem; }
  .franq-benefit p { font-size: .76rem; line-height: 1.5; }

  /* FORM — full-width, labels arriba */
  .franq-form-wrap { padding: 1.4rem 14px; border-radius: 12px; }
  .franq-form-title { font-size: 1.3rem; }
  .franq-form-sub { font-size: .82rem; }
  .franq-form-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .franq-field, .franq-field-full { width: 100%; }
  .franq-field label { font-size: .65rem; }
  .franq-form input, .franq-form select, .franq-form textarea {
    padding: .8rem 1rem; font-size: .88rem;
    min-height: 44px; width: 100%; box-sizing: border-box;
  }
  .franq-submit, .franquicias-btn {
    width: 100%; max-width: 100%;
    padding: .9rem 1rem; font-size: .82rem; font-weight: 600;
    min-height: 44px; box-sizing: border-box;
  }

  /* CONTACTO */
  .contacto-grid, .contacto-section .contacto-grid {
    grid-template-columns: 1fr !important; gap: 2rem;
  }
  .contacto-form-wrap h2, .contacto-info h2, .contacto-info h3 { font-size: 1.2rem; }
  .form-group label { font-size: .65rem; }
  .contacto-form input, .contacto-form select, .contacto-form textarea {
    padding: .8rem 1rem; font-size: .88rem;
    min-height: 44px; width: 100%; box-sizing: border-box;
  }
  .form-submit, .contacto-form .btn-primary {
    width: 100%; align-self: stretch;
    padding: .9rem 1rem; font-size: .82rem; font-weight: 600;
    min-height: 44px; box-sizing: border-box; justify-content: center;
  }
  .contacto-dato h4, .contacto-item h4, .contacto-info-item h4 { font-size: .62rem; letter-spacing: .12em; }
  .contacto-dato a, .contacto-dato p,
  .contacto-item a, .contacto-item p,
  .contacto-info-item a, .contacto-info-item p { font-size: .82rem; line-height: 1.55; }
  .contacto-local h4 { font-size: .72rem; }
  .contacto-local p, .contacto-local a { font-size: .78rem; line-height: 1.45; }

  /* BLOG */
  .blog-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .blog-card { width: 100%; }
  .blog-img-wrap, .blog-img-placeholder { aspect-ratio: 16/9; }
  .blog-body { padding: 14px 16px 16px; gap: 6px; }
  .blog-date { font-size: .55rem; letter-spacing: .12em; }
  .blog-title { font-size: 1rem; line-height: 1.25; }
  .blog-excerpt { font-size: .78rem; line-height: 1.55; }
  .blog-link { font-size: .68rem; }
  /* Blog modal */
  .blog-modal-overlay { padding: 12px; }
  .blog-modal { max-width: 100%; border-radius: 14px; }
  .blog-modal .bm-hero { padding: 40px 16px 24px; }
  .blog-modal .bm-content { padding: 28px 16px 32px; }
  .blog-modal .bm-cta { padding: 28px 16px; }
  .blog-modal .bm-hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); }

  /* RESEÑAS / TESTIMONIOS — 1 col mobile (texto largo) */
  .reviews-grid, .rv-grid, .resenas-grid {
    grid-template-columns: 1fr !important; gap: 12px;
  }
  .review-card, .rv-card, .resena-card { padding: 16px; }
  .review-name, .rv-name { font-size: .78rem; }
  .review-text, .rv-text, .resena-text { font-size: .8rem; line-height: 1.6; }

  /* GOOGLE STATS — 6 cards en 2 cols */
  .stars-row {
    display: grid !important; grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important; margin-top: 1.2rem;
    max-width: 420px; margin-left: auto; margin-right: auto;
  }
  .star-item { min-width: 0; padding: 14px 10px; }
  .star-val { font-size: 1.6rem; }
  .star-ico { font-size: .8rem; margin: .3rem 0; }
  .star-local { font-size: .55rem; letter-spacing: .08em; }
  .google-badge { font-size: .72rem; padding: .55rem 1.1rem; }

  /* RESERVAS (homepage 5 cards) */
  .reservas-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px; max-width: 100%;
  }
  .res-card { padding: 14px 10px; }
  .res-city { font-size: .55rem; letter-spacing: .15em; }
  .res-name { font-size: .9rem; line-height: 1.15; }
  .res-btn { padding: .65rem .5rem; font-size: .7rem; font-weight: 600; min-height: 44px; }
  .vida-linda { font-size: clamp(2.4rem, 11vw, 4.5rem); }
  .btn-reserva { padding: .85rem 1.6rem; font-size: .82rem; font-weight: 600; min-height: 44px; }

  /* HISTORIA / TIMELINE (Nosotros subpage) — scroll horizontal libre */
  .historia-header { padding: 0 16px; margin-bottom: 18px; }
  .historia-header h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .historia-frase { font-size: clamp(1.4rem, 5vw, 2rem); }
  .timeline {
    display: flex; gap: 12px; padding: 16px;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .timeline::-webkit-scrollbar { display: none; }
  .timeline-item {
    flex: 0 0 auto; flex-shrink: 0;
    width: 80vw; max-width: 340px; min-width: 0;
  }
  .timeline-img { height: 140px; }
  .timeline-content { padding: 14px 12px; }
  .timeline-year { font-size: 1.3rem; }
  .timeline-text { font-size: .8rem; line-height: 1.55; }
  .timeline-location { font-size: .65rem; }

  /* Homepage timeline (tl-track) keeps existing vertical mode at <720,
     ya hay rules previas; nada que cambiar acá */

  /* MENU SECTION (homepage) */
  .menu-cats { gap: .4rem; margin: 1.6rem 0; }
  .menu-cat { padding: .5rem 1rem; font-size: .7rem; min-height: 38px; }
  .menu-items { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .menu-item { padding: 14px; }
  .menu-item-emoji { font-size: 1.4rem; margin-bottom: .6rem; }
  .menu-item-name { font-size: 1rem; }
  .menu-item-desc { font-size: .75rem; line-height: 1.5; }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.8rem; padding-bottom: 1.8rem;
  }
  .footer-logo { font-size: 1.4rem; }
  .footer-desc { font-size: .8rem; line-height: 1.7; max-width: 100%; }
  .footer-col h4 { font-size: .62rem; letter-spacing: .2em; margin-bottom: .9rem; }
  .footer-col a { font-size: .82rem; }
  .footer-bottom { flex-direction: column; gap: .7rem; padding-top: 1.6rem; text-align: center; }
  .footer-copy { font-size: .68rem; }
  .hola-footer { font-size: 1rem; }

  /* FLOATING CTA — safe area iOS */
  .float-cta {
    bottom: calc(1rem + env(safe-area-inset-bottom));
    right: 1rem; width: 54px; height: 54px;
    padding: .8rem; justify-content: center;
  }
  .float-cta span.float-text { display: none; }

  /* Top breathing room para subpages sin hero video */
  body.bg-fixed main > section + section { padding-top: 1rem; }
}

/* ═════════════════════════════════════════════════
   MOBILE ESTÁNDAR (≥380px and ≤768px) — slight tweaks
   ═════════════════════════════════════════════════ */
@media (min-width: 380px) and (max-width: 768px) {
  .stat-num, .hero-stat-number { font-size: 1.8rem; }
  .nav-logo img { height: 46px; }
  .promo-img { height: 150px; }
  .timeline-img { height: 160px; }
}

/* ═════════════════════════════════════════════════
   MOBILE GRANDE / TABLET PEQUEÑA (≥481px and ≤768px)
   Cards a 3 cols donde corresponda, logo más grande
   ═════════════════════════════════════════════════ */
@media (min-width: 481px) and (max-width: 768px) {
  .nav-logo img { height: 50px; }

  /* Locales 6: 2 → 3 cols a 481+ */
  .locales-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .locales-6 { grid-template-columns: repeat(3, 1fr) !important; }
  .locales-inner, .restaurantes-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Productos destacados ya tiene buen look en 2, podemos quedarnos */
  /* Promos: queda 2 cols (4 cards → 2×2) */
  .promos-grid,
  .promos-section .promos-grid,
  .promos-page-section .promos-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Stats Google: 3 cols (3×2) */
  .stars-row { grid-template-columns: repeat(3, 1fr) !important; max-width: 100%; }

  /* Reservas 5 cards: 3 cols */
  .reservas-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* Franquicias stats: 4 cols (1 fila) */
  .franq-stats, .franquicias-stats { grid-template-columns: repeat(4, 1fr) !important; }

  /* Carta categorías subpage: 3 cols */
  .carta-categories { grid-template-columns: repeat(3, 1fr) !important; }

  /* Carta items: 2 → 3 cols */
  .carta-grid, .carta-destacados .carta-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* Diferenciales: 1 fila de 3 */
  .dif-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* Manifesto values: 3 cols */
  .manifesto-values { grid-template-columns: repeat(3, 1fr); }

  /* Hero más holgado */
  .hero-btns { max-width: 260px; }
  .hbien-title { font-size: clamp(2.88rem, 10.8vw, 4.08rem); }
}

/* ═════════════════════════════════════════════════
   DESKTOP PEQUEÑO (≥769px and ≤1023px)
   Algunos grids más amplios; nav puede o no colapsar — mantenemos hamburguesa
   ═════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1023px) {
  /* Restablecer paddings más amplios para tablets */
  .hero { padding-top: 130px; padding-bottom: 70px; }
  .page-header { padding-top: 110px; padding-bottom: 32px; }

  /* Footer 2 cols intermedio */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr !important; gap: 2rem; }

  /* Locales 6: 3 cols intermedio */
  .locales-grid, .locales-6 { grid-template-columns: repeat(3, 1fr) !important; }
  .locales-inner, .restaurantes-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ═════════════════════════════════════════════════
   TOUCH FEEDBACK (sin hover)
   ═════════════════════════════════════════════════ */
@media (hover: none) {
  .btn:active, .btn-primary:active, .btn-outline:active, .btn-reserva:active,
  .nav-cta:active, .promo-btn:active, .promo-cta:active,
  .franquicias-btn:active, .franq-submit:active, .form-submit:active,
  .local-btn:active, .local-btn-primary:active, .local-btn-wa:active,
  .res-btn:active, .suc-btn:active, .carta-link-card:active,
  .promo-card:active, .local-card:active, .producto-card:active,
  .franq-card:active, .franquicia-card:active, .franq-model-card:active,
  .blog-card:active, .review-card:active, .rv-card:active, .resena-card:active,
  .star-item:active, .dif-card:active, .carta-card:active, .menu-item:active,
  .promo-modal-local:active, .carta-cat:active, .carta-tab:active,
  .menu-cat:active, .menu-tab:active, .cat-item:active {
    transform: scale(0.97);
    transition: transform .08s ease;
  }
}

/* ═══ LOCALES HOME: modal delivery + cabecera + cards compactas + botón mapa ═══ */

/* CAMBIO 4 — botón "Cómo llegar" (desktop + mobile) */
.local-btn-map { background: #4285F4; color: #fff; }
.local-btn-map:hover { opacity: .85; }

@media (max-width: 768px) {
  /* CAMBIO 1 — fondo de marca del modal delivery */
  #deliveryModal .promo-modal {
    background-color: #1a0f0d;
    background-image: url('/images/bg-menu-pattern.svg');
    background-repeat: repeat;
    background-attachment: scroll;
  }

  /* CAMBIO 2 — heading rediseñado, ajustes mobile (home + /restaurantes/) */
  .locales-heading { padding: 0.9rem 1rem 0.75rem; }
  .locales-heading-eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.25em;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
  }
  .locales-heading-title {
    font-size: clamp(2rem, 9vw, 2.8rem);
    white-space: nowrap;
  }
  .locales-heading-subtitle { font-size: 0.82rem; }
  /* Menos distancia subtítulo → cards (home + /restaurantes/) */
  .locales .locales-grid { margin-top: 1rem; }
}

/* ═══ CAMBIO 2 — bloque heading "Nuestros Locales" (desktop + mobile) ═══ */
.locales-heading {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}
.locales-heading-eyebrow {
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #C5A572;
  font-weight: 700;
  margin-bottom: 1.4rem;
  padding: 0.5rem 1.2rem;
  background: rgba(197,165,114,0.12);
  border: 1px solid rgba(197,165,114,0.4);
  border-radius: 50px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}
/* Destello dorado — se dispara al entrar la sección al viewport (clase .shine-active) */
.locales-heading-eyebrow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.45) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  opacity: 0;
}
.locales-heading-eyebrow.shine-active::after {
  animation: pillShineSweep 1.4s ease-out forwards;
  opacity: 1;
}
@keyframes pillShineSweep {
  0% { left: -75%; opacity: 1; }
  100% { left: 150%; opacity: 1; }
}
.locales-heading-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 1.2rem 0;
  color: #EDE8D9;
}
.locales-heading-title .accent-italic {
  font-style: italic;
  color: #C5A572;
  font-weight: 500;
}
.locales-heading-subtitle {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #EDE8D9;
  opacity: 0.85;
  margin: 0;
  padding: 0 0.5rem;
}
/* ═══ Sección Carta del home ═══ */
.carta-eyebrow { display: none; }
/* Título de la sección Carta del home en una sola línea */
.carta-home .carta-title { white-space: nowrap; }
/* CAMBIO 1 — separación entre el heading y los íconos (solo home) */
.carta-home .carta-header { margin-bottom: 2.5rem !important; }
.carta-home .carta-cats { margin-top: 1rem; }
@media (max-width: 768px) {
  /* Eyebrow sobre el H2, igual que el page-header de /carta/ */
  .carta-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #C5A572;
    font-weight: 700;
    margin-bottom: 0.6rem;
  }
  .carta-home .carta-header { margin-bottom: 1.8rem !important; }
}

/* ═══ Badge de provincia en las cards de locales (mobile + desktop) ═══ */
.province-badge {
  position: absolute;
  top: 0.7rem; left: 0.7rem; z-index: 3;
  background: linear-gradient(135deg, #E8C87A 0%, #C5A572 50%, #A88B5C 100%);
  color: #1a0f0d;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(197,165,114,0.5);
  display: inline-flex; align-items: center; gap: 0.25rem;
  line-height: 1;
}
@media (max-width: 768px) {
  .province-badge {
    font-size: 0.55rem;
    padding: 0.28rem 0.55rem;
    letter-spacing: 0.1em;
    top: 0.5rem; left: 0.5rem;
  }
  /* CAMBIO 1 — distancia subtítulo → cards más corta en /restaurantes/ */
  .page-header .locales-heading {
    padding-bottom: 0.6rem !important;
    margin-bottom: 0.5rem !important;
  }
  .page-header .locales-heading-subtitle {
    margin-bottom: 0.4rem !important;
  }
  .locales .locales-grid {
    margin-top: 0.7rem !important;
  }
}

/* ═══ PROMOS — subtítulo, legibilidad, título en una línea, spacing ═══ */
.promo-subtitle {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: #F5C66B !important;
  margin: 0.4rem 0 0.9rem !important;
  text-shadow:
    0 0 12px rgba(245, 198, 107, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.85) !important;
  display: inline-block !important;
  padding: 0.25rem 0.7rem !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border-radius: 6px !important;
  -webkit-backdrop-filter: blur(2px) !important;
  backdrop-filter: blur(2px) !important;
}
@media (max-width: 768px) {
  .promo-subtitle {
    font-size: 0.78rem !important;
    padding: 0.22rem 0.6rem !important;
    letter-spacing: 0.12em !important;
  }
}
.promo-title { text-shadow: 0 2px 8px rgba(0,0,0,0.8); }
.promo-desc {
  color: #fff !important;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  line-height: 1.5;
}
.promo-card .promo-conditions {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.72rem;
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.promo-info { position: relative; z-index: 2; }

/* Título "Nuestras Promociones" en una sola línea */
.promos-title { white-space: nowrap; }
@media (max-width: 480px) {
  .promos-title { white-space: normal; font-size: clamp(1.6rem, 8vw, 2.2rem); }
}

/* Menos espacio arriba del eyebrow en la sección Promos del home (mobile) */
@media (max-width: 768px) {
  #promos { padding-top: 1.5rem; }
  #promos .page-header { padding-top: 0.6rem; padding-bottom: 0.5rem; }
}

/* ═══ ESTRELLAS "VALORACIÓN EN GOOGLE" — entrada en cascada al scrollear ═══ */
.stars-row .star-item {
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stars-row .star-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Estrellas en dorado · número del rating en negro */
.star-ico { color: #F5C66B; }
.star-val {
  color: #1a0f0d !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

/* ═══ Estrellas titilantes de fondo en "Valoración en Google" ═══ */
.google-stats { position: relative; overflow: hidden; }
.google-stats > *:not(.twinkle-stars) { position: relative; z-index: 1; }
.star-item, .stars-row { position: relative; z-index: 1; }
.twinkle-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.twinkle-star {
  position: absolute;
  font-size: 2.4rem;
  color: #F5C66B;
  opacity: 0;
  will-change: opacity, transform;
  text-shadow:
    0 0 16px rgba(245, 198, 107, 0.9),
    0 0 32px rgba(245, 198, 107, 0.5);
  line-height: 1;
}
.twinkle-star.tw-1 { animation: twinkleAggressive1 2s ease-in-out infinite; }
.twinkle-star.tw-2 { animation: twinkleAggressive2 2.4s ease-in-out infinite; animation-delay: 0.4s; }
.twinkle-star.tw-3 { animation: twinkleAggressive3 1.8s ease-in-out infinite; animation-delay: 0.9s; }
@keyframes twinkleAggressive1 {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50% {
    opacity: 1; transform: scale(1.4) rotate(180deg);
    text-shadow:
      0 0 24px rgba(245, 198, 107, 1),
      0 0 40px rgba(245, 198, 107, 0.7),
      0 0 60px rgba(245, 198, 107, 0.35);
  }
}
@keyframes twinkleAggressive2 {
  0%, 100% { opacity: 0.15; transform: scale(0.6) rotate(-90deg); }
  50% {
    opacity: 1; transform: scale(1.5) rotate(90deg);
    text-shadow:
      0 0 24px rgba(245, 198, 107, 1),
      0 0 44px rgba(245, 198, 107, 0.7);
  }
}
@keyframes twinkleAggressive3 {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  40% { opacity: 0.9; }
  50% {
    opacity: 1; transform: scale(1.6) rotate(360deg);
    text-shadow:
      0 0 28px rgba(245, 198, 107, 1),
      0 0 48px rgba(245, 198, 107, 0.75);
  }
  60% { opacity: 0.7; }
}
@media (max-width: 768px) {
  .twinkle-star { font-size: 1.7rem; }
}

/* ═══ TESTIMONIOS — carousel: slide horizontal (mobile) / vertical (desktop) ═══ */
.testimonials-section {
  padding: 3rem 1rem;
  background-color: #FAF3E8;
  background-image: url('/images/bg-resenas-pattern.svg');
  background-repeat: repeat;
}
.testimonials-heading {
  text-align: center;
  margin-bottom: 1.5rem;
}
.testimonials-viewport {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
@media (max-width: 768px) {
  .testimonials-viewport { padding: 0 1rem; }
}
/* 3 slots independientes (1 visible en mobile); cada uno rota su propia card */
.testimonials-slots-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}
@media (min-width: 769px) {
  .testimonials-slots-container { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .testimonial-slot[data-slot="1"],
  .testimonial-slot[data-slot="2"] { display: none; }
}
.testimonial-slot { position: relative; }
.testimonial-slot .testimonial-card {
  position: absolute;
  inset: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.testimonial-slot .testimonial-card.is-leaving {
  opacity: 0;
  transform: translateX(-30px) scale(0.95);
}
.testimonial-slot .testimonial-card.is-entering {
  opacity: 0;
  transform: translateX(30px) scale(0.95);
}
.testimonial-slot .testimonial-card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.testimonial-card {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(197, 165, 114, 0.3);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
/* Texto del comentario, legible sobre la card oscura */
.testimonial-card .rv-name  { color: #EDE8D9; }
.testimonial-card .rv-local { color: #C5A572; }
.testimonial-card .rv-text  { color: rgba(237,232,217,0.85); }
.testimonial-card .rv-avatar { background: #C5A572; color: #1a0f0d; }
.testimonial-card .rv-stars { color: #F5C66B; }

/* ─── Cards de Valoración Google: clickeables → perfil de Google Maps ─── */
.star-item {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.star-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ─── Home: menos aire arriba del eyebrow de Promociones / Franquicias / Contacto ───
   Reusan el componente .page-header (padding-top 120px de subpágina); acá se
   reduce ~a la mitad. Scoped → /promos/, /franquicias/, /contacto/ intactas. */
section.promos-home,
section.franquicias-home,
section#contacto-home { padding-top: 1rem; }
section.promos-home .page-header,
section.franquicias-home .page-header,
section#contacto-home .page-header { padding-top: 60px; }
@media (max-width: 768px) {
  section.promos-home .page-header,
  section.franquicias-home .page-header,
  section#contacto-home .page-header { padding-top: 40px; }
}

/* ============================================================
   Blog post como PÁGINA independiente (no modal)
   Los estilos .bm-* fueron diseñados para el modal del blog.
   Acá se reusan en /blog/<post>/ y /en/<post>/ aplicando la
   clase .blog-modal al <main>. Solo hace falta ajustar la
   separación respecto del nav fijo (position:fixed), que en
   el modal no existía.
   ============================================================ */
main.blog-modal { background: var(--cream); display: block; }
main.blog-modal .bm-hero { padding-top: clamp(96px, 13vw, 132px); }
main.blog-modal .bm-content img {
  width: 100%; height: auto; border-radius: 14px; display: block;
}
main.blog-modal .bm-content a {
  color: #b9822f; font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px;
}
main.blog-modal .bm-content a:hover { color: var(--gold); }

/* ============================================================
   ARTÍCULO DE BLOG — rediseño editorial 2026
   Sistema .article-* (independiente de .bm-*). Plantilla
   reutilizable para todos los posts nuevos de la web nueva.
   ============================================================ */

/* Barra de progreso de lectura */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  z-index: 10000; pointer-events: none; background: transparent;
}
.reading-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold), #F5C66B);
  box-shadow: 0 0 12px rgba(245,198,107,.6);
}

main.article { background: var(--cream); display: block; }

/* ---- HERO full-bleed con parallax ---- */
.article-hero {
  position: relative; min-height: 92vh; display: flex;
  align-items: flex-end; overflow: hidden;
}
.article-hero-bg {
  position: absolute; left: 0; right: 0; top: -12%; bottom: -12%;
  background-size: cover; background-position: center;
  will-change: transform; z-index: 0;
}
.article-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(13,13,13,.5) 0%, rgba(13,13,13,.15) 38%, rgba(13,13,13,.88) 100%);
}
.article-hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1000px;
  margin: 0 auto; padding: 0 6% 9vh;
}
.article-eyebrow {
  display: inline-block; font-size: .68rem; letter-spacing: .26em;
  text-transform: uppercase; font-weight: 700; color: var(--dark);
  background: var(--gold); padding: .5rem 1.1rem; border-radius: 40px;
  margin-bottom: 1.4rem;
}
.article-hero h1 {
  font-family: 'Abril Fatface', serif; color: #fff;
  font-size: clamp(2.3rem, 6.4vw, 4.8rem); line-height: 1.05;
  letter-spacing: .01em; margin: 0 0 1rem; max-width: 17ch;
  text-shadow: 0 6px 36px rgba(0,0,0,.55);
}
.article-hero-sub {
  font-size: clamp(1rem, 2.1vw, 1.35rem); color: rgba(255,255,255,.86);
  font-weight: 300; margin: 0 0 1.7rem; max-width: 44ch; line-height: 1.55;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: .55rem .85rem; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.72); letter-spacing: .03em;
}
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.article-meta .read-time { color: #F5C66B; font-weight: 600; }
.article-scroll-cue {
  position: absolute; bottom: 20px; left: 50%; margin-left: -13px; z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
}
.article-scroll-cue::before {
  content: ''; position: absolute; top: 7px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 2px; background: #fff;
  animation: scrollCue 1.7s infinite;
}
@keyframes scrollCue {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ---- Layout: índice + cuerpo ---- */
.article-shell {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(38px,6vw,72px) 6% 30px;
  display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 54px;
}
.article-toc-inner { position: sticky; top: 108px; }
.article-toc-label {
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(57,46,44,.45); font-weight: 700; margin-bottom: .9rem;
}
.article-toc a {
  display: block; font-size: .8rem; color: rgba(57,46,44,.6);
  text-decoration: none; padding: .4rem 0 .4rem 14px; line-height: 1.4;
  border-left: 2px solid rgba(57,46,44,.12);
  transition: color .2s, border-color .2s;
}
.article-toc a:hover { color: var(--dark); }
.article-toc a.active {
  color: var(--dark); border-color: var(--gold); font-weight: 600;
}

/* ---- Compartir ---- */
.article-share { display: flex; align-items: center; gap: .5rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.article-share span {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(57,46,44,.5); font-weight: 700; margin-right: .2rem;
}
.article-share button, .article-share a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(57,46,44,.18);
  background: transparent; color: var(--dark); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.article-share button:hover, .article-share a:hover {
  background: var(--gold); border-color: var(--gold); transform: translateY(-2px);
}
.article-share .copied { background: var(--dark); border-color: var(--dark); color: var(--cream); }

/* ---- Cuerpo / prosa ---- */
.article-body { max-width: 680px; }
.article-body p {
  font-size: 1.05rem; line-height: 1.85; color: #4a3f3b; margin: 0 0 1.5rem;
}
.article-body .lead { font-size: 1.18rem; color: var(--dark); }
.article-body .lead::first-letter {
  font-family: 'Abril Fatface', serif; font-size: 4.4rem; float: left;
  line-height: .8; margin: .07em .14em 0 0; color: var(--gold);
}
.article-body h2 {
  font-family: 'Abril Fatface', serif; color: var(--dark);
  font-size: clamp(1.5rem,3.1vw,2rem); line-height: 1.2;
  margin: 2.9rem 0 1rem; scroll-margin-top: 88px;
}
.article-body h2 .h2-num {
  display: block; font-family: 'Montserrat', sans-serif; font-size: .68rem;
  letter-spacing: .2em; color: var(--gold); font-weight: 700; margin-bottom: .45rem;
}
.article-body strong { color: var(--dark); font-weight: 700; }
.article-body ul { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.article-body li {
  font-size: 1.03rem; line-height: 1.7; color: #4a3f3b;
  margin-bottom: .7rem; padding-left: 1.7rem; position: relative;
}
.article-body li::before { content: '🍕'; position: absolute; left: 0; font-size: .9rem; top: .05rem; }
.article-body a { color: #b9822f; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--gold); }

/* ---- Cita destacada ---- */
.pull-quote {
  margin: 2.8rem 0; padding: .3rem 0 .3rem 2rem;
  border-left: 3px solid var(--gold); position: relative;
}
.pull-quote::before {
  content: '\201C'; font-family: 'Great Vibes', cursive; color: var(--gold);
  font-size: 4.6rem; position: absolute; left: -.05rem; top: -2.6rem; opacity: .55;
}
.pull-quote p {
  font-family: 'Abril Fatface', serif; font-size: clamp(1.35rem,2.9vw,1.85rem);
  line-height: 1.32; color: var(--dark); margin: 0;
}
.pull-quote cite {
  display: block; font-style: normal; font-size: .78rem; font-weight: 600;
  letter-spacing: .05em; color: rgba(57,46,44,.55); margin-top: .8rem;
}

/* ---- Figura inline ---- */
.article-figure { margin: 2.4rem 0; }
.article-figure img { width: 100%; height: auto; border-radius: 14px; display: block; }
.article-figure figcaption {
  font-family: 'Great Vibes', cursive; font-size: 1.4rem; color: #b9822f;
  text-align: center; margin-top: .6rem;
}

/* ---- Bloque destacado full-bleed (photo essay) ---- */
.article-feature {
  position: relative; margin: 3.2rem 0; border-radius: 16px; overflow: hidden;
  min-height: 62vh; display: flex; align-items: flex-end;
}
.article-feature img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.article-feature::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(13,13,13,.82), transparent 68%);
}
.article-feature-text { position: relative; z-index: 2; padding: 2rem 2.2rem; }
.article-feature-text h3 {
  font-family: 'Abril Fatface', serif; color: #fff;
  font-size: clamp(1.4rem,3vw,2.1rem); margin: 0 0 .5rem;
}
.article-feature-text p { color: rgba(255,255,255,.85); font-size: .96rem; margin: 0; }

/* ---- Galería masonry ---- */
.article-gallery-wrap { margin: 3.2rem 0 1rem; }
.article-gallery-label {
  font-size: .66rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; text-align: center; margin-bottom: .5rem;
}
.article-gallery-title {
  font-family: 'Abril Fatface', serif; font-size: clamp(1.5rem,3vw,2rem);
  color: var(--dark); text-align: center; margin: 0 0 1.5rem;
}
.article-gallery { columns: 3 200px; column-gap: 12px; }
.article-gallery figure {
  margin: 0 0 12px; break-inside: avoid; border-radius: 12px;
  overflow: hidden; cursor: pointer; position: relative;
}
.article-gallery img { width: 100%; height: auto; display: block; transition: transform .45s ease; }
.article-gallery figure:hover img { transform: scale(1.06); }
.article-gallery figure::after {
  content: '\2922'; position: absolute; top: 9px; right: 12px; color: #fff;
  font-size: 1.1rem; opacity: 0; transition: opacity .25s;
  text-shadow: 0 2px 6px rgba(0,0,0,.7);
}
.article-gallery figure:hover::after { opacity: 1; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 10001; background: rgba(13,13,13,.95);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox-btn {
  position: absolute; background: none; border: none; color: #fff;
  font-size: 2.4rem; line-height: 1; cursor: pointer; padding: 1rem; opacity: .75;
}
.lightbox-btn:hover { opacity: 1; }
.lb-prev { left: 1%; } .lb-next { right: 1%; } .lb-close { top: 1%; right: 2%; font-size: 2rem; }

/* ---- CTA final ---- */
.article-cta {
  background: linear-gradient(135deg, var(--dark2), var(--dark));
  text-align: center; padding: clamp(48px,7vw,78px) 6%; margin-top: 36px;
}
.article-cta-eyebrow {
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 1rem;
}
.article-cta h2 {
  font-family: 'Abril Fatface', serif; color: var(--cream);
  font-size: clamp(1.6rem,3.6vw,2.4rem); margin: 0 0 .8rem;
}
.article-cta p { color: rgba(237,232,217,.65); font-size: .95rem; margin: 0 auto 1.6rem; max-width: 40ch; }
.article-cta a {
  display: inline-block; background: var(--gold); color: var(--dark);
  padding: .9rem 2rem; border-radius: 40px; font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background .25s, transform .25s;
}
.article-cta a:hover { background: var(--cream); transform: translateY(-3px); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .article-shell { grid-template-columns: 1fr; gap: 0; padding-top: 34px; }
  .article-toc { display: none; }
  .article-body { max-width: 680px; margin: 0 auto; }
  .article-gallery { columns: 2 150px; }
}
@media (max-width: 600px) {
  .article-hero { min-height: 88vh; }
  .article-feature { min-height: 52vh; }
  .article-gallery { columns: 2 130px; }
  .article-body p, .article-body li { font-size: 1rem; }
  .article-body .lead { font-size: 1.08rem; }
}

/* ============================================================
   ASISTENTE DE CHAT · PEPE — widget para visitantes
   ============================================================ */
@keyframes ppchat-ping {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(2.3); opacity: 0; }
}

.ppchat-panel {
  position: fixed; right: 1.5rem; top: 50%; z-index: 9998;
  width: 370px; max-width: calc(100vw - 40px);
  height: 520px; max-height: calc(100vh - 40px);
  background: #FBF8F0; border: 1px solid rgba(57,46,44,.12);
  border-radius: 20px; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 60px rgba(57,46,44,.3);
  transform-origin: right center;
  opacity: 0; transform: translateY(-50%) scale(.85);
  transition: opacity .24s ease, transform .26s cubic-bezier(.34,1.3,.5,1);
}
.ppchat-panel.show { opacity: 1; transform: translateY(-50%) scale(1); }
.ppchat-panel[hidden] { display: none; }

.ppchat-head {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--dark) 0%, #4a3a36 100%);
  color: var(--cream);
  border-bottom: 1px solid rgba(216,164,96,.18);
}
.ppchat-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.35);
}
.ppchat-avatar img { width: 34px; height: 34px; object-fit: contain; }
.ppchat-id { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ppchat-name {
  font-family: 'Abril Fatface', serif; font-size: 1.18rem; line-height: 1.05;
  color: var(--cream);
}
.ppchat-role {
  display: flex; align-items: center; gap: 5px;
  font-family: 'Montserrat', sans-serif; font-size: .65rem;
  text-transform: uppercase; letter-spacing: .05em;
  color: rgba(237,232,217,.6); margin-top: 3px;
}
.ppchat-online {
  width: 7px; height: 7px; border-radius: 50%; background: #46c46a;
  animation: ppchat-blink 2s infinite;
}
@keyframes ppchat-blink {
  0%,100% { box-shadow: 0 0 0 0 rgba(70,196,106,.55); }
  50%     { box-shadow: 0 0 0 4px rgba(70,196,106,0); }
}
.ppchat-close {
  background: rgba(237,232,217,.08); border: none; color: var(--cream);
  width: 28px; height: 28px; border-radius: 50%;
  font-size: .78rem; cursor: pointer; opacity: .8; flex-shrink: 0;
  transition: opacity .2s, background .2s;
}
.ppchat-close:hover { opacity: 1; background: rgba(237,232,217,.18); }

.ppchat-log {
  flex: 1; overflow-y: auto; padding: 16px 14px;
  display: flex; flex-direction: column; gap: 10px;
  background:
    radial-gradient(circle at 18% 0%, rgba(216,164,96,.16), transparent 55%),
    #FBF8F0;
}
.ppchat-log::-webkit-scrollbar { width: 6px; }
.ppchat-log::-webkit-scrollbar-thumb { background: rgba(57,46,44,.18); border-radius: 3px; }

.ppchat-msg {
  font-family: 'Montserrat', sans-serif; font-size: .86rem; line-height: 1.55;
  padding: 10px 13px; border-radius: 16px; max-width: 84%;
  white-space: pre-wrap; word-wrap: break-word;
  animation: ppchat-in .25s ease;
}
@keyframes ppchat-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.ppchat-msg.user {
  align-self: flex-end; background: var(--gold); color: var(--dark);
  border-bottom-right-radius: 5px; font-weight: 500;
}
.ppchat-msg.bot {
  align-self: flex-start;
  background: #FFFFFF; color: var(--dark);
  border: 1px solid rgba(57,46,44,.09);
  border-bottom-left-radius: 5px;
  box-shadow: 0 2px 6px rgba(57,46,44,.06);
}
.ppchat-msg a {
  display: inline-block; margin-top: 3px;
  background: var(--gold); color: var(--dark);
  font-weight: 700; text-decoration: none;
  padding: 5px 12px; border-radius: 14px;
  transition: transform .15s, filter .15s;
}
.ppchat-msg a:hover { transform: translateY(-1px); filter: brightness(1.07); }
.ppchat-typing {
  display: flex; gap: 4px; align-items: center; padding: 13px 14px;
}
.ppchat-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  animation: ppchat-dot 1.2s infinite ease-in-out;
}
.ppchat-typing span:nth-child(2) { animation-delay: .18s; }
.ppchat-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes ppchat-dot {
  0%,60%,100% { transform: translateY(0);    opacity: .4; }
  30%         { transform: translateY(-5px); opacity: 1; }
}

.ppchat-form {
  display: flex; gap: 8px; padding: 12px;
  border-top: 1px solid rgba(57,46,44,.1); background: #F1EBDB;
}
.ppchat-form input {
  flex: 1; background: #FFFFFF; border: 1px solid rgba(57,46,44,.16);
  border-radius: 22px; padding: 11px 16px; color: var(--dark);
  font-family: 'Montserrat', sans-serif; font-size: 16px;
  transition: border-color .2s;
}
.ppchat-form input::placeholder { color: rgba(57,46,44,.42); }
.ppchat-form input:focus { outline: none; border-color: var(--gold); }
.ppchat-form button {
  width: 42px; height: 42px; border-radius: 50%; border: none;
  background: var(--gold); color: var(--dark); cursor: pointer;
  font-size: .95rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s, opacity .2s;
}
.ppchat-form button:hover:not([disabled]) { transform: scale(1.08); }
.ppchat-form button[disabled] { opacity: .45; cursor: default; }

@media (max-width: 480px) {
  .ppchat-panel {
    left: 10px; right: 10px; top: 10px; bottom: 10px;
    width: auto; height: auto; max-height: none;
    transform: translateY(0) scale(.9);
  }
  .ppchat-panel.show { transform: translateY(0) scale(1); }
}
