/* =========================================================
   DRAGÓN DE ACERO – Academia de Artes Marciales
   ========================================================= */
:root {
  --black: #0D0D0D;
  --black-2: #141414;
  --black-3: #1c1c1c;
  --red: #D7263D;
  --red-dark: #a3182b;
  --gold: #E8B04B;
  --white: #ffffff;
  --gray: #c9c9c9;
  --gray-2: #8a8a8a;
  --line: rgba(255, 255, 255, .09);
  --f-title: 'Anton', 'Oswald', Impact, sans-serif;
  --f-sub: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-jp: 'Noto Serif JP', 'Yu Mincho', serif;
  --nav-h: 72px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--black);
  color: var(--gray);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--white); line-height: 1.05; font-weight: 400; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Textura papel de arroz */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.section { position: relative; padding: 90px 0; }
@media (min-width: 992px) { .section { padding: 130px 0; } }

/* Fallback de imágenes */
img { background: linear-gradient(135deg, #1d1d1d, #2a0d12); color: transparent; }
img.img-fail { opacity: 0; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-sub);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow--gold { color: var(--gold); }
.h2 {
  font-family: var(--f-title);
  font-size: clamp(2.3rem, 7vw, 4.6rem);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 1.2rem;
}
.lead { font-size: 1.06rem; color: var(--gray); max-width: 640px; }
.txt-red { color: var(--red); }
.txt-gold { color: var(--gold); }
.tiny { font-size: .78rem; color: var(--gray-2); margin-top: .8rem; }
.muted { color: var(--gray-2); }
.sec-head { text-align: center; margin: 0 auto 3.2rem; max-width: 820px; }
.sec-head .lead { margin-inline: auto; }
.sec-head .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.sec-head--left { text-align: left; margin: 0; }
.sec-head--left .eyebrow::after { display: none; }

.kanji {
  position: absolute;
  font-family: var(--f-jp);
  font-weight: 900;
  color: var(--white);
  opacity: .035;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.kanji--left { font-size: clamp(16rem, 40vw, 34rem); left: -4vw; top: 40px; }
.kanji--right { font-size: clamp(16rem, 40vw, 34rem); right: -4vw; top: 60px; }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .95rem 1.7rem;
  font-family: var(--f-sub);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s;
  will-change: transform;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn span { position: relative; z-index: 2; pointer-events: none; }
.btn::after {
  content: "";
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  z-index: 1;
  transition: left .7s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 10px 30px -10px rgba(215,38,61,.7); }
.btn--red:hover { background: #e63149; box-shadow: 0 14px 40px -8px rgba(215,38,61,.85); }
.btn--ghost { color: var(--white); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold); }
.btn--sm { padding: .65rem 1.1rem; font-size: .85rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2rem;
  transition: opacity .6s ease, visibility .6s;
  animation: loaderFailsafe .6s ease 6s forwards;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader__dragon { width: 130px; height: 130px; }
.loader__dragon path, .loader__dragon circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ld-ring { fill: none; stroke: var(--gold); stroke-width: .8; opacity: .6; animation: draw 1.2s ease forwards; }
.ld-red path { fill: var(--red); fill-opacity: 0; stroke: var(--red); stroke-width: .7; animation: draw 1.3s ease forwards .15s, fillIn .5s ease forwards 1.3s; }
.ld-gold path, .ld-gold circle { fill: none; stroke: var(--gold); stroke-width: 1.4; animation: draw 1s ease forwards .7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill-opacity: 1; } }
.loader__text { font-family: var(--f-title); color: var(--white); letter-spacing: .3em; font-size: 1rem; opacity: 0; animation: fadeIn .6s ease forwards .9s; }
.loader__bar { width: 160px; height: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); transform-origin: left; transform: scaleX(0); animation: bar 1.6s var(--ease) forwards; }
@keyframes bar { to { transform: scaleX(1); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
  .has-cursor input, .has-cursor select, .has-cursor textarea { cursor: auto; }
  .has-cursor .cursor { display: block; }
  .cursor__dot, .cursor__ring {
    position: fixed; top: 0; left: 0; z-index: 10000;
    pointer-events: none; border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor__dot { width: 6px; height: 6px; background: var(--red); }
  .cursor__ring {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(232,176,75,.7);
    transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s;
  }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(215,38,61,.12); border-color: var(--red); }
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(13,13,13,.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.logo__icon { width: 46px; height: 46px; flex-shrink: 0; transition: transform .6s var(--ease); }
.logo:hover .logo__icon { transform: rotate(-20deg) scale(1.05); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 1.28rem;
  letter-spacing: .04em;
  color: var(--white);
  transform: skewX(-6deg);
}
.logo__text strong em { font-style: normal; color: var(--red); }
.logo__text small {
  font-family: var(--f-sub);
  font-size: .6rem;
  letter-spacing: .48em;
  color: var(--gold);
  margin-top: .3rem;
}
.nav__links { display: none; margin-left: auto; gap: 1.6rem; }
.nav__links a {
  position: relative;
  font-family: var(--f-sub);
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: .85;
  padding: .3rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: none; }
.burger {
  margin-left: auto;
  width: 46px; height: 46px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px var(--line);
  position: relative; z-index: 120;
  flex-shrink: 0;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, width .3s; }
.burger span:nth-child(2) { width: 14px; margin-left: 8px; background: var(--red); }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 380px) {
  .logo__text strong { font-size: 1.08rem; }
  .logo__text small { letter-spacing: .35em; }
  .logo__icon { width: 40px; height: 40px; }
}
@media (min-width: 1100px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
}

/* Menú móvil */
.mmenu {
  position: fixed; inset: 0;
  z-index: 90;
  background: rgba(10,10,10,.97);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 20px) 24px 40px;
  gap: 2rem;
  clip-path: circle(0 at calc(100% - 39px) 36px);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
  overflow-y: auto;
}
.mmenu.is-open { clip-path: circle(150% at calc(100% - 39px) 36px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mmenu__kanji { position: absolute; right: -20px; bottom: -40px; font-family: var(--f-jp); font-weight: 900; font-size: 22rem; color: var(--red); opacity: .08; line-height: 1; pointer-events: none; }
.mmenu__links { display: flex; flex-direction: column; gap: .3rem; position: relative; }
.mmenu__links a {
  font-family: var(--f-title);
  font-size: clamp(1.7rem, 7.5vw, 2.6rem);
  text-transform: uppercase;
  color: var(--white);
  opacity: 0; transform: translateY(20px);
  transition: opacity .4s, transform .5s var(--ease), color .2s;
}
.mmenu__links a:hover { color: var(--red); }
.mmenu.is-open .mmenu__links a { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__links a:nth-child(1) { transition-delay: .15s; }
.mmenu.is-open .mmenu__links a:nth-child(2) { transition-delay: .19s; }
.mmenu.is-open .mmenu__links a:nth-child(3) { transition-delay: .23s; }
.mmenu.is-open .mmenu__links a:nth-child(4) { transition-delay: .27s; }
.mmenu.is-open .mmenu__links a:nth-child(5) { transition-delay: .31s; }
.mmenu.is-open .mmenu__links a:nth-child(6) { transition-delay: .35s; }
.mmenu.is-open .mmenu__links a:nth-child(7) { transition-delay: .39s; }
.mmenu.is-open .mmenu__links a:nth-child(8) { transition-delay: .43s; }
.mmenu.is-open .mmenu__links a:nth-child(9) { transition-delay: .47s; }
.mmenu .btn { align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 30px) 0 90px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%;
  transform: scale(1.12);
  animation: kenburns 20s ease-in-out infinite alternate;
  filter: saturate(.9) contrast(1.1);
}
@keyframes kenburns { from { transform: scale(1.12) translate(0, 0); } to { transform: scale(1.22) translate(-2%, -2%); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(215,38,61,.18), transparent 60%),
    linear-gradient(90deg, rgba(13,13,13,.95) 0%, rgba(13,13,13,.75) 45%, rgba(13,13,13,.35) 100%),
    linear-gradient(0deg, var(--black) 0%, transparent 35%);
}
.hero__embers { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.kanji--hero { font-size: clamp(18rem, 55vw, 44rem); right: -6vw; top: 50%; transform: translateY(-50%); color: var(--red); opacity: .09; z-index: 2; }
.hero__content { position: relative; z-index: 3; }
.hero__eyebrow { color: var(--gold); }
.hero__eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(215,38,61,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(215,38,61,0); } 100% { box-shadow: 0 0 0 0 rgba(215,38,61,0); } }
.hero__title {
  font-family: var(--f-title);
  font-size: clamp(3.1rem, 13.5vw, 9.4rem);
  line-height: .9;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: .005em;
}
.ht-line { display: block; overflow: hidden; padding-bottom: .04em; }
.ht-line--accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  background: linear-gradient(90deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
}
.char { display: inline-block; will-change: transform; }
.ht-line--accent .char {
  background: linear-gradient(90deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero.is-shake { animation: shake .45s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake {
  10%, 90% { transform: translate3d(-2px, 1px, 0); }
  20%, 80% { transform: translate3d(4px, -2px, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 2px, 0); }
  40%, 60% { transform: translate3d(6px, -1px, 0); }
}
.hero__sub { font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 600px; color: #ddd; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__badges li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .9rem;
  font-size: .85rem; font-weight: 500; color: var(--white);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(232,176,75,.35);
  border-radius: 40px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__badges svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--red); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 600px) {
  .hero__ctas .btn { width: 100%; }
  .hero__scroll { display: none; }
}

/* ---------- Cifras ---------- */
.stats { position: relative; z-index: 2; padding: 0 0 50px; margin-top: -40px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28,28,28,.9), rgba(16,16,16,.95));
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
}
.stat { padding: 1.8rem 1rem; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-bottom: 0; }
.stat__num { display: block; font-family: var(--f-title); font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1; color: var(--white); }
.stat:nth-child(odd) .stat__num { color: var(--gold); }
.stat__label { display: block; margin-top: .5rem; font-family: var(--f-sub); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--gray-2); }
@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* ---------- Marquee ---------- */
.marquee-wrap { position: relative; z-index: 2; overflow: hidden; padding: 40px 0; }
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--red);
  transform: rotate(-2deg);
  width: calc(100% + 40px);
  margin-left: -20px;
  padding: 1rem 0;
  box-shadow: 0 20px 50px -20px rgba(215,38,61,.6);
  contain: paint;
}
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--f-title); font-size: clamp(1.6rem, 4vw, 2.8rem); color: var(--black); white-space: nowrap; letter-spacing: .04em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjetas genéricas / tilt ---------- */
.tilt { transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .3s; will-change: transform; }
.tilt::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(232,176,75,.18), transparent 45%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none; z-index: 3;
}
.tilt:hover::before { opacity: 1; }

/* ---------- Por qué elegirnos ---------- */
.why { overflow-x: clip; }
.why__wrap { position: relative; z-index: 2; display: grid; gap: 3rem; }
.why__img { position: relative; margin: 2rem 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
.why__img figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem; font-family: var(--f-sub); color: var(--white); letter-spacing: .05em; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent); }
.why__grid { display: grid; gap: 1rem; }
.card {
  position: relative;
  padding: 1.7rem 1.5rem;
  background: linear-gradient(160deg, #1b1b1b, #121212);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--red); transition: height .5s var(--ease); }
.card:hover::after { height: 100%; }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: rgba(215,38,61,.12); margin-bottom: 1.1rem; transform: translateZ(30px); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--f-sub); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .6rem; transform: translateZ(20px); }
.card p { margin: 0; font-size: .95rem; }
@media (min-width: 640px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .why__wrap { grid-template-columns: 5fr 7fr; align-items: start; gap: 4rem; }
  .why__intro { position: sticky; top: calc(var(--nav-h) + 30px); }
}

/* ---------- Disciplinas ---------- */
.disc { background: linear-gradient(180deg, var(--black), #111 50%, var(--black)); }
.disc__grid { display: grid; gap: 1.4rem; }
@media (min-width: 680px) { .disc__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .disc__grid { grid-template-columns: repeat(3, 1fr); } }
.dcard {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.dcard:hover { box-shadow: 0 30px 60px -30px rgba(215,38,61,.55); }
.dcard__img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.dcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dcard:hover .dcard__img img { transform: scale(1.08); }
.dcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--black-2), transparent 55%); }
.dcard__body { padding: 0 1.5rem 1.6rem; margin-top: -1.6rem; position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; }
.dcard__tag { align-self: flex-start; font-family: var(--f-sub); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .7rem; background: var(--red); color: var(--white); border-radius: 3px; margin-bottom: .8rem; }
.dcard__tag--gold { background: var(--gold); color: var(--black); }
.dcard h3 { font-family: var(--f-title); font-size: 1.9rem; text-transform: uppercase; margin-bottom: .6rem; }
.dcard__for { font-size: .93rem; }
.dcard__for strong { color: var(--white); }
.dcard__list { margin-bottom: 1rem; }
.dcard__list li { position: relative; padding-left: 1.4rem; font-size: .93rem; margin-bottom: .35rem; }
.dcard__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--gold); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.dcard__days { display: flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .6rem; color: var(--white); font-family: var(--f-sub); letter-spacing: .05em; margin-bottom: 1.1rem; border-top: 1px dashed var(--line); }
.dcard__days svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2; }

/* ---------- Cinturones ---------- */
.belts { overflow: hidden; }
.belts__bg { position: absolute; inset: 0; z-index: 0; }
.belts__bg img { width: 100%; height: 120%; object-fit: cover; opacity: .18; filter: grayscale(1); }
.belts__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent, var(--black) 75%); }
.belts__inner { position: relative; z-index: 2; }
.belts__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .3rem;
  padding: 2rem 0 1rem;
}
.belts__line { position: absolute; left: 7%; right: 7%; top: calc(2rem + 26px); height: 4px; background: rgba(255,255,255,.1); border-radius: 4px; z-index: 0; }
.belts__progress { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #fff, var(--gold), var(--red)); border-radius: 4px; transition: width .6s var(--ease); }
.belt {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  padding: 0;
}
.belt__knot {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--black-3);
  border: 2px solid rgba(255,255,255,.15);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .3s;
}
.belt__knot svg { width: 36px; height: 36px; }
.belt__name { font-family: var(--f-sub); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-2); transition: color .3s; text-align: center; }
.belt:hover .belt__knot, .belt.is-active .belt__knot { transform: scale(1.18) translateY(-4px); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(232,176,75,.12), 0 10px 30px -5px rgba(215,38,61,.5); }
.belt.is-active .belt__name { color: var(--white); }
.belts__info {
  margin-top: 2rem;
  display: grid; gap: 1.5rem;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: rgba(20,20,20,.85);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  min-height: 220px;
}
.binfo__head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.binfo__swatch { width: 70px; height: 16px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.binfo__head h3 { font-family: var(--f-title); font-size: clamp(1.6rem, 4vw, 2.4rem); text-transform: uppercase; }
.binfo__time { margin-left: auto; font-family: var(--f-sub); color: var(--gold); letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; padding: .35rem .8rem; border: 1px solid rgba(232,176,75,.4); border-radius: 30px; }
.binfo__body { display: grid; gap: 1.2rem; }
.binfo__body p { margin: 0; }
.binfo__body ul { display: grid; gap: .4rem; }
.binfo__body li { position: relative; padding-left: 1.4rem; }
.binfo__body li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
@media (min-width: 768px) { .binfo__body { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .belt__knot { width: 40px; height: 40px; }
  .belt__knot svg { width: 26px; height: 26px; }
  .belts__line { top: calc(2rem + 20px); }
  .belt__name { font-size: .6rem; letter-spacing: .02em; }
  .binfo__time { margin-left: 0; }
}

/* ---------- Horarios ---------- */
.sched__controls { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; margin-bottom: 2rem; }
.tabs { display: inline-flex; padding: 5px; background: var(--black-3); border-radius: 50px; border: 1px solid var(--line); max-width: 100%; }
.tab { padding: .7rem 1.3rem; border-radius: 50px; font-family: var(--f-sub); letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; color: var(--gray); transition: background .3s, color .3s; white-space: nowrap; }
.tab.is-active { background: var(--red); color: var(--white); }
@media (max-width: 400px) { .tab { padding: .6rem .9rem; font-size: .78rem; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.chips--center { margin-bottom: 2rem; }
.chip { padding: .5rem 1rem; border-radius: 40px; border: 1px solid rgba(255,255,255,.18); font-size: .85rem; font-weight: 500; transition: all .25s; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--black); }
.sched__table-wrap { display: none; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.sched__table { width: 100%; border-collapse: collapse; min-width: 860px; background: var(--black-2); }
.sched__table th, .sched__table td { padding: .7rem .6rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: top; text-align: left; }
.sched__table thead th { font-family: var(--f-sub); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; color: var(--white); background: #1a1a1a; font-size: .85rem; }
.sched__table tbody th { font-family: var(--f-sub); color: var(--gold); font-weight: 500; white-space: nowrap; width: 90px; }
.sched__table td:last-child, .sched__table th:last-child { border-right: 0; }
.cls { display: block; padding: .45rem .55rem; border-radius: 6px; margin-bottom: .35rem; font-size: .8rem; line-height: 1.25; background: rgba(255,255,255,.05); border-left: 3px solid var(--c, var(--red)); animation: clsIn .4s var(--ease) both; }
.cls b { display: block; color: var(--white); font-weight: 600; }
.cls small { color: var(--gray-2); }
@keyframes clsIn { from { opacity: 0; transform: translateY(6px); } }
.sched__cards { display: grid; gap: 1rem; }
.dayc { background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.dayc h3 { font-family: var(--f-title); font-size: 1.4rem; text-transform: uppercase; margin-bottom: .8rem; display: flex; justify-content: space-between; align-items: center; }
.dayc h3 small { font-family: var(--f-body); font-size: .75rem; color: var(--gray-2); text-transform: none; }
.dayc .cls { display: flex; justify-content: space-between; gap: .6rem; align-items: center; }
.dayc .cls time { font-family: var(--f-sub); color: var(--gold); white-space: nowrap; }
.empty { text-align: center; padding: 2rem; color: var(--gray-2); }
@media (min-width: 768px) {
  .sched__table-wrap { display: block; }
  .sched__cards { display: none; }
}

/* ---------- Planes ---------- */
.plans { overflow: hidden; }
.billing { position: relative; display: inline-flex; background: var(--black-3); border-radius: 50px; padding: 5px; border: 1px solid var(--line); margin-top: .5rem; }
.billing__opt { position: relative; z-index: 2; padding: .7rem 1.4rem; font-family: var(--f-sub); letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; transition: color .3s; }
.billing__opt em { font-style: normal; color: var(--gold); font-weight: 700; transition: color .3s; }
.billing__opt.is-active { color: var(--white); }
.billing__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0; background: var(--red); border-radius: 50px; transition: transform .45s var(--ease), width .45s var(--ease); z-index: 1; }
.plans__grid { position: relative; z-index: 2; display: grid; gap: 1.4rem; align-items: stretch; }
@media (min-width: 900px) { .plans__grid { grid-template-columns: repeat(3, 1fr); align-items: center; } }
.plan {
  position: relative;
  padding: 2.2rem 1.8rem;
  background: linear-gradient(170deg, #1a1a1a, #101010);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
}
.plan h3 { font-family: var(--f-title); font-size: 2rem; text-transform: uppercase; margin-bottom: .4rem; }
.plan__desc { font-size: .93rem; color: var(--gray-2); }
.plan__price { display: flex; align-items: baseline; gap: .3rem; color: var(--white); margin-top: .4rem; }
.plan__price .cur { font-family: var(--f-sub); font-size: 1.3rem; color: var(--gold); }
.plan__price .amt { font-family: var(--f-title); font-size: 4rem; line-height: 1; }
.plan__price .per { color: var(--gray-2); }
.plan__note { font-size: .82rem; color: var(--gold); min-height: 1.3em; margin: .3rem 0 1.2rem; }
.plan ul { margin-bottom: 1.8rem; display: grid; gap: .6rem; }
.plan li { position: relative; padding-left: 1.6rem; font-size: .95rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: rgba(215,38,61,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7263D' stroke-width='4'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/9px no-repeat; }
.plan .btn { margin-top: auto; }
.plan--featured {
  border: 1.5px solid var(--red);
  background: linear-gradient(170deg, #2a0f14, #121212 60%);
  box-shadow: 0 30px 80px -30px rgba(215,38,61,.6);
}
@media (min-width: 900px) { .plan--featured { padding: 2.8rem 2rem; } }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: .35rem 1rem; background: var(--gold); color: var(--black); font-family: var(--f-sub); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; border-radius: 30px; white-space: nowrap; z-index: 4; }
.plans__extras { position: relative; z-index: 2; margin-top: 2.4rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .plans__extras { grid-template-columns: repeat(3, 1fr); } }
.extra { padding: 1.2rem 1.4rem; border: 1px dashed rgba(232,176,75,.35); border-radius: var(--radius); }
.extra strong { display: block; font-family: var(--f-sub); color: var(--white); font-size: 1.1rem; letter-spacing: .03em; margin-bottom: .2rem; }
.extra span { font-size: .9rem; }
.amt.is-flip { animation: amtFlip .45s var(--ease); }
@keyframes amtFlip { 0% { opacity: 0; transform: translateY(-14px); } 100% { opacity: 1; transform: none; } }

/* ---------- Senseis ---------- */
.senseis { background: linear-gradient(180deg, var(--black), #120a0b 50%, var(--black)); }
.senseis__grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .senseis__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .senseis__grid { grid-template-columns: repeat(4, 1fr); } }
.flip { perspective: 1400px; aspect-ratio: 3/4; outline: none; cursor: pointer; }
.flip__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
@media (hover: hover) { .flip:hover .flip__inner { transform: rotateY(180deg); } }
.flip:focus-visible .flip__inner { transform: rotateY(180deg); }
.flip__front, .flip__back { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; border: 1px solid var(--line); }
.flip__front img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.flip__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, transparent 50%); }
.flip__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem; z-index: 2; }
.flip__cap span { font-family: var(--f-sub); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.flip__cap h3 { font-family: var(--f-title); font-size: 1.7rem; text-transform: uppercase; margin-top: .2rem; }
.flip__back {
  transform: rotateY(180deg);
  padding: 1.8rem 1.5rem;
  background: linear-gradient(160deg, #2b0f14, #111 70%);
  display: flex; flex-direction: column; justify-content: center;
}
.flip__back::before { content: "武"; position: absolute; right: -10px; bottom: -30px; font-family: var(--f-jp); font-weight: 900; font-size: 12rem; color: var(--red); opacity: .08; line-height: 1; }
.flip__grade { align-self: flex-start; padding: .3rem .8rem; border-radius: 30px; background: #000; color: var(--gold); border: 1px solid var(--gold); font-family: var(--f-sub); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.flip__back h3 { font-family: var(--f-title); font-size: 1.8rem; text-transform: uppercase; margin-bottom: .7rem; }
.flip__back p { font-size: .92rem; }
.flip__back ul { display: grid; gap: .5rem; }
.flip__back li { position: relative; padding-left: 1.5rem; font-size: .88rem; color: var(--white); }
.flip__back li::before { content: "🏅"; position: absolute; left: 0; font-size: .8rem; }

/* ---------- Beneficios niños ---------- */
.kids__wrap { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .kids__wrap { grid-template-columns: 5fr 7fr; gap: 4.5rem; } }
.kids__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; max-height: 640px; }
.kids__media img { width: 100%; height: 100%; object-fit: cover; }
.kids__badge { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; max-width: 260px; padding: 1rem 1.2rem; background: rgba(13,13,13,.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-left: 4px solid var(--gold); border-radius: 8px; }
.kids__badge strong { font-family: var(--f-title); font-size: 2.4rem; color: var(--gold); display: block; line-height: 1; }
.kids__badge span { font-size: .85rem; color: var(--white); }
.kids__grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin: 1.5rem 0 2rem; }
@media (min-width: 640px) { .kids__grid { grid-template-columns: repeat(3, 1fr); } }
.benefit { padding: 1.2rem 1rem; border-radius: var(--radius); background: var(--black-2); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.benefit:hover { transform: translateY(-6px); border-color: rgba(232,176,75,.5); }
.benefit svg { width: 46px; height: 46px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .7rem; }
.benefit:hover svg { animation: wobble .6s ease; }
@keyframes wobble { 30% { transform: rotate(-10deg) scale(1.1); } 60% { transform: rotate(8deg); } }
.benefit h3 { font-family: var(--f-sub); font-weight: 600; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: .35rem; }
.benefit p { font-size: .85rem; margin: 0; }

/* ---------- Galería ---------- */
.masonry { columns: 2 160px; column-gap: .8rem; }
@media (min-width: 768px) { .masonry { columns: 3; column-gap: 1rem; } }
@media (min-width: 1100px) { .masonry { columns: 4; } }
.gitem { position: relative; margin: 0 0 .8rem; break-inside: avoid; border-radius: 10px; overflow: hidden; cursor: zoom-in; transition: opacity .4s, transform .4s var(--ease); }
@media (min-width: 768px) { .gitem { margin-bottom: 1rem; } }
.gitem img { width: 100%; height: auto; min-height: 140px; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gitem:nth-child(3n+1) img { aspect-ratio: 3/4; }
.gitem:nth-child(3n+2) img { aspect-ratio: 4/3; }
.gitem:nth-child(3n) img { aspect-ratio: 1/1; }
.gitem::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; color: var(--white); background: rgba(215,38,61,.45); opacity: 0; transition: opacity .35s; }
.gitem:hover::after { opacity: 1; }
.gitem:hover img { transform: scale(1.08); }
.gitem.is-hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(5,5,5,.95); display: flex; align-items: center; justify-content: center; padding: 60px 16px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: 80vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: scale(.94); transition: transform .4s var(--ease); background: none; }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 14px; right: 18px; font-size: 2.6rem; line-height: 1; color: var(--white); width: 48px; height: 48px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; color: var(--white); background: rgba(255,255,255,.08); }
.lightbox__nav:hover { background: var(--red); }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox__cap { position: absolute; bottom: 18px; left: 16px; right: 16px; text-align: center; color: var(--gray); font-size: .9rem; margin: 0; }

/* ---------- Logros ---------- */
.achv__wrap { display: grid; gap: 3rem; }
@media (min-width: 1000px) {
  .achv__wrap { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .achv__side { position: sticky; top: calc(var(--nav-h) + 30px); }
}
.achv__img { margin: 1.5rem 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; }
.achv__img img { width: 100%; height: 100%; object-fit: cover; }
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.1); }
.timeline::after { content: ""; position: absolute; left: 10px; top: 0; width: 2px; height: var(--tl, 100%); background: linear-gradient(180deg, var(--gold), var(--red)); }
.tl { position: relative; margin-bottom: 1.6rem; }
.tl::before { content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--black); border: 3px solid var(--red); z-index: 2; }
.tl__year { font-family: var(--f-title); font-size: 1.6rem; color: var(--gold); display: block; margin-bottom: .4rem; line-height: 1; }
.tl__card { position: relative; padding: 1.3rem 1.3rem 1.3rem 4.4rem; background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); }
.tl__card h3 { font-family: var(--f-sub); font-weight: 600; font-size: 1.15rem; text-transform: uppercase; margin-bottom: .3rem; }
.tl__card p { margin: 0; font-size: .92rem; }
.medal { position: absolute; left: 1.1rem; top: 1.3rem; width: 38px; height: 38px; border-radius: 50%; }
.medal::before { content: ""; position: absolute; left: 9px; top: -10px; width: 20px; height: 16px; background: var(--red); clip-path: polygon(0 0, 100% 0, 70% 100%, 30% 100%); }
.medal::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(0,0,0,.45); font-size: 1.1rem; }
.medal--gold { background: radial-gradient(circle at 30% 30%, #ffe39a, var(--gold) 50%, #a8761f); }
.medal--silver { background: radial-gradient(circle at 30% 30%, #fff, #c0c0c0 50%, #7a7a7a); }
.medal--bronze { background: radial-gradient(circle at 30% 30%, #f3c39a, #cd7f32 50%, #7a4517); }

/* ---------- Testimonios ---------- */
.carousel { position: relative; overflow: hidden; max-width: 900px; margin: 0 auto; }
.carousel__track { display: flex; transition: transform .7s var(--ease); touch-action: pan-y; }
.tcard { flex: 0 0 100%; margin: 0; padding: 2.5rem 1.5rem; text-align: center; }
.tcard img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 3px solid var(--gold); box-shadow: 0 0 0 6px rgba(232,176,75,.12); }
.stars { color: var(--gold); letter-spacing: .2em; font-size: 1.1rem; margin-bottom: 1rem; }
.tcard blockquote { margin: 0 auto 1.4rem; max-width: 720px; font-size: clamp(1.05rem, 2.4vw, 1.35rem); line-height: 1.55; color: var(--white); font-weight: 500; position: relative; }
.tcard figcaption strong { display: block; font-family: var(--f-sub); font-size: 1.15rem; color: var(--white); letter-spacing: .05em; text-transform: uppercase; }
.tcard figcaption span { font-size: .88rem; color: var(--gray-2); }
.carousel__ctrl { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.carousel__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.2rem; transition: background .3s, border-color .3s; }
.carousel__btn:hover { background: var(--red); border-color: var(--red); }
.carousel__dots { display: flex; gap: .5rem; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 10px; background: rgba(255,255,255,.25); transition: width .35s var(--ease), background .3s; }
.carousel__dots button.is-active { width: 30px; background: var(--red); }

/* ---------- Clase de prueba ---------- */
.trial { overflow: hidden; }
.trial__bg { position: absolute; inset: 0; z-index: 0; }
.trial__bg img { width: 100%; height: 100%; object-fit: cover; }
.trial__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(120,12,26,.94) 0%, rgba(13,13,13,.92) 55%, rgba(13,13,13,.97) 100%); }
.trial__wrap { position: relative; z-index: 2; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .trial__wrap { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.trial .lead { color: #eee; }
.spots { margin-top: 1.5rem; padding: 1.5rem; border-radius: var(--radius); background: rgba(0,0,0,.4); border: 1px solid rgba(232,176,75,.3); }
.spots__title { font-family: var(--f-sub); text-transform: uppercase; letter-spacing: .1em; color: var(--white); font-size: .9rem; margin-bottom: .8rem; }
.spots__title strong { color: var(--gold); }
.spots__bar { height: 10px; border-radius: 10px; background: rgba(255,255,255,.1); overflow: hidden; }
.spots__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--red)); border-radius: 10px; transition: width 1.4s var(--ease); }
.spots__left { margin: .6rem 0 1.2rem; font-size: .95rem; }
.spots__left strong { font-family: var(--f-title); font-size: 1.6rem; color: var(--gold); font-weight: 400; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.countdown div { text-align: center; padding: .7rem .3rem; background: rgba(255,255,255,.06); border-radius: 8px; }
.countdown strong { display: block; font-family: var(--f-title); font-size: clamp(1.6rem, 6vw, 2.4rem); color: var(--white); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gray-2); }
.tform { padding: 1.8rem 1.4rem; border-radius: var(--radius); background: rgba(16,16,16,.92); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
@media (min-width: 560px) { .tform { padding: 2.2rem; } }
.tform h3 { font-family: var(--f-title); font-size: 1.9rem; text-transform: uppercase; margin-bottom: 1.3rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field .label { font-size: .82rem; font-weight: 600; color: var(--white); margin-bottom: .4rem; letter-spacing: .02em; }
.field input:not([type="radio"]), .field select {
  width: 100%;
  padding: .85rem 1rem;
  font: inherit; font-size: 16px;
  color: var(--white);
  background: #0b0b0b;
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: 8px;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8B04B' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.6rem; }
.field select option { background: #111; color: #fff; }
.field input:not([type="radio"]):focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232,176,75,.15); }
.field.has-error input, .field.has-error select { border-color: var(--red); box-shadow: 0 0 0 4px rgba(215,38,61,.15); }
.err { color: #ff6b7e; font-size: .78rem; min-height: 0; margin-top: .3rem; }
.err:empty { display: none; }
.hint { color: var(--gold); font-size: .8rem; margin-top: .35rem; }
.hint:empty { display: none; }
.radios { display: flex; gap: .6rem; flex-wrap: wrap; }
.radios label { flex: 1; min-width: 130px; display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.14); cursor: pointer; font-size: .92rem; color: var(--white); transition: border-color .25s, background .25s; }
.radios label:has(input:checked) { border-color: var(--red); background: rgba(215,38,61,.1); }
.radios input { accent-color: var(--red); width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq__wrap { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .faq__wrap { grid-template-columns: 4fr 7fr; gap: 4rem; align-items: start; } }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; padding: 1.3rem 0; font-family: var(--f-sub); font-weight: 500; font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: var(--white); letter-spacing: .02em; transition: color .25s; }
.acc__q:hover { color: var(--gold); }
.acc__q i { position: relative; flex: 0 0 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: transform .45s var(--ease), background .3s, border-color .3s; }
.acc__q i::before, .acc__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s; }
.acc__q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__q i { background: var(--red); border-color: var(--red); transform: rotate(180deg); }
.acc__item.is-open .acc__q i::after { transform: translate(-50%, -50%) rotate(0); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 2.5rem 1.4rem 0; margin: 0; }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }

/* ---------- Ubicación ---------- */
.loc__wrap { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .loc__wrap { grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: stretch; } }
.venue { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.venue h3 { font-family: var(--f-sub); font-weight: 600; text-transform: uppercase; font-size: 1.2rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.venue p { margin-bottom: .4rem; }
.venue .btn { margin-top: .6rem; }
.pin { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: var(--red); transform: rotate(-45deg); flex-shrink: 0; }
.pin--gold { background: var(--gold); }
.hours { padding-top: 1.4rem; }
.hours h3 { font-family: var(--f-sub); font-weight: 600; text-transform: uppercase; font-size: 1.1rem; margin-bottom: .8rem; }
.hours p { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; padding-bottom: .4rem; border-bottom: 1px dashed var(--line); }
.hours strong { color: var(--white); font-weight: 600; text-align: right; }
.loc__map { min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--black-3); }
.loc__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 70px 0 0; background: #080808; border-top: 3px solid var(--red); }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 2fr 1fr 1.3fr 1.3fr; } }
.footer__brand p { margin: 1.2rem 0; max-width: 340px; font-size: .93rem; }
.footer h4 { font-family: var(--f-sub); text-transform: uppercase; letter-spacing: .14em; color: var(--white); font-size: .95rem; margin-bottom: 1.1rem; font-weight: 500; }
.footer li { margin-bottom: .55rem; font-size: .93rem; }
.footer li a:hover { color: var(--gold); }
.socials { display: flex; gap: .6rem; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .3s; }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--white); }
.pays { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay { padding: .45rem .85rem; border-radius: 6px; font-size: .82rem; font-weight: 600; color: var(--white); background: #1a1a1a; border: 1px solid var(--line); }
.pay--yape { background: #742284; border-color: #742284; }
.pay--plin { background: #00b2c3; border-color: #00b2c3; color: #052a2e; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; padding-bottom: 1.4rem; border-top: 1px solid var(--line); font-size: .85rem; }
.footer__bottom p { margin: 0; }
.totop:hover { color: var(--gold); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 16px; bottom: 18px; z-index: 95; display: flex; align-items: center; gap: .7rem; }
.wa-float__btn { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 30px -5px rgba(37,211,102,.6); transition: transform .3s var(--ease); }
.wa-float__btn::before, .wa-float__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2s infinite; }
.wa-float__btn::after { animation-delay: 1s; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float__btn svg { width: 32px; height: 32px; }
.wa-float:hover .wa-float__btn { transform: scale(1.08); }
.wa-float__bubble { position: relative; padding: .55rem .9rem; border-radius: 10px; background: var(--white); color: var(--black); font-weight: 700; font-size: .85rem; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.35); animation: bubble 6s ease-in-out infinite; transform-origin: right center; }
.wa-float__bubble::after { content: ""; position: absolute; right: -6px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-right: 0; border-left-color: var(--white); }
@keyframes bubble { 0%, 100% { opacity: 1; transform: none; } 45% { opacity: 1; transform: none; } 50% { transform: scale(1.06); } 55% { transform: none; } }
@media (max-width: 420px) { .wa-float__bubble { font-size: .75rem; padding: .45rem .7rem; } }

/* ---------- Revelado tipo tajo de katana ---------- */
.slash { position: relative; }
.slash::before {
  content: ""; position: absolute; z-index: 5; pointer-events: none;
  left: -10%; top: 50%; width: 120%; height: 3px;
  background: linear-gradient(90deg, transparent, #fff, var(--gold), transparent);
  transform: rotate(-24deg) scaleX(0);
  opacity: 0;
  box-shadow: 0 0 18px 2px rgba(232,176,75,.6);
}
.slash.is-cut::before { animation: cut .7s var(--ease) forwards; }
@keyframes cut {
  0% { opacity: 1; transform: rotate(-24deg) scaleX(0); transform-origin: left; }
  60% { opacity: 1; transform: rotate(-24deg) scaleX(1); transform-origin: left; }
  100% { opacity: 0; transform: rotate(-24deg) scaleX(1); }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__media img { animation: none; transform: none; }
  .marquee__track { animation: none; }
  .loader { display: none; }
  .hero__embers { display: none; }
}
