/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:          #fdf7f4;
  --bg-2:        #f7ece6;
  --paper:       #ffffff;
  --ink:         #3a2c33;
  --ink-soft:    #6b5560;
  --ink-mute:    #9c8890;
  --cream:       #fffaf6;

  --accent:      #d88ea3;
  --accent-2:    #b98bc9;
  --accent-ink:  #a85e78;

  --gold:        #c9a15a;
  --gold-soft:   #e8d3a3;
  --gold-ink:    #8a6a2f;


  --glass:       rgba(255,255,255,.55);
  --glass-2:     rgba(255,255,255,.32);
  --glass-solid: rgba(255,255,255,.86);
  --glass-line:  rgba(255,255,255,.65);

  --line:        rgba(58,44,51,.12);
  --line-soft:   rgba(58,44,51,.07);

  --shadow-sm:   0 2px 10px rgba(168,94,120,.10);
  --shadow-md:   0 18px 40px rgba(168,94,120,.16);
  --shadow-lg:   0 30px 70px rgba(168,94,120,.20);

  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --sans:    "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --serif:   "Instrument Serif", Georgia, serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 84px;
  --radius: 26px;
  --radius-sm: 16px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a, button, input, select, textarea, summary { touch-action: manipulation; }
:root { -webkit-tap-highlight-color: rgba(216,142,163,.22); color-scheme: light; }
.trust-num, .process-num, .course-price { font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--display); }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

em { font-style: italic; font-family: var(--serif); color: var(--accent-ink); font-weight: 400; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1.1rem; background: var(--ink); color: #fff;
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.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;
}

.container { width: min(1240px, 92vw); margin-inline: auto; }
.container-narrow { width: min(820px, 92vw); }

.center { text-align: center; margin-inline: auto; }

.kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.kicker.center::before { display: none; }
.kicker.center { justify-content: center; width: 100%; }
.kicker-gold { color: var(--gold-ink); }

.section-title { font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; margin-bottom: 1.1rem; }
.section-title.center { margin-inline: auto; }
.section-lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 56ch; margin-bottom: 0; }
.section-lead.center { margin-inline: auto; }
.center .section-lead { margin-bottom: 2.6rem; }

.section { position: relative; padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-halo {
  position: absolute; inset: -30% -10% -20% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(45% 40% at 50% 30%, rgba(217,143,163,.14), transparent 72%);
  filter: blur(90px);
}
.services .container, .services .section-halo { position: relative; z-index: 1; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95rem 1.7rem; border-radius: 999px; font-weight: 700; font-size: .96rem;
  letter-spacing: 0;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s var(--ease-out), letter-spacing .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); letter-spacing: .012em; box-shadow: var(--shadow-lg); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--glass-solid); color: var(--ink);
  border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--accent); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #4a3714; box-shadow: 0 14px 30px rgba(201,161,90,.35);
}
.btn-gold:hover { transform: translateY(-3px) scale(1.02); }
.btn-sm { padding: .7rem 1.3rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* =============================================================
   5. Glass components
   ============================================================= */
.glass {
  background: var(--glass-solid);
  border: 1px solid var(--glass-line);
}
@supports (backdrop-filter: blur(1px)) {
  .glass { background: var(--glass); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
}

.glass-card {
  background: var(--glass-solid);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
@supports (backdrop-filter: blur(1px)) {
  .glass-card { background: var(--glass); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }
}
.glass-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #fdf1ea, #fbe4ee, #eee0f7);
  animation: splashSafety .01s 3.2s forwards;
}
.splash-mark {
  display: flex; flex-direction: column; align-items: center;
  font-family: "Alex Brush", cursive; font-size: clamp(2.6rem, 8vw, 4.2rem); line-height: 1;
  color: var(--accent-ink);
  animation: splashPulse 1.4s ease-in-out infinite;
}
.splash-mark small {
  font-family: var(--sans); font-weight: 700; font-size: .16em; letter-spacing: .32em;
  color: var(--gold-ink); margin-top: .3em;
}
@keyframes splashPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash.is-out { animation: splashOut .6s var(--ease-out) forwards; }
@keyframes splashOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* =============================================================
   7. Nav
   ============================================================= */
.nav-wrap { position: fixed; top: 0; inset-inline: 0; z-index: 500; padding: 16px clamp(16px, 3vw, 32px) 0; }
.nav {
  max-width: 1240px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px 12px 22px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(58,44,51,.08);
  transition: box-shadow .4s var(--ease-out);
}
.nav-wrap.is-scrolled .nav { box-shadow: 0 14px 40px rgba(58,44,51,.14); }

.nav-logo { display: flex; align-items: center; }
.logo-mark { height: 46px; width: auto; overflow: visible; }
.logo-name { font-family: "Alex Brush", cursive; font-size: 34px; fill: var(--accent-ink); }
.logo-sub { font-family: var(--sans); font-weight: 700; font-size: 9px; letter-spacing: .32em; fill: var(--gold-ink); }
.logo-flourish-line { stroke: var(--gold); stroke-width: 1; opacity: .7; }
.logo-flourish-dot { fill: var(--gold); }
.footer .logo-mark { height: 50px; }

.nav-menu { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.8rem); }
.nav-menu a:not(.btn) { font-weight: 600; font-size: .93rem; color: var(--ink-soft); position: relative; padding-block: 4px; white-space: nowrap; }
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right .35s var(--ease-out);
}
.nav-menu a:not(.btn):hover { color: var(--ink); }
.nav-menu a:not(.btn):hover::after { right: 0; }
.nav-cursos { color: var(--gold-ink) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 10px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .3s; }

/* =============================================================
   8. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + 1.5rem); padding-bottom: 3rem; overflow: clip;
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -2;
  background:
    radial-gradient(38% 34% at 18% 22%, rgba(255,196,163,.65) 0%, transparent 70%),
    radial-gradient(42% 38% at 82% 18%, rgba(216,142,163,.55) 0%, transparent 70%),
    radial-gradient(46% 42% at 30% 85%, rgba(185,139,201,.45) 0%, transparent 72%),
    radial-gradient(40% 36% at 85% 80%, rgba(232,211,163,.55) 0%, transparent 72%),
    var(--bg);
  filter: blur(60px) saturate(130%);
  animation: meshDrift 26s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.15) rotate(8deg); }
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: .05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative; z-index: 1;
  width: min(1240px, 92vw); margin-inline: auto;
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}

.kicker { color: var(--accent-ink); }
.hero-title { font-size: clamp(2.5rem, 6.2vw, 4.4rem); max-width: 15ch; margin-bottom: 1.3rem; }
.hero-sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-photo {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .9s var(--ease-soft);
  animation: heroKenBurns 16s ease-in-out infinite alternate;
}
.hero-photo img.is-fading { opacity: 0; }
.hero-photo-float img { animation-duration: 20s; animation-delay: 1.2s; }
@keyframes heroKenBurns { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-photo-main {
  width: min(420px, 82vw); aspect-ratio: 4/5;
  animation: floatY 7s ease-in-out infinite;
}
.hero-photo-float {
  position: absolute; width: min(190px, 40vw); aspect-ratio: 1/1;
  bottom: -6%; left: -4%; border-radius: 22px;
  animation: floatY 6s ease-in-out infinite .6s;
  box-shadow: var(--shadow-md);
}
@keyframes floatY { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(1deg); } }

.hero-badge {
  position: absolute; top: 6%; right: -2%; z-index: 402;
  padding: .9rem 1.2rem; border-radius: 18px; max-width: 190px;
  font-size: .8rem; line-height: 1.35; box-shadow: var(--shadow-md);
}
.hero-badge strong { display: block; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--accent-ink); margin-bottom: .15rem; }

.hero-scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); }
.hero-scroll-cue span {
  display: block; width: 22px; height: 36px; border: 2px solid var(--ink-mute); border-radius: 20px; position: relative;
}
.hero-scroll-cue span::before {
  content: ""; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; background: var(--ink-mute);
  border-radius: 2px; transform: translateX(-50%); animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 18px; } 100% { opacity: 0; top: 6px; } }

/* =============================================================
   8.5 Trust bar
   ============================================================= */
.trust-bar { position: relative; z-index: 2; margin-top: -3.5rem; padding-inline: clamp(16px, 4vw, 32px); }
.trust-grid {
  background: var(--glass-solid); border: 1px solid var(--glass-line); border-radius: 26px;
  box-shadow: var(--shadow-lg); padding: clamp(1.6rem, 4vw, 2.2rem) clamp(1.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1fr; gap: 1.6rem; text-align: center;
}
@supports (backdrop-filter: blur(1px)) { .trust-grid { background: var(--glass); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); } }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: .3rem; transition: transform .35s var(--ease-out); }
.trust-item-link:hover { transform: translateY(-3px); }
.trust-num { font-family: var(--serif); font-style: italic; font-size: clamp(2.1rem, 5vw, 2.8rem); color: var(--ink); line-height: 1; }
.trust-star { color: var(--gold); font-style: normal; }
.trust-label { font-size: .85rem; font-weight: 700; color: var(--ink-mute); letter-spacing: .02em; }
.trust-item-link .trust-label { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   8.6 Hero — editorial live composition (homepage only, scoped
        via .hero-live so course-page heroes keep their own look)
   ============================================================= */

/* Calm layered background — no animated mesh/blobs here */
.hero-live {
  background:
    radial-gradient(120% 70% at 78% 0%, rgba(216,142,163,.14), transparent 60%),
    radial-gradient(90% 60% at 6% 100%, rgba(201,161,90,.12), transparent 62%),
    var(--bg);
  padding-top: calc(var(--nav-h) + 1rem);
  padding-bottom: 2rem;
}
.hero-live .hero-inner { gap: 2.2rem; }
.hero-live .hero-title { font-size: clamp(2.9rem, 8.4vw, 5.8rem); max-width: 12ch; margin-bottom: 1.5rem; }
.hero-live .hero-line { display: block; overflow: hidden; }
.hero-live .hero-sub { font-size: 1.15rem; }

/* single purposeful graphic detail: eyebrow rule, not decoration */
.hero-live .kicker { position: relative; padding-bottom: .9rem; margin-bottom: 1.6rem; }
.hero-live .kicker::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 64px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* visual column: let the photo break the grid, feel art-directed not "card" */
.hero-live .hero-visual { min-height: 420px; }
.hero-live .hero-photo { border-width: 3px; border-radius: 6px; box-shadow: var(--shadow-md); }
.hero-live .hero-photo-main { width: min(460px, 84vw); }
.hero-live .hero-photo-float { bottom: -8%; left: -8%; }

/* vertical editorial caption — the one small "event" detail, not floating aimlessly */
.hero-tag { display: none; }
@media (min-width: 960px) {
  .hero-tag {
    display: block; position: absolute; left: -22px; top: 6%; z-index: 2;
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--ink-mute); white-space: nowrap;
  }
}

@media (min-width: 960px) {
  .hero-live .hero-inner { grid-template-columns: .92fr 1.18fr; }
  .hero-live .hero-visual { margin-left: -64px; }
  /* anchor the small photo to the main one (its right corner), so it never reaches the copy column */
  .hero-live .hero-photo-float { left: auto; right: calc(50% - 310px); bottom: -8%; }
}

/* ---- crossfade-slide transition between portfolio photos (no arrows, no slider chrome) ---- */
.hero-live .hero-photo img {
  animation: none; /* override the continuous Ken Burns used on course-page heroes */
  transition: opacity .55s var(--ease-soft), transform .55s var(--ease-soft);
}
.hero-live .hero-photo img.is-fading   { opacity: 0; transform: translateX(-14px) scale(1.015); }
.hero-live .hero-photo img.is-entering { opacity: 0; transform: translateX(14px) scale(1.015); }
.hero-live .hero-photo img.no-transition { transition: none; }

/* ---- entrance choreography (runs once on load, ~150–650ms) ---- */
.hero-in { opacity: 0; }
.hero-in-eyebrow     { animation: heroInLeft  .5s  var(--ease-out) .04s forwards; }
.hero-in-line1       { animation: heroInUp    .55s var(--ease-out) .1s  forwards; }
.hero-in-line2       { animation: heroInUp    .55s var(--ease-out) .16s forwards; }
.hero-in-em          { animation: heroInUp    .6s  var(--ease-out) .24s forwards; }
.hero-in-sub         { animation: heroInUp    .55s var(--ease-out) .3s  forwards; }
.hero-in-actions     { animation: heroInUp    .55s var(--ease-out) .38s forwards; }
.hero-in-photo-main  { animation: heroInPhoto    .65s var(--ease-out) .14s forwards; }
.hero-in-photo-float { animation: heroInPhotoAlt .6s  var(--ease-out) .28s forwards; }
.hero-in-tag         { animation: heroInFade  .5s  var(--ease-out) .55s forwards; }

@keyframes heroInUp   { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroInLeft { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: translateX(0); } }
@keyframes heroInFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroInPhoto {
  from { opacity: 0; transform: translateY(26px) scale(.95) rotate(-2.2deg); }
  to   { opacity: 1; transform: translateY(0) scale(1) rotate(-2.2deg); }
}
@keyframes heroInPhotoAlt {
  from { opacity: 0; transform: translateX(-20px) translateY(14px) scale(.94) rotate(3deg); }
  to   { opacity: 1; transform: translateX(0) translateY(0) scale(1) rotate(3deg); }
}

/* =============================================================
   8.8 Butterfly icon parts — shared by the one place that still
   uses the #deco-butterfly symbol (the "detalle que enamora" card).
   ============================================================= */
.deco-wing-up { fill: currentColor; opacity: .5; }
.deco-wing-lo { fill: currentColor; opacity: .34; }
.deco-body    { fill: currentColor; opacity: .4; }
.deco-feeler  { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; opacity: .4; }

/* =============================================================
   8.9 Site-wide background — the reference photo's butterflies,
   cropped straight from it, repeating down both edges of the
   *page* (not the viewport): position:absolute on a relatively
   positioned <body> means it scrolls WITH the content and tiles
   the whole document height, so it keeps reappearing section
   after section instead of sitting fixed in one spot. Present at
   every width, scaling up as there's more room — never fully
   hidden, mobile included.
   ============================================================= */
body { position: relative; }

.deco-band {
  position: absolute; top: 0; bottom: 0; z-index: 400;
  width: 46px; background-size: 46px auto;
  background-repeat: repeat-y; background-position: center;
  mix-blend-mode: multiply; opacity: .65; pointer-events: none;
}
/* fade the inner edge to transparent so the band dissolves into the page
   instead of ending in a hard, visible rectangle line */
.deco-band-left {
  left: 0; background-image: url("assets/img/deco-band-left.webp");
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 18%, transparent 68%);
          mask-image: linear-gradient(to right, #000 0%, #000 18%, transparent 68%);
}
.deco-band-right {
  right: 0; background-image: url("assets/img/deco-band-right.webp");
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 18%, transparent 68%);
          mask-image: linear-gradient(to left, #000 0%, #000 18%, transparent 68%);
}

@media (min-width: 640px)  { .deco-band { width: 74px;  background-size: 74px auto; } }
@media (min-width: 1024px) {
  .deco-band { width: 120px; background-size: 120px auto; }
  .deco-band-left {
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 32%, transparent 100%);
            mask-image: linear-gradient(to right, #000 0%, #000 32%, transparent 100%);
  }
  .deco-band-right {
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 32%, transparent 100%);
            mask-image: linear-gradient(to left, #000 0%, #000 32%, transparent 100%);
  }
}
@media (min-width: 1440px) { .deco-band { width: 170px; background-size: 170px auto; } }
@media (min-width: 1800px) { .deco-band { width: 210px; background-size: 210px auto; } }

/* real content always wins where it crosses the background band — cards,
   photos and form fields render solid and on top instead of getting
   tinted by the multiply blend meant only for empty background */
.glass-card, .gallery-card, .course-card, .pricing-card, .testi-card,
.contact-form, .module, .course-media, .hero-photo, .mini-trust-inner {
  position: relative; z-index: 401;
}

/* =============================================================
   8.7 WhatsApp floating button (site-wide)
   ============================================================= */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 600;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: var(--shadow-lg), 0 0 0 6px rgba(37,211,102,.18); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 539px) {
  .whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
  /* keep the fixed WhatsApp button clear of right-aligned CTAs it would otherwise sit on top of */
  .course-foot { flex-direction: column; align-items: stretch; padding-right: 44px; }
  .course-foot .btn { width: 100%; }
}

/* =============================================================
   9. Values
   ============================================================= */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.value-card { padding: 2.2rem 1.8rem; text-align: left; }
.value-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 1.1rem;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.4), transparent 55%), linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 1.3rem; box-shadow: 0 10px 22px rgba(184,120,145,.28); }
.value-icon svg { width: 24px; height: 24px; overflow: visible; fill: currentColor; color: inherit; }
.i-line { fill: none !important; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.i-dot { fill: currentColor !important; opacity: .92; }
.value-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.value-card p { color: var(--ink-soft); font-size: .95rem; }

.services-more { text-align: center; margin-top: 2.4rem; }

/* =============================================================
   10. Services / Gallery tabs
   ============================================================= */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.6rem; }
.tab {
  padding: .7rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: .88rem;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft);
  transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.tab:hover { border-color: var(--accent); color: var(--ink); }
.tab.is-active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }

.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.gallery-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5;
  display: none; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.gallery-card.is-active { display: block; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out), filter .7s var(--ease-out); }
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gallery-card:hover img { transform: scale(1.08); filter: saturate(1.12) brightness(1.03); }

.gallery-card-video video {
  width: 100%; height: 100%; object-fit: cover; background: var(--ink);
  transition: transform .7s var(--ease-out);
}
.gallery-card-video:hover video { transform: scale(1.08); }
.gallery-card-video::after {
  content: "▶"; position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.85); color: var(--accent-ink); font-size: .72rem;
  box-shadow: var(--shadow-sm); pointer-events: none;
}
.gallery-meta {
  position: absolute; inset-inline: 0; bottom: 0; padding: 1.4rem 1.3rem 1.2rem;
  background: linear-gradient(to top, rgba(30,20,24,.78), rgba(30,20,24,.05) 80%);
  color: #fff;
}
.gallery-meta h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.gallery-meta p { font-size: .82rem; color: rgba(255,255,255,.85); }

/* =============================================================
   11. Process
   ============================================================= */
.process-list { display: grid; grid-template-columns: 1fr; gap: 2rem; counter-reset: none; }
.process-item { position: relative; padding-left: 4.6rem; }
.process-num {
  position: absolute; left: 0; top: -.2rem; font-family: var(--serif); font-style: italic;
  font-size: 2.4rem; color: var(--accent); opacity: .55;
}
.process-item h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.process-item p { color: var(--ink-soft); font-size: .95rem; max-width: 44ch; }

/* =============================================================
   12. Courses (star section)
   ============================================================= */
.courses { position: relative; overflow: clip; }
.courses-bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--cream) 0%, #fbeedd 45%, var(--cream) 100%);
}
.courses-bg::before {
  content: ""; position: absolute; inset: -20% -10%;
  background: radial-gradient(40% 45% at 20% 20%, rgba(201,161,90,.18), transparent 70%),
              radial-gradient(40% 45% at 85% 75%, rgba(216,142,163,.16), transparent 70%);
  filter: blur(70px);
}

.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; }

.course-card { overflow: hidden; text-align: left; }
.course-card:hover { transform: translateY(-10px) rotate(-.3deg); }
.course-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.course-card:hover .course-media img { transform: scale(1.08); }
.course-badge {
  position: absolute; top: 14px; left: 14px; padding: .45rem .9rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #4a3714;
  font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(201,161,90,.35);
}
.course-badge-alumnas {
  position: absolute; top: 14px; right: 14px; padding: .45rem .85rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-ink), var(--accent-2)); color: #fff;
  font-size: .74rem; font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 8px 18px rgba(168,94,120,.35);
}
.course-body { padding: 1.8rem 1.7rem 2rem; }
.course-body h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.course-subtitle { font-family: var(--serif); font-style: italic; color: var(--accent-ink); font-size: 1.05rem; margin-bottom: 1.1rem; }
.course-bullets { display: grid; gap: .55rem; margin-bottom: 1.3rem; }
.course-bullets li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--ink-soft); }
.course-bullets li::before { content: "🦋"; position: absolute; left: 0; top: -1px; font-size: .8rem; }
.course-meta { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; font-size: .82rem; color: var(--ink-mute); margin-bottom: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.course-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.course-price { font-size: 1.3rem; font-weight: 800; font-family: var(--serif); font-style: italic; color: var(--gold-ink); }

.course-more { border-top: 1px solid var(--line-soft); padding-top: 1rem; }
.course-more-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: .85rem; color: var(--gold-ink);
}
.course-more-toggle .accordion-icon { font-size: 1.1rem; color: var(--gold); }
.course-more-toggle[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.course-schedule { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.schedule-day { padding-top: 1.1rem; }
.schedule-day h4 {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  font-size: .92rem; font-family: var(--sans); font-weight: 700; color: var(--ink); margin-bottom: .6rem;
}
.schedule-day h4 span { font-weight: 600; color: var(--accent-ink); font-size: .82rem; }
.schedule-day ul { display: grid; gap: .4rem; margin-bottom: .2rem; }
.schedule-day li { position: relative; padding-left: 1.2rem; font-size: .86rem; color: var(--ink-soft); }
.schedule-day li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.schedule-note { font-size: .78rem; color: var(--ink-mute); font-style: italic; margin-top: .9rem; padding-top: .8rem; border-top: 1px dashed var(--line); }

.course-card-ghost {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed var(--line); background: transparent; box-shadow: none; min-height: 340px;
}
.course-card-ghost:hover { transform: none; box-shadow: none; border-color: var(--gold); }
.course-ghost-inner { padding: 2rem; }
.course-ghost-icon { font-size: 2.2rem; display: block; margin-bottom: .8rem; opacity: .7; }
.course-card-ghost h3 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--ink-soft); }
.course-card-ghost p { font-size: .88rem; color: var(--ink-mute); max-width: 30ch; margin-inline: auto; }

/* =============================================================
   13. Testimonials
   ============================================================= */
.testi-track { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.testi-card { padding: 2rem 1.8rem; }
.testi-stars { color: var(--gold); font-size: .85rem; letter-spacing: .1em; margin-bottom: .8rem; }
.testi-card p { font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 1.5; color: var(--ink); margin-bottom: 1.2rem; }
.testi-card footer { font-size: .85rem; color: var(--ink-mute); }
.testi-card footer strong { color: var(--ink-soft); }
.testi-note { text-align: center; margin-top: 2rem; font-size: .85rem; color: var(--ink-mute); }
.testi-note a { color: var(--accent-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   14. FAQ Accordion
   ============================================================= */
.accordion { display: grid; gap: .9rem; }
.accordion-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.4rem; font-weight: 700; font-size: .98rem; text-align: left;
}
.accordion-icon { font-size: 1.3rem; color: var(--accent); transition: transform .35s var(--ease-out); flex-shrink: 0; margin-left: 1rem; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.accordion-panel p { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: .92rem; max-width: 62ch; }

/* =============================================================
   15. Contact
   ============================================================= */
.contact { position: relative; overflow: clip; }
.hero-mesh-alt { opacity: .8; animation-duration: 34s; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; position: relative; z-index: 1; }
.contact-info { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-info li { display: flex; align-items: center; gap: .8rem; font-weight: 600; }
.contact-info a:hover { color: var(--accent-ink); }

.contact-form { padding: 2.2rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.contact-form label { display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; font-size: .84rem; font-weight: 700; color: var(--ink-soft); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  font-weight: 500; color: var(--ink); transition: border-color .3s var(--ease-out);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; }
.form-success {
  margin-top: .4rem; padding: .9rem 1rem; border-radius: 12px; background: rgba(180,150,60,.12);
  color: var(--gold-ink); font-weight: 700; font-size: .9rem; text-align: center;
}
.contact-form.is-sending .btn-primary { opacity: .7; pointer-events: none; }

/* =============================================================
   16. Footer
   ============================================================= */
.footer { padding-block: 3.5rem 1.5rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-tag { color: var(--ink-mute); font-size: .88rem; margin-top: .6rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a, .footer-social a { font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.footer-nav a:hover, .footer-social a:hover { color: var(--accent-ink); }
.footer-social { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.footer-address { font-size: .9rem; color: var(--ink-mute); font-weight: 500; }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid var(--line-soft); font-size: .78rem; color: var(--ink-mute); }

/* =============================================================
   17. Custom cursor (desktop only)
   ============================================================= */
.cursor { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
.cursor-dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: translate(-50%,-50%); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =============================================================
   17.5 Course landing page
   ============================================================= */
.course-hero {
  position: relative; padding-top: calc(var(--nav-h) + 2.5rem); padding-bottom: 3.5rem; overflow: clip;
}
.course-hero-inner {
  position: relative; z-index: 1; width: min(1240px, 92vw); margin-inline: auto;
  display: grid; grid-template-columns: 1fr; gap: 2.6rem; align-items: center;
}
.course-hero .hero-title { max-width: 20ch; margin-bottom: 1rem; }
.course-hero-facts { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.fact {
  display: flex; align-items: center; gap: .5em; padding: .55rem 1rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .86rem; color: var(--ink-soft);
}
.fact-icon { font-size: 1em; }

/* prominent teaser pointing to the área de alumnas, right in the course hero */
.hero-alumnas-badge {
  display: inline-flex; align-items: center; gap: .9rem; padding: .9rem 1.3rem; margin-bottom: 1.6rem;
  border-radius: 18px; background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 14px 30px rgba(201,161,90,.35); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.hero-alumnas-badge:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(201,161,90,.42); }
.hero-alumnas-lock { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.hero-alumnas-badge strong { display: block; color: #4a3714; font-size: 1rem; font-weight: 800; }
.hero-alumnas-badge small { display: block; color: #4a3714; opacity: .8; font-size: .78rem; font-weight: 600; }

.mini-trust { padding-block: 1.4rem; border-block: 1px solid var(--line-soft); background: var(--paper); }
.mini-trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; text-align: center; font-size: .88rem; color: var(--ink-soft); }
.mini-trust-inner strong { color: var(--gold-ink); font-family: var(--serif); font-style: italic; font-size: 1.05em; }
.mini-trust-sep { color: var(--line); }

.module-list { display: grid; gap: clamp(2.4rem, 6vw, 4rem); }
.module { display: grid; grid-template-columns: 1fr; gap: 1.8rem; align-items: center; }
.module-visual { display: flex; justify-content: center; }
.module-photo {
  width: min(360px, 84vw); aspect-ratio: 4/3; border-radius: 22px; overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow-md);
}
.module-photo img, .module-photo video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); background: var(--ink); }
.module:hover .module-photo img, .module:hover .module-photo video { transform: scale(1.05); }
.module-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .6rem; }
.module-copy h3 { font-size: 1.5rem; margin-bottom: .7rem; max-width: 18ch; }
.module-copy p { color: var(--ink-soft); font-size: .98rem; max-width: 48ch; margin-bottom: .8rem; }
.module-copy p:last-child { margin-bottom: 0; }

.timeline-section { background: var(--paper); }
.day-group-title { font-size: 1.1rem; color: var(--accent-ink); margin-bottom: 1.2rem; }
.day-group-title:not(:first-of-type) { margin-top: 2.6rem; }
.day-timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: .6rem; margin-bottom: 0; }
.day-timeline li { position: relative; padding: 0 0 1.8rem 1.8rem; }
.day-timeline li:last-child { padding-bottom: 0; }
.day-timeline li::before {
  content: ""; position: absolute; left: -6.5px; top: 4px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--paper);
}
.tl-time { display: block; font-family: var(--serif); font-style: italic; color: var(--accent-ink); font-size: 1.1rem; margin-bottom: .2rem; }
.tl-text { color: var(--ink-soft); font-size: .95rem; }

.pricing { padding-block: clamp(3rem, 7vw, 5rem); }
.pricing-card {
  padding: clamp(1.8rem, 4vw, 2.6rem); display: grid; grid-template-columns: 1fr; gap: 2rem;
}
.pricing-title { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 1rem; }
.pricing-includes { display: grid; gap: .55rem; }
.pricing-includes li { position: relative; padding-left: 1.4rem; font-size: .92rem; color: var(--ink-soft); }
.pricing-includes li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-ink); font-weight: 800; }
.pricing-side { display: flex; flex-direction: column; align-items: center; gap: .9rem; justify-content: center; padding-top: 1.4rem; border-top: 1px dashed var(--line); }
.pricing-amount { font-family: var(--serif); font-style: italic; font-size: 3rem; color: var(--gold-ink); line-height: 1; }
.pricing-note { font-size: .78rem; color: var(--ink-mute); }

/* limited-time price: old price struck through beside the new one */
.price-old { font-size: clamp(11px, .68em, 3rem); font-weight: 600; font-style: normal; opacity: .5; text-decoration: line-through; margin-right: .35em; }
.price-now { color: var(--accent-ink); font-weight: 800; }
.discount-badge {
  display: inline-block; padding: .22em .6em; margin-right: .5em;
  border-radius: 999px; background: linear-gradient(135deg, var(--accent-ink), var(--accent-2));
  color: #fff; font-family: var(--sans); font-style: normal; font-weight: 800;
  font-size: clamp(10px, .48em, 15px); letter-spacing: .02em; vertical-align: middle;
  box-shadow: 0 4px 14px rgba(168,94,120,.35);
}
.btn .price-old { color: inherit; }
.course-price-block { display: flex; flex-direction: column; gap: .2rem; }
.price-deadline { display: block; font-size: .74rem; font-weight: 700; color: var(--accent-ink); }

/* =============================================================
   17.6 Área de alumnas — mini password gate embebido en el curso,
   pensado para dejar claro a simple vista que hay mucho más
   contenido detrás de la contraseña que se entrega al reservar.
   ============================================================= */
.student-area { padding-block: clamp(2.5rem, 6vw, 4rem); }
.student-card { padding: clamp(1.8rem, 4vw, 2.8rem); }

.student-lock-badge {
  display: inline-flex; align-items: center; gap: .4em; padding: .4em .9em; margin-bottom: 1.1rem;
  border-radius: 999px; background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #4a3714; font-weight: 800; font-size: .78rem; letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(201,161,90,.3);
}
.student-lock-badge-open { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 24px rgba(168,94,120,.3); }

.student-locked .section-title { margin-bottom: .5rem; }
.student-locked .section-lead { margin-bottom: 1.3rem; }

.student-perks { display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.student-perks li { position: relative; padding-left: 1.5rem; font-size: .95rem; font-weight: 600; color: var(--ink); }
.student-perks li span { position: absolute; left: 0; top: 1px; color: var(--gold-ink); font-weight: 800; }

/* teaser: a blurred "document" hint so the locked value feels tangible, not abstract */
.student-preview {
  position: relative; padding: 1.4rem 1.6rem; border-radius: 16px; margin-bottom: 1.8rem;
  background: var(--paper); border: 1px solid var(--line-soft); overflow: hidden;
}
.student-preview-lines { display: grid; gap: .55rem; filter: blur(5px); opacity: .75; }
.student-preview-lines span { display: block; height: 10px; border-radius: 6px; background: var(--line); }
.student-preview-lines span:nth-child(1) { width: 92%; }
.student-preview-lines span:nth-child(2) { width: 78%; }
.student-preview-lines span:nth-child(3) { width: 85%; }
.student-preview-lines span:nth-child(4) { width: 60%; }
.student-preview-lines span:nth-child(5) { width: 72%; }
.student-preview-lock {
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem;
  background: linear-gradient(180deg, rgba(255,250,246,.1), rgba(255,250,246,.88));
}

.student-form { display: grid; gap: .6rem; margin-bottom: .9rem; }
.student-field { position: relative; display: flex; flex-wrap: wrap; gap: .7rem; }
.student-input {
  flex: 1 1 200px; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); font-weight: 500; color: var(--ink); transition: border-color .3s var(--ease-out);
}
.student-input:focus { border-color: var(--accent); }
.student-form.is-error .student-input { border-color: var(--gate-error, #b4485f); animation: gShake .46s var(--ease-soft); }
.student-msg { min-height: 1.2em; margin: 0; font-size: .84rem; font-weight: 700; color: var(--gate-error, #b4485f); }
.student-hint { font-size: .8rem; color: var(--ink-mute); }

.student-unlocked[hidden] { display: none; }
.student-unlocked { display: grid; gap: 1.6rem; }
.student-resources { display: grid; gap: 1.2rem; }
.student-resource { padding: 1.2rem 1.4rem; border-radius: 16px; background: var(--paper); border: 1px solid var(--line-soft); }
.student-resource h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.student-resource p { font-size: .92rem; color: var(--ink-soft); }

@media (min-width: 640px) {
  .student-field { flex-wrap: nowrap; }
  .student-field .btn { flex: 0 0 auto; }
  .student-resources { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   18. Reveal / effects
   ============================================================= */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease-out) .1s, transform .8s var(--ease-out) .1s; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =============================================================
   19. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 720px) {
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .testi-track { grid-template-columns: repeat(2, 1fr); }
  .module { grid-template-columns: 1fr 1.3fr; }
  .module-reverse { direction: rtl; }
  .module-reverse > * { direction: ltr; }
  .pricing-card { grid-template-columns: 1.4fr 1fr; }
  .pricing-side { border-top: none; border-left: 1px dashed var(--line); padding-top: 0; padding-left: 2rem; }
}

@media (min-width: 1280px) {
  .testi-track { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
  .course-hero-inner { grid-template-columns: 1.1fr .9fr; }
  .values-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
}

@media (max-width: 959px) {
  .nav-menu {
    position: fixed; top: calc(var(--nav-h) + 6px); right: 16px; left: 16px;
    background: rgba(255, 250, 246, .98); border: 1px solid var(--glass-line); border-radius: 22px;
    flex-direction: column; align-items: stretch; padding: 1.2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px) scale(.98); opacity: 0; pointer-events: none; visibility: hidden;
    transition: transform .35s var(--ease-out), opacity .35s var(--ease-out), visibility 0s linear .35s;
  }
  .nav-menu.is-open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav-menu a { padding-block: .7rem; border-bottom: 1px solid var(--line-soft); }
  .nav-menu a.btn { border-bottom: none; margin-top: .6rem; }
  .nav-toggle { display: flex; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* below the two-column layout the floating hero photo hangs low enough
     that the trust bar's desktop overlap trick clips it — drop the pull-up */
  .trust-bar { margin-top: 1.4rem; }
}

@media (min-width: 1280px) {
  .hero-title { font-size: clamp(3rem, 5vw, 4.6rem); }
}

/* =============================================================
   20. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh, .hero-photo-main, .hero-photo-float, .hero-photo img, .splash-mark { animation: none; }
  .hero-scroll-cue span::before { animation: none; }
  .cursor { display: none; }
  .hero-in { opacity: 1; animation: none !important; transform: none !important; }
  .hero-in-photo-main { transform: rotate(-2.2deg) !important; }
  .hero-in-photo-float { transform: rotate(3deg) !important; }
  .deco-butterfly, .deco-sprig, .deco-spark-css { animation: none; }
}

/* =============================================================
   6.5 Private access gate (intro before the site)
   Reuses the hero's palette, photo-frame language and easing.
   ============================================================= */
html.gate-on, html.gate-on body { overflow: hidden; }
html.gate-on .hero-in { animation-play-state: paused; } /* hero choreography waits for the unlock */

.gate { display: none; }
html.gate-on .gate, .gate.is-leaving { display: block; }
.gate {
  --gate-error: #b4485f;
  position: fixed; inset: 0; z-index: 1000;
  overflow-x: clip; overflow-y: auto; overscroll-behavior: contain;
  color: var(--ink);
  background:
    radial-gradient(120% 70% at 78% 0%, rgba(216,142,163,.14), transparent 60%),
    radial-gradient(90% 60% at 6% 100%, rgba(201,161,90,.12), transparent 62%),
    var(--bg);
}
.gate::before { /* paper grain: texture, not decoration */
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gate-shell {
  position: relative; min-height: 100svh;
  display: grid; align-items: center; column-gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "brand" "visual" "copy" "foot";
  padding: clamp(1.25rem, 4vw, 2.75rem) clamp(1.25rem, 5vw, 4.5rem) clamp(1.1rem, 3vw, 2rem);
  row-gap: 1.25rem;
}
.gate-brand { grid-area: brand; justify-self: center; align-self: start; }
.gate-logo { width: 118px; height: auto; }
.gate-visual { grid-area: visual; position: relative; display: flex; align-self: stretch; min-height: 150px; }
.gate-copy { grid-area: copy; text-align: center; width: 100%; max-width: 30rem; justify-self: center; }
.gate-foot {
  grid-area: foot; display: flex; flex-direction: column; align-items: center; gap: .7rem;
  padding-top: 1rem; border-top: 1px solid var(--line-soft);
  font-size: .74rem; color: var(--ink-mute); text-align: center;
}
.gate-by { display: flex; flex-direction: column; gap: .1rem; }
.gate-by span { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.gate-by strong { font-size: .86rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .01em; }
.gate-note { letter-spacing: .04em; }

.gate-photo {
  position: relative; flex: 1; overflow: hidden;
  border: 3px solid #fff; border-radius: 6px; box-shadow: var(--shadow-md);
  transform: rotate(-1.4deg);
  clip-path: inset(0 0 100% 0);
  animation: gPhotoIn 1.3s var(--ease-out) .25s forwards;
}
.gate-photo-move {
  position: absolute; inset: -14px;
  transform: translate3d(calc(var(--mx, 0) * 12px), calc(var(--my, 0) * 12px), 0);
  transition: transform .6s var(--ease-out);
}
.gate-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  transform: scale(1.18); animation: gPhotoZoom 2.2s var(--ease-out) .25s forwards;
  transition: transform 1s var(--ease-out);
}
.gate-tag { display: none; }

.gate .kicker { position: relative; justify-content: center; margin-bottom: 1rem; }
.gate .kicker::before { display: none; }
.gate-title {
  font-weight: 800; font-size: clamp(1.9rem, 8.2vw, 2.6rem);
  letter-spacing: -.03em; line-height: 1.04; margin-bottom: 1.6rem;
}
.gate-title em { font-size: 1.1em; }
.gate-line { display: block; overflow: hidden; padding-bottom: .08em; }
.gate-line > span { display: block; transform: translateY(108%); animation: gLine .9s var(--ease-out) var(--d, .7s) forwards; }

.gate-label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); text-align: left; }
.gate-form { display: grid; gap: 1.15rem; }
.gate-field { position: relative; }
.gate-input {
  width: 100%; padding: .55rem 0 .7rem; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--ink); outline: none;
  font: 500 1.25rem/1.3 var(--sans); letter-spacing: .12em;
}
.gate-input::placeholder { color: var(--ink-mute); opacity: .55; letter-spacing: .02em; font-weight: 400; }
.gate-field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent-ink); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-out), background-color .3s var(--ease-out);
}
.gate-field:focus-within::after { transform: scaleX(1); }

.gate-btn {
  position: relative; overflow: hidden; width: 100%;
  padding: 1.05rem 2rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
}
.gate-btn:hover { letter-spacing: .18em; transform: translateY(-2px); }
.gate-btn::before { /* single soft sheen, on hover only */
  content: ""; position: absolute; inset: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.34), transparent);
  transform: translateX(-130%) skewX(-18deg); transition: transform .9s var(--ease-out);
}
.gate-btn:hover::before { transform: translateX(300%) skewX(-18deg); }
.gate-arrow { display: inline-block; transition: transform .45s var(--ease-out); }
.gate-btn:hover .gate-arrow, .gate-btn:focus-visible .gate-arrow { transform: translateX(7px); }
.gate-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.gate-btn[disabled] { pointer-events: none; }

.gate-msg {
  min-height: 1.3em; margin-top: -.3rem; font-size: .84rem; font-weight: 600; color: var(--gate-error);
  opacity: 0; transform: translateY(-4px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.gate-form.is-error .gate-msg { opacity: 1; transform: none; }
.gate-form.is-error .gate-field::after { transform: scaleX(1); background: var(--gate-error); }
.gate-form.is-error .gate-field { animation: gShake .46s var(--ease-soft); }

/* load choreography */
.g-rise { opacity: 0; transform: translateY(14px); animation: gRise .9s var(--ease-out) var(--d, 0s) forwards; }
.g-logo { opacity: 0; transform: translateY(10px) scale(.97); animation: gLogo 1.2s var(--ease-out) .15s forwards; }
@keyframes gRise { to { opacity: 1; transform: none; } }
@keyframes gLogo { to { opacity: 1; transform: none; } }
@keyframes gLine { to { transform: translateY(0); } }
@keyframes gPhotoIn { to { clip-path: inset(0 0 0 0); } }
@keyframes gPhotoZoom { to { transform: scale(1); } }
@keyframes gShake {
  0%, 100% { transform: translateX(0); }
  18% { transform: translateX(-9px); } 36% { transform: translateX(8px); }
  54% { transform: translateX(-5px); } 72% { transform: translateX(3px); }
}

/* =============================================================
   21. Área de alumnas — panel interactivo (dashboard.html)
   ============================================================= */
.dash-nav { justify-content: space-between; }
.dash-exit {
  font-size: .84rem; font-weight: 700; color: var(--ink-soft);
  padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line);
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.dash-exit:hover { border-color: var(--accent); color: var(--accent-ink); }

.dash-hero { padding-top: calc(var(--nav-h) + 2.4rem); text-align: center; }
.dash-hero .student-lock-badge { margin-bottom: 1.2rem; }
.dash-hero .section-title { margin-bottom: .6rem; }
.dash-hero .section-lead { max-width: 56ch; margin-inline: auto; }
.dash-tabs { margin-top: 1.8rem; }
.tab[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.tab[aria-disabled="true"]:hover { border-color: var(--line); color: var(--ink-soft); }
.tab small { display: block; font-size: .68rem; font-weight: 600; opacity: .8; }
.tab.is-shake { animation: gShake .4s var(--ease-soft); }

/* ---- gallery + lightbox ---- */
.dash-gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.dash-gallery-item {
  position: relative; aspect-ratio: 3/4; border-radius: 18px; overflow: hidden; border: 3px solid #fff;
  background: var(--paper); box-shadow: var(--shadow-md); cursor: zoom-in;
}
.dash-gallery-item img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 6px; transition: transform .6s var(--ease-out); }
.dash-gallery-item:hover img { transform: scale(1.06); }
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 2rem;
  background: rgba(20,14,17,.86); backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(900px, 92vw); max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem; line-height: 1; border: 1px solid rgba(255,255,255,.3);
}
.lightbox-close:hover { background: rgba(255,255,255,.24); }

/* ---- space quiz ---- */
.quiz-card { padding: clamp(1.8rem, 4vw, 2.6rem); text-align: center; }
.quiz-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1.4rem 0 1.6rem; }
.quiz-btn {
  padding: .7rem 1.3rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font-size: .88rem; font-weight: 700; color: var(--ink-soft); transition: all .25s var(--ease-out);
}
.quiz-btn:hover { border-color: var(--accent); color: var(--ink); }
.quiz-btn.is-active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }
.quiz-result { padding: 1.4rem 1.6rem; border-radius: 16px; background: var(--paper); border: 1px solid var(--line-soft); text-align: left; }
.quiz-result h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.quiz-result p { color: var(--ink-soft); font-size: .94rem; }

/* ---- expanded accordion blocks (temario interactivo) ---- */
.block-content { padding: 0 1.4rem 1.4rem; display: grid; gap: 1rem; }
.block-image {
  width: 100%; max-width: 260px; border-radius: 14px; aspect-ratio: 3/4;
  object-fit: contain; padding: 8px; background: var(--paper); border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.block-content ul { display: grid; gap: .5rem; }
.block-content ul li { position: relative; padding-left: 1.4rem; font-size: .92rem; color: var(--ink-soft); }
.block-content ul li::before { content: "🦋"; position: absolute; left: 0; top: -1px; font-size: .8rem; }
.block-callout {
  margin: 0; padding: .9rem 1.1rem; border-radius: 12px; background: rgba(201,161,90,.12);
  color: var(--gold-ink); font-size: .88rem; font-weight: 600;
}
.block-callout strong { font-weight: 800; }

/* ---- materials catalog ---- */
.catalog-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.catalog-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--line-soft); transition: all .25s var(--ease-out);
}
.catalog-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.catalog-icon { font-size: 1.6rem; flex-shrink: 0; }
.catalog-card strong { display: block; font-size: .96rem; color: var(--ink); }
.catalog-card small { display: block; font-size: .8rem; color: var(--accent-ink); font-weight: 700; }

.dash-close-wrap { text-align: center; padding-block: 1rem 3rem; }
.dash-close { font-size: .9rem; font-weight: 700; color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px; }
.dash-close:hover { color: var(--accent-ink); }

@media (min-width: 720px) {
  .dash-gallery { grid-template-columns: repeat(3, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .block-content { grid-template-columns: 260px 1fr; align-items: start; }
  .block-content ul { grid-column: 2; }
  .block-callout { grid-column: 2; }
}

/* unlock: the intro moves toward the viewer while the site fades in beneath it */
.gate.is-leaving { pointer-events: none; animation: gateOut .95s var(--ease-soft) forwards; }
.gate.is-leaving .gate-shell { animation: gateShellOut .9s var(--ease-in) forwards; }
.gate.is-leaving .gate-photo-move { transform: scale(1.2); transition-duration: .9s; }
@keyframes gateOut { 0%, 30% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes gateShellOut { to { opacity: 0; transform: scale(1.06); } }
html.gate-enter main { animation: gateSiteIn 1s var(--ease-out) both; }
@keyframes gateSiteIn { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 820px) {
  .gate-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand visual" "copy visual" "foot foot";
    align-items: center; row-gap: 0;
  }
  .gate-brand { justify-self: start; align-self: end; padding-bottom: clamp(1.5rem, 4vh, 3rem); }
  .gate-logo { width: clamp(168px, 14vw, 220px); }
  .gate-copy { grid-area: copy; align-self: start; justify-self: start; text-align: left; max-width: 34rem; }
  .gate .kicker { justify-content: flex-start; }
  .gate .kicker::before { display: block; }
  .gate-title { font-size: clamp(2.2rem, 3.9vw, 3.5rem); margin-bottom: 2.2rem; }
  .gate-form { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.75rem; align-items: end; row-gap: .6rem; }
  .gate-form .gate-label { grid-column: 1 / -1; margin-bottom: -.4rem; }
  .gate-msg { grid-column: 1 / -1; margin-top: 0; }
  .gate-btn { width: auto; }
  .gate-visual { align-self: stretch; align-items: center; justify-content: center; padding-block: clamp(.5rem, 3vh, 2rem); }
  .gate-photo { flex: none; width: min(440px, 100%); aspect-ratio: 4 / 5; max-height: 100%; transform: rotate(-2.2deg); }
  .gate-tag {
    display: block; position: absolute; left: max(0px, calc(50% - 262px)); top: 50%; z-index: 2;
    translate: 0 -50%; writing-mode: vertical-rl; rotate: 180deg;
    font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--ink-mute); white-space: nowrap;
  }
  .gate-foot { flex-direction: row; justify-content: space-between; align-items: flex-end; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .g-rise, .g-logo, .gate-line > span, .gate-photo, .gate-photo img { animation: none; opacity: 1; filter: none; transform: none; clip-path: none; }
  .gate-photo { transform: rotate(-1.4deg); }
  .gate-line > span { transform: none; }
  .gate-photo-move { transform: none; transition: none; }
  .gate.is-leaving, .gate.is-leaving .gate-shell { animation-duration: .25s; }
  .gate.is-leaving .gate-shell { animation-name: gateFadeOnly; }
  html.gate-enter main { animation-duration: .25s; }
  .gate-form.is-error .gate-field { animation: none; }
}

/* =============================================================
   22. Sobre Anabel (sobre-anabel.html)
   ============================================================= */
.about-hero { padding-top: calc(var(--nav-h) + 2.5rem); }
.about-hero-copy p { margin-bottom: 1rem; }
.about-hero-copy .hero-actions { margin-top: .6rem; }
.about-hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem; align-items: center; }
.about-hero-photo {
  width: min(360px, 100%); margin-inline: auto; aspect-ratio: 4/5;
  border-radius: 26px; overflow: hidden;
}
.about-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-quote-section { padding-block: clamp(2rem, 5vw, 3.5rem); }
.about-quote {
  margin: 0; padding: clamp(2rem, 5vw, 3rem); border-radius: 28px; text-align: center;
  background: linear-gradient(160deg, rgba(201,161,90,.14), rgba(216,142,163,.1)), var(--paper);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-md);
}
.about-quote p {
  font-family: var(--serif); font-style: italic; color: var(--ink);
  font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.5; margin-bottom: 1rem;
}
.about-quote footer { font-weight: 700; color: var(--accent-ink); }

.about-philosophy { margin-top: 2.6rem; padding: clamp(1.8rem, 4vw, 2.4rem); text-align: center; }
.about-philosophy h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.about-philosophy p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; margin-inline: auto; margin-bottom: .9rem; }
.about-philosophy p:last-child { margin-bottom: 0; }

.about-cta { padding-block: clamp(3rem, 7vw, 5rem); }
.about-cta-card { padding: clamp(2rem, 5vw, 3rem); text-align: center; }
.about-cta-card .hero-actions { justify-content: center; margin-top: 1.4rem; }

.nav-menu a.is-current { color: var(--accent-ink); }

@media (min-width: 860px) {
  .about-hero-grid { grid-template-columns: 1.15fr .85fr; }
  .about-hero-photo { margin-inline: 0; width: 100%; }
}

/* ---- "Tu formadora" mini bio card (course pages) ---- */
.instructor-card { display: flex; flex-direction: column; gap: 1.6rem; align-items: center; padding: clamp(1.8rem, 4vw, 2.6rem); text-align: center; }
.instructor-photo { width: 150px; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow-md); flex-shrink: 0; }
.instructor-photo img { width: 100%; height: 100%; object-fit: cover; }
.instructor-copy p { color: var(--ink-soft); margin: .8rem 0 1.2rem; }

@media (min-width: 640px) {
  .instructor-card { flex-direction: row; align-items: flex-start; text-align: left; }
}
@keyframes gateFadeOnly { to { opacity: 0; } }