/* Estilo In Action — v1 */
:root {
  --black: #050505;
  --ink: #10131c;
  --charcoal: #2c3439;
  --red: #e10c10;
  --red-hover: #ff2a2a;
  --ivory: #f4d9c3;
  --sepia: #bb9d8a;
  --cream: #f9f1d7;
  --purple: #6c48c4;
  --offwhite: #f5f2ea;
  --white: #ffffff;
  --muted: rgba(245, 242, 234, 0.68);
  --line: rgba(245, 242, 234, 0.12);
  --font-sans: "Inter", system-ui, sans-serif;
  --font-lockup: "Oswald", "Arial Narrow", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --max: 1180px;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--black); color: var(--offwhite); font-family: var(--font-sans); }
body { font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--ivory); text-decoration: none; }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-kicker {
  font-family: var(--font-lockup);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--red);
  margin: 0 0 10px;
}
.section h2 {
  font-family: var(--font-lockup);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--white);
}
.lede { max-width: 42rem; color: var(--muted); margin: 0 0 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-lockup);
  letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.9rem; font-weight: 600;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: 0.2s ease;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-hover); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.06); }
.btn[disabled], .btn.is-disabled { opacity: 0.55; cursor: not-allowed; }

.badge {
  display: inline-block;
  font-family: var(--font-lockup);
  letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.7rem; font-weight: 600;
  background: var(--red); color: var(--white);
  padding: 6px 10px; border-radius: 999px;
}
.badge-quiet {
  background: transparent; color: var(--ivory);
  border: 1px solid rgba(244, 217, 195, 0.4);
}

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: linear-gradient(to bottom, rgba(5,5,5,0.88), rgba(5,5,5,0));
  backdrop-filter: blur(8px);
}
.nav-brand { font-family: var(--font-lockup); letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); font-size: 0.95rem; }
.nav-brand span { color: var(--red); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--offwhite); font-size: 0.86rem; letter-spacing: 0.04em; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.4rem; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: end start; overflow: hidden; color: var(--white); }
.hero-media, .hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.hero-media { background: var(--ink); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(5,5,5,0.94) 0%, rgba(5,5,5,0.45) 42%, rgba(5,5,5,0.25) 100%),
    linear-gradient(to right, rgba(5,5,5,0.55), transparent 55%);
}
.hero-copy { position: relative; z-index: 2; padding: 0 0 72px; width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.lockup { margin: 0 0 10px; line-height: 0.82; }
.lockup .e { font-family: var(--font-lockup); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: clamp(4.2rem, 14vw, 9.5rem); color: var(--red); display: block; }
.lockup .ia { font-family: var(--font-lockup); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; font-size: clamp(1.6rem, 5vw, 3.4rem); color: var(--white); display: block; margin-top: 0.08em; }
.stay-sharp {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: clamp(2rem, 6vw, 3.8rem); margin: 8px 0 18px; color: var(--white);
}
.hero-tag { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 22em; color: var(--ivory); margin: 0 0 8px; }
.hero-meta { color: var(--muted); margin: 0 0 28px; letter-spacing: 0.06em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Programs */
.program-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.program-card { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.program-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.program-card .shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.2) 55%, rgba(5,5,5,0.15));
}
.program-card .body { position: absolute; inset: auto 0 0; padding: 22px; }
.program-card h3 {
  font-family: var(--font-lockup); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 1.45rem; margin: 0 0 8px; color: var(--white);
}
.program-card p { margin: 0; color: var(--offwhite); font-size: 0.92rem; }

/* Plans */
.pay-notice {
  display: inline-block; margin: 0 0 22px; padding: 8px 14px;
  border: 1px solid rgba(225,12,16,0.5); color: var(--ivory);
  border-radius: 999px; font-size: 0.9rem;
}
.plan-block + .plan-block { margin-top: 48px; }
.plan-block h3 {
  font-family: var(--font-lockup); letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.95rem; color: var(--sepia); margin: 0 0 16px;
}
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan {
  position: relative; background: #0c0e14; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 8px;
}
.plan.popular { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.plan .popular-tag {
  position: absolute; top: -11px; right: 16px;
  font-family: var(--font-lockup); letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.68rem; background: var(--red); color: #fff; padding: 4px 8px; border-radius: 999px;
}
.plan h4 { margin: 0; font-family: var(--font-lockup); letter-spacing: 0.06em; text-transform: uppercase; font-size: 1.15rem; color: var(--white); }
.plan .detail { color: var(--muted); font-size: 0.9rem; min-height: 2.6em; }
.plan .price { font-family: var(--font-lockup); font-size: 2rem; color: var(--white); letter-spacing: 0.02em; }
.plan .price span { font-size: 0.95rem; color: var(--muted); letter-spacing: 0.06em; }
.plan .yearly { color: var(--ivory); font-size: 0.88rem; margin: 0; }
.plan .btn { margin-top: auto; width: 100%; }

/* How */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step .num {
  font-family: var(--font-display); color: var(--red); font-size: 2rem; font-style: italic; display: block; margin-bottom: 8px;
}
.step h3 { margin: 0 0 8px; font-family: var(--font-lockup); letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.step p { margin: 0; color: var(--muted); }

/* Highlights */
.highlight-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.hl {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #000; min-height: 320px;
}
.hl video, .hl img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.hl.portrait { min-height: 520px; }
.hl.portrait video { min-height: 520px; object-position: center; }
.hl figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  background: linear-gradient(to top, rgba(5,5,5,0.85), transparent);
  font-size: 0.9rem; color: var(--ivory);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; background: #000; aspect-ratio: 9/16; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0; padding: 28px 12px 12px;
  background: linear-gradient(to top, rgba(5,5,5,0.9), transparent);
  font-size: 0.78rem; color: var(--ivory); line-height: 1.35;
}

/* Watch / about */
.watch-grid, .about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16/9; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.about-photo { border-radius: var(--radius); overflow: hidden; background: #000; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.about-copy p { color: var(--muted); }
.about-copy strong { color: var(--white); font-weight: 600; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--white); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Contact */
.contact-row { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.contact a.email { font-family: var(--font-lockup); font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: 0.04em; color: var(--white); }
.socials { display: flex; gap: 16px; margin-top: 18px; }
.socials a { border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; color: var(--offwhite); }
.address { color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.85rem; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Waiver */
.page-waiver { background: var(--black); }
.waiver-hero { padding: 120px 0 20px; }
.waiver-card, .plans-after {
  background: #0c0e14; border: 1px solid var(--line); border-radius: 18px; padding: 28px;
  margin-bottom: 28px;
}
.waiver-text { max-height: 240px; overflow: auto; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 0.92rem; background: #08090d; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sepia); }
.field input, .field select {
  background: #07080c; border: 1px solid var(--line); color: var(--white);
  border-radius: 8px; padding: 12px 12px; font: inherit;
}
.agree { display: flex; gap: 10px; align-items: flex-start; color: var(--offwhite); text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
.agree input { margin-top: 4px; accent-color: var(--red); }
.form-error { color: #ff8a8a; font-size: 0.9rem; min-height: 1.2em; }
.hidden { display: none !important; }
.version { color: var(--muted); font-size: 0.8rem; }

@media (max-width: 980px) {
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .program-card { min-height: 380px; }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .watch-grid, .about-grid, .contact-row, .highlight-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hl.portrait { min-height: 420px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 56px; left: 0; right: 0;
    background: rgba(5,5,5,0.96); flex-direction: column; padding: 18px 22px 24px; gap: 14px;
  }
  .nav-links.open { display: flex; }
  .program-grid, .plan-grid, .gallery-grid, .form-grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-copy { padding-bottom: 56px; }
}
