/* ============================================================
   VEINTE20 — Modern Beauty Luxury
   Editorial · Mobile-first · Sin frameworks
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #023047;
  --ink-deep: #012335;
  --teal: #219EBC;
  --sky: #8ECAE6;
  --amber: #FFB703;
  --orange: #FB8500;
  --paper: #FAF7F2;
  --paper-2: #F2EDE4;
  --white: #FFFFFF;
  --line: rgba(2, 48, 71, .14);
  --line-light: rgba(255, 255, 255, .16);
  --shadow: 0 24px 60px -28px rgba(2, 48, 71, .35);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: min(1180px, 92vw);
  --sect: clamp(72px, 11vw, 136px);
  --radius: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }   /* el atributo hidden siempre gana */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { width: var(--container); margin-inline: auto; }
.section { padding-block: var(--sect); }

.skip-link {
  position: absolute; top: -48px; left: 16px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 18px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografía editorial ---------- */
.kicker {
  font-size: .72rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--teal);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--amber); flex: none; }
.kicker--light { color: var(--sky); }

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  max-width: 17ch;
}
.section__lede {
  margin-top: 20px;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  max-width: 54ch;
  opacity: .82;
}
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 500; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn--solid {
  background: var(--amber); color: var(--ink);
  box-shadow: 0 14px 34px -14px rgba(251, 133, 0, .55);
}
.btn--solid:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--line); color: var(--ink); background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--small { padding: 13px 22px; font-size: .8rem; }
.btn--nav { padding: 11px 22px; font-size: .76rem; }

/* ---------- Splash (nunca bloquea la navegación) ---------- */
.splash {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  display: grid; place-items: center;
  pointer-events: none;               /* clave: jamás bloquea clics */
  animation: splash-away .6s ease 4.4s forwards;  /* red de seguridad CSS */
}
.splash__inner { text-align: center; }
.splash__logo {
  width: clamp(96px, 26vw, 132px); height: auto;
  margin: 0 auto 18px;
  animation: splash-in 1s var(--ease) both;
}
.splash__brand { display: none; }   /* el logo ya muestra la marca */
.splash__line {
  display: block; height: 1px; background: var(--amber);
  margin: 14px auto 12px; width: 0;
  animation: splash-line .9s var(--ease) .25s forwards;
}
.splash__sub {
  font-size: .7rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--teal); opacity: 0;
  animation: splash-fade .7s ease .55s forwards;
}
.splash--done { opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s .55s; }
@keyframes splash-in   { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes splash-line { to { width: min(220px, 50vw); } }
@keyframes splash-fade { to { opacity: 1; } }
@keyframes splash-away { to { opacity: 0; visibility: hidden; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background .35s ease, box-shadow .35s ease;
}
.header--scrolled {
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.header__logo {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 600; letter-spacing: .04em;
}
.header__logo-img { width: 42px; height: 42px; flex: none; }
.header__logo-text span { color: var(--orange); font-style: italic; }
html.menu-open .header__logo { color: var(--paper); }
.header__nav { display: none; }
.header__burger {
  width: 44px; height: 44px;
  position: relative; z-index: 95;
}
.header__burger span {
  position: absolute; left: 50%; top: 50%;
  width: 24px; height: 2px; background: currentColor;
  transform: translate(-50%, -5px);
  transition: transform .35s var(--ease);
}
.header__burger span:last-child { transform: translate(-50%, 3px); }
html.menu-open .header__burger span:first-child { transform: translate(-50%, -1px) rotate(45deg); }
html.menu-open .header__burger span:last-child  { transform: translate(-50%, -1px) rotate(-45deg); }

/* Menú móvil a pantalla completa */
html.menu-open { overflow: hidden; }
html.menu-open .header__nav {
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  position: fixed; inset: 0;
  background: var(--ink);
  padding: 12vh 8vw;
}
html.menu-open .header__nav a {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7.5vw, 2.6rem);
  color: var(--paper);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-light);
}
html.menu-open .header__nav a:hover { color: var(--amber); font-style: italic; }
html.menu-open .header__nav .btn--nav {
  border: 0; margin-top: 28px; align-self: flex-start;
  font-family: var(--font-body); font-size: .85rem; color: var(--ink);
}
html.menu-open .header__burger { color: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  display: flex; flex-direction: column;
  min-height: 100svh;
  padding-top: 72px;
}
.hero__media {
  position: relative; order: -1;
  height: 50svh; overflow: hidden;
}
.hero__media img {
  width: 100%; height: 112%; object-fit: cover; object-position: 50% 18%;
  will-change: transform;
}
.hero__badge {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(250, 247, 242, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-left: 2px solid var(--amber);
  display: flex; flex-direction: column; gap: 1px;
}
.hero__badge strong { font-weight: 600; font-size: .95rem; letter-spacing: .02em; }
.hero__badge span { font-size: .76rem; opacity: .75; }
.hero__content {
  width: var(--container); margin-inline: auto;
  padding-block: clamp(36px, 6vw, 64px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 9vw, 4.6rem);
  line-height: 1.04; letter-spacing: -.015em;
  max-width: 14ch;
  animation: rise .9s var(--ease) .15s both;
}
.hero__title em { font-style: italic; color: var(--teal); }
.hero__kicker { animation: rise .8s var(--ease) both; }
.hero__sub {
  margin-top: 22px; max-width: 46ch;
  font-size: clamp(1rem, 2vw, 1.15rem);
  opacity: .85;
  animation: rise .9s var(--ease) .3s both;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 34px;
  animation: rise .9s var(--ease) .45s both;
}
.hero__hint {
  margin-top: 30px;
  font-size: .8rem; letter-spacing: .04em; opacity: .65;
  display: flex; align-items: center; gap: 8px;
  animation: rise .9s var(--ease) .6s both;
}
.hero__hint svg { color: var(--amber); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Cifras + marquee ---------- */
.stats { background: var(--ink); color: var(--paper); padding-top: clamp(48px, 7vw, 84px); }
.stats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 36px 18px;
  padding-bottom: clamp(48px, 7vw, 84px);
}
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 500; line-height: 1; color: var(--amber);
}
.stats__num i { font-style: normal; color: var(--sky); font-size: .6em; vertical-align: .25em; margin-left: 2px; }
.stats__label {
  margin-top: 8px;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sky);
}
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-light);
  padding-block: 18px;
}
.marquee__track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  color: var(--paper); opacity: .85;
  white-space: nowrap;
  padding-inline: 28px;
  position: relative;
}
.marquee__track span::after {
  content: "·"; position: absolute; right: -6px; color: var(--amber); font-style: normal;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); }
html.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s ease, transform .9s var(--ease);
}
/* Red de seguridad: si JS quedara cacheado/roto, nada se queda invisible */
.reveal[data-split] { opacity: 1 !important; transform: none !important; }
html.js .stagger > .reveal.is-in:nth-child(2) { transition-delay: .12s; }
html.js .stagger > .reveal.is-in:nth-child(3) { transition-delay: .24s; }
html.js .stagger > .reveal.is-in:nth-child(4) { transition-delay: .36s; }

/* ---------- Transformaciones ---------- */
.transforms__layout { display: grid; gap: 28px; }
.compare {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.compare img { width: 100%; height: 100%; object-fit: cover; }
.compare__after { position: absolute; inset: 0; }
.compare__before {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; background: var(--paper);
  transform: translateX(-1px);
  pointer-events: none;
}
.compare__handle::after {
  content: "↔"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(2, 48, 71, .35);
}
.compare__tag {
  position: absolute; top: 14px;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
  background: rgba(2, 48, 71, .72); color: var(--paper);
  padding: 6px 12px;
  pointer-events: none;
}
.compare__tag--a { left: 14px; }
.compare__tag--b { right: 14px; }
.compare__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.compare__hint {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--paper); background: rgba(2, 48, 71, .6);
  padding: 6px 14px; pointer-events: none; white-space: nowrap;
}
/* Pie de foto compartido (comparador grande + tarjetas) */
.tmain figcaption,
.tcard figcaption {
  padding: 14px 2px 0;
  display: flex; flex-direction: column; gap: 2px;
}
.tmain strong, .tcard strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.tmain span, .tcard span { font-size: .82rem; opacity: .7; }

.transforms__cards { display: grid; grid-template-columns: 1fr; gap: 24px; align-content: start; }
.tcard { position: relative; overflow: hidden; }
.tcard > img {
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
  transition: transform .8s var(--ease);
}
.tcard:hover > img { transform: scale(1.045); }

/* Comparador secundario más compacto */
.compare--mini { aspect-ratio: 4 / 5; }
.compare--mini .compare__handle::after { width: 38px; height: 38px; font-size: .95rem; }
.compare--mini .compare__tag { font-size: .6rem; padding: 5px 9px; top: 10px; }
.compare--mini .compare__tag--a { left: 10px; }
.compare--mini .compare__tag--b { right: 10px; }

/* ---------- Especialidades ---------- */
.services { background: var(--paper); }
.services__layout { display: grid; gap: 0; }
.services__media { display: none; }
.services__list { counter-reset: svc; }
.srow {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
  position: relative;
}
.srow:last-child { border-bottom: 1px solid var(--line); }
.srow__thumb {
  width: 100%; height: 200px; object-fit: cover; object-position: 50% 30%;
  margin-bottom: 16px;
}
/* En móvil, bajar el foco de Maquillaje (05) y Peinado (06) para que
   se vea el rostro / peinado y no se recorte de más */
.srow[data-index="4"] .srow__thumb { object-position: 50% 42%; }
.srow[data-index="5"] .srow__thumb { object-position: 50% 46%; }
.srow__num {
  font-family: var(--font-display); font-style: italic;
  color: var(--orange); font-size: 1rem;
  margin-bottom: 4px;
}
.srow__name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.55rem, 4.5vw, 2.2rem);
  line-height: 1.1;
  transition: color .25s, letter-spacing .4s var(--ease);
}
.srow__desc { margin-top: 8px; font-size: .95rem; opacity: .8; max-width: 52ch; }
.srow__cta {
  margin-top: 14px;
  font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
  justify-self: start;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.srow__cta:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- Por qué Veinte20 ---------- */
.why { background: var(--ink); color: var(--paper); }
.why .section__title { color: var(--paper); }
.why .section__lede { color: var(--sky); opacity: 1; }
.why__top { display: grid; gap: 40px; align-items: center; }
.why__media { position: relative; }
.why__media::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--amber);
  pointer-events: none;
}
.why__media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.why__grid {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid; grid-template-columns: 1fr;
  gap: 28px;
}
.reason { border-top: 1px solid var(--line-light); padding-top: 18px; }
.reason span {
  font-family: var(--font-display); font-style: italic;
  color: var(--amber); font-size: 1rem;
}
.reason h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.45rem; margin-top: 6px;
}
.reason p { margin-top: 6px; font-size: .92rem; color: var(--sky); }

/* ---------- Promociones ---------- */
.promos { background: var(--paper-2); }
.promos__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.promo {
  background: var(--white);
  padding: 34px 30px 30px;
  border-top: 2px solid var(--amber);
  box-shadow: 0 18px 44px -30px rgba(2, 48, 71, .35);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.promo:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(2, 48, 71, .45); }
.promo__name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.promo__inc { margin-top: 6px; font-size: .9rem; opacity: .75; }
.promo__price { margin-top: 18px; display: flex; align-items: baseline; gap: 14px; }
.promo__price s { opacity: .45; font-size: 1rem; }
.promo__price strong {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 2.8rem); font-weight: 600;
  color: var(--orange); line-height: 1;
}
.promo__cta {
  margin-top: auto; padding-top: 20px;
  font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
  transition: color .25s;
}
.promo__cta:hover { color: var(--orange); }

/* Tarjeta especial del curso (Próximamente) */
.promo--curso {
  position: relative;
  background: linear-gradient(160deg, var(--ink) 0%, #07415e 70%, #0a4f72 100%);
  border-top-color: var(--amber);
  color: var(--paper);
}
.promo--curso .promo__name { color: var(--paper); }
.promo--curso .promo__inc { color: var(--sky); opacity: 1; }
.promo__badge {
  position: absolute; top: 14px; right: 14px;
  font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  background: var(--amber); color: var(--ink);
  padding: 4px 10px; border-radius: 20px;
}
.promo__price--soon {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.7rem, 4.5vw, 2.1rem); font-weight: 600;
  color: var(--amber); display: block;
}
.promo--curso .promo__cta { color: var(--amber); }
.promo--curso .promo__cta:hover { color: var(--paper); }
.promos__banner {
  margin-top: 26px;
  background: linear-gradient(115deg, var(--ink) 0%, #07415e 60%, #0a4f72 100%);
  color: var(--paper);
  border: 1px solid rgba(255, 183, 3, .45);
  padding: clamp(28px, 5vw, 44px);
  display: flex; flex-direction: column; gap: 22px;
  align-items: flex-start;
}
.promos__banner-tag {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 8px;
}
.promos__banner-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1.05;
}
.promos__banner-cond { margin-top: 10px; font-size: .88rem; color: var(--sky); }

/* ---------- Testimonios ---------- */
.quotes { background: var(--paper); }
.carousel { max-width: 960px; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  transition: transform .7s var(--ease);
}
.quote {
  flex: 0 0 100%; min-width: 100%; padding-right: 2px;
  display: grid; grid-template-columns: 1fr; gap: 22px;
  align-items: center;
}
.quote__img {
  width: 100%; max-width: 260px;
  aspect-ratio: 3 / 4; object-fit: cover;
  box-shadow: var(--shadow);
}
.quote blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.3rem, 3.4vw, 1.85rem);
  line-height: 1.35;
  max-width: 32ch;
}
.quote__by {
  margin-top: 22px;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
}
.quote__by span { color: var(--teal); }
.carousel__controls { display: flex; align-items: center; gap: 20px; margin-top: 34px; }
.carousel__btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 1.05rem;
  transition: background .25s, color .25s, border-color .25s;
}
.carousel__btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.carousel__dots { display: flex; gap: 9px; }
.carousel__dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); padding: 0;
  transition: background .25s, transform .25s;
}
.carousel__dots button.is-active { background: var(--orange); transform: scale(1.35); }

/* ---------- Equipo ---------- */
.team { background: var(--paper-2); }
.team__layout { display: grid; gap: 44px; align-items: center; }
.team__media { position: relative; padding-bottom: 56px; }
.team__img-a { width: 88%; aspect-ratio: 7 / 5; object-fit: cover; box-shadow: var(--shadow); }
.team__img-b {
  position: absolute; right: 0; bottom: 0;
  width: 42%; aspect-ratio: 4 / 5; object-fit: cover;
  border: 6px solid var(--paper-2);
  box-shadow: var(--shadow);
}
.team__text .btn { margin-top: 28px; }

/* ---------- Sucursales ---------- */
.places { background: var(--paper); }
.places__grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.place {
  background: var(--white);
  box-shadow: 0 22px 54px -34px rgba(2, 48, 71, .4);
  display: flex; flex-direction: column;
}
.place__img { aspect-ratio: 7 / 5; object-fit: cover; width: 100%; }
.place__img--bq { object-position: 50% 35%; }
.place__img--jq { object-position: 50% 38%; }
.place__body { padding: 28px 28px 24px; display: flex; flex-direction: column; align-items: flex-start; }
.place__name { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; }
.place__plaza { color: var(--teal); font-weight: 400; font-size: .95rem; margin-top: 2px; }
.place__addr { font-size: .9rem; opacity: .75; margin-top: 10px; }
.place__sched {
  width: 100%; margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.place__sched-title {
  display: flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 12px;
}
.place__sched-title svg { color: var(--orange); flex: none; }
.sched-row {
  display: grid; grid-template-columns: 1fr;
  gap: 2px; padding: 7px 0;
}
.sched-row + .sched-row { border-top: 1px dashed var(--line); }
.sched-days {
  font-size: .78rem; font-weight: 500;
  letter-spacing: .04em; color: var(--teal);
}
.sched-times {
  font-size: .82rem; color: var(--ink); opacity: .85;
  font-variant-numeric: tabular-nums;
}
.place__body .btn { margin-top: 22px; }
.place__map { width: 100%; height: 230px; border: 0; filter: saturate(.85); }

/* ---------- Reserva ---------- */
.booking { background: var(--ink); color: var(--paper); }
.booking .section__title { color: var(--paper); }
.booking .section__lede { color: var(--sky); opacity: 1; }
.booking__layout { display: grid; gap: 48px; }
.booking__alt { margin-top: 30px; font-size: .95rem; color: var(--sky); }
.booking__alt a {
  color: var(--amber); font-weight: 500; font-size: 1.15rem;
  border-bottom: 1px solid rgba(255, 183, 3, .4);
}
.booking__alt a:hover { color: var(--orange); }
.booking__form {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(26px, 5vw, 42px);
  display: grid; grid-template-columns: 1fr; gap: 18px;
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  opacity: .8;
}
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(33, 158, 188, .18);
}
.field input.is-error { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(251, 133, 0, .2); }
.field textarea { resize: vertical; min-height: 86px; }
.booking__submit { width: 100%; margin-top: 4px; }
.booking__note { font-size: .8rem; opacity: .65; text-align: center; }
.booking__ok {
  font-size: .88rem; font-weight: 400; text-align: center;
  color: #0c6b46; background: rgba(37, 211, 102, .12);
  padding: 10px 14px; border-radius: var(--radius);
}

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: var(--paper); padding-top: clamp(56px, 8vw, 88px); }
.footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 38px;
  padding-bottom: clamp(40px, 6vw, 64px);
}
.footer__logo-img { width: 92px; height: 92px; margin-bottom: 6px; }
.footer__logo { display: none; }   /* el logo de imagen ya muestra la marca */
.footer__slogan { margin-top: 4px; font-family: var(--font-display); font-style: italic; font-size: 1.08rem; color: var(--sky); }
.footer__social { margin-top: 18px; }
.footer__social a { font-size: .9rem; border-bottom: 1px solid var(--line-light); padding-bottom: 2px; }
.footer__social a span { color: var(--amber); }
.footer__social a:hover { color: var(--amber); }
.footer__col h4 {
  font-size: .72rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 16px;
}
.footer__col a { display: block; padding: 4px 0; font-size: .94rem; color: var(--sky); }
.footer__col a:hover { color: var(--paper); }
.footer__col p { font-size: .92rem; color: var(--sky); margin-bottom: 12px; }
.footer__col p strong { color: var(--paper); font-weight: 500; }
.footer__bottom {
  border-top: 1px solid var(--line-light);
  padding-block: 22px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: .78rem; color: rgba(142, 202, 230, .75);
}

/* ---------- FAB WhatsApp ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .65);
  transform: scale(0);
  transition: transform .45s var(--ease);
}
.fab.is-visible { transform: scale(1); }
.fab:hover { transform: scale(1.08); }

/* ============================================================
   DESKTOP ≥ 760px
   ============================================================ */
@media (min-width: 760px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .transforms__layout { grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: start; }
  .promos__grid { grid-template-columns: repeat(2, 1fr); }
  .promos__banner { flex-direction: row; align-items: center; justify-content: space-between; }
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .places__grid { grid-template-columns: repeat(2, 1fr); }
  .booking__layout { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 64px; }
  .booking__form { grid-template-columns: repeat(2, 1fr); }
  .field { grid-column: span 2; }
  .field--half { grid-column: span 1; }
  .booking__submit, .booking__note, .booking__ok { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ============================================================
   DESKTOP ≥ 1024px
   ============================================================ */
@media (min-width: 1024px) {
  /* Navegación de escritorio */
  .header__burger { display: none; }
  .header__nav { display: flex; align-items: center; gap: 30px; }
  .header__nav a:not(.btn) {
    font-size: .86rem; font-weight: 400; letter-spacing: .05em;
    position: relative; padding: 4px 0;
  }
  .header__nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1px; background: var(--orange);
    transform: scaleX(0); transform-origin: right;
    transition: transform .35s var(--ease);
  }
  .header__nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

  /* Hero editorial en dos columnas */
  .hero { flex-direction: row; align-items: stretch; min-height: 100vh; }
  .hero__content {
    width: auto; flex: 1.02;
    padding-left: max(calc((100vw - var(--container)) / 2), 4vw);
    padding-right: 5vw;
    justify-content: center;
  }
  .hero__media {
    order: 2; flex: .98;
    height: auto; min-height: 100vh;
  }
  .hero__badge { left: auto; right: 28px; bottom: 28px; }

  /* Especialidades: lista + panel de imagen pegajoso */
  .services__layout { grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
  .services__media {
    display: block; position: sticky; top: 96px;
    aspect-ratio: 4 / 5; overflow: hidden;
    box-shadow: var(--shadow);
  }
  .services__media img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity .6s ease, transform 1.2s var(--ease);
    transform: scale(1.04);
  }
  .services__media img.is-active { opacity: 1; transform: scale(1); }
  .srow__thumb { display: none; }
  .srow {
    grid-template-columns: 54px 1fr auto;
    align-items: center; gap: 18px;
    padding: 26px 8px;
    transition: background .3s, padding .4s var(--ease);
  }
  .srow:hover, .srow.is-active { background: var(--paper-2); padding-left: 18px; }
  .srow:hover .srow__name, .srow.is-active .srow__name { color: var(--orange); }
  .srow__num { margin: 0; font-size: 1.1rem; }
  .srow__cta { margin: 0; }
  .srow__desc { max-width: 44ch; }

  .why__top { grid-template-columns: 1fr 1fr; gap: 72px; }
  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .team__layout { grid-template-columns: 1.05fr .95fr; gap: 72px; }
}

/* Ajustes finos para pantallas muy anchas */
@media (min-width: 1600px) {
  .hero__media img { object-position: 50% 25%; }
}

/* ============================================================
   NUEVO — Cupón, pop-up, antes/después uniforme, curso, texturas
   ============================================================ */

/* ---- Enlace "Curso" en el menú ---- */
.nav-course span {
  display: inline-block;
  font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--amber); color: var(--ink);
  padding: 2px 7px; border-radius: 20px; margin-left: 6px;
  vertical-align: middle; font-weight: 600;
}

/* ---- Antes/después: grid uniforme ---- */
.transforms__tip {
  text-align: center; margin-bottom: 26px;
  font-size: .9rem; opacity: .72;
}
.transforms__tip span { color: var(--orange); font-weight: 600; }
.transforms__grid {
  display: grid; grid-template-columns: 1fr; gap: 22px;
}
.tzone { display: flex; flex-direction: column; }
.tzone .compare { aspect-ratio: 4 / 5; width: 100%; }
.tzone figcaption {
  padding: 14px 2px 0;
  display: flex; flex-direction: column; gap: 2px;
}
.tzone figcaption strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.tzone figcaption span { font-size: .8rem; opacity: .7; }

/* ---- Sección cupón (final) ---- */
.cupon-band {
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255,183,3,.10), transparent 55%),
    var(--paper-2);
  border-top: 1px solid rgba(255,183,3,.4);
}
.cupon-band__layout { display: grid; gap: 38px; align-items: center; }
.cupon-band__art img {
  width: 100%; max-width: 460px; margin-inline: auto;
  filter: drop-shadow(0 22px 44px rgba(2,48,71,.28));
  transition: transform .5s var(--ease);
}
.cupon-band__art:hover img { transform: translateY(-4px) rotate(-1deg); }
.cupon-band .kicker--light { color: var(--orange); }

/* ---- Formulario de cupón (reutilizable) ---- */
.cupon-form { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.cupon-field input {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 15px;
  transition: border-color .25s, box-shadow .25s;
}
.cupon-field input:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(33,158,188,.18);
}
.cupon-field input.is-error { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(251,133,0,.2); }
.cupon-form__submit { width: 100%; margin-top: 2px; }
.cupon-form__cond {
  font-size: .8rem; text-align: center; opacity: .7;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.cupon-form__cond::before { content: "★"; color: var(--amber); }
.cupon-form__ok {
  font-size: .9rem; text-align: center; font-weight: 500;
  color: #0c6b46; background: rgba(37,211,102,.12);
  padding: 11px 14px; border-radius: var(--radius);
}

/* ---- Pop-up modal ---- */
html.modal-open { overflow: hidden; }
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }   /* el atributo hidden debe ganar */
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(2,35,53,.62);
  backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  transition: opacity .7s cubic-bezier(.4,0,.2,1), backdrop-filter .7s ease, -webkit-backdrop-filter .7s ease;
}
.modal.is-open .modal__backdrop {
  opacity: 1;
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.modal__card {
  position: relative; z-index: 1;
  width: min(440px, 100%);
  max-height: calc(100svh - 40px); overflow-y: auto;
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 40px 90px -30px rgba(2,35,53,.7);
  transform: translateY(22px) scale(.985); opacity: 0;
  /* fade-in suave, tipo keyframe de video: el card entra un pelín después del fondo */
  transition: transform .8s cubic-bezier(.16,1,.3,1) .08s, opacity .8s cubic-bezier(.16,1,.3,1) .08s;
}
.modal.is-open .modal__card { transform: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .modal__coupon img { transition: transform .9s cubic-bezier(.16,1,.3,1) .15s, opacity .9s ease .15s; opacity: 0; transform: scale(1.03); }
  .modal.is-open .modal__coupon img { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute; top: 8px; right: 10px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 1.7rem; line-height: 1; color: var(--paper);
  background: rgba(2,35,53,.45);
  display: grid; place-items: center;
  transition: background .25s, transform .25s;
}
.modal__close:hover { background: var(--orange); transform: rotate(90deg); }
.modal__coupon { background: var(--ink); }
.modal__coupon img { width: 100%; height: auto; display: block; padding: 18px 18px 6px; }
.modal__body { padding: 22px 26px 28px; }
.modal__kicker {
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 8px;
}
.modal__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.1;
}
.modal__title em { font-style: italic; color: var(--orange); }
.modal__sub { margin-top: 8px; font-size: .92rem; opacity: .8; }

/* ---- Texturas en testimonios ---- */
.quotes { position: relative; overflow: hidden; }
.quotes .container { position: relative; z-index: 2; }
.quotes__decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.quotes__blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; }
.quotes__blob--1 {
  width: 320px; height: 320px; top: -90px; right: -70px;
  background: radial-gradient(circle, rgba(142,202,230,.55), transparent 68%);
}
.quotes__blob--2 {
  width: 360px; height: 360px; bottom: -120px; left: -110px;
  background: radial-gradient(circle, rgba(255,183,3,.28), transparent 68%);
}
.quotes__dots {
  position: absolute; right: 4%; bottom: 12%;
  width: 150px; height: 150px;
  background-image: radial-gradient(var(--teal) 1.4px, transparent 1.6px);
  background-size: 16px 16px; opacity: .18;
}
.quotes__mark {
  position: absolute; top: 2%; left: 3%;
  font-family: var(--font-display); font-style: italic;
  font-size: 22rem; line-height: .7; color: var(--ink);
  opacity: .05; user-select: none;
}

/* ---- Página del curso ---- */
.header--solid {
  background: rgba(250, 247, 242, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header__nav--simple { display: flex; align-items: center; gap: 16px; }
.header__nav--simple a:not(.btn) { font-size: .82rem; opacity: .8; }
.header__nav--simple a:not(.btn):hover { opacity: 1; color: var(--orange); }

.curso-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 0%, #0a4f72, transparent 60%),
    var(--ink);
  color: var(--paper);
  padding: 130px 0 clamp(60px, 9vw, 100px);
  text-align: center;
}
.curso-hero__decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.curso-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.curso-hero__kicker { justify-content: center; color: var(--amber); }
.curso-hero__kicker::before { background: var(--amber); }
.curso-hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 8vw, 4.4rem); line-height: 1.05;
  max-width: 16ch;
}
.curso-hero__title em { font-style: italic; color: var(--amber); }
.curso-hero__lede {
  margin-top: 20px; max-width: 56ch;
  font-size: clamp(1rem, 2vw, 1.18rem); color: var(--sky);
}
.curso-hero__lede strong { color: var(--paper); }
.curso-hero__cta { margin-top: 36px; }

/* Cuenta regresiva */
.countdown {
  display: flex; align-items: stretch; justify-content: center; gap: 8px;
  margin-top: 40px;
}
.countdown__item {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 14px clamp(10px, 3vw, 22px); min-width: clamp(62px, 17vw, 92px);
}
.countdown__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1; color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.countdown__lbl {
  margin-top: 8px; font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--sky);
}
.countdown__sep {
  align-self: center; font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 2.4rem); color: var(--teal); font-weight: 600;
}
.countdown__caption { margin-top: 18px; font-size: .95rem; color: var(--sky); }
.countdown__caption strong { color: var(--paper); }
.countdown__done {
  margin-top: 16px; font-weight: 500; color: var(--ink);
  background: var(--amber); display: inline-block;
  padding: 8px 18px; border-radius: 30px;
}

/* Valor del curso */
.curso-value { background: var(--paper); }
.curso-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.cvcard {
  background: var(--white);
  border-top: 2px solid var(--amber);
  padding: 28px 26px;
  box-shadow: 0 18px 44px -30px rgba(2,48,71,.35);
}
.cvcard__num {
  font-family: var(--font-display); font-style: italic;
  color: var(--orange); font-size: 1.1rem;
}
.cvcard h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.5rem; margin-top: 6px;
}
.cvcard p { margin-top: 8px; font-size: .94rem; opacity: .8; }

/* Registro curso */
.curso-reg { background: var(--ink); color: var(--paper); }
.curso-reg .section__title { color: var(--paper); }
.curso-reg .section__lede { color: var(--sky); opacity: 1; }
.curso-reg .section__lede strong { color: var(--amber); }
.curso-reg__layout { display: grid; gap: 44px; align-items: start; }
.curso-reg__perks { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.curso-reg__perks li {
  position: relative; padding-left: 28px;
  font-size: .98rem; color: var(--paper);
}
.curso-reg__perks li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--ink); background: var(--amber);
  width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem; font-weight: 700;
}

@media (min-width: 600px) {
  .transforms__grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .curso-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .transforms__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .promos__grid { grid-template-columns: repeat(4, 1fr); }
  .cupon-band__layout { grid-template-columns: 1fr 1fr; gap: 64px; }
  .cupon-form--band { max-width: 460px; }
  .quotes__blob--1 { width: 460px; height: 460px; }
  .quotes__blob--2 { width: 520px; height: 520px; }
  .curso-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .curso-reg__layout { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
  .curso-reg__form { grid-template-columns: repeat(2, 1fr); }
}

/* Testimonios: tarjeta horizontal en pantallas medianas+ (llena el ancho) */
@media (min-width: 760px) {
  .carousel { max-width: 100%; }
  .quote {
    grid-template-columns: 300px 1fr; gap: 48px; align-items: center;
    padding-right: 4%;
  }
  .quote__img { max-width: 300px; }
  .quote blockquote { font-size: clamp(1.55rem, 2.6vw, 2.15rem); max-width: 24ch; }
  .quotes__mark { font-size: 30rem; }
}
