/* ==========================================================================
   ALBA — Cuerpo, Mente y Alma en Armonía
   Sistema de diseño · v1.0
   Estética: cálida, editorial, femenina sobria, bienestar premium
   ========================================================================== */

/* ---------- Tokens / Variables ---------- */
:root {
  /* Paleta principal — tonos tierra y bienestar */
  --c-cream:        #faf6ee;   /* fondo cálido casi blanco */
  --c-cream-soft:   #f3ebda;   /* crema suave */
  --c-sand:         #e9d9b8;   /* arena/beige medio */
  --c-gold:         #c9a875;   /* dorado mostaza */
  --c-gold-deep:    #a8743a;   /* terracota dorado oscuro */
  --c-sage:         #a3b685;   /* verde sage suave */
  --c-sage-deep:    #6b7f4d;
  --c-rose:         #d9a89e;   /* rosa viejo / terracota suave */
  --c-rose-deep:    #b87a6e;
  --c-lavender:     #b8a8c8;   /* lavanda suave */

  /* Color de marca histórico (favicon) — acento puntual */
  --c-brand-teal:   #0099b7;
  --c-brand-teal-d: #047a93;

  /* Tipografía */
  --c-ink:          #1f1a14;   /* negro tibio para texto principal */
  --c-ink-soft:     #4a4034;   /* gris-marrón medio */
  --c-ink-mute:     #7a6e5e;   /* gris-beige */
  --c-line:         #d9cdb5;   /* línea decorativa cálida */

  /* Fondos */
  --bg:             var(--c-cream);
  --bg-alt:         var(--c-cream-soft);
  --surface:        #ffffff;

  /* Tipografías */
  --font-display:   'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --font-body:      'Montserrat', 'Helvetica Neue', system-ui, sans-serif;
  --font-script:    'Allura', 'Brush Script MT', cursive;

  /* Escala tipográfica */
  --fs-xs:    0.75rem;       /* 12px */
  --fs-sm:    0.875rem;      /* 14px */
  --fs-base:  1rem;          /* 16px */
  --fs-md:    1.125rem;      /* 18px */
  --fs-lg:    1.375rem;      /* 22px */
  --fs-xl:    1.75rem;       /* 28px */
  --fs-2xl:   2.25rem;       /* 36px */
  --fs-3xl:   3rem;          /* 48px */
  --fs-4xl:   4rem;          /* 64px */
  --fs-hero:  clamp(2.4rem, 7vw, 5rem);
  --fs-h1:    clamp(2rem, 5vw, 3.25rem);
  --fs-h2:    clamp(1.6rem, 4vw, 2.5rem);

  /* Espaciados */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;
  --space-10: 8rem;

  /* Radios */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Sombras cálidas */
  --shadow-soft:    0 4px 18px -6px rgba(74, 50, 20, 0.10);
  --shadow-card:    0 12px 32px -12px rgba(74, 50, 20, 0.18), 0 2px 6px -2px rgba(74, 50, 20, 0.06);
  --shadow-lift:    0 28px 60px -20px rgba(74, 50, 20, 0.28), 0 6px 14px -6px rgba(74, 50, 20, 0.10);
  --shadow-ebook:   0 30px 60px -20px rgba(50, 30, 10, 0.45), 0 12px 24px -12px rgba(50, 30, 10, 0.25);
  --shadow-deep:    0 40px 80px -24px rgba(40, 25, 8, 0.40);

  /* Layout */
  --container:      1180px;
  --container-tight: 920px;
  --header-h:       100px;

  /* Easings */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:      cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, picture {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-soft);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--c-ink);
  line-height: 1.15;
}

p { color: var(--c-ink-soft); }

::selection {
  background: var(--c-gold);
  color: var(--c-ink);
}

/* ---------- Containers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.container--tight {
  max-width: var(--container-tight);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
}

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--c-gold-deep);
  display: inline-block;
}

.eyebrow--center::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--c-gold-deep);
  display: inline-block;
}

.script {
  font-family: var(--font-script);
  font-style: italic;
  color: var(--c-gold-deep);
  line-height: 0.85;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.section-lead {
  font-size: var(--fs-md);
  color: var(--c-ink-soft);
  max-width: 60ch;
  line-height: 1.7;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-head .section-lead { margin-inline: auto; }

/* divider decorativo central */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: var(--space-4) 0;
  color: var(--c-gold-deep);
  opacity: 0.7;
}
.divider::before, .divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.divider svg {
  width: 14px;
  height: 14px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s, color 0.25s;
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--c-ink);
  color: var(--c-cream);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover {
  background: var(--c-gold-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn--gold {
  background: var(--c-gold-deep);
  color: var(--c-cream);
}
.btn--gold:hover {
  background: var(--c-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn--ghost:hover {
  background: var(--c-ink);
  color: var(--c-cream);
  transform: translateY(-2px);
}

.btn--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.55);
}
.btn--wa:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.65);
}

.btn--lg {
  padding: 1.1rem 2.2rem;
  font-size: var(--fs-base);
}

.btn--sm {
  padding: 0.7rem 1.3rem;
  font-size: var(--fs-xs);
}

.btn--block {
  width: 100%;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(250, 246, 238, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: box-shadow 0.3s, background 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(250, 246, 238, 0.96);
  box-shadow: 0 4px 24px -12px rgba(74,50,20,0.15);
  border-bottom-color: var(--c-line);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.nav__brand img {
  height: 68px;
  width: auto;
  transition: transform 0.4s var(--ease-out);
}

@media (max-width: 540px) {
  .nav__brand img { height: 56px; }
}

.nav__brand:hover img { transform: scale(1.03); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink-soft);
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 0.02em;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 1.5px;
  background: var(--c-gold-deep);
  transition: transform 0.3s var(--ease-out);
}

.nav__link:hover { color: var(--c-ink); }
.nav__link:hover::after,
.nav__link.active::after { transform: translateX(-50%) scaleX(1); }
.nav__link.active { color: var(--c-ink); }

.nav__cta {
  margin-left: 0.5rem;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--c-line);
  transition: background 0.2s;
}
.nav__toggle:hover { background: var(--c-cream-soft); }
.nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--c-ink);
  position: relative;
  transition: background 0.2s;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform 0.3s var(--ease-out);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }

.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--header-h));
    background: var(--c-cream);
    flex-direction: column;
    gap: 0;
    padding: 2rem 1.5rem;
    transform: translateY(-110vh);
    transition: transform 0.45s var(--ease-out);
    border-top: 1px solid var(--c-line);
    overflow-y: auto;
    align-items: stretch;
    justify-content: flex-start;
  }
  .nav.is-open .nav__menu { transform: translateY(0); }
  .nav__link {
    width: 100%;
    padding: 1.1rem 0;
    font-size: var(--fs-md);
    border-bottom: 1px solid var(--c-line);
    text-align: left;
  }
  .nav__cta { margin: 1.5rem 0 0; align-self: stretch; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(201, 168, 117, 0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(216, 168, 158, 0.14), transparent 55%),
    var(--c-cream);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 4rem);
}

.hero__text {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  margin-bottom: 1.4rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-bottom: 1.5rem;
}

.hero__title .script {
  display: block;
  font-size: 1.05em;
  margin-top: -0.15em;
  margin-left: -0.05em;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--c-ink-soft);
  line-height: 1.65;
  max-width: 55ch;
  margin-bottom: 2.4rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-line);
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}

.hero__meta-item svg { width: 18px; height: 18px; color: var(--c-gold-deep); }

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
}

.hero__photo {
  position: absolute;
  inset: 0;
  border-radius: 220px 220px var(--r-lg) var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  background: var(--c-sand);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
  animation: gentleZoom 16s var(--ease-soft) infinite alternate;
}

@keyframes gentleZoom {
  to { transform: scale(1.08); }
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 26, 20, 0.18), transparent 50%);
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--c-cream);
  padding: 1.2rem 1.4rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
  max-width: 260px;
  animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__badge-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: var(--c-gold);
  color: var(--c-cream);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero__badge-icon svg { width: 22px; height: 22px; }
.hero__badge-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--c-ink);
  font-weight: 500;
}
.hero__badge-text small {
  font-size: var(--fs-xs);
  color: var(--c-ink-mute);
  letter-spacing: 0.05em;
}

/* Hero decoración: amanecer SVG */
.hero__sun {
  position: absolute;
  top: -180px; right: -180px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201, 168, 117, 0.45), transparent 60%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 3rem;
  }
  .hero__visual {
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    width: 100%;
  }
  .hero__badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -22px;
    max-width: 280px;
  }
}

/* ---------- Stats / Trust strip ---------- */
.trust-strip {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 1.8rem 0;
  overflow: hidden;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem 2rem;
  text-align: center;
  align-items: center;
}

.trust-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.trust-strip__item strong {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
  color: var(--c-gold);
  line-height: 1;
}
.trust-strip__item span {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.75);
}

/* ---------- Sobre Alba ---------- */
.about {
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 460px;
}

.about__photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  height: 100%;
}
.about__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about__photo::before {
  content: '';
  position: absolute;
  inset: -16px;
  border: 1px solid var(--c-gold);
  border-radius: var(--r-xl);
  z-index: -1;
}

.about__sign {
  position: absolute;
  right: -10px; bottom: 30px;
  background: var(--c-cream);
  padding: 1rem 1.4rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}
.about__sign .script {
  font-size: 2.2rem;
  display: block;
}
.about__sign small {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-top: 0.2rem;
  display: block;
}

.about__text p {
  margin-bottom: 1.2rem;
  line-height: 1.78;
}

.about__credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.credential {
  padding: 1rem 1.2rem;
  background: var(--c-cream-soft);
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
}
.credential strong {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  display: block;
  color: var(--c-ink);
}
.credential span {
  font-size: var(--fs-xs);
  color: var(--c-ink-mute);
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { margin: 0 auto; }
}

/* ---------- Cursos destacados grid ---------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.4rem);
}

/* Tarjeta de curso premium */
.course-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(217, 205, 181, 0.5);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.course-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--c-cream-soft);
  overflow: hidden;
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.course-card__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 0%, rgba(255,255,255,0.6), transparent 50%),
    linear-gradient(180deg, var(--c-cream-soft), var(--c-sand));
  z-index: 0;
}

/* Mockup ebook 3D */
.ebook {
  position: relative;
  width: 70%;
  max-width: 240px;
  aspect-ratio: 3 / 4;
  transform: perspective(1500px) rotateY(-14deg) rotateX(3deg);
  transition: transform 0.6s var(--ease-out);
  filter: drop-shadow(0 30px 40px rgba(50, 30, 10, 0.25));
  z-index: 1;
}

.course-card:hover .ebook {
  transform: perspective(1500px) rotateY(-8deg) rotateX(2deg) translateY(-6px);
}

.ebook__cover {
  position: absolute;
  inset: 0;
  border-radius: 2px 8px 8px 2px;
  overflow: hidden;
  background: var(--c-sand);
  box-shadow:
    inset 6px 0 12px -8px rgba(0, 0, 0, 0.35),
    inset -1px 0 0 0 rgba(255, 255, 255, 0.15);
}

.ebook__cover img,
.ebook__cover svg {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* lomo del libro */
.ebook::before {
  content: '';
  position: absolute;
  left: 0; top: 1.5%; bottom: 1.5%;
  width: 8px;
  background: linear-gradient(to right, rgba(0,0,0,0.35), rgba(0,0,0,0));
  border-radius: 2px 0 0 2px;
  z-index: 2;
}

.course-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 0.45rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  z-index: 3;
  box-shadow: var(--shadow-soft);
}

.course-card__badge--promo {
  background: var(--c-gold-deep);
}

.course-card__body {
  padding: 1.8rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card__tag {
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.course-card__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.18;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.course-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex: 1;
}

.course-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--c-line);
  margin-bottom: 1.2rem;
}

.course-card__price strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--c-ink);
  font-weight: 600;
  line-height: 1;
}

.course-card__price small {
  font-size: var(--fs-xs);
  color: var(--c-ink-mute);
  letter-spacing: 0.05em;
}

.course-card__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.course-card__actions .btn { flex: 1; min-width: 0; }

/* ---------- Servicios / Modalidades ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem 1.6rem;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  text-align: center;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.service-card__icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  border-radius: var(--r-full);
  background: var(--c-cream-soft);
  display: grid;
  place-items: center;
  color: var(--c-gold-deep);
}
.service-card__icon svg { width: 32px; height: 32px; }

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* ---------- Testimonios ---------- */
.testimonials {
  background:
    linear-gradient(to bottom, var(--c-cream) 0%, var(--c-cream-soft) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  padding: 2rem 1.8rem;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  border: 1px solid var(--c-line);
}

.testimonial::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--c-gold);
  opacity: 0.5;
}

.testimonial__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.7rem;
  color: var(--c-gold-deep);
}
.testimonial__stars svg { width: 16px; height: 16px; fill: currentColor; }

.testimonial__text {
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--c-ink-soft);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--c-line);
}

.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: var(--c-gold);
  color: var(--c-cream);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial__name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--c-ink);
}
.testimonial__role {
  font-size: var(--fs-xs);
  color: var(--c-ink-mute);
  letter-spacing: 0.05em;
}

/* ---------- CTA final ---------- */
.cta-final {
  background:
    linear-gradient(120deg, rgba(31, 26, 20, 0.92), rgba(74, 64, 52, 0.82)),
    url('../images/mujer-amanecer.jpg') center/cover no-repeat;
  color: var(--c-cream);
  padding: clamp(4rem, 9vw, 7rem) 0;
  text-align: center;
}

.cta-final h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--c-cream);
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.cta-final .script {
  color: var(--c-gold);
  display: block;
  font-size: 1.2em;
}

.cta-final p {
  color: rgba(250, 246, 238, 0.85);
  font-size: var(--fs-md);
  max-width: 56ch;
  margin: 0 auto 2rem;
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-final .btn--ghost {
  color: var(--c-cream);
  border-color: var(--c-cream);
}
.cta-final .btn--ghost:hover {
  background: var(--c-cream);
  color: var(--c-ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: rgba(250, 246, 238, 0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 56px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-brand p {
  color: rgba(250, 246, 238, 0.65);
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 36ch;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--c-cream);
  margin-bottom: 1.1rem;
  font-weight: 500;
}

.footer-list { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-list a {
  font-size: var(--fs-sm);
  color: rgba(250, 246, 238, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.footer-list a:hover { color: var(--c-gold); }
.footer-list svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.8; }

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  background: rgba(250, 246, 238, 0.08);
  display: grid;
  place-items: center;
  transition: background 0.25s, transform 0.25s;
}
.footer-social a:hover {
  background: var(--c-gold-deep);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; color: var(--c-cream); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 246, 238, 0.1);
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(250, 246, 238, 0.5);
  letter-spacing: 0.05em;
}

.footer-bottom .script {
  color: var(--c-gold);
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.4rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #25d366;
  color: #fff;
  padding: 0.85rem 1.3rem 0.85rem 1rem;
  border-radius: var(--r-full);
  box-shadow:
    0 12px 32px -8px rgba(37, 211, 102, 0.55),
    0 4px 12px -4px rgba(37, 211, 102, 0.4);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  isolation: isolate;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  color: #fff;
  box-shadow:
    0 18px 40px -10px rgba(37, 211, 102, 0.65),
    0 6px 16px -4px rgba(37, 211, 102, 0.5);
}
.wa-float__icon {
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: #fff;
  color: #25d366;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.wa-float__icon svg { width: 22px; height: 22px; fill: currentColor; }
.wa-float__label { display: inline-block; }

/* pulso animado */
.wa-float::before,
.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #25d366;
  pointer-events: none;
  z-index: -1;
  animation: waPulse 2.4s var(--ease-out) infinite;
}
.wa-float::after { animation-delay: 1.2s; }

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  80%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 540px) {
  .wa-float__label { display: none; }
  .wa-float {
    padding: 0.7rem;
    bottom: 18px; right: 18px;
  }
  .wa-float__icon { width: 38px; height: 38px; }
}

/* ---------- Modal de pago ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 8, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
}

.modal-backdrop.is-open {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--c-cream);
  border-radius: var(--r-xl);
  max-width: 580px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-deep);
  position: relative;
  animation: modalIn 0.45s var(--ease-out);
  border: 1px solid var(--c-line);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__header {
  padding: 2rem 2rem 1.4rem;
  text-align: center;
  border-bottom: 1px dashed var(--c-line);
  position: relative;
}

.modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: transparent;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.modal__close:hover { background: var(--c-cream-soft); }
.modal__close svg { width: 20px; height: 20px; }

.modal__eyebrow {
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  font-weight: 600;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.modal__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding: 0.5rem 1.2rem;
  background: var(--c-cream-soft);
  border-radius: var(--r-full);
  border: 1px solid var(--c-line);
}
.modal__price strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-ink);
  font-weight: 600;
}
.modal__price small {
  font-size: var(--fs-xs);
  color: var(--c-ink-mute);
  letter-spacing: 0.05em;
}

.modal__body {
  padding: 1.8rem 2rem;
}

.modal__step {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.modal__step-num {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: var(--r-full);
  background: var(--c-gold-deep);
  color: var(--c-cream);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.modal__step-text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--c-ink-soft);
  padding-top: 0.3rem;
}
.modal__step-text strong { color: var(--c-ink); }

.alias-box {
  margin: 1.5rem 0;
  padding: 1.5rem 1.4rem;
  background: linear-gradient(135deg, var(--c-cream-soft), #fff5e0);
  border: 1.5px dashed var(--c-gold-deep);
  border-radius: var(--r-lg);
  text-align: center;
  position: relative;
}
.alias-box__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  font-weight: 600;
  display: block;
  margin-bottom: 0.8rem;
}
.alias-box__value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: 0.02em;
  word-break: break-all;
  margin-bottom: 1rem;
  display: block;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--c-ink);
  color: var(--c-cream);
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  transition: transform 0.2s, background 0.2s;
}
.copy-btn:hover {
  background: var(--c-gold-deep);
  transform: translateY(-1px);
}
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn.copied {
  background: #2d8755;
}

.copy-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 0.8rem 1.4rem;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  box-shadow: var(--shadow-deep);
}
.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.copy-toast svg { width: 18px; height: 18px; color: #4ade80; }

.modal__note {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem;
  background: rgba(201, 168, 117, 0.12);
  border-left: 3px solid var(--c-gold-deep);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
  line-height: 1.6;
}

.modal__footer {
  padding: 1.4rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
}
.payment-methods .chip {
  padding: 0.35rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-full);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  font-weight: 500;
}

/* ---------- Página de detalle de curso ---------- */
.course-hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 3rem;
  background:
    radial-gradient(ellipse at top, rgba(201, 168, 117, 0.15), transparent 70%),
    var(--c-cream);
}

.course-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.course-hero__ebook {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1500px;
}

.course-hero__ebook .ebook {
  width: 100%;
  max-width: 340px;
  transform: perspective(1500px) rotateY(-18deg) rotateX(4deg) translateY(-10px);
  animation: ebookFloat 6s ease-in-out infinite;
}

@keyframes ebookFloat {
  0%, 100% { transform: perspective(1500px) rotateY(-18deg) rotateX(4deg) translateY(-10px); }
  50%      { transform: perspective(1500px) rotateY(-15deg) rotateX(3deg) translateY(0); }
}

.course-breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin-bottom: 1.2rem;
}
.course-breadcrumbs a { color: var(--c-gold-deep); }
.course-breadcrumbs a:hover { color: var(--c-ink); }

.course-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.course-hero__lead {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--c-ink-soft);
  margin-bottom: 1.6rem;
}

.course-pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-bottom: 1.6rem;
  padding: 1.4rem 1.5rem;
  background: rgba(250, 246, 238, 0.7);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
}
.course-pricing__primary {
  display: flex;
  flex-direction: column;
}
.course-pricing__primary strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--c-ink);
  font-weight: 600;
  line-height: 1;
}
.course-pricing__primary small {
  font-size: var(--fs-xs);
  color: var(--c-ink-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.course-pricing__div {
  width: 1px;
  height: 38px;
  background: var(--c-line);
}
.course-pricing__alt {
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
  line-height: 1.5;
}
.course-pricing__alt strong { color: var(--c-ink); }

.course-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.course-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: var(--c-cream-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  color: var(--c-ink-soft);
  font-weight: 500;
}
.chip svg { width: 14px; height: 14px; color: var(--c-gold-deep); }

@media (max-width: 900px) {
  .course-hero__grid {
    grid-template-columns: 1fr;
  }
  .course-hero__ebook { order: -1; max-width: 320px; margin: 0 auto; }
}

/* Detalle: Contenido del curso */
.course-detail {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.course-detail__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.course-detail__main h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}
.course-detail__main h2:first-child { margin-top: 0; }

.course-detail__main p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.course-detail__main ul.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.course-detail__main ul.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1.65;
  color: var(--c-ink-soft);
}
.course-detail__main ul.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.4rem;
  width: 22px; height: 22px;
  background: var(--c-cream-soft);
  border: 1.5px solid var(--c-gold-deep);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8743a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.course-temario {
  background: var(--c-cream-soft);
  border-radius: var(--r-lg);
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid var(--c-line);
}
.course-temario h2 { margin-top: 0 !important; }
.course-temario ol {
  list-style: none;
  counter-reset: temario;
  padding: 0;
}
.course-temario ol li {
  counter-increment: temario;
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 1.2rem;
  padding-top: 0.2rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px dashed var(--c-line);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--c-ink);
  font-weight: 500;
}
.course-temario ol li:last-child { border-bottom: none; padding-bottom: 0; }
.course-temario ol li::before {
  content: counter(temario, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--c-gold-deep);
  opacity: 0.85;
  line-height: 1;
}
.course-temario ol li small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--c-ink-mute);
  margin-top: 0.3rem;
  letter-spacing: 0;
}

/* Sidebar del detalle */
.course-aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-card);
}
.course-aside h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.course-aside dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1rem;
  margin-bottom: 1.5rem;
  font-size: var(--fs-sm);
}
.course-aside dt {
  color: var(--c-ink-mute);
  font-weight: 500;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.course-aside dd {
  color: var(--c-ink);
  font-weight: 500;
}

.course-aside__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--c-line);
}

.download-box {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--c-cream-soft);
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  font-size: var(--fs-xs);
  color: var(--c-ink-mute);
  line-height: 1.5;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.download-box svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--c-gold-deep);
  margin-top: 0.1rem;
}

@media (max-width: 900px) {
  .course-detail__grid { grid-template-columns: 1fr; }
  .course-aside { position: static; }
}

/* ---------- Página gracias ---------- */
.gracias {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 3rem) 1rem 4rem;
  background:
    radial-gradient(ellipse at top, rgba(201, 168, 117, 0.2), transparent 70%),
    var(--c-cream);
  text-align: center;
}
.gracias__icon {
  width: 90px; height: 90px;
  margin: 0 auto 1.5rem;
  border-radius: var(--r-full);
  background: var(--c-gold);
  color: var(--c-cream);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
  animation: pulseScale 2s ease-in-out infinite;
}
.gracias__icon svg { width: 48px; height: 48px; }
@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.gracias h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.gracias h1 .script { display: block; color: var(--c-gold-deep); font-size: 1.1em; }
.gracias p {
  font-size: var(--fs-md);
  max-width: 50ch;
  margin: 0 auto 1.2rem;
  line-height: 1.7;
}
.gracias__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- Catálogo cursos ---------- */
.catalog-hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(201, 168, 117, 0.18), transparent 70%),
    var(--c-cream);
}

.catalog-hero h1 {
  font-size: var(--fs-h1);
  margin-bottom: 1rem;
  line-height: 1.05;
}
.catalog-hero h1 .script { color: var(--c-gold-deep); display: inline-block; }

.catalog-hero p {
  font-size: var(--fs-md);
  max-width: 58ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Animaciones / reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

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

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.no-scroll { overflow: hidden; }

/* ornamento florecillas */
.orn-flower {
  position: absolute;
  width: 90px; height: 90px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

/* línea de ondulación SVG para separadores de sección */
.wave-divider {
  display: block;
  width: 100%;
  height: 50px;
}
