:root {
  --ink: #090908;
  --ink-soft: #121210;
  --paper: #f2eee5;
  --paper-muted: #d4cec2;
  --fire: #ff5a1f;
  --fire-dark: #d93d08;
  --line: rgba(255, 255, 255, .18);
  --black-line: rgba(9, 9, 8, .14);
  --wrap: min(1280px, calc(100vw - 9vw));
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 16px; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--fire); color: var(--ink); }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { position: relative; padding: 132px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; transform: translateY(-150%); background: #fff; color: #000; padding: 12px 18px; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--fire); outline-offset: 3px; }

.announcement { position: relative; z-index: 22; height: 35px; display: flex; align-items: center; justify-content: center; gap: 28px; background: var(--fire); color: #140a05; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.announcement a { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.site-header { position: absolute; z-index: 20; top: 35px; left: 0; width: 100%; height: 88px; padding: 0 4.5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); transition: background .25s, transform .25s, height .25s; }
.site-header.is-scrolled { position: fixed; top: 0; height: 72px; background: rgba(9,9,8,.94); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: var(--fire); font: 800 22px var(--serif); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 17px; letter-spacing: .14em; }
.brand-copy small { margin-top: 5px; font-size: 7.5px; letter-spacing: .25em; opacity: .68; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.main-nav > a { opacity: .76; transition: opacity .2s, color .2s; }
.main-nav > a:hover { opacity: 1; color: var(--fire); }
.main-nav .nav-cta { opacity: 1; border: 1px solid rgba(255,255,255,.55); border-radius: 2px; padding: 12px 18px; }
.menu-button { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; }
.menu-button > span:not(.sr-only) { display: block; width: 20px; height: 1px; margin: 5px auto; background: currentColor; }

.hero { position: relative; min-height: 780px; height: calc(100svh - 35px); overflow: hidden; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; background: url('../img/equipo-fenix.jpg') center 38% / cover no-repeat; transform: scale(1.015); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,5,.96) 0%, rgba(6,6,5,.77) 41%, rgba(6,6,5,.23) 74%, rgba(6,6,5,.34) 100%), linear-gradient(0deg, rgba(6,6,5,.87) 0%, transparent 44%); }
.hero-content { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 100px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--fire); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { color: #e2ddd4; }
.eyebrow span { width: 36px; height: 2px; background: var(--fire); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 880px; margin-bottom: 0; font-size: clamp(60px, 6.35vw, 100px); line-height: .91; letter-spacing: -.065em; text-transform: uppercase; }
h1 em, h2 em { color: var(--fire); font-family: var(--serif); font-weight: 400; text-transform: none; letter-spacing: -.055em; }
.hero-lead { max-width: 620px; margin: 30px 0 0; color: rgba(255,255,255,.77); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 0; border-radius: 2px; padding: 0 24px; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-fire { background: var(--fire); color: #140a05; }
.button-fire:hover { background: #ff713f; }
.button-glass { border: 1px solid rgba(255,255,255,.4); background: rgba(8,8,7,.18); backdrop-filter: blur(10px); }
.hero-facts { position: absolute; z-index: 3; left: 0; bottom: 0; width: 100%; min-height: 104px; display: grid; grid-template-columns: repeat(3, 1fr); padding-left: 7vw; background: rgba(8,8,7,.62); border-top: 1px solid var(--line); backdrop-filter: blur(18px); }
.hero-facts > div { display: flex; flex-direction: column; justify-content: center; padding: 0 34px; border-left: 1px solid var(--line); }
.hero-facts > div:last-child { border-right: 1px solid var(--line); }
.hero-facts small { margin-bottom: 8px; color: var(--fire); font-size: 9px; letter-spacing: .17em; }
.hero-facts strong { font-size: 15px; font-weight: 650; }

.principles { overflow: hidden; background: var(--fire); color: var(--ink); border-block: 1px solid rgba(0,0,0,.25); }
.marquee { min-width: max-content; display: flex; align-items: center; justify-content: center; gap: 35px; padding: 22px 3vw; font-size: clamp(17px, 1.8vw, 26px); font-weight: 900; letter-spacing: .12em; }
.marquee i { font: normal 18px var(--serif); }

.about { background: var(--paper); color: var(--ink); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 8vw, 125px); align-items: center; }
.about-visual { position: relative; min-height: 650px; }
.about-visual > img { width: 100%; height: 650px; object-fit: cover; object-position: center; filter: saturate(.78) contrast(1.04); }
.about-visual::before { content: ''; position: absolute; z-index: 1; inset: 18px -18px -18px 18px; border: 1px solid rgba(9,9,8,.25); pointer-events: none; }
.about-badge { position: absolute; z-index: 2; right: -38px; bottom: 38px; width: 150px; height: 150px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--ink); color: #fff; transform: rotate(-8deg); }
.about-badge strong { color: var(--fire); font: 700 27px var(--serif); letter-spacing: .1em; }
.about-badge span { margin-top: 8px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.about-copy h2, .section-heading h2, .schedule-intro h2, .contact-copy h2 { margin: 0; font-size: clamp(52px, 5vw, 80px); line-height: .96; letter-spacing: -.055em; text-transform: uppercase; }
.large-copy { max-width: 690px; margin: 32px 0; color: #3e3b36; font-size: 18px; line-height: 1.7; }
.value-list { border-top: 1px solid var(--black-line); }
.value-list > div { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--black-line); }
.value-list > div > span { color: var(--fire-dark); font: italic 17px var(--serif); }
.value-list p { margin: 0; color: #5b5650; font-size: 14px; line-height: 1.55; }
.value-list strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 15px; }

.programs { background: var(--ink); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 430px); gap: 60px; align-items: end; margin-bottom: 64px; }
.section-heading h2 { color: #fff; }
.section-heading > p { margin: 0 0 8px; color: rgba(255,255,255,.58); font-size: 16px; line-height: 1.7; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.program-card { min-width: 0; background: var(--ink); }
.program-image { position: relative; height: 390px; overflow: hidden; background: #1d1d1a; }
.program-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,9,8,.68), transparent 45%); }
.program-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.18) saturate(.85); transition: transform .6s, filter .6s; }
.program-card:hover img { transform: scale(1.045); filter: grayscale(0) saturate(1); }
.program-number { position: absolute; z-index: 2; right: 20px; bottom: 14px; color: rgba(255,255,255,.85); font: italic 40px var(--serif); }
.program-body { padding: 30px; }
.program-body > p { margin-bottom: 10px; color: var(--fire); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.program-body h3 { margin-bottom: 20px; font-size: 27px; letter-spacing: -.03em; }
.program-detail { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.6; }
.program-detail a { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--fire); transition: background .2s, color .2s; }
.program-detail a:hover { background: var(--fire); color: var(--ink); }

.feature-break { min-height: 720px; display: grid; grid-template-columns: 1.1fr .9fr; padding: 0; background: var(--paper); color: var(--ink); }
.feature-image { min-height: 720px; overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 9vw; }
.feature-copy blockquote { margin: 0 0 30px; font: italic clamp(36px, 4vw, 64px)/1.08 var(--serif); letter-spacing: -.04em; }
.feature-copy > p:last-child { max-width: 520px; color: #514d47; line-height: 1.7; }

.schedule { background: #11110f; }
.schedule-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(55px, 8vw, 110px); }
.schedule-intro { position: sticky; top: 110px; align-self: start; }
.schedule-intro > p:not(.section-kicker) { margin: 30px 0; color: rgba(255,255,255,.6); line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-bottom: 6px; border-bottom: 1px solid currentColor; color: var(--fire); font-size: 13px; font-weight: 750; }
.schedule-table { border-top: 1px solid var(--line); }
.schedule-row { display: grid; grid-template-columns: .85fr 1fr 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.schedule-row > div { display: flex; flex-direction: column; }
.schedule-row small { margin-bottom: 8px; color: rgba(255,255,255,.4); font-size: 8px; letter-spacing: .17em; }
.schedule-row strong { font-size: 14px; line-height: 1.45; }
.schedule-row span { margin-top: 6px; color: rgba(255,255,255,.42); font-size: 12px; line-height: 1.4; }

.gallery { background: var(--paper); color: var(--ink); }
.gallery .section-heading h2 { color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 130px; gap: 14px; }
.gallery-item { position: relative; overflow: hidden; margin: 0; background: #bdb8ae; }
.gallery-item-1 { grid-column: span 7; grid-row: span 4; }
.gallery-item-2 { grid-column: span 5; grid-row: span 3; }
.gallery-item-3 { grid-column: span 5; grid-row: span 3; }
.gallery-item-4 { grid-column: span 4; grid-row: span 3; }
.gallery-item-5 { grid-column: span 8; grid-row: span 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; padding: 46px 20px 18px; color: #fff; background: linear-gradient(0deg, rgba(9,9,8,.78), transparent); }
.gallery-item figcaption span { font-size: 14px; font-weight: 700; }
.gallery-item figcaption small { font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }

.testimonials { background: var(--ink); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.testimonial { margin: 0; padding: 40px; background: var(--ink); }
.testimonial > p { min-height: 180px; font: italic 28px/1.35 var(--serif); }
.testimonial footer { display: grid; gap: 4px; }
.testimonial footer strong { color: var(--fire); font-size: 13px; }
.testimonial footer span { color: rgba(255,255,255,.45); font-size: 11px; }

.contact { overflow: hidden; background: var(--fire); color: var(--ink); }
.contact::before { content: 'F'; position: absolute; left: -3vw; bottom: -18vw; color: rgba(9,9,8,.07); font: 900 44vw/1 var(--serif); }
.contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 140px); }
.contact .section-kicker { color: var(--ink); }
.contact-copy > p:not(.section-kicker) { max-width: 540px; margin: 30px 0 40px; line-height: 1.65; }
.contact-details { border-top: 1px solid rgba(9,9,8,.3); }
.contact-details a { display: grid; grid-template-columns: 95px 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(9,9,8,.3); }
.contact-details small { font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.contact-details strong { font-size: 14px; line-height: 1.45; }
.contact-form-wrap { padding: 42px; background: var(--paper); box-shadow: 0 32px 90px rgba(78,22,2,.18); }
.contact-form { display: grid; gap: 20px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label > span { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(9,9,8,.28); border-radius: 0; background: transparent; color: var(--ink); padding: 10px 0 12px; outline: none; transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--fire-dark); }
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form .button { justify-self: start; background: var(--ink); color: #fff; }
.contact-form .button:hover { background: #292820; }
.form-note { margin: -6px 0 0; color: #6c675e; font-size: 10px; line-height: 1.5; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-alert { margin-bottom: 22px; padding: 14px 16px; border-left: 3px solid #277e43; background: #e3f1e7; color: #164d28; font-size: 13px; line-height: 1.5; }
.form-alert.error { border-color: #b83428; background: #f6dfdc; color: #74221c; }
.form-alert.warning { border-color: #b87512; background: #fff0ce; color: #65440d; }
.form-alert ul { margin: 6px 0 0; padding-left: 18px; }

.whatsapp-float { position: fixed; z-index: 18; right: 24px; bottom: 24px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #071109; box-shadow: 0 12px 34px rgba(0,0,0,.35); font-size: 13px; font-weight: 900; }
.site-footer { padding: 80px 0 28px; background: #050504; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 55px; padding-bottom: 70px; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 12px; }
.footer-grid small { margin-bottom: 8px; color: var(--fire); font-size: 8px; letter-spacing: .18em; }
.footer-grid a, .footer-grid p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.55; }
.footer-grid a:hover { color: #fff; }
.footer-brand { max-width: 300px; }
.footer-brand .brand-mark { margin-bottom: 20px; }
.footer-brand > strong { font-size: 20px; letter-spacing: .08em; line-height: 1.2; }
.footer-brand > p { margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line); color: rgba(255,255,255,.35); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .about-grid, .schedule-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { width: 80%; }
  .about-copy { max-width: 760px; }
  .program-grid { grid-template-columns: 1fr 1fr; }
  .feature-break { grid-template-columns: 1fr; }
  .feature-image { min-height: 600px; }
  .feature-copy { padding: 100px 8vw; }
  .schedule-intro { position: static; }
  .gallery-grid { grid-auto-rows: 105px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
  :root { --wrap: calc(100vw - 40px); }
  .section { padding: 88px 0; }
  .announcement { height: auto; min-height: 36px; justify-content: space-between; padding: 9px 18px; gap: 16px; font-size: 8px; }
  .announcement a { white-space: nowrap; }
  .site-header { top: 44px; height: 72px; padding: 0 20px; }
  .site-header.is-scrolled { top: 0; }
  .menu-button { display: block; }
  .main-nav { position: fixed; z-index: -1; inset: 0; padding: 130px 30px 50px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; background: var(--ink); opacity: 0; visibility: hidden; transform: translateY(-16px); transition: opacity .2s, visibility .2s, transform .2s; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a, .main-nav .nav-cta { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 18px 0; font-size: 27px; font-weight: 750; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { min-height: 810px; height: calc(100svh - 44px); }
  .hero-media { background-position: 61% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(6,6,5,.96), rgba(6,6,5,.48)), linear-gradient(0deg, rgba(6,6,5,.94), transparent 58%); }
  .hero-content { padding-top: 90px; padding-bottom: 220px; }
  h1 { font-size: clamp(48px, 14.3vw, 69px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-facts { min-height: 188px; grid-template-columns: 1fr 1fr; padding: 0 18px; }
  .hero-facts > div { padding: 16px 14px; }
  .hero-facts > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .marquee { justify-content: flex-start; gap: 20px; padding: 17px 20px; font-size: 14px; }
  .about-grid { gap: 72px; }
  .about-visual { width: calc(100% - 12px); min-height: 470px; }
  .about-visual > img { height: 470px; }
  .about-badge { right: -14px; bottom: -32px; width: 118px; height: 118px; }
  .about-badge strong { font-size: 21px; }
  .about-copy h2, .section-heading h2, .schedule-intro h2, .contact-copy h2 { font-size: clamp(45px, 13vw, 64px); }
  .large-copy { font-size: 16px; }
  .section-heading { grid-template-columns: 1fr; gap: 28px; margin-bottom: 42px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-image { height: 330px; }
  .feature-image { min-height: 440px; }
  .feature-copy { padding: 78px 20px; }
  .schedule-grid { gap: 50px; }
  .schedule-row { grid-template-columns: 1fr; gap: 18px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; }
  .gallery-item-1, .gallery-item-2, .gallery-item-3, .gallery-item-4, .gallery-item-5 { grid-column: auto; grid-row: auto; height: 350px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 52px; }
  .contact-form-wrap { padding: 28px 22px; margin-inline: -6px; }
  .form-row { grid-template-columns: 1fr; gap: 20px; }
  .contact-details a { grid-template-columns: 72px 1fr auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { gap: 16px; flex-direction: column; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
