/* =========================================================
   Barbería Mateo's — Landing 2026
   ========================================================= */

@font-face {
  font-family: "Coolvetica Condensed";
  src: url("../fonts/CoolveticaCondensed.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marca */
  --red: #e10600;          /* rojo Mateo's, ajustado para contraste AA con blanco */
  --red-hot: #ff1f1a;
  --red-deep: #b30500;
  --ink: #0c0c0c;
  --ink-2: #161616;
  --ink-3: #222;
  --paper: #ffffff;
  --paper-2: #f3f1ee;
  --muted: #5b5b5b;
  --muted-light: rgba(255, 255, 255, .72);
  --line: rgba(12, 12, 12, .12);
  --line-light: rgba(255, 255, 255, .16);

  /* Tipografía */
  --font-display: "Coolvetica Condensed", "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-body: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --gutter: clamp(16px, 4vw, 48px);
  --container: 1320px;
  --header-h: 76px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 180ms;
  --dur: 320ms;

  /* Capas */
  --z-header: 50;
  --z-sticky: 60;
  --z-progress: 70;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: #fff;
  border-radius: 999px; text-decoration: none; font-weight: 700;
  transform: translateY(-160%); transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía base ---------- */
.h2, .hero__title, .hero__cta-title, .final__title, .footer__big, .barber__name, .feature__title, .step__title, .stat__num {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
}
.h2 { font-size: clamp(44px, 6.4vw, 96px); line-height: .92; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--muted-light); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(225, 6, 0, .16); }
.dot--white { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .2); }

/* Split text (máscaras por línea/palabra) */
.split-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .07em; margin-bottom: -.07em; }
.split-word { display: inline-block; will-change: transform; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 14px 26px;
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  touch-action: manipulation;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.btn::before { /* relleno que sube en hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover, var(--ink));
  transform: translateY(101%); border-radius: inherit;
  transition: transform 420ms var(--ease-out);
}
.btn__icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease-out); }
.btn:active { transform: scale(.97); }
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover .btn__icon { transform: translateX(4px); }
  .btn:hover { color: var(--btn-fg-hover, var(--btn-fg)); border-color: var(--btn-bd-hover, var(--btn-bd)); }
}

.btn--red { --btn-bg: var(--red); --btn-fg: #fff; --btn-hover: var(--ink); box-shadow: 0 10px 30px -10px rgba(225, 6, 0, .55); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--ink); --btn-hover: var(--ink); --btn-fg-hover: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .35); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); --btn-hover: var(--red); --btn-fg-hover: #fff; --btn-bd-hover: var(--red); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 13px; }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 15px; }
.btn--xl { min-height: 68px; padding: 20px 40px; font-size: clamp(16px, 1.3vw, 19px); }
.btn--xl .btn__icon { width: 24px; height: 24px; }

.btn--pulse::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -2;
  box-shadow: 0 0 0 0 rgba(255, 31, 26, .55);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 31, 26, .55); }
  70% { box-shadow: 0 0 0 22px rgba(255, 31, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 31, 26, 0); }
}

/* ---------- Estado abierto/cerrado ---------- */
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #9a9a9a; flex: none; }
.status.is-open .status__dot { background: #2fd36b; box-shadow: 0 0 0 0 rgba(47, 211, 107, .6); animation: live 2s infinite; }
.status.is-closed .status__dot { background: #ff9d3a; }
.status--dark { color: var(--ink); margin-top: 22px; }
.status--compact { font-size: 13px; color: var(--ink); }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(47, 211, 107, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(47, 211, 107, 0); } }

/* ---------- Barra de progreso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: var(--z-progress); pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), height var(--dur) var(--ease-out);
}
.header.is-scrolled {
  --header-h: 64px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-dark:not(.is-scrolled) { color: #fff; }
.header__inner {
  height: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.header__logo img { width: 128px; height: auto; transition: width var(--dur) var(--ease-out); }
.header.is-scrolled .header__logo img { width: 112px; }
.header__nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.header__nav--right { justify-content: flex-end; }
.nav-link {
  position: relative; padding: 10px 0;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform var(--dur) var(--ease-out);
}
@media (hover: hover) { .nav-link:hover::after { transform: scaleX(1); transform-origin: left; } }
.header__mobile-cta { display: none; }

@media (max-width: 1100px) {
  .header__inner { grid-template-columns: auto 1fr auto; }
  .header__nav { display: none; }
  .header__logo { grid-column: 1; }
  .header__logo img { width: 112px; }
  .header__mobile-cta { display: inline-flex; grid-column: 3; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 270vh; background: var(--paper); }
.no-js .hero, .reduced .hero { height: auto; }
.hero__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
}
.hero__head {
  position: relative; z-index: 2; text-align: center;
  padding: calc(var(--header-h) + clamp(12px, 3vh, 36px)) var(--gutter) 0;
}
.hero__head .eyebrow { margin-bottom: clamp(8px, 1.6vh, 18px); }
.hero__title {
  font-size: clamp(64px, 13.2vw, 232px); line-height: .84; color: var(--red);
  max-width: 11ch; margin-inline: auto;
}
.hero__media {
  position: absolute; inset: 0; z-index: 3;
  /* el recorte inicial lo calcula main.js; esto es el fallback */
  clip-path: inset(56% var(--gutter) 24px var(--gutter) round var(--radius-lg));
  background: var(--ink);
  will-change: clip-path;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.hero__shade {
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 60%, rgba(0, 0, 0, .15), rgba(0, 0, 0, .7)), linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55));
  opacity: .35;
}
.hero__intro {
  position: absolute; left: 50%; top: var(--intro-y, 78%); translate: -50% -50%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: #fff; text-decoration: none; text-align: center;
}
.hero__intro-label { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; line-height: 1; text-shadow: 0 2px 20px rgba(0, 0, 0, .4); }
.hero__intro-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); box-shadow: 0 8px 24px -6px rgba(225, 6, 0, .7);
}
.hero__intro-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: bob 1.8s var(--ease-in-out) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

.hero__cta {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: var(--header-h) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  color: #fff; pointer-events: none;
}
.hero__cta.is-active { pointer-events: auto; }
.hero__cta-kicker { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; opacity: .9; }
.hero__cta-title { font-size: clamp(76px, 15vw, 250px); line-height: .82; }
.hero__cta-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__cta-title .line > span { display: block; }
.hero__cta-title .line:last-child > span { color: var(--red-hot); }
.hero__cta-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: clamp(24px, 4vh, 44px); }
.hero__cta-meta { min-height: 22px; }

.hero__scroll-hint {
  position: absolute; z-index: 5; left: 50%; bottom: 22px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff;
  mix-blend-mode: difference;
}
.hero__scroll-hint i { width: 1.5px; height: 34px; background: currentColor; transform-origin: top; animation: hint 1.8s var(--ease-in-out) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Fallback sin JS / movimiento reducido: hero estático */
.no-js .hero__sticky, .reduced .hero__sticky { position: relative; height: auto; min-height: 100svh; }
.no-js .hero__media, .reduced .hero__media { position: relative; clip-path: none; margin: 24px var(--gutter) 0; border-radius: var(--radius-lg); overflow: hidden; height: 78svh; }
.no-js .hero__intro, .reduced .hero__intro { display: none; }
.no-js .hero__shade, .reduced .hero__shade { opacity: 1; }
.no-js .hero__cta, .reduced .hero__cta { pointer-events: auto; }
.no-js .hero__scroll-hint, .reduced .hero__scroll-hint { display: none; }

/* =========================================================
   BAND (rojo)
   ========================================================= */
.band { background: var(--red); color: #fff; padding: clamp(80px, 11vw, 150px) 0; position: relative; z-index: 2; }
.band__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.band__title { font-size: clamp(46px, 5.6vw, 88px); }
.band__body { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.band .lead strong { font-weight: 800; }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.hours__item {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .06);
}
.hours__day { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.hours__time { font-family: var(--font-display); font-size: 30px; line-height: 1.05; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .band__grid { grid-template-columns: 1fr; align-items: start; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--ink-3); }
.marquee__track { display: flex; align-items: center; gap: 32px; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--font-display); font-size: clamp(30px, 4vw, 56px); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.marquee__track i { width: 12px; height: 12px; border-radius: 50%; background: var(--red); flex: none; font-size: 0; }

/* =========================================================
   EQUIPO
   ========================================================= */
.team { background: var(--paper); padding: clamp(80px, 10vw, 140px) 0; }
.team__track {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px);
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
}
.team__intro { grid-column: 1 / -1; max-width: 760px; margin-bottom: 12px; }
.team__title { color: var(--red); }
.team__sub { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 40ch; }
.team__drag-hint { display: none; }

.barber { display: flex; flex-direction: column; align-items: flex-start; }
.barber__photo {
  position: relative; width: 100%; aspect-ratio: 1 / 1; margin-bottom: 24px;
  border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 50% 35%, #fff 0%, var(--paper-2) 70%);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* fix radius + transform en Safari */
}
.barber__photo::after { /* pie rojo sutil */
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%;
  background: linear-gradient(0deg, rgba(225, 6, 0, .14), transparent);
  opacity: 0; transition: opacity 500ms var(--ease-out);
}
.barber__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  mix-blend-mode: multiply; transform-origin: 50% 100%;
  transition: scale 700ms var(--ease-out);
}
.barber__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 7px 12px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
@media (hover: hover) {
  .barber:hover .barber__photo img { scale: 1.05; }
  .barber:hover .barber__photo::after { opacity: 1; }
}
.barber__role { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.barber__name { font-size: clamp(38px, 3.6vw, 52px); line-height: .95; margin-bottom: 14px; }
.barber__bio { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 24px; max-width: 46ch; }
.barber .btn { margin-top: auto; }

/* Desktop: carrusel horizontal anclado al scroll (lo activa main.js) */
.team.is-horizontal { padding: 0; }
.team.is-horizontal .team__pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.team.is-horizontal .team__track {
  display: flex; align-items: stretch; gap: clamp(28px, 3vw, 48px);
  max-width: none; margin: 0; padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  width: max-content; will-change: transform;
}
.team.is-horizontal .team__intro { flex: 0 0 min(36vw, 520px); align-self: center; margin: 0; }
.team.is-horizontal .team__drag-hint {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.team.is-horizontal .team__drag-hint svg { width: 20px; height: 20px; fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.6s var(--ease-in-out) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.team.is-horizontal .barber { flex: 0 0 clamp(290px, min(26vw, 46vh), 400px); }
.team.is-horizontal .barber__photo { aspect-ratio: 4 / 4.2; }
@media (max-height: 820px) {
  .team.is-horizontal .barber__photo { aspect-ratio: 1 / .86; }
  .team.is-horizontal .barber__bio { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 640px) { .team__track { grid-template-columns: 1fr; } }

/* =========================================================
   NÚMEROS
   ========================================================= */
.stats { background: var(--paper-2); padding: clamp(64px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.stat { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--ink); }
.stat__num { font-size: clamp(72px, 8vw, 128px); line-height: .85; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__num em { font-style: normal; color: var(--red); }
.stat__label { font-size: 15px; font-weight: 600; color: var(--muted); max-width: 22ch; }
@media (max-width: 900px) { .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }

/* =========================================================
   POR QUÉ HACEMOS ESTO
   ========================================================= */
.why { position: relative; isolation: isolate; background: var(--ink); color: #fff; padding: clamp(96px, 12vw, 170px) 0; overflow: clip; }
.why__bg { position: absolute; inset: -10% 0; z-index: -1; }
.why__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: blur(4px) saturate(1.1); transform: scale(1.1); }
.why__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(225, 6, 0, .28), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, rgba(12, 12, 12, .7) 25%, rgba(12, 12, 12, .7) 75%, var(--ink) 100%);
}
.why__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.why__sticky { position: sticky; top: calc(var(--header-h) + 48px); display: flex; flex-direction: column; align-items: flex-start; }
.why__title { margin-bottom: 28px; }
.why__text { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--muted-light); margin-bottom: 36px; max-width: 46ch; }
.why__text strong { color: #fff; font-weight: 700; }

.why__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.why__cards .feature:nth-child(even) { transform: translateY(clamp(40px, 6vw, 90px)); }
.feature {
  display: flex; flex-direction: column; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-light);
  overflow: hidden; isolation: isolate;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.feature__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px); margin: 8px 8px 0;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.feature__media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; transition: filter 600ms var(--ease-out); }
.feature__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.feature__num { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--red-hot); }
.feature__title { font-size: clamp(28px, 2.4vw, 36px); line-height: .95; }
.feature__text { font-size: 15.5px; line-height: 1.55; color: var(--muted-light); }
@media (hover: hover) {
  .feature:hover { border-color: rgba(255, 31, 26, .55); background: rgba(255, 255, 255, .08); }
}
@media (max-width: 1000px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__sticky { position: static; }
}
@media (max-width: 600px) {
  .why__cards { grid-template-columns: 1fr; }
  .why__cards .feature:nth-child(even) { transform: none; }
}

/* =========================================================
   PASOS
   ========================================================= */
.steps { background: var(--paper); padding: clamp(110px, 13vw, 190px) 0 clamp(90px, 11vw, 150px); }
.steps__head { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.steps__head .h2 { color: var(--red); }
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: s; }
.step {
  position: relative; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg);
  background: var(--paper-2); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
@media (hover: hover) { .step:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .3); } }
.step__num { position: absolute; top: 26px; right: 28px; font-family: var(--font-display); font-size: 56px; line-height: 1; color: rgba(12, 12, 12, .08); }
.step__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--red); margin-bottom: 28px; }
.step__icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.step__title { font-size: clamp(30px, 2.6vw, 40px); line-height: .95; margin-bottom: 12px; }
.step__text { color: var(--muted); font-size: 16px; }
.steps__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: clamp(48px, 6vw, 72px); text-align: center; }
.steps__alt { color: var(--muted); font-weight: 600; }
@media (max-width: 900px) { .steps__list { grid-template-columns: 1fr; } }

/* =========================================================
   GALERÍA
   ========================================================= */
.gallery { position: relative; background: var(--ink); padding: clamp(90px, 10vw, 140px) 0; overflow: hidden; }
.gallery__row { display: flex; gap: clamp(12px, 1.4vw, 20px); width: max-content; padding-left: var(--gutter); will-change: transform; }
.gallery__item { flex: none; height: clamp(240px, 34vw, 480px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.gallery__item--wide { aspect-ratio: 16 / 10; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 900ms var(--ease-out); }
@media (hover: hover) { .gallery__item:hover img { transform: scale(1.02); } }
.gallery__head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: clamp(32px, 4vw, 56px); }
.gallery__title { color: #fff; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--red); color: #fff; padding: clamp(90px, 11vw, 150px) 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid rgba(255, 255, 255, .4); }
.faq__item { border-bottom: 1px solid rgba(255, 255, 255, .4); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; min-height: 56px; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .6);
  transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.faq__item summary i::before, .faq__item summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor;
  transform: translate(-50%, -50%); transition: transform var(--dur) var(--ease-out), background-color var(--dur);
}
.faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] summary i { background: #fff; transform: rotate(180deg); }
.faq__item[open] summary i::before, .faq__item[open] summary i::after { background: var(--red); }
.faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
@media (hover: hover) { .faq__item summary:hover i { background: rgba(255, 255, 255, .15); } }
.faq__answer { overflow: hidden; }
.faq__answer p { padding: 0 64px 26px 0; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .92); }
.faq__answer a { color: #fff; font-weight: 800; text-underline-offset: 4px; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__answer p { padding-right: 0; } }

/* =========================================================
   UBICACIÓN
   ========================================================= */
.location { background: var(--paper); padding: clamp(90px, 11vw, 150px) 0; }
.location__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.location .h2 { color: var(--red); }
.location__city { margin-top: 14px; font-size: 19px; font-weight: 600; color: var(--muted); }
.location__hours { margin-top: 32px; border-top: 1px solid var(--line); }
.location__hours li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-variant-numeric: tabular-nums; }
.location__hours li span:last-child { color: var(--muted); }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.location__map { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .35); }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }
@media (max-width: 900px) { .location__grid { grid-template-columns: 1fr; } }

/* =========================================================
   CTA FINAL
   ========================================================= */
.final { background: var(--paper); padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 10vw, 140px); text-align: center; }
.final__title { font-size: clamp(76px, 14.5vw, 250px); line-height: .84; color: var(--red); max-width: 12ch; margin-inline: auto; }
.final__media {
  position: relative; margin: clamp(32px, 4vw, 56px) var(--gutter) 0;
  height: clamp(420px, 70vh, 760px); border-radius: var(--radius-lg); overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.final__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.final__overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55));
}
.final__overlay .btn { align-self: end; margin-bottom: clamp(32px, 6vh, 64px); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 110px) 0 calc(36px + env(safe-area-inset-bottom)); }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-light); }
.footer__big { font-size: clamp(48px, 7vw, 112px); line-height: .9; color: var(--red-hot); }
.footer__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding: clamp(40px, 5vw, 64px) 0; color: var(--muted-light); }
.footer__logo { width: 150px; height: auto; filter: invert(1); }
.footer__label { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer__links li + li { margin-top: 6px; }
.footer__links a { text-decoration: none; display: inline-block; padding: 4px 0; }
@media (hover: hover) { .footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; } }
.footer__legal { font-size: 13px; color: rgba(255, 255, 255, .5); }
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }

/* =========================================================
   CTA FIJO MOBILE
   ========================================================= */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--z-sticky);
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .45), 0 0 0 1px var(--line);
  transform: translateY(140%); transition: transform 480ms var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__btn { min-height: 52px; padding: 12px 22px; font-size: 14px; }
@media (max-width: 900px) { .sticky-cta { display: flex; } }
@media (max-width: 380px) { .sticky-cta__info { display: none; } .sticky-cta { justify-content: center; padding-left: 10px; } .sticky-cta__btn { width: 100%; } }

/* =========================================================
   Estados iniciales de animación (solo si hay JS + GSAP)
   ========================================================= */
.js.anim-ready [data-reveal] { opacity: 0; transform: translateY(32px); }

/* =========================================================
   Movimiento reducido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .why__cards .feature:nth-child(even) { transform: none; }
}
