/* Anothen Active · Web Inmersiva (WebFlash). Negro, rojo y blanco como su logo y su gimnasio. */
:root {
  --negro: #0a0a0b;
  --negro2: #131316;
  --negro3: #1c1c21;
  --rojo: #e3121b;
  --rojo2: #ff2a33;
  --blanco: #f6f6f7;
  --gris: #a2a2ab;
  --linea: rgba(255, 255, 255, .1);
  --radio: 22px;
  --tit: "Archivo", "Arial Black", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--negro); color: var(--blanco); font: 400 16px/1.6 "Inter", system-ui, sans-serif; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.sec { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
h1, h2, h3 { font-family: var(--tit); font-weight: 900; letter-spacing: -.02em; line-height: .98; }
h2 { font-size: clamp(38px, 7vw, 86px); font-stretch: 112%; text-transform: uppercase; margin-bottom: 18px; }
h2 em { font-style: normal; color: var(--rojo); }
h3 { font-size: 22px; font-stretch: 105%; line-height: 1.1; }
.gris { color: #55555e; }
.eyebrow { font: 700 13px/1 "Inter", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--rojo); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow.claro { color: #fff; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: #cfcfd5; max-width: 560px; }
.lead + .lead { margin-top: 14px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; transition: transform .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-rojo { background: var(--rojo); color: #fff; box-shadow: 0 10px 30px -8px rgba(227, 18, 27, .7); }
.btn-rojo:hover { background: var(--rojo2); transform: translateY(-2px); }
.btn-linea { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; background: rgba(0, 0, 0, .25); backdrop-filter: blur(6px); }
.btn-linea:hover { border-color: #fff; }
.btn-chico { padding: 10px 18px; font-size: 14px; }
.btn-chico svg { width: 18px; height: 18px; }
.btn-ancho { width: 100%; padding: 18px; font-size: 17px; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Cabecera */
.cabecera { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 40px); transition: background .3s, padding .3s; }
.cabecera.solida { background: rgba(10, 10, 11, .86); backdrop-filter: blur(14px); padding-block: 10px; border-bottom: 1px solid var(--linea); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.marca img { width: 34px; height: 34px; animation: girar 14s linear infinite; }
.marca b { font: 900 17px/1 var(--tit); font-stretch: 115%; letter-spacing: .02em; }
.marca b span { color: var(--rojo); }
.menu { display: flex; gap: 26px; }
.menu a { text-decoration: none; font-weight: 600; font-size: 15px; color: #d6d6db; }
.menu a:hover { color: #fff; }
@keyframes girar { to { transform: rotate(360deg); } }

/* Hero */
.hero { min-height: 100svh; position: relative; display: flex; align-items: center; padding: 110px 0 80px; overflow: hidden; isolation: isolate; }
.hero-fondo { position: absolute; inset: 0; z-index: -1; }
.hero-fondo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .5; transform: scale(1.08); animation: acercar 18s ease-out forwards; }
.hero-fondo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 40%, transparent 0, rgba(10, 10, 11, .55) 55%, var(--negro) 100%), linear-gradient(180deg, rgba(10, 10, 11, .6), transparent 30%, transparent 60%, var(--negro)); }
@keyframes acercar { to { transform: scale(1); } }
.hero-in { width: min(1180px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 30px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--linea); font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 24px; backdrop-filter: blur(6px); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--rojo); box-shadow: 0 0 0 0 rgba(227, 18, 27, .7); animation: latir 1.8s infinite; }
@keyframes latir { 70% { box-shadow: 0 0 0 10px rgba(227, 18, 27, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 18, 27, 0); } }
h1 { text-transform: uppercase; font-stretch: 118%; }
.h1-a, .h1-b { display: inline-block; font-size: clamp(50px, 8.6vw, 120px); }
.h1-b { color: var(--rojo); }
.h1-c { display: block; font: 700 clamp(21px, 2.5vw, 30px)/1.2 var(--tit); font-stretch: 100%; text-transform: none; letter-spacing: -.01em; margin-top: 18px; color: #fff; max-width: 560px; }
.hero .lead { margin-top: 18px; }
.aro3d-caja { position: relative; }
.aro3d { aspect-ratio: 1; width: 100%; max-width: 480px; margin: 0 auto; position: relative; touch-action: pan-y; cursor: grab; }
.aro3d:active { cursor: grabbing; }
.aro3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.aro3d-fallback { position: absolute; inset: 18%; width: 64%; transition: opacity .5s; animation: girar 20s linear infinite; }
.aro3d.lista .aro3d-fallback { opacity: 0; }
.ayuda3d { text-align: center; font-size: 13px; color: var(--gris); letter-spacing: .08em; text-transform: uppercase; }
.ayuda3d span { color: var(--rojo); font-weight: 700; display: inline-block; animation: vaiven 2s ease-in-out infinite; }
@keyframes vaiven { 50% { transform: translateX(6px); } }
.bajar { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; transform: translateX(-50%); }
.bajar i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: rueda 1.6s infinite; }
@keyframes rueda { 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Cinta */
.cinta { background: var(--rojo); overflow: hidden; transform: rotate(-1.5deg); margin: -10px -10px 0; position: relative; z-index: 2; }
.cinta-in { display: flex; align-items: center; gap: 26px; padding: 15px 0; width: max-content; animation: cinta 28s linear infinite; }
.cinta span { font: 900 20px/1 var(--tit); font-stretch: 118%; text-transform: uppercase; white-space: nowrap; }
.cinta i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Griego */
.griego-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.palabra { font: 400 clamp(70px, 14vw, 190px)/1 Georgia, "Times New Roman", serif; font-style: italic; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35); }

/* Método */
.pasos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; counter-reset: p; }
.paso { background: var(--negro2); border: 1px solid var(--linea); border-radius: var(--radio); padding: 28px 24px 30px; position: relative; overflow: hidden; transition: transform .3s, border-color .3s; }
.paso::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--rojo); transition: width .8s .2s; }
.paso.visto::after { width: 100%; }
.paso:hover { transform: translateY(-6px); border-color: rgba(227, 18, 27, .5); }
.paso-n { display: block; font: 900 56px/1 var(--tit); font-stretch: 120%; color: transparent; -webkit-text-stroke: 1.5px var(--rojo); margin-bottom: 26px; }
.paso h3 { margin-bottom: 10px; }
.paso p { color: var(--gris); font-size: 15.5px; }

/* Video */
.sec-video { background: linear-gradient(180deg, var(--negro), var(--negro2)); }
.video-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.video-caja { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto; background: #000; box-shadow: 0 40px 80px -30px rgba(227, 18, 27, .45), 0 0 0 1px var(--linea); }
.video-caja video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--rojo); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(227, 18, 27, .6); animation: latir 2s infinite; transition: transform .2s; }
.video-play svg { width: 40px; height: 40px; margin-left: 5px; }
.video-play:hover { transform: scale(1.06); }
.video-caja.sonando .video-play { display: none; }
.video-caja video:not([controls]) { pointer-events: none; }

/* Modalidades */
.modales { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.modal { background: var(--negro2); border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); display: flex; flex-direction: column; transition: transform .35s; }
.modal:hover { transform: translateY(-6px); }
.modal-foto { aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.modal-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.modal:hover .modal-foto img { transform: scale(1.06); }
.modal-foto::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, var(--negro2)); }
.modal-txt { padding: 4px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.modal-txt p { color: var(--gris); font-size: 15px; flex: 1; }
.modal-txt a { color: var(--rojo2); font-weight: 700; text-decoration: none; font-size: 15px; }

/* Para quién */
.sec-roja { background: var(--rojo); padding: clamp(60px, 9vw, 110px) 0; overflow: hidden; }
.pqs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.pq { padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .3); display: flex; flex-direction: column; gap: 6px; padding-right: 30px; }
.pq b { font: 900 clamp(26px, 3.6vw, 44px)/1 var(--tit); font-stretch: 112%; text-transform: uppercase; }
.pq span { font-size: 17px; color: #ffe2e3; }

/* Armá tu plan */
.plan-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.plan { background: var(--negro2); border: 1px solid var(--linea); border-radius: 28px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 22px; }
.plan fieldset { border: 0; }
.plan legend { font: 800 17px/1.2 var(--tit); margin-bottom: 12px; }
.opc { display: flex; flex-wrap: wrap; gap: 8px; }
.opc button { padding: 11px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .18); background: transparent; color: #e4e4e8; font-weight: 600; font-size: 15px; transition: all .2s; }
.opc button:hover { border-color: rgba(255, 255, 255, .5); }
.opc button.on { background: var(--rojo); border-color: var(--rojo); color: #fff; transform: scale(1.03); }
.nota-campo { display: flex; flex-direction: column; gap: 10px; font: 800 17px/1.2 var(--tit); }
.nota-campo span { font: 400 14px "Inter", sans-serif; color: var(--gris); }
.nota-campo input { font: 400 16px "Inter", sans-serif; padding: 14px 16px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .18); background: var(--negro); color: #fff; }
.nota-campo input:focus { outline: none; border-color: var(--rojo); }
.plan-resumen { display: flex; align-items: center; gap: 20px; margin-top: 34px; padding: 20px; border-radius: 20px; background: var(--negro2); border: 1px solid var(--linea); max-width: 460px; }
.anillo { position: relative; width: 84px; height: 84px; flex: none; }
.anillo svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anillo circle { fill: none; stroke-width: 10; stroke: var(--negro3); }
.anillo #anilloProg { stroke: var(--rojo); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset .6s cubic-bezier(.2, .8, .2, 1); }
.anillo b { position: absolute; inset: 0; display: grid; place-items: center; font: 900 20px var(--tit); }
.plan-resumen p { color: #d7d7dc; font-size: 15.5px; }
.plan-resumen p b { color: #fff; }
.plan.error .opc:has(button.on) { animation: none; }
.sacudir { animation: sacudir .4s; }
@keyframes sacudir { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* Galería */
.sec-galeria { padding-bottom: clamp(50px, 8vw, 100px); overflow: hidden; }
.galeria { display: flex; gap: 14px; margin-top: 40px; padding: 0 20px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.galeria::-webkit-scrollbar { display: none; }
.gfoto { flex: none; width: clamp(220px, 26vw, 320px); aspect-ratio: 9 / 15; border-radius: var(--radio); overflow: hidden; scroll-snap-align: center; }
.gfoto:nth-child(even) { margin-top: 40px; }
.gfoto img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.gfoto:hover img { transform: scale(1.05); }

/* Profe */
.profe-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.profe-foto { border-radius: 28px; overflow: hidden; position: relative; aspect-ratio: 1 / 1.05; }
.profe-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.profe-foto::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--linea); background: linear-gradient(transparent 60%, rgba(10, 10, 11, .7)); }

/* Dónde */
.sec-negra { background: var(--negro2); }
.donde-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.datos { display: grid; gap: 14px; margin-top: 26px; }
.dato small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo); font-weight: 700; }
.dato p { font-size: 18px; font-weight: 600; }
.mapa { border-radius: 26px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--linea); }
.mapa iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* Preguntas */
.faqs { margin-top: 40px; border-top: 1px solid var(--linea); max-width: 900px; }
.faqs details { border-bottom: 1px solid var(--linea); }
.faqs summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font: 700 clamp(17px, 2vw, 20px)/1.3 var(--tit); position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 400; color: var(--rojo); transition: transform .3s; }
.faqs details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faqs p { padding: 0 0 22px; color: #c4c4cb; max-width: 760px; }

/* Cierre */
.final { text-align: center; background: radial-gradient(ellipse at center, rgba(227, 18, 27, .28), transparent 65%); }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.final-in img { animation: girar 10s linear infinite; }
.final h2 { margin: 0; }
.final h2 span { color: var(--rojo); }
footer { padding: 30px 20px 100px; text-align: center; color: #77777f; font-size: 14px; border-top: 1px solid var(--linea); display: grid; gap: 6px; }
footer b { color: #c9c9cf; }

/* WhatsApp flotante */
.wa-flot { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .2s; }
.wa-flot svg { width: 32px; height: 32px; }
.wa-flot:hover { transform: scale(1.08); }

/* Aparecer al bajar */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.visto { opacity: 1; transform: none; }
.pasos .paso:nth-child(2), .modales .modal:nth-child(2) { transition-delay: .1s; }
.pasos .paso:nth-child(3), .modales .modal:nth-child(3) { transition-delay: .2s; }
.pasos .paso:nth-child(4), .modales .modal:nth-child(4) { transition-delay: .3s; }

@media (max-width: 980px) {
  .menu { display: none; }
  .hero-in, .video-in, .plan-in, .profe-in, .donde-in { grid-template-columns: 1fr; }
  .hero { padding-top: 96px; }
  .aro3d { max-width: 320px; }
  .aro3d-caja { order: -1; margin-bottom: 6px; }
  .pasos, .modales { grid-template-columns: 1fr 1fr; }
  .video-caja { max-width: 360px; width: 100%; }
  .profe-foto { max-width: 460px; }
}
@media (max-width: 620px) {
  .cabecera .btn-chico span { display: none; }
  .cabecera .btn-chico { padding: 10px; }
  .aro3d { max-width: 210px; }
  .hero { padding-top: 80px; }
  .griego-in { grid-template-columns: 1fr; gap: 10px; }
  .pasos, .modales, .pqs { grid-template-columns: 1fr; }
  .modal { flex-direction: row; }
  .modal-foto { aspect-ratio: auto; width: 38%; flex: none; }
  .modal-foto::after { display: none; }
  .modal-txt { padding: 18px; }
  .acciones .btn { flex: 1 1 100%; }
  .gfoto:nth-child(even) { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
