/* ============================================================
   ÑAM GOURMET — HOJA DE ESTILOS PRINCIPAL
   Versión: 1.0.0 — producción
   Fuente display: Blair ITC Medium (local)
   Fuente body: DM Sans (Google Fonts)
   Paleta: negro profundo / naranja fuego / blanco roto
============================================================ */

/* ============================================================
   @FONT-FACE — Blair ITC local
============================================================ */
@font-face {
  font-family: 'BlairITC';
  src: url('../fonts/blair-itc-medium.woff2') format('woff2'),
       url('../fonts/blair-itc-medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   TOKENS ESPECÍFICOS DE PÁGINA (home)
   Los tokens de marca compartidos viven en tokens.css (cargado antes).
   Acá solo el chrome sticky propio del home.
============================================================ */
:root {
  /* Alto del chrome superior (ticker ~34px + nav ~68px) */
  --chrome-h: 102px;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

/* Seguridad: los titulares display nunca deben provocar scroll horizontal */
.hero-headline, .specialties-headline, .awards-headline,
.about-headline, .branches-headline {
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Accesibilidad: respetar prefers-reduced-motion de forma global.
   Neutraliza animaciones infinitas (ej. pulse-dot) y de entrada (fade-up)
   sin dejar elementos ocultos: la animación corre instantánea a su estado final. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* Skip link — accesibilidad */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent);
  color: var(--bg); /* negro sobre naranja: ~9.6:1 AAA (antes blanco ~1.7:1) */
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  z-index: 10000; /* por encima del overlay de ruido (body::after, 9999) */
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Compensación del chrome sticky al saltar a secciones vía links de nav/hash */
#especialidades,
#premios,
#nosotros,
#sucursales {
  scroll-margin-top: var(--chrome-h);
}

/* Focus visible global */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ============================================================
   TEXTURA DE RUIDO — overlay sutil global
============================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ============================================================
   TICKER SUPERIOR
============================================================ */
.ticker {
  background: var(--accent);
  overflow: hidden;
  padding: 8px 0;
  border-bottom: 1px solid var(--accent-dim);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-move 22s linear infinite;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}
.ticker-track span {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 48px;
  white-space: nowrap;
}
.ticker-track span::before {
  content: '◆';
  margin-right: 48px;
  opacity: 0.5;
}
@keyframes ticker-move {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   NAVBAR
============================================================ */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px var(--pad-x);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(17,17,17,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-logo {
  display: flex;
  align-items: center;
  height: 36px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--white); }

/* Enlace "Sumate al equipo" resaltado (naranja en lugar de gris) */
.nav-links a.nav-join--accent,
.nav-mobile a.nav-join--accent { color: var(--accent); }
.nav-links a.nav-join--accent:hover,
.nav-links a.nav-join--accent:focus-visible,
.nav-mobile a.nav-join--accent:hover,
.nav-mobile a.nav-join--accent:focus-visible { color: var(--accent-dim); }

/* Íconos SVG genéricos */
.icon { width: 20px; height: 20px; display: block; }

/* Redes en el nav (desktop) */
.nav-social { display: flex; align-items: center; gap: 14px; margin-right: 24px; }
.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
}
.nav-social a:hover,
.nav-social a:focus-visible { color: var(--accent); transform: translateY(-1px); }

.nav-cta {
  background: var(--accent);
  color: var(--bg); /* negro sobre naranja: contraste AAA */
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 11px 26px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  outline-offset: 3px;
}
.nav-cta:hover,
.nav-cta:focus-visible { background: var(--accent-dim); transform: translateY(-1px); }

/* Hamburger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  /* Touch target accesible ≥44×44px (las barras siguen viéndose igual, centradas) */
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--bg);
  z-index: 300; /* por encima del nav sticky (z-index 200) */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 24px;
  text-align: center;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(26px, 7vw, 44px); /* responsive: no se desborda en móvil */
  line-height: 1.1;
  max-width: 100%;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--accent); }

/* Redes en el menú mobile */
.nav-social-mobile { display: none; margin-top: 24px; gap: 18px; }
.nav-mobile.is-open .nav-social-mobile { display: flex; }
.nav-social-mobile a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-size: inherit;
}
.nav-social-mobile .icon { width: 26px; height: 26px; }

.nav-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white-dim);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  /* Touch target accesible ≥44×44px */
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: calc(100dvh - var(--chrome-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  position: relative;
  border-bottom: 1px solid var(--border);
}

/* Acento vertical izquierdo */
.hero::before {
  content: '';
  position: absolute;
  left: var(--pad-x);
  top: 0;
  width: 1px;
  height: 72px;
  background: var(--accent);
  z-index: 1;
}

/* Columna texto */
.hero-left {
  padding: var(--space-lg) var(--space-xl) var(--space-lg) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Offset chico para que (a) el dot no choque con la línea naranja vertical
     y (b) el eyebrow se alinee visualmente con el sidebearing del "S" de SABOR */
  padding-left: 10px;
  margin-bottom: 24px;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: 0.5; }
}
.hero-eyebrow span {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* Titular principal */
.hero-headline {
  font-family: var(--font-display);
  /* min 64px = máx del clamp mobile (640px): evita el salto de 8px en el breakpoint */
  font-size: clamp(64px, 8vw, 120px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin-bottom: 0;
  animation: fade-up 0.75s ease both;
}
.hero-headline .line-solid {
  display: block;
  color: var(--white);
}
.hero-headline .line-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--accent);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-divider {
  width: 56px;
  height: 2px;
  background: var(--accent);
  margin: 24px 0;
  animation: fade-up 0.75s 0.15s ease both;
}

.hero-body {
  font-size: 15px;
  color: var(--white-dim);
  max-width: 400px;
  line-height: 1.65;
  margin-bottom: 28px;
  animation: fade-up 0.75s 0.25s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  animation: fade-up 0.75s 0.35s ease both;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg); /* negro sobre naranja: contraste AAA */
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 32px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  outline-offset: 3px;
}
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--accent-dim); transform: translateY(-2px); }

/* Etiqueta/badge de marca: fondo naranja + texto negro (contraste AAA).
   Clase COMPARTIDA por .hero-badge-tag, .award-pill, .about-sticker y
   .coming-badge — cada componente define su tamaño/forma/espaciado aparte. */
.accent-badge {
  background: var(--accent);
  color: var(--bg);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white-dim);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}
.btn-ghost::after { content: '→'; transition: transform 0.2s ease; }
.btn-ghost:hover,
.btn-ghost:focus-visible { color: var(--white); }
.btn-ghost:hover::after { transform: translateX(5px); }

/* Columna imagen */
.hero-right {
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--border);
  animation: fade-up 0.75s 0.45s ease both;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--bg-raised);
}

/* Gradiente dramático sobre la foto */
.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(17,17,17,0.45) 0%, transparent 30%),
    linear-gradient(to top,    rgba(17,17,17,0.7)  0%, transparent 50%),
    radial-gradient(ellipse at 60% 30%, rgba(232,93,38,0.12) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

/* <picture> es inline por default; lo forzamos a llenar el wrap para que
   el object-fit del <img> hijo funcione contra el contenedor correcto */
.hero-img-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Badge producto sobre la foto */
.hero-badge {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-badge-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  align-self: flex-start;
}
.hero-badge-name {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

/* Stats debajo del texto hero */
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  animation: fade-up 0.75s 0.45s ease both;
}
.hero-stat {
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid var(--border);
  margin-right: 24px;
}
.hero-stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
/* Blair ITC no incluye el glifo "+", forzamos font-body para ese span */
.hero-stat-num .plus-prefix {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78em;
  vertical-align: 0.08em;
  margin-right: 2px;
}
.hero-stat-label {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
}
/* 4° stat: redes sociales en vez de número */
.hero-stat-social { display: flex; flex-direction: column; justify-content: center; }
.hero-stat-social .hero-stat-label { margin-bottom: 10px; }
.hero-stat-social .social-row { display: flex; gap: 14px; }
.hero-stat-social .social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
}
.hero-stat-social .social-row a:hover,
.hero-stat-social .social-row a:focus-visible { color: var(--accent); transform: translateY(-2px); }

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white-dim);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
  animation: fade-up 0.75s 0.6s ease both;
}
.scroll-line {
  width: 36px;
  height: 1px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%      { left: -100%; }
  50%, 100% { left: 100%; }
}

/* ============================================================
   MARQUEE — franja animada entre secciones
============================================================ */
.marquee-band {
  overflow: hidden;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
  padding: 22px 0;
  will-change: transform;
}
.marquee-track--reverse { animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.04em;
  padding-right: 72px;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
}
.marquee-track span.filled {
  color: var(--white);
  -webkit-text-stroke: none;
  opacity: 0.85;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION LABEL — componente reutilizable
============================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.section-label-line {
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.section-label span {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   ESPECIALIDADES
============================================================ */
.specialties {
  padding: var(--space-2xl) var(--pad-x);
  border-bottom: 1px solid var(--border);
}

.specialties-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 20px;
}

.specialties-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 7.5vw, 108px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: var(--white);
}
.specialties-headline .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.2s ease;
}
.menu-link:hover,
.menu-link:focus-visible { gap: 14px; }

/* Grid de especialidades: 3 columnas lado a lado */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.specialty-card {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease;
}
.specialty-card:hover { background: var(--bg-raised); }

/* Borde inferior acento al hover */
.specialty-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width 0.35s ease;
}
.specialty-card:hover::after { width: 100%; }

.specialty-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.specialty-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.75) 0%, transparent 50%);
  pointer-events: none;
}
.specialty-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.specialty-card:hover .specialty-img { transform: scale(1.05); }

.specialty-body {
  padding: 28px 28px 36px;
  position: relative;
}
.specialty-tag {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.specialty-name {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 0.92;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.specialty-desc {
  font-size: 13.5px;
  color: var(--white-dim);
  line-height: 1.7;
}

/* Card de hamburguesa destacada con el HamburgerLogo de fondo */
.specialty-card--featured {
  position: relative;
}
.specialty-bg-icon {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translate(40%, -50%);
  height: 95%;
  width: auto;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   PREMIOS — Festival del Lomo
============================================================ */
.awards {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Fondo decorativo: HamburgerLogo gigante */
.awards-bg-icon {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: auto;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}

.awards-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
}

.awards-left {
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--pad-x);
  border-right: 1px solid var(--border);
}

.awards-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.awards-headline span {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}

.awards-intro {
  font-size: 14.5px;
  color: var(--white-dim);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 40px;
}

.awards-right {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tarjeta de premio individual */
.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.award-card:hover { border-color: var(--accent); }
.award-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
}

.award-year {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232,93,38,0.2);
  position: absolute;
  top: 12px;
  right: 20px;
  pointer-events: none;
  user-select: none;
}

.award-pill {
  display: inline-block;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.award-title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.award-event {
  font-size: 12px;
  color: var(--white-dim);
  letter-spacing: 0.04em;
}

/* ============================================================
   SOBRE ÑAM — propuesta
============================================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.about-left {
  padding: var(--space-2xl) var(--space-xl) var(--space-2xl) var(--pad-x);
  border-right: 1px solid var(--border);
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.5vw, 92px);
  line-height: 0.88;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}
.about-headline em {
  display: block;
  font-size: 1.6em;
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 3px var(--accent);
  font-style: normal;
  margin: 16px 0;
}
.about-headline-small {
  display: block;
  font-size: 0.6em;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.about-text {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 40px;
}
.about-text strong {
  color: var(--white);
  font-weight: 500;
}

.about-pillars {
  display: flex;
  flex-direction: column;
}
.about-pillar {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.about-pillar-num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  min-width: 28px;
  padding-top: 2px;
  flex-shrink: 0;
}
.about-pillar-text strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.about-pillar-text span {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.65;
}

/* Panel derecho sobre ÑAM */
.about-right {
  position: relative;
  overflow: hidden;
  background: var(--bg-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.about-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(232,93,38,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(120,50,20,0.2) 0%, transparent 50%);
}
.about-right-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}
.about-big-word {
  font-family: var(--font-display);
  font-size: 200px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232,93,38,0.12);
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}
.about-sticker {
  position: absolute;
  top: 36px;
  right: 36px;
  text-align: center;
  padding: 18px 20px;
  transform: rotate(6deg);
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.about-sticker strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
}
.about-sticker span {
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ============================================================
   SUCURSALES
============================================================ */
.branches {
  padding: var(--space-2xl) var(--pad-x);
  border-bottom: 1px solid var(--border);
}

.branches-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  margin-bottom: 64px;
  gap: 20px;
}

.branches-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 7.5vw, 108px);
  line-height: 0.88;
  letter-spacing: 0.01em;
}
.branches-headline .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}

.branches-subhead {
  font-size: 13.5px;
  color: var(--white-dim);
  max-width: 360px;
}

/* Grid de sucursales */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 1px;
}

.branch-card {
  background: var(--bg);
  padding: 32px 28px;
  position: relative;
  transition: background 0.2s ease;
  border-bottom: 3px solid transparent;
}
.branch-card:hover {
  background: var(--bg-card);
  border-bottom-color: var(--accent);
}

.branch-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  line-height: 1;
}
.branch-address {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}
.branch-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.branch-contact svg { width: 16px; height: 16px; flex-shrink: 0; }

/* WhatsApp: link de texto + ícono en verde WhatsApp (color reconocible) */
.branch-whatsapp {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #25d366;
  padding: 12px 0; /* eleva el área de toque (CTA de conversión en mobile) */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.branch-whatsapp:hover,
.branch-whatsapp:focus-visible { color: #1ebe5d; }

/* Pedí Ahora: link de texto naranja (sin recuadro) */
.branch-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 0; /* eleva el área de toque (CTA de conversión en mobile) */
  text-decoration: none;
  transition: color 0.2s ease;
}
.branch-order:hover,
.branch-order:focus-visible { color: var(--white); }

/* Card "próxima apertura" */
.branch-card--coming {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.branch-card--coming::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(232,93,38,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.branch-card--coming .branch-name {
  color: var(--accent);
}
.coming-badge {
  display: inline-block;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 16px;
  animation: badge-pulse 2.5s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}
.coming-teaser {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.65;
}
/* Espaciado del contacto en la tarjeta "próxima apertura" (antes inline) */
.branch-card--coming .branch-contact { margin-top: var(--space-sm); }
/* Link social de la tarjeta "próxima apertura" (Instagram Maipú) */
.branch-social-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 12px 0; /* touch target accesible */
  transition: color 0.2s ease;
}
.branch-social-link:hover,
.branch-social-link:focus-visible { color: var(--white); }

/* Fila de horarios */
.branches-hours {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  padding: 28px var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.branches-hours-label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.branches-hours-value {
  font-size: 14px;
  color: var(--white);
}
.branches-hours-note {
  font-size: 12px;
  color: var(--white-dim);
  text-align: right;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 40px var(--pad-x);
  border-bottom: 1px solid var(--border);
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  color: var(--white-dim);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg); /* ícono negro sobre naranja en hover (contraste) */
}
.footer-social .icon { width: 18px; height: 18px; }

.footer-bottom {
  padding: 20px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 11.5px;
  color: rgba(240,236,228,0.3);
}
.footer-slogan {
  font-size: 11.5px;
  color: rgba(240,236,228,0.25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

/* Tablet */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right {
    border-left: none;
    border-top: 1px solid var(--border);
    height: 55vw;
    min-height: 320px;
    max-height: 520px;
  }
  .hero-left { padding: 64px var(--pad-x) 48px; }
  .hero::before { left: var(--pad-x); }
  .hero-scroll { display: none; }

  /* Redes del nav se mueven al menú mobile */
  .nav-social:not(.nav-social-mobile) { display: none; }

  .awards-inner { grid-template-columns: 1fr; }
  .awards-left { border-right: none; border-bottom: 1px solid var(--border); }
  .awards-right { padding: var(--space-lg) var(--pad-x); }
  .awards-bg-icon { display: none; }

  .about { grid-template-columns: 1fr; }
  .about-left { border-right: none; border-bottom: 1px solid var(--border); padding: 64px var(--pad-x); }
  .about-right { min-height: 300px; }

  .specialties-grid { grid-template-columns: 1fr 1fr; }
  .specialties-grid .specialty-card:last-child {
    grid-column: 1 / -1;
  }

  .branches-grid { grid-template-columns: 1fr 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-social { justify-content: center; }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --pad-x: 20px;
    --space-xl: 56px;
    --space-2xl: 72px;
    --chrome-h: 76px;
  }

  .ticker-track span { font-size: 9.5px; padding: 0 32px; }

  .nav { padding: 16px var(--pad-x); }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Headlines display: tamaños mobile que no se desbordan a lo ancho */
  .hero-headline { font-size: clamp(34px, 11vw, 64px); }
  .specialties-headline { font-size: clamp(30px, 10vw, 56px); }
  .awards-headline { font-size: clamp(28px, 9vw, 48px); }
  .about-headline { font-size: clamp(30px, 10vw, 56px); }
  .branches-headline { font-size: clamp(30px, 10vw, 56px); }

  /* Outline más fino en móvil (a tamaños chicos el stroke grueso se apretaba) */
  .hero-headline .line-outline { -webkit-text-stroke-width: 1.5px; }
  .specialties-headline .outline { -webkit-text-stroke-width: 1px; }
  .awards-headline span { -webkit-text-stroke-width: 1.2px; }
  .about-headline em { -webkit-text-stroke-width: 1.5px; }
  .branches-headline .outline { -webkit-text-stroke-width: 1px; }

  .hero-right { height: 72vw; min-height: 280px; }
  .hero-badge-name { font-size: 22px; }
  .hero-badge { bottom: 20px; left: 20px; }

  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat { border-right: none; margin-right: 0; padding-right: 0; }

  .specialties { padding: 64px var(--pad-x); }
  .specialties-grid { grid-template-columns: 1fr; }
  .specialties-grid .specialty-card:last-child { grid-column: auto; }
  .specialties-header { flex-direction: column; align-items: flex-start; }

  .awards-left { padding: 56px var(--pad-x); }
  .awards-right { gap: 16px; }
  .award-year { font-size: 52px; }

  .about-left { padding: 56px var(--pad-x); }
  .about-right { min-height: 240px; }

  .branches { padding: 64px var(--pad-x); }
  .branches-header { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .branches-hours {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .branches-hours-note { text-align: left; }

  .marquee-track span { font-size: 36px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   CARTA — PLACEHOLDER (temporal hasta la carta dinámica)
============================================================ */
.carta-placeholder {
  min-height: calc(100dvh - var(--chrome-h) - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--pad-x);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.carta-placeholder-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  width: 100%;
}

.carta-headline {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 128px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 0;
  margin-top: 0;
}

.carta-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}

.carta-divider {
  width: 56px;
  height: 2px;
  background: var(--accent);
  margin: 28px 0;
}

.carta-body {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 36px;
}

.carta-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.carta-delivery {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.carta-delivery-label {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.carta-delivery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.carta-delivery-list a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.carta-delivery-list a::before {
  content: '→';
  color: var(--accent);
}

.carta-delivery-list a:hover,
.carta-delivery-list a:focus-visible {
  color: var(--white);
}

.carta-bg-word {
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 280px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 93, 38, 0.06);
  position: absolute;
  bottom: -20px;
  right: -20px;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

@media (max-width: 640px) {
  .carta-actions { flex-direction: column; align-items: flex-start; }
  .carta-delivery-list { gap: 12px 16px; }
}
