/* ==========================================================================
   Soy Claudia Akel
   Palette: plum, orchid (her #F988FF, deepened for contrast), blush, porcelain,
   champagne gold (the Gold Excellence Awards). Type: Bodoni Moda + Jost.
   Signature: the arched frame (hero + portrait only).
   ========================================================================== */

:root {
  --plum: #2B1233;
  --plum-2: #3D1C46;
  --orchid: #9C3A86;
  --orchid-bright: #F988FF;
  --blush: #F7E9F2;
  --porcelain: #FFFAFC;
  --gold: #8F6B25;          /* texto dorado sobre claro (AA) */
  --gold-light: #DCBD7B;    /* dorado sobre oscuro */
  --mauve: #6E5572;
  --ink: #2B1233;
  --line: rgba(43, 18, 51, .16);
  --line-dark: rgba(255, 240, 250, .18);

  --serif: "Cinzel", "Trajan Pro", "Times New Roman", serif;   /* nombre, títulos, frases cortas */
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + .35vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + .8vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3.1rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.4vw, 3.7rem);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --arch: 999px 999px 0 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0; background: var(--porcelain); color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orchid); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--gold-light); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--plum); color: #fff; padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: .01em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--mauve); }
.on-dark .lede { color: #E7D6E6; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.on-dark { background: var(--plum); color: #FBEFF7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .75rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font: 500 var(--step-0)/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--orchid); color: #fff; }
.btn-primary:hover { background: var(--plum); }
.on-dark .btn-primary { background: var(--gold-light); color: var(--plum); }
.on-dark .btn-primary:hover { background: #fff; }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: var(--plum); color: #fff; border-color: var(--plum); }
.on-dark .btn-ghost:hover { background: #FBEFF7; color: var(--plum); border-color: #FBEFF7; }
.btn-small { min-height: 2.5rem; padding: .5rem 1.1rem; font-size: var(--step--1); }
.btn[disabled] { opacity: .55; cursor: progress; }
.link { color: var(--orchid); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.on-dark .link { color: var(--gold-light); }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Header: barra ciruela con el logo dorado ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--plum); color: #F3E3F0; box-shadow: 0 1px 0 rgba(255, 240, 250, .1);
  transition: box-shadow .3s;
}
.site-header.is-solid { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.wordmark { font-family: var(--serif); font-style: italic; font-size: 1.6rem; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.main-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a { text-decoration: none; font-size: .98rem; padding-block: .4rem; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-bottom-color: currentColor; }
.site-header .btn-primary { background: var(--gold-light); color: var(--plum); border-bottom: 0; }
.site-header .btn-primary:hover { background: #fff; }
.site-header :focus-visible { outline-color: var(--gold-light); }
.menu-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--plum); color: #FBEFF7;
    display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 1.4rem; }
  .main-nav a { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .03em; }
  .main-nav .btn { font-family: var(--sans); font-size: 1rem; margin-top: 1rem; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { box-shadow: none; }
  .brand img { height: 34px; }
  .header-inner { min-height: 4.25rem; }
}

/* ---------- Hero: video de fondo a pantalla completa ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate;
  padding-block: 8rem 6rem; background: var(--plum); color: #FBEFF7;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img, .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg video { opacity: 0; transition: opacity 1.6s ease; filter: saturate(.9); }
.hero-bg video.is-playing { opacity: 1; }
.hero-scrim { /* oscurece el video para que el texto se lea siempre */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(43, 18, 51, .94) 0%, rgba(43, 18, 51, .8) 42%, rgba(43, 18, 51, .38) 100%),
    linear-gradient(0deg, rgba(43, 18, 51, .95) 0%, rgba(43, 18, 51, 0) 32%),
    linear-gradient(180deg, rgba(43, 18, 51, .7) 0%, rgba(43, 18, 51, 0) 18%);
}
.hero-copy { max-width: 46rem; }
.hero h1 { font-weight: 400; font-size: clamp(3.2rem, 9vw, 8.4rem); line-height: 1; letter-spacing: .03em; color: #FBEFF7; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; }
.hero .rule { width: 6rem; height: 2px; background: var(--gold-light); margin: 2.2rem 0 1.8rem; }
.hero .motto { font-family: var(--serif); font-size: var(--step-2); line-height: 1.35; letter-spacing: .02em; margin: 0 0 1.2rem; max-width: 26ch; color: var(--gold-light); }
.hero .roles { color: #E7D6E6; margin-bottom: 2.4rem; max-width: 44ch; font-size: var(--step-1); font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; align-items: center; }
.hero .btn-primary { background: var(--gold-light); color: var(--plum); }
.hero .btn-primary:hover { background: #fff; }
.hero .link { color: var(--gold-light); }
.hero :focus-visible { outline-color: var(--gold-light); }

/* Marco en arco (retrato de "Quién es Claudia") */
.arch { position: relative; border-radius: var(--arch); overflow: hidden; background: var(--plum); isolation: isolate; }
.arch video, .arch img { width: 100%; height: 100%; object-fit: cover; }
.hero .award {
  position: absolute; right: var(--gutter); bottom: 2.2rem; display: flex; align-items: center; gap: .8rem; max-width: 19rem;
  padding: .6rem 1.2rem .6rem .6rem; border-radius: 999px; border: 1px solid rgba(220, 189, 123, .45);
  background: rgba(43, 18, 51, .55); backdrop-filter: blur(8px); color: #F3E3F0;
}
.hero .award-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(220, 189, 123, .14); color: var(--gold-light); }
.hero .award-icon svg { width: 24px; height: 24px; }
.hero .award span { font-size: .85rem; line-height: 1.3; }
.video-toggle {
  position: absolute; left: var(--gutter); bottom: 2.2rem; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgba(255, 240, 250, .35); background: rgba(43, 18, 51, .45); color: #FBEFF7; cursor: pointer;
  display: grid; place-items: center;
}
.video-toggle:hover { border-color: var(--gold-light); color: var(--gold-light); }
.video-toggle[hidden] { display: none; }
.video-toggle svg { width: 1rem; height: 1rem; }

/* Encabezado transparente sobre el video, ciruela al hacer scroll */
.has-video-hero .site-header:not(.is-solid) { background: transparent; box-shadow: none; }

/* Una sola coreografía de entrada */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line > span { transform: translateY(105%); }
  .js .hero .rule { transform: scaleX(0); transform-origin: left; }
  .js .hero .motto, .js .hero .roles, .js .hero-actions, .js .hero .award { opacity: 0; }
  .is-loaded .hero h1 .line > span { transform: none; transition: transform 1.1s cubic-bezier(.2, .7, .1, 1); }
  .is-loaded .hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
  .is-loaded .hero .rule { transform: none; transition: transform .9s cubic-bezier(.6, .05, .2, 1) .55s; }
  .is-loaded .hero .motto, .is-loaded .hero .roles, .is-loaded .hero-actions, .is-loaded .hero .award { opacity: 1; transition: opacity .9s ease .9s; }
}

@media (max-width: 860px) {
  .hero { align-items: end; padding-block: 7rem 7.5rem; }
  .hero-scrim { background: linear-gradient(0deg, rgba(43, 18, 51, .96) 0%, rgba(43, 18, 51, .82) 55%, rgba(43, 18, 51, .5) 100%); }
  .hero h1 { font-size: clamp(2.9rem, 15vw, 5rem); }
  .hero .award { position: static; margin-top: 2.2rem; max-width: 20rem; }
  .hero { padding-bottom: 5.5rem; }
}

/* ---------- Ser, hacer, tener ---------- */
.philosophy { background: var(--porcelain); border-top: 1px solid var(--line); }
.philosophy .intro { font-family: var(--serif); font-size: var(--step-2); line-height: 1.4; max-width: 36ch; margin-bottom: clamp(3rem, 6vw, 5rem); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stages li { padding: 2rem clamp(1rem, 2.5vw, 2.5rem) 0 0; position: relative; }
.stages li + li { padding-left: clamp(1rem, 2.5vw, 2.5rem); border-left: 1px solid var(--line); }
.stages .n { font-family: var(--serif); color: var(--gold); font-size: var(--step-1); }
.stages .word { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1; letter-spacing: .02em; margin: .4rem 0 1rem; }
.stages p { color: var(--mauve); max-width: 28ch; }
@media (max-width: 760px) {
  .stages { grid-template-columns: 1fr; }
  .stages li, .stages li + li { padding: 1.8rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Quién es ---------- */
.about { background: var(--blush); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.portrait { aspect-ratio: 3 / 4; background: var(--plum-2); }
.portrait img { object-position: center top; }
.about h2 { margin-bottom: 2rem; }
.about .values { list-style: none; padding: 0; margin: 2.2rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 2rem; max-width: 40rem; }
.about .values li { padding: .7rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: var(--step-0); letter-spacing: .02em; }
.play-row { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.play-btn { display: inline-flex; align-items: center; gap: .9rem; background: none; border: 0; padding: 0; cursor: pointer; font-weight: 500; }
.play-btn .disc { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: #fff; transition: background-color .2s; }
.play-btn:hover .disc { background: var(--orchid); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 380px; }
  .about .values { grid-template-columns: 1fr; }
}

/* ---------- Método Akel: imagen + pilares ---------- */
.pillars-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.pillars-head p { margin: 0; }
.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.method-figure { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -35px rgba(43, 18, 51, .55); }
.method-figure img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.method-figure:hover img { transform: scale(1.02); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--plum); }
.pillar { padding: 1.6rem 1.4rem 1.8rem 0; }
.pillar:nth-child(even) { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
.pillar h3 { font-size: var(--step-1); margin-bottom: 1rem; min-height: 2.3em; }
.pillar .claim { font-family: var(--sans); font-style: italic; font-weight: 400; font-size: var(--step-1); line-height: 1.4; margin-bottom: .7rem; color: var(--orchid); }
.pillar p:last-child { color: var(--mauve); font-size: .96rem; margin-bottom: 0; }
@media (max-width: 900px) {
  .method-grid { grid-template-columns: 1fr; }
  .method-figure { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 600px) {
  .pillars-head { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(even) { padding: 1.5rem 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .pillar h3 { min-height: 0; }
}

/* ---------- Manifiesto ---------- */
.manifesto { text-align: center; }
.manifesto .wrap { max-width: 50rem; }
.manifesto h2 { font-size: var(--step-3); margin-bottom: 2.5rem; }
.manifesto p { font-family: var(--sans); font-weight: 300; font-size: var(--step-1); line-height: 1.7; margin-inline: auto; }
.manifesto .credo { font-family: var(--serif); font-weight: 400; font-size: var(--step-3); line-height: 1.25; letter-spacing: .02em; margin: 3rem auto 0; color: var(--gold-light); max-width: 20ch; }

/* ---------- Eventos ---------- */
.events-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.events-layout { display: grid; grid-template-columns: minmax(290px, 360px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.calendar { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: #fff; position: sticky; top: 6.5rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head h3 { font-size: var(--step-1); text-transform: capitalize; }
.cal-nav { background: none; border: 1px solid var(--line); width: 2.4rem; height: 2.4rem; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.cal-nav:hover { border-color: var(--plum); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-grid .dow { font-size: .75rem; color: var(--mauve); padding-bottom: .5rem; text-transform: capitalize; }
.cal-day { aspect-ratio: 1; border: 0; background: none; border-radius: 50%; font-size: .92rem; position: relative; cursor: default; }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--line); }
.cal-day.has-event { cursor: pointer; font-weight: 600; color: var(--orchid); }
.cal-day.has-event::after { content: ""; position: absolute; left: 50%; bottom: 14%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: currentColor; }
.cal-day.has-event:hover, .cal-day.is-selected { background: var(--orchid); color: #fff; }
.cal-foot { margin-top: 1rem; font-size: .88rem; color: var(--mauve); min-height: 1.4em; }
.cal-foot button { background: none; border: 0; padding: 0; cursor: pointer; }

.event-list { display: grid; gap: 1rem; }
.event-card { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.event-card:first-child { padding-top: 0; }
.event-date { text-align: center; border-right: 1px solid var(--line); padding-right: 1.2rem; }
.event-date .d { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; display: block; }
.event-date .m { text-transform: capitalize; color: var(--mauve); }
.event-card h3 { font-size: var(--step-2); margin-bottom: .5rem; }
.event-card h3 a { text-decoration: none; }
.event-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.event-meta { color: var(--mauve); margin-bottom: .8rem; }
.event-meta span { display: block; }
.event-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tag { font-size: .82rem; padding: .25rem .7rem; border-radius: 999px; background: var(--blush); }
.tag.is-warn { background: #FBE3D9; color: #7A2E12; }
.event-actions { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; }
.empty { padding: 2.5rem; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.skeleton { height: 8rem; border-radius: var(--radius); background: linear-gradient(90deg, var(--blush), #fff, var(--blush)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 860px) {
  .events-layout { grid-template-columns: 1fr; }
  .calendar { position: static; max-width: 420px; }
}

/* Eventos recientes */
.past { margin-top: clamp(4rem, 8vw, 6.5rem); }
.past h3 { font-size: var(--step-3); margin-bottom: 2rem; }
.past-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.past-card { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.past-card .frame { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--blush); position: relative; }
.past-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.past-card:hover img { transform: scale(1.04); }
.past-card .count { position: absolute; right: .8rem; bottom: .8rem; background: rgba(43, 18, 51, .82); color: #fff; font-size: .84rem; padding: .3rem .8rem; border-radius: 999px; }
.past-card .when { display: block; margin-top: 1rem; color: var(--mauve); font-size: .92rem; }
.past-card .what { display: block; font-family: var(--serif); font-size: var(--step-1); line-height: 1.3; margin-top: .2rem; }
@media (max-width: 760px) { .past-grid { grid-template-columns: 1fr; } .past-card .frame { display: block; aspect-ratio: 4 / 3; } }

/* ---------- Contratar ---------- */
.hire-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.hire h2 { margin-bottom: 1.5rem; }
.services { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.services li { border-top: 1px solid var(--line-dark); }
.services li:last-child { border-bottom: 1px solid var(--line-dark); }
.services button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .9rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: var(--step-1);
}
.services button::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.4rem; color: var(--gold-light); transition: transform .25s; }
.services button:hover { color: var(--gold-light); }
.services button[aria-pressed="true"] { color: var(--gold-light); }
.services button[aria-pressed="true"]::after { content: "✓"; font-size: 1.1rem; }
.direct { margin-top: 2rem; }
@media (max-width: 860px) { .hire-grid { grid-template-columns: 1fr; } }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 1.1rem; }
.form-card { background: var(--porcelain); color: var(--ink); padding: clamp(1.6rem, 3.5vw, 2.6rem); border-radius: var(--radius); }
.form-card h3 { font-size: var(--step-2); margin-bottom: .4rem; }
.form-card .form-intro { color: var(--mauve); margin-bottom: 1.4rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: end; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--mauve); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem; border: 1px solid rgba(43, 18, 51, .3); border-radius: var(--radius);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orchid); box-shadow: 0 0 0 3px rgba(156, 58, 134, .18); }
.field.has-error input, .field.has-error textarea { border-color: #B3261E; }
.field .err { color: #B3261E; font-size: .86rem; margin-top: .3rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form-status.is-error { color: #B3261E; }
.form-done { text-align: left; }
.form-done h3 { margin-bottom: .6rem; }
.form-done .ref { font-family: var(--serif); font-size: var(--step-2); color: var(--orchid); margin: .4rem 0 1rem; }
.fine { font-size: .82rem; color: var(--mauve); margin: 0; }

/* ---------- Escena: video + shorts ---------- */
.stage-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.shorts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.short { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--plum); }
.short video { width: 100%; height: 100%; object-fit: cover; }
.short button { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(43, 18, 51, .9)); border: 0; color: #fff; text-align: left; padding: 1rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .7rem; cursor: pointer; }
.short button .t { font-family: var(--sans); font-weight: 500; font-size: 1.02rem; line-height: 1.3; }
.short button .disc { width: 2.8rem; height: 2.8rem; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--plum); display: grid; place-items: center; }
.short.is-playing button { display: none; }
@media (max-width: 860px) {
  .shorts { grid-template-columns: repeat(4, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  .short { scroll-snap-align: start; }
}

/* ---------- Podcast ---------- */
.podcast { background: var(--blush); }
.episodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem clamp(1rem, 2.5vw, 2rem); }
.episode { text-decoration: none; display: block; }
.episode .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--plum); position: relative; }
.episode .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.episode:hover .thumb img { transform: scale(1.04); }
.episode .ep { display: block; margin-top: 1rem; font-size: .9rem; color: var(--mauve); }
.episode .ttl { display: block; font-family: var(--serif); font-size: var(--step-1); line-height: 1.3; margin-top: .2rem; }
.episode:hover .ttl { text-decoration: underline; text-decoration-thickness: 1px; }
@media (max-width: 860px) { .episodes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .episodes { grid-template-columns: 1fr; } }

/* ---------- Testimonios ---------- */
.voices { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 30%); gap: clamp(1.5rem, 3vw, 3rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem; scrollbar-width: thin; }
.voice { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem; border-top: 1px solid var(--plum); padding-top: 1.6rem; }
.voice blockquote { margin: 0; font-family: var(--sans); font-weight: 300; font-style: italic; font-size: var(--step-1); line-height: 1.55; }
.voice figcaption { display: flex; gap: .9rem; align-items: center; }
.voice img, .voice .initial { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; flex: none; }
.voice .initial { display: grid; place-items: center; background: var(--blush); font-family: var(--serif); font-size: 1.3rem; }
.voice .who { font-weight: 500; display: block; }
.voice .date { font-size: .86rem; color: var(--mauve); }
@media (max-width: 700px) { .voices { grid-auto-columns: 85%; } }

.recognition { padding-block: 3rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.recognition .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.recognition img { max-height: 76px; width: auto; object-fit: contain; }
.recognition p { margin: 0; color: var(--mauve); font-size: .95rem; }

/* ---------- Estudio (teaser) ---------- */
.studio-teaser { position: relative; padding: 0; background: #1E0C22; color: #F6ECF4; overflow: hidden; }
.studio-teaser .letterbox { position: relative; aspect-ratio: 2.39 / 1; min-height: 420px; }
.studio-teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.studio-teaser .inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-block: 3rem; }
.studio-teaser h2 { max-width: 16ch; }
.studio-teaser p { margin: 1.2rem 0 2rem; max-width: 40ch; color: #E6D5E3; }

.studio-teaser .btn-primary { background: var(--gold-light); color: var(--plum); }
.studio-teaser .btn-primary:hover { background: #fff; }
.media-nav svg, .cal-nav svg { width: 1.1rem; height: 1.1rem; }
.play-btn .disc svg, .short .disc svg { width: 1.2rem; height: 1.2rem; margin-left: 2px; }

/* ---------- Gym ---------- */
.gym-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.gym-media { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--blush); }
.gym-media img { width: 100%; height: 100%; object-fit: cover; }
.gym h2 { margin-bottom: 1.2rem; }
.inline-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: .8rem; align-items: end; margin-top: 2rem; }
@media (max-width: 860px) { .gym-grid { grid-template-columns: 1fr; } .inline-form { grid-template-columns: 1fr; } }

/* ---------- Contacto + footer ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.contact h2 { margin-bottom: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
.contact-list a { text-decoration: none; font-family: var(--sans); font-weight: 400; font-size: var(--step-1); }
.contact-list a:hover { color: var(--gold-light); }
.contact-list small { display: block; font-family: var(--sans); font-size: .85rem; color: #CDB8CB; }
.socials { display: flex; gap: .8rem; list-style: none; padding: 0; margin: 0; }
.socials a { width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.socials a:hover { background: #FBEFF7; color: var(--plum); }
.socials svg { width: 1.15rem; height: 1.15rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.site-footer { background: #220E28; color: #CDB8CB; padding-block: 2.2rem calc(2.2rem + env(safe-area-inset-bottom, 0px)); font-size: .88rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #F3E3F0; }
.site-footer .brand img { height: 36px; }

.wa-float {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #1E8E4E; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45);
}
.wa-float svg { width: 1.7rem; height: 1.7rem; }

/* ---------- Diálogos ---------- */
dialog { border: 0; padding: 0; max-width: min(92vw, 560px); width: 100%; border-radius: var(--radius); background: var(--porcelain); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
dialog::backdrop { background: rgba(30, 12, 34, .72); backdrop-filter: blur(4px); }
.dialog-body { padding: clamp(1.5rem, 4vw, 2.4rem); max-height: 88svh; overflow: auto; }
.dialog-close { position: absolute; top: .6rem; right: .6rem; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); cursor: pointer; font-size: 1.5rem; line-height: 1; z-index: 2; }
.dialog-close:hover { background: var(--blush); }
.dialog-event { color: var(--mauve); margin-bottom: 1.4rem; }
dialog.media-dialog { max-width: min(96vw, 1100px); background: #0E0510; color: #fff; }
dialog.media-dialog.is-vertical { max-width: min(96vw, 460px); }
.media-stage { position: relative; display: grid; place-items: center; min-height: 50svh; max-height: 86svh; }
.media-stage img, .media-stage video { max-height: 86svh; width: auto; margin: auto; }
.media-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .88); color: var(--plum); cursor: pointer; font-size: 1.3rem; }
.media-nav.prev { left: .8rem; } .media-nav.next { right: .8rem; }
.media-caption { padding: .9rem 1.2rem; font-size: .9rem; color: #D8C6D6; display: flex; justify-content: space-between; gap: 1rem; }

/* ---------- Página de evento ---------- */
.event-page { padding-top: 8.5rem; }
.event-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.event-hero h1 { font-size: var(--step-4); margin: 1rem 0 1.5rem; }
.event-cover { border-radius: var(--radius); overflow: hidden; background: var(--blush); }
.event-cover img { width: 100%; }
.facts { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.facts .k { color: var(--mauve); }
.event-body { margin-top: 2rem; }
.back { text-decoration: none; color: var(--mauve); }
.back:hover { color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; margin-top: 3rem; }
.gallery button { padding: 0; border: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); cursor: pointer; background: var(--blush); }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .event-hero { grid-template-columns: 1fr; } }

/* Botones dentro de tarjetas claras sobre secciones oscuras */
.on-dark .form-card .btn-primary { background: var(--orchid); color: #fff; }
.on-dark .form-card .btn-primary:hover { background: var(--plum); }
.on-dark .form-card :focus-visible { outline-color: var(--orchid); }
@media (min-width: 961px) { .wa-float { display: none; } }

/* Barra de vista previa de diseño (solo aparece al abrir el sitio con ?tema=) */
.theme-switch {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: flex; align-items: center; gap: .3rem; padding: .3rem; border-radius: 999px;
  background: rgba(20, 16, 14, .92); border: 1px solid rgba(220, 189, 123, .5); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .7);
  font-size: .85rem; color: #E9DFC9; backdrop-filter: blur(8px);
}
.theme-switch span { padding: 0 .6rem 0 .8rem; }
.theme-switch a { color: #E9DFC9; text-decoration: none; padding: .5rem .9rem; border-radius: 999px; min-height: 2.25rem; display: inline-flex; align-items: center; }
.theme-switch a:hover { background: rgba(220, 189, 123, .15); }
.theme-switch a[aria-current] { background: #DCBD7B; color: #1A1410; font-weight: 500; }
.studio .theme-switch { display: none; }
@media (max-width: 520px) { .theme-switch span { display: none; } .theme-switch { left: 1rem; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Video de bienvenida (una vez por visita) ---------- */
.welcome { display: none; }
.intro-on .welcome {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: radial-gradient(90% 70% at 50% 40%, #5A0F27 0%, #2B0B16 55%, #12040A 100%);
  transition: opacity .9s ease, visibility .9s;
}
.intro-on body { overflow: hidden; }
.welcome.is-leaving { opacity: 0; visibility: hidden; }
.welcome video {
  height: 100svh; width: auto; max-width: 100vw; object-fit: contain; background: #000;
  box-shadow: 0 0 0 1px rgba(220, 189, 123, .28), 0 40px 120px -20px rgba(0, 0, 0, .8);
}
@media (min-aspect-ratio: 3/4) { .welcome video { height: 92svh; border-radius: 14px; } }
@media (max-aspect-ratio: 3/4) { .welcome video { width: 100vw; height: 100svh; object-fit: cover; box-shadow: none; } }
.welcome-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.welcome-bar span { display: block; height: 100%; width: 0; background: #DCBD7B; }
.welcome-actions {
  position: absolute; right: max(1rem, env(safe-area-inset-right)); bottom: max(1.4rem, env(safe-area-inset-bottom));
  display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end;
}
.welcome-btn {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .55rem 1.15rem;
  border-radius: 999px; border: 1px solid rgba(220, 189, 123, .55); background: rgba(28, 6, 13, .62);
  backdrop-filter: blur(8px); color: #F8EEE9; font: 500 .92rem/1 var(--sans); letter-spacing: .03em; cursor: pointer;
}
.welcome-btn:hover, .welcome-btn[aria-pressed="true"] { background: #DCBD7B; color: #2B0B16; border-color: #DCBD7B; }
.welcome-btn svg { width: 1rem; height: 1rem; }
@media (max-aspect-ratio: 3/4) {
  /* En celular los botones van arriba para no tapar el texto del video */
  .welcome-actions { top: max(.75rem, env(safe-area-inset-top)); bottom: auto; right: .75rem; }
  .welcome-btn { min-height: 2.5rem; padding: .45rem .9rem; font-size: .85rem; }
  [data-intro-sound] { width: 2.5rem; padding: 0; justify-content: center; }
  [data-intro-sound] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.welcome :focus-visible { outline: 2px solid #DCBD7B; outline-offset: 3px; }

/* ---------- Hero: fotos que se alternan ---------- */
.hero-photos .hero-bg { overflow: hidden; }
.hero-slide { opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide { transform: scale(1.04); transition: opacity 1.8s ease, transform 9s ease-out; }
  .hero-slide.is-active { transform: scale(1.12); }
}
@media (min-width: 861px) {
  /* En pantallas anchas la foto ocupa el lado derecho y se funde con el fondo */
  .hero-photos .hero-bg { left: 38%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
}
