/* ===== TOKENS ===== */
:root {
  --black: #050505;
  --ivory: #F5F5F1;
  --gold: #B7B7B2;
  --neutral-dark: #222222;
  --neutral-light: #E7E7E2;
  --white: #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-hero-display: 'Roxborough', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --section-pad-desktop: 120px;
  --section-pad-tablet: 80px;
  --section-pad-mobile: 64px;
  --max-width: 1280px;

  --ease-apple: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== FONT FACES ===== */
@font-face {
  font-family: 'Roxborough';
  src: url('../font/Roxborough CF.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roxborough';
  src: url('../font/roxboroughcf-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.01em;
  overscroll-behavior-y: smooth;
}
/* accesible para lectores de pantalla y bots de SEO, invisible visualmente */
.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;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

.section-pad {
  padding: var(--section-pad-desktop) 0;
}
@media (max-width: 1024px) { .section-pad { padding: var(--section-pad-tablet) 0; } }
@media (max-width: 768px)  { .section-pad { padding: var(--section-pad-mobile) 0; } }

/* ===== TYPOGRAPHY ===== */
.t-display {
  font-family: var(--font-hero-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.t-display-xl {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.t-headline {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
}
.t-subheadline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  opacity: 0.85;
}
.t-body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  opacity: 0.8;
}
.t-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}
.gold { color: var(--gold); }

/* ===== ROTATEX LINE REVEAL (títulos y subtítulos, líneas en cascada) ===== */
/* Cada línea de un headline multilínea vive en su propio .rx-line dentro
   de un contenedor .rx-title. GSAP (ver js/main.js → initRxReveal) anima
   cada línea en rotationX con stagger, replicando ".block-anim" del
   tema Hagi's (perspective 250px + transform-origin en el eje Z). */
.rx-title {
  perspective: 250px;
}
.rx-line {
  display: block;
  transform-origin: center center -0.69em;
  will-change: transform, opacity;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.35s var(--ease-apple);
  cursor: pointer;
}
.btn-primary {
  background: var(--ivory);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--ivory);
  color: var(--black);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(245, 245, 241, 0.25);
}
.btn-secondary:hover {
  border-color: var(--ivory);
  color: var(--ivory);
  transform: translateY(-2px);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ===== SITE INTRO (cortina de carga tipo Hagi's) ===== */
/* Panel único a pantalla completa con el wordmark centrado. Se anima con
   GSAP (ver js/main.js → initSiteIntro): el logo hace fade-in, luego el
   conjunto se desplaza hacia arriba (-50vh) mientras escala 1.5x,
   revelando la página. Replica IntroScreen.play() del tema Hagi's. */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-intro-logo {
  width: clamp(220px, 30vw, 420px);
  height: auto;
  opacity: 0;
}

/* ===== NAV ===== */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 78px;
  background: transparent;
  transition: background 0.6s var(--ease-apple),
              backdrop-filter 0.6s var(--ease-apple),
              height 0.5s var(--ease-apple);
}
#main-nav.scrolled {
  height: 64px;
  background: rgba(6, 6, 6, 0.35);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 36px;
}
.nav-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  transition: opacity 0.25s;
  flex-shrink: 0;
}
.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
}
.nav-logo:hover { opacity: 0.7; }
.nav-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.55);
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-tag:hover { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links li { display: flex; flex-direction: column; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.75);
  transition: color 0.2s;
  line-height: 1.6;
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a.active { color: var(--ivory); }
.nav-links a.active::before {
  content: '• ';
  color: var(--gold);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:last-child  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-tag  { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: rgba(6,6,6,0.97);
    backdrop-filter: blur(24px);
    padding: 48px 36px;
  }
  .nav-links.open a {
    font-size: 1.6rem;
    font-family: var(--font-hero-display);
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--ivory);
  }
}

/* ===== HERO ===== */
#hero {
  position: relative;
  height: 250vh;
  background: linear-gradient(180deg, #080808 0%, var(--black) 100%);
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-wordmark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform, opacity;
  z-index: 1;
}
.hero-wordmark img {
  width: clamp(32rem, 60vw, 70rem);
  height: auto;
  opacity: 0.10;
  display: block;
}
.hero-video-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42vh;
  height: 75vh;
  clip-path: inset(0% 0% 0% 0% round 16px);
  will-change: width, height, clip-path;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,6,6,0.08) 0%,
    rgba(6,6,6,0.45) 70%,
    rgba(6,6,6,0.78) 100%
  );
  transition: opacity 0.4s;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.55;
  z-index: 4;
}
.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  color: var(--ivory);
  font-family: var(--font-body);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gold);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

@media (max-width: 768px) {
  .hero-wordmark img { width: clamp(16rem, 55vw, 22rem); }
  .hero-video-wrap { width: min(92vw, 420px); height: 62vh; }
  .hero-scroll { display: none; }
}

/* ===== EDITORIAL SECTION HEADINGS ===== */
.purpose-headline,
.about-headline,
.section-headline,
.authority-title,
.events-title,
.programs-title,
.testimonials-title {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.purpose-headline em,
.about-headline em,
.authority-title em {
  font-style: normal;
  font-weight: 700;
  color: rgba(245,245,241,0.95);
}

/* ===== HERO 2 (título partido + retrato central, título superpuesto en parallax) ===== */
#purpose {
  background: var(--black);
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero2-wrap {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}
.hero2-title {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(4rem, 14.7vw, 13rem);
  line-height: 0.83;
  letter-spacing: -0.02em;
  color: var(--ivory);
  text-transform: uppercase;
  position: relative;
  z-index: 3;
  will-change: transform;
}
.hero2-title-bottom { margin-top: -3vw; }
.hero2-title-top { margin-bottom: -3vw; }
.hero2-title em {
  font-style: normal;
  color: var(--gold);
}
.hero2-portrait {
  position: relative;
  z-index: 2;
  width: min(58.33vw, 620px);
  margin: -6.8vw auto -7.1vw;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  opacity: 0.3;
  transform: translateY(15%);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#purpose.hero2-in .hero2-portrait {
  opacity: 1;
  transform: translateY(0);
}
.hero2-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero2-meta {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}
#purpose.hero2-in .hero2-meta {
  opacity: 1;
  transform: translateY(0);
}
.hero2-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ivory);
  margin-bottom: 4px;
}
.hero2-role {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.5);
  margin-bottom: 20px;
}
.hero2-cta {
  font-family: var(--font-hero-display);
  font-style: normal;
  font-size: 1.1rem;
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s var(--ease-apple), color 0.25s;
}
.hero2-cta:hover { gap: 18px; color: var(--gold); }

@media (max-width: 768px) {
  #purpose { padding: 100px 0 72px; }
  .hero2-wrap { padding: 0 24px; }
  .hero2-title { font-size: clamp(2.2rem, 15vw, 4.4rem); line-height: 1; }
  .hero2-title-top { margin-bottom: -8vw; }
  .hero2-title-bottom { margin-top: -8vw; }
  .hero2-portrait { width: 91.66vw; margin: -13.6vw auto -17vw; }
  .hero2-meta { margin-top: 40px; }
}

/* ===== SHOWCASE MARQUEE ===== */
#showcase {
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding: 40px 0 0;
}
.showcase-marquee {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}
.showcase-track {
  overflow: hidden;
  white-space: nowrap;
  display: inline-flex;
}
.showcase-track span {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7.5vw, 8rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ivory);
  letter-spacing: -0.01em;
  padding-right: 0.28em;
}
.showcase-track:first-child span {
  animation: marquee-right 30s linear infinite;
}
.showcase-track:last-child span {
  animation: marquee-right 30s linear infinite reverse;
}

@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.showcase-images {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 88px;
  padding: 0 40px;
}
.showcase-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.showcase-img-1 {
  z-index: 2;
  width: 29.16vw;
  margin-left: 8.33vw;
  margin-top: -6vw;
}
.showcase-img-2 {
  z-index: 1;
  width: 37.5vw;
  margin-left: 4vw;
  margin-top: 4vw;
}
.showcase-img-3 {
  z-index: 2;
  width: 33.33vw;
  margin-left: auto;
  margin-right: 8.33vw;
  margin-top: -2vw;
}

@media (max-width: 768px) {
  #showcase { padding: 24px 0 0; }
  .showcase-images { padding: 0 24px; margin-bottom: 56px; }
  .showcase-img-1 { width: 41.66vw; margin-left: 0; margin-top: 6vw; }
  .showcase-img-2 { width: 54.16vw; margin-left: 29.16vw; margin-top: -10vw; }
  .showcase-img-3 { width: 45.83vw; margin-left: 0; margin-right: 0; margin-top: 8vw; }
}

/* ===== ABOUT ===== */
#about {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
/* imagen a sangre completa — ocupa toda la sección */
.about-img-full {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.about-img-full img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center top;
  display: block;
  will-change: transform;
}
/* overlay degradado fuerte en la mitad inferior */
.about-img-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17,17,17,0) 30%,
    rgba(17,17,17,0.7) 65%,
    rgba(17,17,17,1) 100%
  );
}
/* texto superpuesto sobre la imagen */
.about-text-over {
  position: relative;
  z-index: 2;
  padding: 0 40px 100px;
  margin-top: -220px;
  max-width: 800px;
}
.about-index {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
}
.about-headline {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 6rem);
  color: var(--ivory);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
}
.about-headline em { font-style: normal; color: var(--gold); }
/* columnas de texto en la parte inferior */
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 40px 120px;
  max-width: 1000px;
}
.about-body {
  color: rgba(245,242,235,0.6);
  font-size: clamp(0.88rem, 1vw, 0.95rem);
  line-height: 1.8;
}
@media (max-width: 768px) {
  .about-text-over { padding: 0 24px 60px; margin-top: -160px; }
  .about-cols { grid-template-columns: 1fr; padding: 0 24px 80px; }
}

/* ===== SECTION HEADLINE (compartido, ej. #contacto) ===== */
.section-headline {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 6rem);
  color: var(--black);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

/* ===== PHILOSOPHY ===== */
#philosophy {
  background: var(--black);
  padding: var(--section-pad-desktop) 0;
  overflow: hidden;
}
.philosophy-top {
  margin-bottom: 120px;
}
.philosophy-big {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(4rem, 10vw, 11rem);
  color: var(--ivory);
  line-height: 0.88;
  letter-spacing: -0.05em;
  margin-left: -3px;
}
.philosophy-big .outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,242,235,0.25);
}
/* tres filas horizontales tipo tabla */
.philosophy-row {
  display: grid;
  grid-template-columns: 5rem 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid rgba(245,242,235,0.08);
  align-items: start;
}
.philosophy-row:last-child { border-bottom: 1px solid rgba(245,242,235,0.08); }
.philosophy-num {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: 3.5rem;
  color: rgba(199,168,109,0.2);
  line-height: 1;
  letter-spacing: -0.04em;
}
.philosophy-title {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  color: var(--ivory);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.philosophy-desc {
  color: rgba(245,242,235,0.5);
  font-size: 0.88rem;
  line-height: 1.75;
  padding-top: 6px;
}
@media (max-width: 768px) {
  .philosophy-row { grid-template-columns: 2.5rem 1fr; }
  .philosophy-desc { display: none; }
  .philosophy-big { font-size: clamp(3rem, 15vw, 6rem); }
}

/* ===== AUTHORITY ===== */
#authority {
  background: var(--black);
  padding: var(--section-pad-desktop) 0;
}
.authority-header {
  padding: 0 40px;
  max-width: var(--max-width);
  margin: 0 auto 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.authority-kicker {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.35);
}
.authority-title {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 5rem);
  color: var(--ivory);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.authority-title em {
  font-style: normal;
  color: var(--gold);
}
/* tabla editorial */
.authority-table {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.authority-row {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid rgba(245,242,235,0.08);
}
.authority-row:last-child { border-bottom: 1px solid rgba(245,242,235,0.08); }
.authority-stat {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ivory);
  display: block;
}
.authority-stat sup {
  font-size: 0.35em;
  vertical-align: super;
  -webkit-text-stroke: 1px var(--ivory);
}
.authority-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.authority-label {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  color: var(--ivory);
  line-height: 1.1;
}
.authority-sub {
  font-size: 0.85rem;
  color: rgba(245,242,235,0.45);
  line-height: 1.65;
  max-width: 480px;
}
@media (max-width: 768px) {
  .authority-header { padding: 0 24px; flex-direction: column; align-items: flex-start; }
  .authority-table { padding: 0 24px; }
  .authority-row { grid-template-columns: 7rem 1fr; gap: 24px; padding: 36px 0; }
  .authority-stat { font-size: clamp(2.8rem, 12vw, 5rem); }
}

/* ===== TESTIMONIALS ===== */
#testimonials {
  background: var(--ivory);
  overflow: hidden;
}
.testimonials-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad-desktop) 40px;
}
.testimonials-header {
  margin-bottom: 64px;
  text-align: center;
}
.testimonials-title {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 6rem);
  color: var(--black);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
/* tres tarjetas de pull quotes */
.testimonials-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tq {
  position: relative;
  padding: 44px 40px 36px;
  margin: 0;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 4px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 1px 2px rgba(17,17,17,0.03);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), border-color 0.35s;
}
.tq:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(17,17,17,0.08);
  border-color: rgba(17,17,17,0.14);
}
.tq::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 32px;
  font-family: var(--font-hero-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}
.tq-text {
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--black);
  line-height: 1.65;
  letter-spacing: -0.01em;
  flex: 1;
  position: relative;
  z-index: 1;
}
.tq-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 4px -40px -36px;
  padding: 20px 40px;
  background: var(--black);
  border-radius: 0 0 4px 4px;
}
.tq-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(15%);
  background: rgba(255,255,255,0.08);
  border: 2px solid var(--black);
  box-shadow: 0 0 0 1px rgba(245,245,241,0.2), 0 4px 12px rgba(0,0,0,0.3);
}
.tq-name {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.005em;
  color: var(--ivory);
  line-height: 1.4;
}
.tq-role {
  display: block;
  font-size: 0.68rem;
  color: rgba(245,245,241,0.65);
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .testimonials-inner { padding: var(--section-pad-tablet) 24px; }
  .testimonials-cols { grid-template-columns: 1fr; gap: 24px; }
  .tq { padding: 36px 28px 30px; }
  .tq-footer { margin: 4px -28px -30px; padding: 18px 28px; }
}

/* ===== EVENTS ===== */
#events {
  background: var(--black);
  padding: var(--section-pad-desktop) 0;
}
.events-header {
  max-width: var(--max-width);
  margin: 0 auto 64px;
  padding: 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.events-header-left { display: flex; flex-direction: column; gap: 12px; }
.events-kicker {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.35);
}
.events-title {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 5rem);
  color: var(--ivory);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.events-caption {
  font-size: 0.75rem;
  color: rgba(245,242,235,0.35);
  letter-spacing: 0.06em;
  text-align: right;
  max-width: 320px;
  line-height: 1.6;
}
/* mosaic layout */
.events-mosaic {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
}
/* large photo spans 2 cols × 2 rows */
.ev-large {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}
/* stack of 2 smalls fills the remaining 2 cols */
.ev-stack {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ev-small {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}
/* shared photo styles */
.ev-large img,
.ev-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-apple);
}
.ev-large:hover img,
.ev-small:hover img { transform: scale(1.04); }
/* label always visible */
.ev-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 20px 18px;
  background: linear-gradient(to top, rgba(17,17,17,0.75) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.ev-label span {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(0.85rem, 1vw, 1rem);
  color: var(--ivory);
  line-height: 1.2;
}
.ev-label em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(245,242,235,0.5);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .events-header { padding: 0 24px; flex-direction: column; align-items: flex-start; }
  .events-caption { text-align: left; }
  .events-mosaic { padding: 0 24px; grid-template-columns: 1fr 1fr; gap: 6px; }
  .ev-large { grid-column: span 2; }
  .ev-stack { grid-column: span 2; }
}
@media (max-width: 500px) {
  .events-mosaic { grid-template-columns: 1fr; }
  .ev-large, .ev-stack { grid-column: span 1; }
  .ev-stack { grid-template-columns: 1fr; }
}

/* ===== PROGRAMS ===== */
#programs {
  background: var(--black);
  padding: var(--section-pad-desktop) 0;
}
.programs-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.programs-header {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}
.programs-kicker {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.35);
}
.programs-title {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  color: var(--ivory);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.programs-intro {
  font-size: 0.95rem;
  color: rgba(245,242,235,0.5);
  line-height: 1.7;
  max-width: 480px;
}
/* grid de cards 2x2 */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(245,242,235,0.08);
}
.prog-card {
  background: var(--black);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s;
}
.prog-card:hover { background: rgba(245,242,235,0.03); }
.prog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.prog-num {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(245,242,235,0.25);
}
.prog-format {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(245,242,235,0.3);
  text-transform: uppercase;
  white-space: nowrap;
}
.prog-title {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 14px;
  transition: color 0.25s;
}
.prog-card:hover .prog-title { color: var(--gold); }
.prog-desc {
  font-size: 0.85rem;
  color: rgba(245,242,235,0.45);
  line-height: 1.7;
  margin-bottom: 28px;
}
.prog-block {
  margin-bottom: 24px;
}
.prog-block-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.3);
  margin-bottom: 10px;
}
.prog-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prog-list li {
  font-size: 0.82rem;
  color: rgba(245,242,235,0.6);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.prog-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.prog-block-text {
  font-size: 0.82rem;
  color: rgba(245,242,235,0.6);
  line-height: 1.6;
}
.prog-cta {
  font-family: var(--font-hero-display);
  font-style: normal;
  font-size: 1rem;
  color: var(--gold);
  white-space: nowrap;
  margin-top: auto;
  padding-top: 8px;
  transition: letter-spacing 0.25s;
}
.prog-cta:hover { letter-spacing: 0.02em; }
@media (max-width: 900px) {
  .programs-inner { padding: 0 24px; }
  .programs-grid { grid-template-columns: 1fr; }
  .prog-card { padding: 32px 0; }
}
@media (max-width: 600px) {
  .programs-title { font-size: clamp(2rem, 8vw, 3.5rem); }
}

/* ===== CONTACT ===== */
#contacto { background: var(--black); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-top: 64px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-info-headline {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--ivory);
  margin-bottom: 20px;
  line-height: 1.2;
}
.contact-info-body {
  color: rgba(245,242,235,0.6);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.45);
}
.form-input, .form-select, .form-textarea {
  background: rgba(245,242,235,0.05);
  border: 1px solid rgba(245,242,235,0.12);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(245,242,235,0.3); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
}
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--black); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  align-self: flex-start;
  margin-top: 8px;
}
.form-success {
  display: none;
  padding: 16px 24px;
  background: rgba(199,168,109,0.12);
  border: 1px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
  font-size: 0.9rem;
}

/* ===== FINAL CTA ===== */
#final-cta {
  background: var(--ivory);
  text-align: center;
  padding: var(--section-pad-desktop) 0;
}
.final-cta-headline {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--black);
  line-height: 1.08;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta-headline em {
  color: var(--gold);
  font-style: normal;
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  border-top: 1px solid rgba(245,242,235,0.08);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--ivory);
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 0.78rem;
  color: rgba(245,242,235,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--gold); }
.footer-socials { display: flex; gap: 16px; }
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245,242,235,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,242,235,0.5);
  transition: border-color 0.25s, color 0.25s;
}
.footer-social:hover { border-color: var(--gold); color: var(--gold); }
.footer-copy {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(245,242,235,0.25);
  letter-spacing: 0.06em;
}
.footer-copy a {
  color: rgba(245,242,235,0.45);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.25s;
}
.footer-copy a:hover { color: var(--gold); }

/* ===== WHATSAPP FLOTANTE ===== */
.wa-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s var(--ease-apple), box-shadow 0.3s;
  animation: waPulse 3s ease-in-out infinite;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
  animation: none;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.65); }
}
@media (max-width: 768px) { .wa-btn { bottom: 20px; right: 20px; } }
