/* Liam Barber Shop — estilos del sitio (v5, estilo "gran marca" tipo Apple, pedido por el cliente).
   Blanco limpio, Inter (alternativa libre a SF Pro) con titulares grandes y apretados en dos tonos,
   botones píldora, tarjetas redondeadas tipo bento, una sola sección negra, mucho aire. */

@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --blanco: #ffffff;
  --fondo: #fbfbfd;
  --gris-1: #f5f5f7;
  --gris-2: #e8e8ed;
  --tinta: #1d1d1f;
  --gris: #6e6e73;
  --gris-claro: #86868b;
  --negro: #000000;
  --acento: #b07a2a;      /* dorado Liam, solo en detalles */
  --azul: #0066cc;        /* enlaces, como en las grandes marcas */
  --verde-wa: #1f9d55;
  --linea: rgba(0, 0, 0, 0.08);
  --linea-fuerte: rgba(0, 0, 0, 0.16);
  --sombra: 0 2px 8px rgba(0, 0, 0, 0.04), 0 20px 50px -20px rgba(0, 0, 0, 0.18);
  --radio: 28px;
  --radio-sm: 18px;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  --serif: var(--sans);
  --mono: var(--sans);
  --display: var(--sans);
  --ancho: 1180px;
  --cab-alto: 56px;
  /* para reserva.css */
  --fondo-2: var(--gris-1); --superficie: var(--blanco); --superficie-2: var(--gris-1);
  --borde: var(--linea); --borde-fuerte: var(--linea-fuerte); --texto: var(--tinta);
  --suave: var(--gris); --tenue: var(--gris-claro); --oro: var(--tinta); --oro-claro: var(--tinta);
  --campo: var(--blanco); --sobre-oro: #fff; --aviso: #b3261e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font-family: var(--sans); font-size: 17px; line-height: 1.47; letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: 'cv11', 'ss01'; }
body.menu-abierto { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: #cfe3ff; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.6); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.07; letter-spacing: -0.03em; margin: 0 0 0.35em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--gris); }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; }
.saltar:focus { top: 12px; }
.ico { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.16em; }
.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 24px; }
.mono, .eyebrow { font-size: 14px; font-weight: 600; color: var(--acento); letter-spacing: -0.005em; margin: 0 0 12px; }
@media (max-width: 734px) { body { font-size: 16px; } }

/* entradas suaves (solo con JS) */
.js .revelar { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.js .revelar.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .revelar { opacity: 1; transform: none; transition: none; } .cinta-pista { animation: none !important; } }

/* ---------- botones y enlaces ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; font-family: var(--sans); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s; white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-primario { background: var(--tinta); color: #fff; }
.btn-primario:hover { background: #333336; color: #fff; }
.btn-secundario, .btn-tinta, .btn-crema { background: var(--gris-1); color: var(--tinta); }
.btn-secundario:hover, .btn-tinta:hover, .btn-crema:hover { background: var(--gris-2); }
.btn-wa { background: var(--gris-1); color: var(--tinta); }
.btn-wa .ico { color: var(--verde-wa); }
.btn-wa:hover { background: var(--gris-2); }
.btn-bloque { width: 100%; }
.btn-chico { min-height: 36px; padding: 0 16px; font-size: 14px; }
.enlace, .enlace-flecha { color: var(--azul); font-weight: 400; display: inline-flex; align-items: center; gap: 4px; }
.enlace:hover, .enlace-flecha:hover { text-decoration: underline; }
.enlace-flecha .ico { width: 0.9em; height: 0.9em; }
.oscuro .enlace, .oscuro .enlace-flecha { color: #2997ff; }
.oscuro .btn-primario, .tile-oscuro .btn-primario { background: #fff; color: var(--tinta); }
.oscuro .btn-primario:hover, .tile-oscuro .btn-primario:hover { background: var(--gris-2); }
.oscuro .btn-wa, .oscuro .btn-secundario { background: #1d1d1f; color: #fff; }

/* ---------- cabecera (barra de vidrio) ---------- */
.cabecera { position: sticky; top: 0; z-index: 50; height: var(--cab-alto); background: rgba(251, 251, 253, 0.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--linea); }
.cabecera .contenedor { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; max-width: 1180px; }
.logo img { height: 15px; width: auto; }
.menu { display: contents; }
.menu-enlaces { display: flex; gap: 4px; justify-content: center; }
.menu a { font-size: 13px; color: rgba(0, 0, 0, 0.8); padding: 6px 12px; border-radius: 999px; transition: color 0.2s; }
.menu a:hover, .menu a[aria-current="page"] { color: #000; }
.menu-enlaces a[aria-current="page"] { font-weight: 600; }
.menu-acciones { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.menu .tel { color: var(--gris); }
.menu .btn { min-height: 30px; padding: 0 14px; font-size: 13px; background: var(--tinta); color: #fff; }
.menu .btn:hover, .menu .btn[aria-current="page"] { background: #333336; color: #fff; }
.menu-boton { display: none; justify-self: end; background: none; border: 0; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; cursor: pointer; color: var(--tinta); }
.menu-boton .ico { width: 20px; height: 20px; }
.menu-boton .ico-cerrar { display: none; }
.menu-boton[aria-expanded="true"] .ico-abrir { display: none; }
.menu-boton[aria-expanded="true"] .ico-cerrar { display: block; }
@media (max-width: 1068px) { .menu .tel { display: none; } }
@media (max-width: 833px) {
  .cabecera .contenedor { grid-template-columns: 1fr auto; }
  .menu-boton { display: inline-flex; }
  .menu { display: flex; position: fixed; inset: var(--cab-alto) 0 0 0; background: var(--fondo); flex-direction: column; padding: 20px 32px 140px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.3s, transform 0.3s, visibility 0.3s; overflow-y: auto; }
  .menu.abierto { transform: none; opacity: 1; visibility: visible; }
  .menu-enlaces { flex-direction: column; gap: 0; }
  .menu-enlaces a { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--tinta); padding: 10px 0; border-radius: 0; }
  .menu-acciones { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .menu .tel { display: block; font-size: 17px; padding: 8px 0; }
  .menu .btn { min-height: 48px; font-size: 17px; }
}

/* ---------- portada ---------- */
.portada { padding: 72px 0 40px; text-align: center; background: var(--fondo); }
.portada-eyebrow { font-size: 17px; font-weight: 600; color: var(--acento); margin: 0 0 10px; }
.portada h1 { font-size: clamp(48px, 8vw, 96px); line-height: 1.02; letter-spacing: -0.045em; margin: 0 auto 18px; max-width: 18ch; }
.portada h1 em { display: block; }
.portada-sub { font-size: clamp(19px, 2vw, 24px); color: var(--gris); max-width: 34ch; margin: 0 auto 28px; letter-spacing: -0.015em; }
.portada-acciones { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 56px; }
.portada-marco { position: relative; }
.portada-foto { width: 100%; height: min(70vh, 640px); object-fit: cover; border-radius: var(--radio); }
@media (max-width: 734px) { .portada { padding-top: 48px; } .portada-foto { height: auto; aspect-ratio: 4 / 5; } .portada-acciones { margin-bottom: 36px; } }

/* buscador: barra de vidrio sobre la foto */
.buscador { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(760px, calc(100% - 48px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; align-items: center; background: rgba(255, 255, 255, 0.78); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); border-radius: 999px; padding: 8px; box-shadow: var(--sombra); text-align: left; }
.buscador label { min-width: 0; display: flex; flex-direction: column; padding: 4px 20px; border-right: 1px solid var(--linea); cursor: pointer; }
.buscador label:nth-child(2) { border-right: 0; }
.buscador label span { font-size: 12px; font-weight: 600; color: var(--gris); }
.buscador select { width: 100%; min-width: 0; appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: var(--tinta); font: inherit; font-size: 17px; font-weight: 500; padding: 0 20px 0 0; text-overflow: ellipsis; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--gris) 50%), linear-gradient(135deg, var(--gris) 50%, transparent 50%); background-position: right 6px center, right 1px center; background-size: 5px 5px; background-repeat: no-repeat; }
.buscador .btn { min-height: 52px; padding: 0 26px; }
.buscador .buscador-wa { display: none; }
@media (max-width: 734px) {
  .buscador { position: relative; left: auto; bottom: auto; transform: none; width: 100%; margin-top: 16px; grid-template-columns: minmax(0, 1fr); border-radius: var(--radio-sm); background: var(--blanco); }
  .buscador label { border-right: 0; border-bottom: 1px solid var(--linea); padding: 12px 14px; }
  .buscador .btn { margin-top: 8px; }
}

/* cinta de servicios */
.cinta { overflow: hidden; padding: 28px 0; background: var(--fondo); }
.cinta-pista { display: flex; align-items: center; width: max-content; animation: cinta 50s linear infinite; }
.cinta-pista span { font-size: 15px; font-weight: 500; color: var(--gris); padding: 0 22px; white-space: nowrap; }
.cinta-pista i { font-style: normal; color: var(--gris-2); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* datos destacados */
.datos-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.datos-grid li { background: var(--blanco); border-radius: var(--radio-sm); padding: 26px 24px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.datos-grid .ico { width: 26px; height: 26px; color: var(--acento); margin-bottom: 18px; }
.datos-grid strong { display: block; font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.datos-grid span { color: var(--gris); font-size: 15px; }
@media (max-width: 834px) { .datos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- secciones ---------- */
.seccion { padding: 120px 0; position: relative; }
.seccion-alt, .seccion-papel { background: var(--gris-1); }
.oscuro { background: var(--negro); color: #f5f5f7; }
.oscuro em { color: #86868b; }
.oscuro .bajada { color: #a1a1a6; }
.seccion-cab { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.seccion-cab .bajada { margin: 14px auto 0; }
.titulo-seccion { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.05; letter-spacing: -0.04em; margin: 0; }
.gigante { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.05; letter-spacing: -0.04em; text-align: center; margin: 0 0 56px; }
.gigante sup { font-size: 0.4em; color: var(--gris); vertical-align: top; margin-left: 4px; }
.bajada { font-size: clamp(19px, 2vw, 21px); color: var(--gris); max-width: 40ch; margin: 0; letter-spacing: -0.015em; }
.bajada-sep { margin-bottom: 36px; }
.centrado { text-align: center; margin-top: 44px; }
.desliza { display: none; }
@media (max-width: 734px) { .seccion { padding: 84px 0; } .seccion-cab { margin-bottom: 40px; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- bento de combos ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "a a b" "a a c" "d d d"; grid-template-rows: 400px 360px 440px; gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radio); background: var(--blanco); display: flex; flex-direction: column; min-height: 0; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.tile-a { grid-area: a; }
.tile-b { grid-area: b; }
.tile-corte { grid-area: c; justify-content: space-between; }
.tile-d { grid-area: d; flex-direction: row; }
.tile-txt { position: relative; z-index: 1; padding: 34px 34px 24px; }
.tile-tag { font-size: 14px; font-weight: 600; color: var(--acento); margin: 0 0 6px; }
.tile h3 { font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 6px; }
.tile-serv { color: var(--gris); font-size: 17px; margin: 0 0 12px; }
.tile-precio { font-size: 17px; font-weight: 500; margin: 0 0 18px; }
.tile-grande { font-size: 56px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; margin: 6px 0 14px; }
.tile-acc { margin: 0; }
.tile-foto { width: 100%; flex: 1; min-height: 0; object-fit: cover; margin-top: auto; }
.tile-foto { height: auto; }
.tile-b .tile-txt { padding-bottom: 18px; }
.tile-oscuro { background: var(--negro); color: #f5f5f7; }
.tile-oscuro .tile-serv { color: #a1a1a6; }
.tile-d .tile-txt { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.tile-d .tile-foto { width: 50%; height: auto; flex: none; margin: 0; }
@media (max-width: 834px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d"; grid-template-rows: none; }
  .tile-a .tile-foto, .tile-b .tile-foto { height: 280px; flex: none; }
  .tile-d { flex-direction: column; } .tile-d .tile-foto { width: 100%; height: 280px; } .tile-d .tile-txt { padding: 34px; }
}

/* ---------- lista de servicios (carta completa) ---------- */
.lista { list-style: none; padding: 0; margin: 0; background: var(--blanco); border-radius: var(--radio-sm); overflow: hidden; }
.renglon { display: grid; grid-template-columns: minmax(0, 1fr) 90px 120px auto; gap: 16px; align-items: center; padding: 20px 26px; border-bottom: 1px solid var(--linea); }
.renglon:last-child { border-bottom: 0; }
.renglon-nombre { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.renglon-nombre em { font-style: normal; color: var(--gris); }
.renglon-nombre small { display: block; font-size: 14px; font-weight: 400; color: var(--gris); margin-top: 2px; letter-spacing: 0; }
.renglon-dur { font-size: 15px; color: var(--gris); }
.renglon-puntos { display: none; }
.renglon-precio { font-size: 19px; font-weight: 600; text-align: right; white-space: nowrap; }
.renglon-precio small { font-size: 13px; font-weight: 400; color: var(--gris); margin-right: 4px; }
.renglon .btn { min-height: 34px; padding: 0 14px; font-size: 14px; background: var(--gris-1); color: var(--azul); }
.renglon .btn:hover { background: var(--gris-2); }
@media (max-width: 734px) { .renglon { grid-template-columns: minmax(0, 1fr) auto; padding: 18px; } .renglon-dur { display: none; } .renglon .btn { grid-column: 1 / -1; justify-self: start; } }
.carta-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 56px; }
.carta-nav a { font-size: 14px; background: var(--blanco); border-radius: 999px; padding: 8px 18px; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.carta-nav a:hover { background: var(--tinta); color: #fff; }
.carta { margin-bottom: 64px; scroll-margin-top: calc(var(--cab-alto) + 24px); }
.carta h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 18px; display: flex; align-items: baseline; gap: 12px; }
.carta h2 small { display: none; }
.aviso-borrador { background: var(--blanco); border-radius: var(--radio-sm); padding: 18px 22px; color: var(--gris); font-size: 15px; }

/* ---------- sedes ---------- */
.sede { display: flex; flex-direction: column; background: var(--blanco); border-radius: var(--radio); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.04); transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s; }
.sede:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.sede-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sede-cuerpo { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px 28px; flex: 1; }
.sede h3 { font-size: 28px; margin: 0 0 4px; }
.sede-dir, .sede-horario { color: var(--gris); font-size: 15px; margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.sede-dir .ico, .sede-horario .ico { margin-top: 0.22em; }
.sede-horario { margin-bottom: 18px; }
.sede-acciones-fila { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.sede-enlace { margin: 16px 0 0; }
.sedes { display: grid; gap: 1px; }
.sede-fila { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--linea); }
.sede-num, .sede-foto-hover { display: none; }
.sede-fila h3 { font-size: 28px; margin: 0; }
.sede-datos { color: var(--gris); font-size: 15px; display: grid; gap: 4px; }
.sede-acciones { display: flex; gap: 8px; }

/* ---------- equipo ---------- */
.equipo-carrusel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 23%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 24px; scrollbar-width: none; }
.equipo-carrusel::-webkit-scrollbar { display: none; }
.equipo-carrusel .barbero { scroll-snap-align: start; }
@media (max-width: 734px) { .equipo-carrusel { grid-auto-columns: 78%; } }
.equipo { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.barbero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 24px 26px; border-radius: var(--radio); background: var(--blanco); box-shadow: 0 1px 2px rgba(0,0,0,0.04); overflow: hidden; isolation: isolate; }
.seccion-alt .barbero { background: var(--blanco); }
.barbero-inicial { width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; font-size: 38px; font-weight: 600; letter-spacing: -0.03em; color: var(--tinta); background: linear-gradient(145deg, #f5f5f7, #e3e3e8); }
.barbero-sede { order: -1; font-size: 13px; font-weight: 600; color: var(--acento); margin-bottom: 18px; }
.barbero h3 { font-size: 22px; margin: 0 0 4px; letter-spacing: -0.02em; }
.barbero p { margin: 0 0 16px; color: var(--gris); font-size: 15px; }
.barbero a { color: var(--azul); font-size: 15px; display: inline-flex; gap: 4px; align-items: center; }
.barbero a:hover { text-decoration: underline; }
.barbero a .ico { width: 0.9em; height: 0.9em; }
.grupo-sede { margin-bottom: 80px; }
.grupo-sede-cab { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.grupo-sede-cab h2 { font-size: clamp(30px, 4vw, 44px); margin: 0; }
.grupo-sede-cab h2 em { display: none; }
.grupo-sede-cab p { margin: 0; color: var(--gris); }

/* ---------- pasos (sección negra) ---------- */
.pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: paso; }
.pasos li { counter-increment: paso; background: #161617; border-radius: var(--radio); padding: 36px 32px 40px; }
.pasos li::before { content: counter(paso); display: block; font-size: 72px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-bottom: 28px; background: linear-gradient(180deg, #f5f5f7, #6e6e73); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pasos h3 { font-size: 28px; margin: 0 0 8px; }
.pasos p { margin: 0; color: #a1a1a6; }
.seccion:not(.oscuro) .pasos li { background: var(--blanco); }
.seccion:not(.oscuro) .pasos p { color: var(--gris); }
@media (max-width: 834px) { .pasos { grid-template-columns: 1fr; } }

/* ---------- galería ---------- */
.galeria { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 100px; gap: 20px; }
.galeria figure { margin: 0; overflow: hidden; position: relative; border-radius: var(--radio); background: var(--gris-1); }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.galeria figure:hover img { transform: scale(1.04); }
.galeria figure:nth-child(1) { grid-column: 1 / 6; grid-row: span 6; }
.galeria figure:nth-child(2) { grid-column: 6 / 9; grid-row: span 3; }
.galeria figure:nth-child(3) { grid-column: 9 / 13; grid-row: span 6; }
.galeria figure:nth-child(4) { grid-column: 6 / 9; grid-row: span 3; }
.galeria figure:nth-child(5) { grid-column: 1 / 7; grid-row: span 3; }
.galeria figure:nth-child(6) { grid-column: 7 / 13; grid-row: span 3; }
.galeria figure:nth-child(n+7) { grid-column: 1 / -1; grid-row: span 3; }
.galeria figcaption { position: absolute; left: 16px; bottom: 16px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--tinta); border-radius: 999px; padding: 6px 12px; }
@media (max-width: 734px) { .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 12px; } .galeria figure:nth-child(n) { grid-column: auto; grid-row: span 2; } .galeria figure:nth-child(3n+1) { grid-column: 1 / -1; } }

/* ---------- tienda ---------- */

/* ---------- llamado final ---------- */
.cta { padding: 120px 0 130px; text-align: center; }
.cta h2 { font-size: clamp(44px, 7vw, 80px); line-height: 1.03; letter-spacing: -0.045em; margin: 0 auto 18px; max-width: 14ch; }
.cta p { color: var(--gris); max-width: 40ch; margin: 0 auto 32px; font-size: 21px; }
.cta .acciones, .cta-caja .acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-foto { display: none; }
.cta-caja { padding: 72px 32px; border-radius: var(--radio); text-align: center; background: var(--blanco); }
.cta-caja h2 { font-size: clamp(32px, 4.6vw, 52px); }
.cta-caja p { color: var(--gris); max-width: 46ch; margin: 0 auto 28px; font-size: 19px; }

/* ---------- cabecera de páginas interiores ---------- */
.cabecera-pagina { padding: 72px 0 24px; text-align: center; background: var(--fondo); }
.cabecera-pagina h1 { font-size: clamp(44px, 7vw, 80px); line-height: 1.03; letter-spacing: -0.045em; margin: 0 auto 16px; max-width: 14ch; }
.cabecera-pagina p { font-size: clamp(19px, 2vw, 23px); color: var(--gris); max-width: 40ch; margin: 0 auto; }
.cabecera-pagina p.eyebrow { font-size: 17px; color: var(--acento); margin-bottom: 10px; }
.cabecera-foto { display: block; width: 100%; height: min(60vh, 560px); object-fit: cover; border-radius: var(--radio); margin-top: 48px; }
.cabecera-velo { display: none; }
.migas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 13px; color: var(--gris); }
.migas li + li::before { content: '›'; margin-right: 8px; }
.migas a:hover { color: var(--tinta); }

/* ---------- ficha de sede ---------- */
.ficha { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.ficha-caja { border-radius: var(--radio); background: var(--blanco); padding: 32px; position: sticky; top: calc(var(--cab-alto) + 24px); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.ficha-caja h2 { font-size: 28px; }
.ficha-caja .btn { margin-top: 10px; }
.horario { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 15px; }
.horario th, .horario td { padding: 10px 0; border-bottom: 1px solid var(--linea); text-align: left; font-weight: 400; }
.horario td { text-align: right; color: var(--gris); }
.ficha-caja .sede-dir { margin-bottom: 14px; }
@media (max-width: 960px) { .ficha { grid-template-columns: 1fr; } .ficha-caja { position: static; order: -1; } }

/* ---------- contacto ---------- */
.canal { display: flex; gap: 20px; align-items: center; padding: 28px; border-radius: var(--radio); background: var(--blanco); box-shadow: 0 1px 2px rgba(0,0,0,0.04); transition: transform 0.3s, box-shadow 0.3s; }
.canal:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.canal-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--gris-1); flex: none; }
.canal-ico .ico { width: 24px; height: 24px; }
.canal h3 { font-size: 22px; margin: 0; }
.canal p { margin: 2px 0 0; color: var(--gris); font-size: 15px; word-break: break-word; }

/* ---------- textos legales ---------- */
.legal { max-width: 720px; margin: 0 auto; }
.legal h2 { font-size: 28px; margin-top: 1.6em; }
.legal p, .legal li { color: #424245; }

/* ---------- pie (claro, tipo Apple) ---------- */
.pie { background: var(--gris-1); color: var(--gris); padding: 64px 0 0; font-size: 13px; }
.pie-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--linea); }
.pie-intro .display { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--tinta); margin-bottom: 12px; }
.pie-intro p { max-width: 34ch; font-size: 14px; }
.pie-intro .btn { font-size: 14px; min-height: 38px; padding: 0 18px; }
.pie h2 { font-size: 13px; font-weight: 600; color: var(--tinta); margin: 0 0 12px; letter-spacing: -0.01em; }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pie li { display: flex; gap: 8px; align-items: flex-start; }
.pie li .ico { margin-top: 0.15em; }
.pie a:hover { color: var(--tinta); text-decoration: underline; }
.pie-marca { display: none; }
.pie-legal-fondo { background: var(--gris-1); }
.pie-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 22px; font-size: 12px; color: var(--gris-claro); }
.pie-legal p { margin: 0; }
.pie-legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 960px) { .pie-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pie-grid { grid-template-columns: 1fr; } }

/* ---------- barra inferior móvil ---------- */
.barra-movil { display: none; }
@media (max-width: 833px) {
  .barra-movil { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 6px; position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px; z-index: 40; background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); padding: 6px; border-radius: 999px; box-shadow: var(--sombra); }
  .barra-movil a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--tinta); }
  .barra-movil a.principal { background: var(--tinta); color: #fff; font-size: 15px; }
  .barra-movil .wa .ico { color: var(--verde-wa); }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ---------- 404 ---------- */
.error { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.error .contenedor { width: 100%; }
.error h1 { font-size: clamp(96px, 20vw, 200px); letter-spacing: -0.06em; line-height: 1; }
.error .acciones { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 600px) { .btn { white-space: normal; text-align: center; height: auto; padding: 12px 22px; line-height: 1.3; } }

@media (max-width: 734px) { .datos-grid strong { font-size: 24px; } .datos-grid li { padding: 20px 18px; } }

/* =====================================================================
   Animaciones sutiles (v5.1). Todo se desactiva con "reducir movimiento".
   ===================================================================== */
:root { --curva: cubic-bezier(0.2, 0.7, 0.2, 1); }

/* Entrada de la portada al cargar: escalonada */
@keyframes subir { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
.portada-eyebrow, .portada h1, .portada-sub, .portada-acciones { animation: subir 0.9s var(--curva) both; }
.portada-eyebrow { animation-delay: 0.05s; }
.portada h1 { animation-delay: 0.15s; }
.portada-sub { animation-delay: 0.3s; }
.portada-acciones { animation-delay: 0.42s; }
.portada-marco { animation: aparecer 1.2s var(--curva) 0.5s both; transform: scale(var(--zoom, 1)); transform-origin: 50% 0; transition: transform 0.15s linear; will-change: transform; }
.portada-marco .portada-foto { border-radius: var(--radio-marco, var(--radio)); }
.cabecera-pagina .migas, .cabecera-pagina .eyebrow, .cabecera-pagina h1, .cabecera-pagina > .contenedor > p { animation: subir 0.9s var(--curva) both; }
.cabecera-pagina h1 { animation-delay: 0.1s; }
.cabecera-pagina > .contenedor > p:not(.eyebrow) { animation-delay: 0.22s; }
.cabecera-foto { animation: aparecer 1.2s var(--curva) 0.35s both; }

/* Aparición al entrar en pantalla */
.js .revelar { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--curva), transform 1s var(--curva); }
.js .revelar.visible { opacity: 1; transform: none; }
.js [data-cascada] > * { opacity: 0; transform: translateY(28px) scale(0.98); transition: opacity 0.9s var(--curva), transform 0.9s var(--curva), box-shadow 0.4s, background 0.3s; transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s; }
.js [data-cascada].visible > * { opacity: 1; transform: none; }

/* Cabecera más sólida al bajar */
.cabecera { transition: background 0.3s, box-shadow 0.3s; }
.cabecera-solida { background: rgba(251, 251, 253, 0.92); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 10px 30px -20px rgba(0, 0, 0, 0.25); }

/* Fotos: fundido al cargar */
img.img-cargando { opacity: 0; }
main img { transition: opacity 0.7s var(--curva); }

/* Interacción: tarjetas que se elevan y fotos con leve zoom */
.tile, .sede, .canal, .barbero, .datos-grid li, .pasos li { transition: transform 0.5s var(--curva), box-shadow 0.5s var(--curva); }
.js [data-cascada].visible > .tile:hover, .js [data-cascada].visible > .sede:hover, .js [data-cascada].visible > .barbero:hover, .js [data-cascada].visible > li:hover { transform: translateY(-6px); }
.tile:hover, .barbero:hover, .datos-grid li:hover { box-shadow: var(--sombra); }
.tile-foto, .sede-foto { transition: transform 1.2s var(--curva); }
.tile:hover .tile-foto, .sede:hover .sede-foto { transform: scale(1.04); }
.sede { overflow: hidden; }
.btn { transition: background 0.25s, color 0.25s, transform 0.25s var(--curva), box-shadow 0.25s; }
.btn-primario:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.5); }
.enlace { transition: opacity 0.2s; }
.barra-movil a.principal { transition: transform 0.2s var(--curva); }
.barra-movil a.principal:active { transform: scale(0.97); }

/* Pasos (sección negra): número con brillo suave */
@keyframes brillo { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.oscuro .pasos li::before { background: linear-gradient(110deg, #6e6e73 20%, #f5f5f7 45%, #6e6e73 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; animation: brillo 6s ease-in-out infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  .portada-eyebrow, .portada h1, .portada-sub, .portada-acciones, .portada-marco, .cabecera-pagina *, .cabecera-foto, .oscuro .pasos li::before { animation: none !important; }
  .portada-marco { transform: none !important; }
  .tile:hover .tile-foto, .sede:hover .sede-foto { transform: none; }
  main img { transition: none; }
}
.js [data-cascada].listo > * { transition-delay: 0s; }

/* Logos de marcas reales (Simple Icons): rellenos y con su color oficial */
.ico.ico-marca { fill: currentColor; stroke: none; }
.ico-whatsapp { color: #25d366; }
.ico-instagram { color: #e4405f; }
.ico-facebook { color: #0866ff; }
.ico-tiktok { color: #000; }
.btn-primario .ico-whatsapp, .barra-movil a.principal .ico-whatsapp { color: #25d366; }
.oscuro .ico-tiktok { color: #fff; }
.canal-ico .ico-marca { width: 26px; height: 26px; }
.pie-credito a { color: var(--tinta); font-weight: 600; }
.seccion-alt .btn-wa, .cta .btn-wa { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.seccion-alt .btn-wa:hover, .cta .btn-wa:hover { background: var(--gris-2); }

/* Locales destacados: arriba en la portada, nombre del local en cada botón */
.seccion-locales { padding-top: 96px; }
.seccion-cifras { padding: 72px 0; }
.sede-acciones-fila { display: grid; grid-template-columns: 1fr; gap: 10px; }
.sede-acciones-fila .btn { width: 100%; min-height: 46px; font-size: 15px; }
.sede-dir { color: var(--tinta); font-weight: 500; font-size: 16px; }
.sede h3 { font-size: 30px; }
.sede-acciones .btn .ico, .sede-acciones-fila .btn .ico { width: 1em; height: 1em; }

/* Botones dentro del pie: el estilo de enlace del pie no debe pisarlos */
.pie a.btn, .pie a.btn:hover { text-decoration: none; }
.pie a.btn-primario, .pie a.btn-primario:hover { color: #fff; }
.btn:hover { text-decoration: none; }

.sede-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gris-1); color: var(--acento); margin-bottom: 8px; transition: background 0.3s, color 0.3s; }
.sede-ico .ico { width: 24px; height: 24px; }
.sede:hover .sede-ico { background: var(--tinta); color: #fff; }

/* Video de portada */
.portada-video { display: block; background: #1d1d1f; }
/* Aviso de productos bajo los botones de la portada */
.aviso-productos { margin: -28px 0 40px; }
.aviso-productos a { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 10px 18px; border-radius: 999px; background: var(--blanco); box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 0 0 1px var(--linea); font-size: 15px; color: var(--tinta); transition: box-shadow 0.3s, transform 0.3s var(--curva); }
.aviso-productos a:hover { box-shadow: var(--sombra); transform: translateY(-1px); }
.aviso-productos .ico { color: var(--acento); }
.aviso-productos span { color: var(--azul); }
@media (max-width: 734px) { .aviso-productos { margin: -16px 0 28px; } .aviso-productos a { font-size: 14px; border-radius: 18px; } }
.portada-eyebrow, .portada h1, .portada-sub, .portada-acciones, .aviso-productos { animation: subir 0.9s var(--curva) both; }
.aviso-productos { animation-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) { .aviso-productos { animation: none !important; } }

/* ---------- ficha de sede: video y foto del local ---------- */
.sede-local { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 64px; align-items: center; }
.sede-video { margin: 0; border-radius: var(--radio); overflow: hidden; background: #000; aspect-ratio: 9 / 16; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.35); }
.sede-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sede-local-foto { display: block; width: 100%; height: 340px; object-fit: cover; border-radius: var(--radio); margin-top: 32px; }
@media (max-width: 860px) {
  .sede-local { grid-template-columns: 1fr; gap: 36px; }
  .sede-video { width: 100%; max-width: 340px; margin: 0 auto; }
  .sede-local-foto { height: 260px; }
}

/* ---------- tienda: vitrina con fotos y videos reales ---------- */
.tienda-vitrina { padding-top: 40px; }
.tienda-cab { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.tienda-cab .bajada { margin: 18px auto 0; max-width: 46ch; }
.tienda-acciones { margin: 28px 0 0; }
.tienda-mosaico { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr) minmax(0, 1fr); grid-template-areas: "v1 a v2" "v1 b v2"; gap: 20px; }
.tienda-mosaico figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radio); background: var(--gris-1); }
.tienda-mosaico video, .tienda-mosaico img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tienda-mosaico figure:hover img, .tienda-mosaico figure:hover video { transform: scale(1.03); }
.tm-v1 { grid-area: v1; aspect-ratio: 9 / 16; }
.tm-v2 { grid-area: v2; aspect-ratio: 9 / 16; }
.tm-a { grid-area: a; }
.tm-b { grid-area: b; }
/* El alto de la grilla lo marcan los videos; las fotos del centro se recortan para llenar su celda. */
.tm-a img, .tm-b img { position: absolute; inset: 0; }
.tm-b img { object-position: 50% 30%; }
.tienda-cats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 36px 0 0; }
.tienda-cats li { background: var(--blanco); border-radius: 999px; padding: 10px 18px; font-size: 15px; color: var(--tinta); box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
@media (max-width: 834px) {
  .tienda-cab { margin-bottom: 36px; }
  .tienda-mosaico { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "a a" "v1 v2" "b b"; gap: 12px; }
  .tm-a, .tm-b { aspect-ratio: 4 / 3; }
  .tienda-cats li { font-size: 14px; padding: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) { .tienda-mosaico img, .tienda-mosaico video { transition: none; } }
