/* ==========================================================
   Ana Rafaela — Landing
   Base visual: Figma "web Ana Rafae" (Desktop - 1)
   Regla de marca: todo ovalado o circular, cero esquinas cuadradas, líneas finas.
   ========================================================== */

:root {
  --bg: #0f0c0c;
  --surface: #161313;
  --ink: #fff2f2;
  --ink-soft: #efefef;
  --muted: rgba(255, 242, 242, .62);
  --accent: #ffeb84;
  --accent-strong: #ffd51e;
  --lime: #f1ff84;
  --line: rgba(255, 235, 132, .55);
  --line-soft: rgba(255, 242, 242, .16);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pill: 999px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Botones (siempre en cápsula) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 43px; padding: 0 30px;
  border-radius: var(--pill);
  border: 1px solid var(--accent);
  font: 500 16px/1 var(--font);
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--pill); }
.btn-solid { background: var(--accent); color: #161313; }
.btn-solid:hover { box-shadow: 0 10px 30px -10px rgba(255, 235, 132, .55); }
.btn-outline { background: transparent; color: var(--accent); font-weight: 300; }
.btn-outline:hover { background: var(--accent); color: #161313; }
.btn-dark { background: #161313; color: var(--accent); border-color: #161313; }
.btn-dark:hover { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.btn-lg { min-height: 56px; padding: 0 40px; font-size: 17px; }

/* ---------- Encabezado ---------- */
.site-header {
  position: fixed; z-index: 50;
  top: 43px; left: 37px; right: 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0;
  border-radius: var(--pill);
  border: 1px solid transparent;
  transition: top .5s var(--ease), left .5s var(--ease), right .5s var(--ease), padding .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
}
.site-header.is-scrolled {
  top: 14px; left: 14px; right: 14px;
  padding: 8px 8px 8px 14px;
  background: rgba(15, 12, 12, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line-soft);
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; align-items: center; }
.nav a {
  display: inline-block; padding: 8px 12px; border-radius: var(--pill);
  font-weight: 300; font-size: 16px; color: var(--ink);
  transition: background-color .3s, color .3s;
}
.nav a:hover { background: rgba(255, 235, 132, .12); color: var(--accent); }
.btn-header { min-height: 51px; padding: 0 44px; }
.nav-toggle { display: none; }

/* ---------- 1. Hero ---------- */
.hero { position: relative; padding: 48px 9px 0; }
.hero-card {
  position: relative; overflow: hidden;
  height: min(901px, calc(100svh - 70px)); min-height: 560px;
  border-radius: 40px;
  background: var(--surface);
  transform-origin: 50% 0;
  will-change: transform;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 12, 12, .72) 0%, rgba(15, 12, 12, .25) 65%, rgba(15, 12, 12, .1) 100%),
    linear-gradient(0deg, rgba(15, 12, 12, .55) 0%, rgba(15, 12, 12, 0) 40%);
}
.hero-content {
  position: absolute; left: 12%; right: 8%; top: 43%;
  transform: translateY(-50%);
}
.hero-title {
  font-weight: 700; font-size: clamp(40px, 4.45vw, 64px); line-height: 1.12;
  color: var(--ink); letter-spacing: -.01em;
}
.hero-title .line { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-sub {
  margin-top: 14px; max-width: 1047px;
  font-weight: 500; font-size: clamp(17px, 1.67vw, 24px); line-height: 1.6; color: var(--ink);
  opacity: 0; animation: fadeUp 1s var(--ease) .45s forwards;
}
.hero-sub em { font-style: normal; color: var(--accent); }
.hero-test {
  position: absolute; left: 50%; top: 66%; transform: translateX(-50%);
  min-width: 216px;
  opacity: 0; animation: fadeIn 1s var(--ease) .75s forwards;
}
.hero-test:hover { transform: translateX(-50%) translateY(-2px); }
.scroll-pill {
  position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%);
  width: 33px; height: 52px; border-radius: 60px;
  background: rgba(217, 217, 217, .08);
  border: 1px solid var(--line-soft);
  display: flex; justify-content: center;
}
.scroll-pill .dot {
  width: 5px; height: 9px; margin-top: 10px; border-radius: var(--pill);
  background: var(--accent);
  animation: scrollDot 2s var(--ease) infinite;
}

/* ---------- Secciones ---------- */
.section { padding: 120px 24px; max-width: var(--maxw); margin: 0 auto; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.eyebrow { font-weight: 600; font-style: italic; font-size: 24px; line-height: 1.5; color: var(--accent); }
.section-title {
  margin-top: 10px;
  font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; color: var(--ink-soft);
}
.section-title.display { font-size: clamp(40px, 5vw, 72px); }
.subtitle { margin-top: 14px; font-weight: 600; font-size: 20px; color: var(--ink); }
.lead { margin-top: 18px; font-size: 17px; line-height: 2.05; color: var(--ink); }
.lead strong { color: var(--accent); font-weight: 600; }
.micro { margin-top: 14px; font-size: 14px; font-weight: 300; color: var(--muted); }
.center { text-align: center; }
.small-title { font-weight: 800; font-size: 22px; color: var(--ink-soft); margin-bottom: 22px; }

/* Línea fina que se dibuja entre secciones */
.divider {
  width: min(560px, 70%); height: 1px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ---------- 2. Sobre mí ---------- */
.about {
  display: grid; grid-template-columns: 485px 1fr; gap: 120px; align-items: start;
  max-width: 1240px; padding-top: 180px;
}
.about-photo { position: relative; width: 460px; margin-left: 22px; }
.about-photo img {
  width: 460px; height: 690px; object-fit: cover; border-radius: 60px;
}
.about-fade {
  position: absolute; left: -22px; right: -3px; bottom: 0; height: 405px;
  border-radius: 0 0 60px 60px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #161313 100%);
  pointer-events: none;
}
.about-text { padding-top: 61px; max-width: 565px; }
.about-title { font-weight: 800; font-size: 24px; line-height: 66px; color: var(--ink-soft); }
.about-body { margin-top: 11px; max-width: 533px; font-size: 17px; line-height: 37px; color: var(--ink); }
.about-body strong { font-weight: 600; color: var(--accent); }

/* ---------- Método H ---------- */
.method { padding-top: 40px; text-align: center; }
.method-frame {
  position: relative; overflow: hidden;
  width: min(847px, 100%); aspect-ratio: 847 / 793; margin: 0 auto;
  border-radius: 60px;
}
.method-frame img {
  position: absolute; left: 0; top: -33.48%;
  width: 100%; height: 133.5%; max-width: none;
}
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 64px; }
.chips li {
  padding: 12px 22px; border-radius: var(--pill);
  border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 500;
}
.signature { margin-top: 48px; font-weight: 600; font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: var(--accent); }

/* ---------- 3. Test NEP: círculos de línea fina ---------- */
.circles { display: flex; justify-content: center; gap: clamp(20px, 3vw, 48px); flex-wrap: wrap; }
.circle {
  width: 270px; height: 270px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 44px; text-align: center;
  position: relative;
  transition: transform .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
}
.circle::after { /* segundo anillo, más fino, que se separa al pasar el cursor */
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid var(--line-soft);
  transition: inset .6s var(--ease), border-color .6s var(--ease);
}
.circle:hover { transform: translateY(-6px); background: rgba(255, 235, 132, .05); border-color: var(--accent); }
.circle:hover::after { inset: -16px; border-color: rgba(255, 235, 132, .3); }
.circle-title { font-weight: 800; font-size: 22px; color: var(--accent); letter-spacing: .02em; }
.circle-text { font-size: 15px; line-height: 1.6; color: var(--ink); }

.steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 36px; margin: 64px 0 48px; }
.steps li, .takeaways li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.num {
  flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
}

/* ---------- 4. Taller ---------- */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 64px; }
.pills li {
  padding: 13px 24px; border-radius: var(--pill);
  border: 1px solid var(--line-soft); font-size: 15px;
  transition: border-color .4s;
}
.pills li:hover { border-color: var(--accent); }
.workshop-grid {
  display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center;
  max-width: 980px; margin: 0 auto 56px;
}
.takeaways ol { display: grid; gap: 18px; }
.takeaways li { align-items: flex-start; line-height: 1.6; }
.takeaways .num { margin-top: -4px; }
.price-oval {
  width: 380px; height: 240px; border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-align: center; position: relative;
}
.price-oval::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid var(--line-soft);
}
.price-label { font-style: italic; font-weight: 600; color: var(--accent); }
.price-main { font-weight: 800; font-size: 48px; line-height: 1.1; }
.price-cop { font-weight: 500; color: var(--ink-soft); }
.price-note { font-size: 13px; color: var(--muted); }

/* ---------- 5. 1:1: tarjetas en forma de estadio (óvalo vertical) ---------- */
.stadiums { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-bottom: 40px; }
.stadium {
  width: 380px; min-height: 700px; border-radius: 190px;
  border: 1px solid var(--line-soft);
  padding: 110px 48px 96px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative;
  transition: transform .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
}
.stadium:hover { transform: translateY(-8px); border-color: var(--line); }
.stadium-featured { border-color: var(--accent); background: rgba(255, 235, 132, .04); }
.badge {
  position: absolute; top: 46px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: var(--pill);
  background: var(--accent); color: #161313; font-size: 12px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
}
.stadium-title { font-weight: 800; font-size: 28px; line-height: 1.2; color: var(--ink-soft); }
.stadium-tag {
  margin-top: 16px; padding: 7px 18px; border-radius: var(--pill);
  border: 1px solid var(--line); color: var(--accent); font-size: 14px; font-weight: 600;
}
.stadium ul { margin: 28px 0 0; display: grid; gap: 12px; font-size: 15px; line-height: 1.5; }
.stadium ul li::before { content: "·"; color: var(--accent); margin-right: 8px; font-weight: 800; }
.stadium-for { margin-top: 22px; font-style: italic; color: var(--muted); font-size: 14px; }
.stadium .price { margin-top: 16px; font-weight: 700; color: var(--ink); }
.stadium .btn { margin-top: auto; }
.stadium .stadium-for + .btn, .stadium .price + .btn { margin-top: 28px; }
.hide-prices .price { display: none; }

/* ---------- 6. CTA ---------- */
.cta { padding-top: 60px; }
.cta-oval {
  max-width: 1060px; margin: 0 auto;
  padding: 90px clamp(32px, 9vw, 140px);
  border-radius: 260px;
  background: var(--accent); color: #161313;
  text-align: center;
}
.cta-title { font-weight: 800; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; }
.cta-oval p:not(.micro) { margin: 18px auto 30px; max-width: 640px; font-size: 17px; line-height: 1.9; }
.cta-oval .micro { color: rgba(22, 19, 19, .7); }

/* ---------- 7. Redes ---------- */
.social { text-align: center; }
.social .lead { max-width: 620px; margin-left: auto; margin-right: auto; }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 36px; margin-top: 48px; }
.social-links li { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.social-links a {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
  transition: transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.social-links a:hover { transform: translateY(-4px) rotate(-6deg); background: var(--accent); color: #161313; }

.site-footer {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 40px 24px 56px; border-top: 1px solid var(--line-soft);
  font-size: 14px; color: var(--muted);
}
.site-footer img { border-radius: 50%; }

/* ---------- Animaciones de entrada ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(6px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s);
}
[data-reveal="zoom"] { transform: scale(.9); }
[data-reveal="line"] { transform: scaleX(0); filter: none; transition: transform 1.4s var(--ease), opacity 1s; }
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(18px); opacity: 0; } 100% { opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .hero-title .line > span, .hero-sub, .hero-test { transform: none; opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .about { grid-template-columns: 1fr 1fr; gap: 64px; }
  .about-photo, .about-photo img { width: 100%; margin-left: 0; }
  .about-photo img { height: auto; aspect-ratio: 2 / 3; }
  .about-fade { left: 0; right: 0; }
}

@media (max-width: 920px) {
  .site-header { top: 20px; left: 20px; right: 20px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line-soft); background: rgba(15, 12, 12, .5); padding: 0 13px; cursor: pointer;
  }
  .nav-toggle .bar { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
  .nav-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
  .nav ul {
    position: fixed; top: 84px; left: 16px; right: 16px;
    flex-direction: column; gap: 4px; padding: 18px;
    border-radius: 40px; border: 1px solid var(--line-soft);
    background: rgba(15, 12, 12, .94); backdrop-filter: blur(14px);
    opacity: 0; pointer-events: none; transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
  }
  .nav ul.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { font-size: 18px; padding: 12px 22px; }
  .btn-header { min-height: 46px; padding: 0 20px; font-size: 14px; }

  .hero { padding: 10px 8px 0; }
  .hero-card { height: min(calc(100svh - 30px), 860px); border-radius: 32px; }
  .hero-content { left: 7%; right: 7%; top: 46%; }
  .hero-test { top: auto; bottom: 24%; }
  .scroll-pill { bottom: 9%; }

  .section { padding: 88px 20px; }
  .about { grid-template-columns: 1fr; gap: 40px; padding-top: 110px; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .about-text { padding-top: 0; }
  .about-title { line-height: 1.4; margin-top: 6px; }
  .about-body { line-height: 1.95; }
  .method-frame { border-radius: 40px; }

  .workshop-grid { grid-template-columns: 1fr; justify-items: center; gap: 48px; }
  .stadium { width: 100%; max-width: 360px; border-radius: 180px; min-height: 660px; padding: 104px 36px 90px; }
  .cta-oval { border-radius: 120px; padding: 72px 28px; }
}

@media (max-width: 520px) {
  .btn-header { display: none; }
  .eyebrow { font-size: 20px; }
  .circle { width: 250px; height: 250px; padding: 38px; }
  .price-oval { width: 300px; height: 200px; }
  .price-main { font-size: 40px; }
  .stadium { border-radius: 170px; }
  .cta-oval { border-radius: 64px; padding: 60px 22px; }
  .btn-lg { padding: 0 26px; font-size: 15px; white-space: normal; text-align: center; line-height: 1.3; }
  .social-links { gap: 24px; }
}

/* Vista estática para revisiones (?static) */
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }
.no-anim [data-reveal] { opacity: 1; transform: none; filter: none; }
.no-anim .hero-title .line > span, .no-anim .hero-sub, .no-anim .hero-test { opacity: 1; transform: none; }
.no-anim .hero-test { transform: translateX(-50%); }
