/* =========================================================
   GLOSS SALON — estilos
   --color-accent (#2BF1AD) extraído de img/logo.png (texto "salon")
   ========================================================= */
:root {
  --color-accent: #2BF1AD;
  --color-accent-rgb: 43, 241, 173;
  --color-accent-ink: #000;
  --color-bg: #000;
  --color-surface: #0a0a0a;
  --color-surface-2: #121212;
  --color-line: rgba(255, 255, 255, .1);
  --color-text: #fff;
  --color-muted: #a9a9a9;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow-accent: 0 10px 30px -10px rgba(var(--color-accent-rgb), .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: var(--color-accent); color: #000; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--color-accent); color: #000; padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--color-accent); font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-lead { color: var(--color-muted); margin-top: 16px; font-size: 1.05rem; max-width: 60ch; }
.star { color: var(--color-accent); }

/* ---------- Botones ---------- */
.btn {
  --b: var(--color-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border-radius: 999px; border: 1.5px solid var(--b);
  font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); position: relative; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn-primary:hover::after { animation: pulse 1.4s var(--ease) infinite; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), .5); }
  100% { box-shadow: 0 0 0 14px rgba(var(--color-accent-rgb), 0); }
}

/* ---------- A) Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s, height .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  --header-h: 62px;
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--color-line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; flex: none; }
.brand img { height: calc(var(--header-h) - 14px); width: auto; transition: height .4s var(--ease); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 30px); }
.main-nav a {
  position: relative; text-decoration: none; font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .82);
  padding: 6px 0; transition: color .25s;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a.is-active { color: #fff; }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-phone-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .9rem;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--color-line); transition: border-color .3s, color .3s;
}
.header-phone svg { width: 16px; height: 16px; fill: var(--color-accent); }
.header-phone:hover { border-color: var(--color-accent); color: var(--color-accent); }
.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, .04); cursor: pointer; font-size: .75rem; font-weight: 700; letter-spacing: .05em;
}
.lang-toggle span { padding: 6px 9px; border-radius: 999px; color: var(--color-muted); transition: background-color .3s, color .3s; }
html[lang="es"] .lang-toggle [data-l="es"], html[lang="en"] .lang-toggle [data-l="en"] { background: var(--color-accent); color: #000; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- B) Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 32px) 0 96px;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; background: #000;
}
.hero-tile { position: relative; overflow: hidden; background: #0a0a0a; }
.hero-tile video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero-tile:nth-child(2) video { animation-delay: -5s; }
.hero-tile:nth-child(3) video { animation-delay: -10s; }
.hero-tile:nth-child(4) video { animation-delay: -14s; }
@keyframes heroZoom { to { transform: scale(1.18); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .78) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, .95) 100%);
}
.hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-content > * { opacity: 0; transform: translateY(26px); animation: heroIn 1s var(--ease) forwards; }
.hero-content > :nth-child(1) { animation-delay: .1s; }
.hero-content > :nth-child(2) { animation-delay: .2s; }
.hero-content > :nth-child(3) { animation-delay: .4s; }
.hero-content > :nth-child(4) { animation-delay: .5s; }
.hero-content > :nth-child(5) { animation-delay: .65s; }
.hero-content > :nth-child(6) { animation-delay: .8s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero-title { margin: 0; }
.hero-logo { width: min(620px, 82vw); height: auto; filter: drop-shadow(0 0 40px rgba(var(--color-accent-rgb), .12)); }
.hero-sub {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 3vw, 1.8rem);
  margin-top: 4px; color: #fff;
}
.hero-text { color: rgba(255, 255, 255, .78); max-width: 52ch; margin-top: 14px; font-size: clamp(.98rem, 2vw, 1.1rem); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.hero-stats {
  list-style: none; padding: 0; margin: 44px 0 0; display: flex; gap: clamp(20px, 5vw, 56px);
  justify-content: center; flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-stats strong { font-family: var(--font-serif); font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 600; line-height: 1; }
.hero-stats li > span { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--color-muted); }
.open-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .82rem; font-weight: 500; padding: 7px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .5); border: 1px solid var(--color-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.open-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #777; }
.open-pill.is-open .dot { background: var(--color-accent); box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), .7); animation: dot 2s infinite; }
@keyframes dot { 70% { box-shadow: 0 0 0 9px rgba(var(--color-accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), 0); } }
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; translate: -50% 0; width: 26px; height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--color-accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- C) Cinta ---------- */
.tape {
  --h: 280px;
  padding-block: 22px; background: var(--color-bg);
  border-block: 1px solid var(--color-line); overflow: hidden;
}
.tape-track { overflow: hidden; }
.tape-list {
  --dur: 60s;
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 14px; width: max-content;
  animation: tape var(--dur) linear infinite;
  will-change: transform;
}
.tape:hover .tape-list { animation-play-state: paused; }
.tape-list li { flex: none; height: var(--h); border-radius: var(--radius-sm); overflow: hidden; background: var(--color-surface-2); }
.tape-list img { height: 100%; width: auto; object-fit: cover; transition: transform .6s var(--ease), filter .6s; filter: saturate(.9); }
.tape-list li:hover img { transform: scale(1.06); filter: saturate(1.1); }
/* La lista se duplica en JS: -50% = exactamente una copia (el gap está dentro por el padding-right) */
.tape-list { padding-right: 14px; }
@keyframes tape { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- D) Barberos ---------- */
.barbers { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(var(--color-accent-rgb), .07), transparent 70%); }
.barber {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: calc(var(--radius) + 6px);
  overflow: hidden; margin-bottom: clamp(28px, 4vw, 44px);
  transition: border-color .5s, box-shadow .5s var(--ease), transform .6s var(--ease), opacity .8s var(--ease);
}
.barber:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.barber:nth-of-type(even) .barber-cover { order: 2; }
.barber:hover { border-color: rgba(var(--color-accent-rgb), .45); box-shadow: 0 30px 60px -30px rgba(var(--color-accent-rgb), .25); }
.js .barber.is-visible:hover { transform: translateY(-4px); }
.barber-cover { position: relative; overflow: hidden; min-height: 420px; }
.barber-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.barber:hover .barber-cover img { transform: scale(1.05); }
.barber-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .75)); }
.barber-index {
  position: absolute; left: 22px; bottom: 16px; z-index: 1;
  font-family: var(--font-serif); font-size: 4.5rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(var(--color-accent-rgb), .85);
}
.barber-body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; min-width: 0; }
.barber-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.barber-name { font-family: var(--font-serif); font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 600; }
.badge {
  font-size: .75rem; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(var(--color-accent-rgb), .45); color: #fff; background: rgba(var(--color-accent-rgb), .08);
  white-space: nowrap;
}
.barber-role { color: var(--color-accent); font-weight: 500; font-size: .92rem; margin-top: 8px; letter-spacing: .02em; }
.barber-bio { color: var(--color-muted); margin-top: 12px; max-width: 58ch; }
.tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .78rem; padding: 5px 12px; border-radius: 999px; background: var(--color-surface-2); border: 1px solid var(--color-line); color: rgba(255, 255, 255, .85); }
.barber-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* Mini-galería */
.mini-gallery { margin-top: 28px; }
.g-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.g-item {
  position: relative; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--color-surface-2); cursor: zoom-in;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.g-item img, .g-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid transparent; transition: border-color .3s; pointer-events: none; }
.g-item:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9); }
.g-item:hover img, .g-item:hover video { transform: scale(1.08); }
.g-item:hover::after { border-color: var(--color-accent); }
.g-play {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0, 0, 0, .6); display: grid; place-items: center; pointer-events: none;
}
.g-play::before { content: ""; margin-left: 2px; border-left: 8px solid var(--color-accent); border-block: 5px solid transparent; }
.g-item.is-extra { display: none; }
.mini-gallery.is-expanded .g-item.is-extra { display: block; animation: gIn .5s var(--ease) both; }
@keyframes gIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.gallery-more {
  margin-top: 12px; width: 100%; min-height: 44px; border-radius: var(--radius-sm); cursor: pointer;
  background: transparent; border: 1px dashed rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .85);
  font-size: .88rem; font-weight: 500; transition: border-color .3s, color .3s;
}
.gallery-more:hover { border-color: var(--color-accent); color: var(--color-accent); }
.gallery-more .count { color: var(--color-accent); }

/* ---------- E) Servicios ---------- */
.services { background: var(--color-surface); border-block: 1px solid var(--color-line); }
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  position: relative; padding: 30px 26px 24px; border-radius: var(--radius); overflow: hidden;
  background: var(--color-bg); border: 1px solid var(--color-line);
  display: flex; flex-direction: column;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease), opacity .8s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle at 100% 0%, rgba(var(--color-accent-rgb), .14), transparent 60%);
}
.service:hover { border-color: rgba(var(--color-accent-rgb), .6); box-shadow: var(--shadow-accent); }
.js .service.is-visible:hover { transform: translateY(-5px); }
.service:hover::before { opacity: 1; }
.service-num { font-size: .78rem; font-weight: 700; letter-spacing: .15em; color: var(--color-accent); }
.service h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.45rem; margin-top: 14px; }
.service p { color: var(--color-muted); font-size: .93rem; margin-top: 8px; flex: 1; }
.service-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--color-line); }
.dur { font-size: .82rem; color: var(--color-muted); letter-spacing: .05em; }
.price { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; color: #fff; }
.service-featured { border-color: rgba(var(--color-accent-rgb), .4); }
.service-featured .price { color: var(--color-accent); }
.services-note { margin-top: 32px; color: var(--color-muted); text-align: center; }
.services-note a { color: var(--color-accent); text-decoration: none; border-bottom: 1px solid rgba(var(--color-accent-rgb), .4); }

/* ---------- F) Reseñas ---------- */
.rating-summary {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 20px 24px; margin-bottom: 30px; border-radius: var(--radius);
  background: var(--color-surface); border: 1px solid var(--color-line); width: fit-content; max-width: 100%;
}
.g-logo { width: 42px; height: 42px; flex: none; }
.rating-line { display: flex; align-items: center; gap: 10px; }
.rating-line strong { font-family: var(--font-serif); font-size: 2rem; line-height: 1; }
.stars { color: #FBBC04; letter-spacing: 2px; font-size: 1rem; }
.stars .half { background: linear-gradient(90deg, #FBBC04 50%, #444 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating-count { color: var(--color-muted); font-size: .88rem; }
.review-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.review { grid-column: span 2; }
.review:nth-child(4) { grid-column: 2 / span 2; }
.review {
  padding: 26px; border-radius: var(--radius); background: var(--color-surface); border: 1px solid var(--color-line);
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color .4s, transform .5s var(--ease), opacity .8s var(--ease);
}
.review:hover { border-color: rgba(var(--color-accent-rgb), .5); }
.js .review.is-visible:hover { transform: translateY(-4px); }
.review header { display: flex; align-items: center; gap: 12px; }
.review header > div { flex: 1; min-width: 0; }
.review h3 { font-size: 1rem; font-weight: 600; font-family: var(--font-sans); }
.review .stars { font-size: .85rem; }
.guide { font-size: .7rem; letter-spacing: 0; color: var(--color-muted); margin-left: 4px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 700; font-size: .9rem; color: #000; background: var(--color-accent);
}
.review:nth-child(2n) .avatar { background: #fff; }
.g-mark { width: 22px; height: 22px; flex: none; }
.review > p { color: rgba(255, 255, 255, .85); font-size: .96rem; line-height: 1.65; }
.reviews-note { margin-top: 22px; font-size: .82rem; color: var(--color-muted); text-align: center; }

/* ---------- G) Reserva ---------- */
.booking-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.booking-photo { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; min-height: 460px; }
.booking-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.booking-photo:hover img { transform: scale(1.04); }
.booking-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .85)); }
.booking-photo-caption { position: absolute; left: 24px; bottom: 22px; z-index: 1; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.3; }
.booking-photo-caption p:last-child { color: var(--color-accent); font-size: 1rem; font-family: var(--font-sans); }
.booking-form { margin-top: 28px; display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: .85rem; font-weight: 500; color: rgba(255, 255, 255, .85); }
.optional { color: var(--color-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: inherit; font-size: 16px; /* 16px evita el zoom automático en iOS */
  color: #fff; background: var(--color-surface); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-sm);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232BF1AD' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; cursor: pointer;
}
.field select option { background: #111; color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #6f6f6f; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), .18); background: #0e0e0e; }
.field-error { display: none; font-size: .8rem; color: #ff7a7a; }
.field.has-error input { border-color: #ff7a7a; }
.field.has-error .field-error { display: block; }
.booking-form .btn { margin-top: 6px; min-height: 56px; font-size: 1rem; }
.form-foot { text-align: center; color: var(--color-muted); font-size: .9rem; }
.form-foot a { color: var(--color-accent); font-weight: 600; text-decoration: none; }

/* ---------- H) Mapa ---------- */
.location { background: var(--color-surface); border-top: 1px solid var(--color-line); }
.location-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.location-info address { font-style: normal; font-size: 1.15rem; margin-top: 18px; }
.location-info address a { text-decoration: none; }
.location-info address a:hover { color: var(--color-accent); }
.big-phone { display: inline-block; margin-top: 10px; font-family: var(--font-serif); font-size: 1.7rem; color: var(--color-accent); text-decoration: none; }
.hours { width: 100%; margin: 24px 0 28px; border-collapse: collapse; font-size: .93rem; }
.hours caption { text-align: left; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--color-muted); padding-bottom: 8px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--color-line); }
.hours th { text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--color-accent); font-weight: 600; }
.map-wrap { border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 1px solid var(--color-line); min-height: 420px; background: #111; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); transition: filter .5s; }
.map-wrap:hover iframe { filter: none; }

/* ---------- I) Footer ---------- */
.site-footer { padding-top: 64px; border-top: 1px solid var(--color-line); background: #000; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand img { width: 170px; height: auto; margin-left: -10px; }
.footer-brand p { color: var(--color-muted); margin-top: 10px; max-width: 30ch; }
.site-footer h3 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; margin-bottom: 14px; }
.site-footer p, .footer-links { color: rgba(255, 255, 255, .78); font-size: .93rem; }
.site-footer p + p { margin-top: 8px; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--color-accent); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--color-line);
}
.footer-bottom p { font-size: .8rem !important; color: var(--color-muted) !important; margin: 0 !important; }
.credit a { color: rgba(255, 255, 255, .7); }

/* ---------- Barra móvil ---------- */
.mobile-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .94);
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: lbIn .3s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lb-stage { margin: 0; grid-column: 2; display: grid; place-items: center; height: 100vh; height: 100dvh; padding: 56px 0; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--radius-sm); animation: lbZoom .4s var(--ease); }
@keyframes lbZoom { from { opacity: 0; transform: scale(.94); } }
.lightbox button { background: rgba(255, 255, 255, .08); border: 1px solid var(--color-line); width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; justify-self: center; transition: background-color .25s, color .25s; }
.lightbox button:hover { background: var(--color-accent); color: #000; }
.lb-close { position: absolute; top: 14px; right: 14px; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .5s, box-shadow .5s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible:hover { transition-delay: 0s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .header-phone { padding: 10px; }
  .main-nav ul { gap: 16px; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .menu-toggle { display: block; }
  .header-phone { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
    background: rgba(0, 0, 0, .97);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 6px; }
  .main-nav ul a { display: block; font-family: var(--font-serif); font-size: 2rem; padding: 8px 0; color: #fff; }
  .main-nav ul li { opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .menu-open .main-nav ul li { opacity: 1; transform: none; }
  .menu-open .main-nav ul li:nth-child(2) { transition-delay: .05s; }
  .menu-open .main-nav ul li:nth-child(3) { transition-delay: .1s; }
  .menu-open .main-nav ul li:nth-child(4) { transition-delay: .15s; }
  .menu-open .main-nav ul li:nth-child(5) { transition-delay: .2s; }
  .menu-open .main-nav ul li:nth-child(6) { transition-delay: .25s; }
  .nav-phone-mobile { display: inline-flex; color: var(--color-accent) !important; font-weight: 600; font-size: 1.1rem !important; border: 1px solid rgba(var(--color-accent-rgb), .5); padding: 12px 24px !important; border-radius: 999px; }
  .menu-open .site-header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.menu-open { overflow: hidden; }

  .hero-media { grid-template-columns: repeat(3, 1fr); }
  .hero-tile:nth-child(4) { display: none; }

  .barber, .barber:nth-of-type(even) { grid-template-columns: 1fr; }
  .barber:nth-of-type(even) .barber-cover { order: 0; }
  .barber-cover { min-height: 0; aspect-ratio: 16 / 11; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .review, .review:nth-child(4) { grid-column: auto; }
  .review:nth-child(5) { grid-column: 1 / -1; }

  .booking-grid, .location-grid { grid-template-columns: 1fr; }
  .booking-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  /* Móvil: un solo video de fondo */
  .hero-media { grid-template-columns: 1fr; }
  .hero-tile:not(:first-child) { display: none; }
  .hero { padding-bottom: 88px; }
  .hero-ctas { width: 100%; flex-direction: column; align-items: stretch; max-width: 360px; }
  .hero-stats { margin-top: 32px; gap: 18px; flex-wrap: nowrap; }
  .hero-stats li > span { font-size: .66rem; letter-spacing: .08em; text-align: center; }
  .scroll-cue { display: none; }

  .tape { --h: 190px; padding-block: 14px; }
  .tape-list { gap: 10px; padding-right: 10px; }

  .barber-cover { aspect-ratio: 4 / 3.4; }
  .barber-index { font-size: 3.4rem; }
  .barber-actions { flex-direction: column; }
  .barber-actions .btn { width: 100%; }
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service { padding: 22px 20px 18px; }
  .review-grid { grid-template-columns: 1fr; }
  .review:nth-child(5) { grid-column: auto; }
  .rating-summary { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .booking-photo { aspect-ratio: 4 / 3; }
  .map-wrap, .map-wrap iframe { min-height: 340px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

  .mobile-bar {
    display: grid; grid-template-columns: auto 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, .85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--color-line);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
    border-radius: 999px; text-decoration: none; font-weight: 600;
  }
  .mobile-bar-call { padding: 0 20px; border: 1px solid rgba(255, 255, 255, .3); }
  .mobile-bar-call svg { width: 18px; height: 18px; fill: var(--color-accent); }
  .mobile-bar-book { background: var(--color-accent); color: #000; }

  .lightbox { grid-template-columns: 1fr; }
  .lb-stage { grid-column: 1; padding: 64px 12px 84px; }
  .lb-prev, .lb-next { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

@media (max-width: 380px) {
  .lang-toggle span { padding: 6px 7px; }
  .hero-stats { gap: 18px; }
}

/* =========================================================
   prefers-reduced-motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-content > * { opacity: 1; transform: none; }
  .hero-tile video { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  /* La cinta no se mueve: se puede deslizar con el dedo/scroll horizontal dentro de ella */
  .tape-list { animation: none; }
  .tape-track { overflow-x: auto; scrollbar-width: none; }
  .tape-list li[aria-hidden="true"] { display: none; }
}
