:root {
  /* Misma línea vertical que el inicio del título "Tu bebé…" en el hero */
  --page-gutter-x: clamp(1.25rem, 5vw, 3rem);
  /* Altura de la barra (.header-inner min-height); el hero sube para pintar detrás */
  --header-bar-h: 76px;
  --cream: #fffdf6;
  --ink: #3e2f2b;
  --muted: #6f625e;
  --pink: #f6adc8;
  --purple: #baa7ea;
  --blue: #b9def6;
  --green: #b8ddc3;
  --yellow: #f9df7d;
  --orange: #f7b47b;
  --red: #ea707f;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 12px 36px rgba(69, 49, 41, 0.12);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  min-height: 100%;
  /* Fondo global: ilustración completa visible (sin recorte tipo cover) */
  background-color: #fdf6f4;
  background-image: url("img/Background.png");
  background-repeat: no-repeat;
  background-position: left top;
  /* “Quepa todo”: escala al viewport; en cada dispositivo se ajusta al ancho o alto disponible */
  background-size: contain;
  background-attachment: scroll;
}

/* Escritorio ancho: escalar/anclar PNG para sangrar algo el trazo bajo cualquier scrollbar (≠ de la franja de translate del .hero-visual) */
@media (min-width: 1200px) {
  html {
    background-size: 120vw auto;
    background-position: calc(-1 * clamp(1rem, 5vw, 4.5rem)) top;
    background-origin: border-box;
  }
}
body {
  position: relative;
  margin: 0;
  min-height: 100%;
  font-family: "Manrope", sans-serif;
  background-color: transparent;
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", serif;
  line-height: 1.08;
  margin: 0 0 14px;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.4rem; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.narrow { width: min(820px, 92%); }
.section { padding: 84px 0; }

/* Header: NO usar .container aquí (margin:0 auto + 92% rompe alineación y el botón) */
.topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100%;
  border-bottom: 2px solid transparent;
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  box-shadow: none;
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    -webkit-backdrop-filter 0.4s ease,
    border-bottom-color 0.4s ease,
    box-shadow 0.4s ease;
}

.topbar.is-scrolled {
  background: rgba(255, 253, 246, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(62, 47, 43, 0.08);
  box-shadow: 0 6px 28px rgba(62, 47, 43, 0.06);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-bar-h);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  /* Misma referencia que .hero > .container (texto "Tu bebé") */
  padding-left: var(--page-gutter-x);
  padding-right: max(var(--page-gutter-x), env(safe-area-inset-right, 0));
}

/* Logo izquierda | Comprar derecha (solo 2 ítems en flujo flex) */
.header-logo {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-width: 0;
}

/* Enlaces al centro REAL del viewport (no del espacio entre logo y botón) */
.header-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 28px);
  width: max-content;
  max-width: min(90vw, calc(100vw - 220px));
  pointer-events: auto;
}

.header-cta {
  position: relative;
  z-index: 2;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin-left: auto !important;
  display: inline-flex !important;
}

.logo {
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  text-decoration: none;
  color: var(--ink);
}

/* Nombre de marca en el nav: Square Peg (Google Fonts) — debe ir después de .logo */
.topbar .logo.header-logo {
  font-family: "Square Peg", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2rem, 4.8vw, 2.85rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  text-decoration: none;
  background: linear-gradient(120deg, var(--red), #f28795);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; }
.btn.ghost {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid rgba(62, 47, 43, 0.15);
  box-shadow: none;
}
.btn.full { width: 100%; }

/* ——— Hamburguesa + menú pantalla completa: solo hasta tablet / iPad (ver media abajo) ——— */
.nav-menu-toggle {
  display: none;
  touch-action: manipulation;
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  margin-left: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 1.35vw, 7px);
  width: min(52px, 12vw);
  height: calc(var(--header-bar-h, 76px));
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.nav-menu-toggle:hover {
  background: rgba(62, 47, 43, 0.06);
}

.nav-menu-toggle:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.nav-menu-toggle__bar {
  display: block;
  width: clamp(21px, 5.5vw, 26px);
  height: 2.25px;
  border-radius: 2px;
  background: currentColor;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  padding: 0;
  visibility: hidden;
  pointer-events: none;
}

.nav-drawer--open {
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(62, 47, 43, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.nav-drawer--open .nav-drawer__backdrop {
  opacity: 1;
}

.nav-drawer__panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  padding: calc(env(safe-area-inset-top, 0px) + clamp(3.25rem, 10vw, 4rem))
    var(--page-gutter-x) clamp(2rem, 7vh, 3.5rem);
  text-align: center;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: rgba(255, 253, 246, 0.985);
  color: var(--ink);
  border-radius: 0;
  border: none;
  box-shadow: none;
  max-height: none;
  min-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition:
    opacity 0.26s ease,
    transform 0.32s cubic-bezier(0.33, 1, 0.68, 1);
}

.nav-drawer--open .nav-drawer__panel {
  opacity: 1;
  transform: translateY(0);
}

.nav-drawer__close {
  position: absolute;
  top: max(calc(env(safe-area-inset-top, 0px) + 0.4rem), 0.5rem);
  right: max(calc(env(safe-area-inset-right, 0px) + 0.25rem), 0.5rem);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.nav-drawer__close:hover {
  background: rgba(234, 112, 127, 0.12);
  color: var(--red);
}

.nav-drawer__close:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.nav-drawer__kicker {
  margin: 0 0 clamp(1.35rem, 4vw, 2rem);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-drawer__nav {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(52vh, 420px);
}

.nav-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.45rem, 5vh, 2.35rem);
}

.nav-drawer__list a {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.12rem, 3.65vw, 1.42rem);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-drawer__list a:hover {
  color: var(--red);
}

.nav-drawer__list a:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 6px;
  border-radius: 4px;
}

.nav-drawer__cta {
  flex-shrink: 0;
  margin-top: clamp(2rem, 6vw, 2.75rem);
  margin-bottom: max(env(safe-area-inset-bottom, 0px), 1rem);
  min-width: min(280px, 100%);
}

body.nav-drawer-open {
  overflow: hidden;
  touch-action: none;
}

body.nav-drawer-open .nav-drawer {
  z-index: 230;
}

@media (min-width: 1367px) {
  .nav-menu-toggle {
    display: none !important;
  }

  .nav-drawer {
    display: none !important;
  }
}

@media (max-width: 1366px) {
  /* Menos hueco derecho: ícono hamburguesa pegado al borde (respeta notch) */
  .header-inner {
    padding-right: max(10px, calc(env(safe-area-inset-right, 0px) + 6px));
  }

  .header-nav,
  .header-cta {
    display: none !important;
  }

  .nav-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-inline: 6px 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-drawer__backdrop,
  .nav-drawer__panel {
    transition-duration: 0.01ms;
  }
}

.hero {
  position: relative;
  z-index: 0;
  /* Sube el bloque: la foto llena el hueco bajo el nav sin estirarla */
  margin-top: calc(-1 * var(--header-bar-h));
  padding-top: var(--header-bar-h);
  min-height: calc(100vh + var(--header-bar-h));
  min-height: calc(100dvh + var(--header-bar-h));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

/* Escritorio: mismo PNG que html sólo dentro del hero, pero desplazado hacia arriba (sin mover el fondo global) */
@media (min-width: 1200px) {
  .hero {
    background-color: #fdf6f4;
    isolation: isolate;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #fdf6f4;
    background-image: url("img/Background.png");
    background-repeat: no-repeat;
    background-size: 120vw auto;
    background-position: calc(-1 * clamp(1rem, 5vw, 4.5rem)) calc(-1 * clamp(18px, 4vw, 56px));
    background-origin: border-box;
    pointer-events: none;
  }
}

/* Wrapper para <picture>; el fondo ocupa todo el hero */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Sujetos a la derecha: deja espacio claro a la izquierda para el texto */
  object-position: right center;
}

/*
 * Portátil 1200–1399px: antes translateX corría sólo la foto y dejaban ~14–42px de hero plano (#fdf6f4),
 * perceptible como “blanco” al ras del borde izquierdo. Anclamos a la izquierda y ensanchamos;
 * overflow:hidden del .hero recorta sin franja (misma sensación más a la derecha vía objeto).
 */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero .hero-visual {
    transform: none;
    inset: auto;
    left: calc(-1 * clamp(14px, 3vw, 42px));
    right: 0;
    top: 0;
    bottom: 0;
    width: auto;
    height: 100%;
  }
}

/* Misma caja horizontal que el header (márgenes simétricos) */
.hero > .container {
  margin-left: var(--page-gutter-x);
  margin-right: var(--page-gutter-x);
  width: min(1120px, calc(100% - 2 * var(--page-gutter-x)));
  max-width: 100%;
  box-sizing: border-box;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

/* Solo el titular: ancho como antes, independiente del bloque p + boton */
.hero-heading {
  max-width: min(640px, 100%);
}

.hero-content h1,
.hero-content .kicker,
.hero-content .hero-sub,
.hero-content .hero-actions {
  text-align: left;
}

/* Tipografía del hero más grande (solo esta sección) */
.hero-content .kicker {
  margin-bottom: 12px;
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.hero-content h1 {
  font-size: clamp(2.85rem, 7.5vw, 5.85rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero-content h1 .hero-title-main {
  font-family: "Schoolbell", cursive;
  font-weight: 400;
  font-style: normal;
  color: #705653;
  font-size: calc(100% - 2px);
  line-height: .9;
}

.hero-title-accent {
  display: block;
  margin-top: 0.08em;
  font-family: "Chiron Hei HK", sans-serif;
  font-optical-sizing: auto;
  font-weight: 650;
  font-style: italic;
  color: #a76579;
  font-size: 0.9em;
  line-height: 1.15;
  white-space: nowrap;
}

.kicker {
  margin-bottom: 8px;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

/* Bloque <p> + boton: texto puede ocupar varias lineas */
.hero-sub-wrap {
  display: block;
  max-width: min(640px, 100%);
  width: 100%;
  margin-top: 4px;
}

.hero-content .hero-sub {
  font-size: clamp(1.17rem, 2vw, 1.20rem);
  line-height: 1.45;
  margin: 0;
  white-space: normal;
  max-width: none;
}

/* Salto tras «tranquilas» sólo ≤768px (hero móvil / fondo celular); otros anchos igual que texto continuo */
.hero-content .hero-sub br.hero-sub__br-mobile {
  display: none;
}

.hero-content .hero-sub br.hero-sub__br-tablet {
  display: none;
}

@media (max-width: 768px) {
  .hero-content .hero-sub br.hero-sub__br-mobile {
    display: inline;
  }

  .hero-content .hero-sub {
    font-size: clamp(0.95rem, 4.2vw, 1.08rem);
    line-height: 1.5;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .hero-content .hero-sub br.hero-sub__br-tablet {
    display: inline;
  }
}

.hero-content .hero-sub-wrap .hero-actions {
  width: 100%;
  margin-top: 20px;
}

.hero-sub { font-size: clamp(0.95rem, 1.75vw, 1.12rem); max-width: 620px; }

.hero-content .btn {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  padding: 16px 30px;
}

/* Botón hero (≥641px más ancho tipo CTA anterior; ≤640px se ajusta abajo en media query) */
.hero-content .hero-sub-wrap .btn {
  width: auto;
  max-width: none;
  align-self: flex-start;
}

@media (min-width: 641px) {
  .hero-content .hero-sub-wrap .btn {
    padding: 17px clamp(38px, 5.5vw, 64px);
    min-width: min(17.5rem, 100%);
  }
}

.checklist { padding-left: 20px; margin: 22px 0 28px; }
.checklist li { margin-bottom: 6px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.cards {
  display: grid;
  gap: 16px;
}

.pastel-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.three { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.modules { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(62, 47, 43, 0.1);
  box-shadow: var(--shadow);
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pink);
  opacity: .6;
}

.lead { color: var(--muted); }
.quote-block { text-align: center; }
.quote {
  font-size: clamp(1rem, 5vw, 3.9rem);
  margin-bottom: 10px;
  line-height: 1.22;
  color: var(--pink);
}

.quote-text {
  font-size: 22px;
  color: rgb(33, 51, 10);
}

.quote-checks {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  color: #8d6087;
  box-sizing: border-box;
}

.quote-checks li {
  margin: 0;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: clamp(0.94rem, 1.05vw, 1.1rem);
  line-height: 1.45;
}

/* Tablets / escritorio (≥769px): mismo criterio que móvil—párrafo más sobrio,
 * fondo desplazado para que asteriscos no crucen la cita, lista en varias líneas sin recorte */
@media (min-width: 769px) {
  /* Párrafo debajo de la frase grande: más cercano al tamaño móvil, no línea gigante */
  .quote-block .quote-text {
    font-size: clamp(0.9rem, 1.85vw + 0.42rem, 1.06rem);
    line-height: 1.56;
    max-width: 38rem;
    margin-inline: auto;
  }

  .quote-checks {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    column-gap: clamp(0.55rem, 2.2vw, 1.25rem);
    row-gap: clamp(0.65rem, 2vw, 0.95rem);
  }

  .quote-checks li {
    flex: 0 1 auto;
    white-space: normal;
    text-align: center;
    max-width: min(38ch, 100%);
  }
}

/* Tablet y móvil (≤1199px): rejilla 2×2 centrada — la de 3 columnas separaba visualmente la 1ª viñeta (texto corto) */
@media (max-width: 1199px) {
  .quote-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    justify-items: center;
    align-items: start;
    text-align: center;
    column-gap: clamp(0.65rem, 3vw, 1.35rem);
    row-gap: clamp(0.55rem, 2.5vw, 1rem);
    width: min(100%, 32rem);
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 0;
  }

  .quote-checks li {
    justify-self: center;
    white-space: normal;
    text-align: center;
    max-width: min(16rem, 100%);
    font-size: clamp(0.75rem, 2.95vw, 0.94rem);
    line-height: 1.42;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .quote-checks li:nth-child(4) {
    grid-column: auto;
    justify-self: center;
    max-width: min(16rem, 100%);
  }
}

/* Escritorio normal (≥1200px): quote + párrafo + checks un poco más grandes que el tramo ≥769 genérico */
@media (min-width: 1200px) {
  .quote-block .quote {
    font-size: clamp(1.9rem, 3.7vw, 3.9rem);
    line-height: 1.18;
    margin-bottom: clamp(12px, 1.2vw, 18px);
  }

  .quote-block .quote-text {
    font-size: clamp(1.06rem, 1.65vw + 0.52rem, 1.34rem);
    line-height: 1.62;
    max-width: min(43rem, 92%);
    margin-inline: auto;
  }

  .quote-checks {
    margin-top: clamp(2.25rem, 3vw, 2.75rem);
    column-gap: clamp(0.85rem, 2.6vw, 1.85rem);
    row-gap: clamp(0.9rem, 2.3vw, 1.35rem);
  }

  .quote-checks li {
    font-size: clamp(1.06rem, 1.22vw, 1.28rem);
    line-height: 1.52;
    max-width: min(42ch, 100%);
  }
}

/* Solo iPad (táctil): tamaño del titular rosado — la rejilla de checks va en ≤1199 (Safari escritorio usa pointer:fine). */
@media (hover: none) and (pointer: coarse) and (orientation: portrait) and (min-width: 744px),
       (hover: none) and (pointer: coarse) and (orientation: landscape) and (min-width: 1024px) and (max-width: 1366px) and (max-height: 1200px) {
  .quote-block .quote {
    font-size: clamp(0.92rem, 3.95vw, 3.42rem);
    line-height: 1.2;
  }
}

.quote-checks li::before {
  content: "✔ ";
  color: #8d6087;
  font-weight: 700;
}

/* Viñetas de la cita: mismas pills que los chips del hero en cursos SoyEseBebé */
.quote-checks--bubbles li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 0.2em;
  column-gap: 0.28em;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: clamp(8px, 2vw, 10px) clamp(11px, 2.4vw, 15px);
  border-radius: 10px;
  font-weight: 600;
  line-height: 1.38;
  text-align: center;
  hyphens: none;
  box-sizing: border-box;
}

.quote-checks--bubbles li::before {
  color: inherit;
  font-weight: 700;
}

.quote-checks--bubbles li:nth-child(1) {
  background: #fef0e6;
  color: #c45a0c;
}

.quote-checks--bubbles li:nth-child(2) {
  background: #fddcec;
  color: #c4417f;
}

.quote-checks--bubbles li:nth-child(3) {
  background: #e6f7ee;
  color: #2d7a52;
}

.quote-checks--bubbles li:nth-child(4) {
  background: #fddcec;
  color: #c4417f;
}

@media (max-width: 1199px) {
  .quote-checks.quote-checks--bubbles li {
    width: fit-content;
    max-width: min(18rem, 100%);
    margin-inline: auto;
    justify-self: center;
    font-size: clamp(0.8rem, 2.95vw, 0.94rem);
    line-height: 1.38;
  }
}

@media (min-width: 1200px) {
  .quote-checks--bubbles li {
    font-size: clamp(0.9rem, 1.08vw, 1.06rem);
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .quote-checks--bubbles li {
    font-size: clamp(0.92rem, 1.95vw + 0.42rem, 1.06rem);
  }
}

.historia-bg-range {
  background-color: #fdf6f4;
  background-image: url("img/Background pr.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 125% auto;
}

/* ——— Cursos, asesorías y guías ——— */
.cursos-asesorias {
  --cursos-bg: #fdf6f4;
  --cursos-ink: #3a3f4a;
  --cursos-muted: #5c6370;
  --cursos-btn: #8b9fd9;
  --cursos-btn-hover: #7a8ecc;
  font-family: "Manrope", system-ui, sans-serif;
  background-color: var(--cursos-bg);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

/* Dentro del bloque de la cita: sin capa crema para que se vea el fondo */
.historia-bg-range .cursos-asesorias {
  background-color: transparent;
}

@media (min-width: 769px) {
  .historia-bg-range {
    background-position: 64% clamp(8px, 3.25vw, 48px);
    background-size: 116% auto;
  }

  .historia-bg-range .quote-block {
    padding-inline: clamp(0.75rem, 4vw, 2rem);
  }
}

/* “Hola, soy Sharon” + testimonios — img/Background prueba.png */
.bg-range-prueba {
  position: relative;
  z-index: 0;
  /* Sube el bloque del fondo aún más (casi bajo burbujas / mamá) */
  margin-top: calc(clamp(-28rem, -62vw, -14rem) + 48px);
  padding-top: clamp(11rem, 34vw, 28rem);
  background-color: #fdf6f4;
  background-image: url("img/Background prueba.png");
  background-repeat: no-repeat;
  /*
   * margin-top mueve imagen + contenido a la vez: el PNG no “baja” respecto al texto.
   * background-position (eje Y) sí desplaza solo la imagen dentro del bloque.
   */
  --bg-prueba-img-y: clamp(0rem, 1.25vw, 0.75rem);
  background-position: center var(--bg-prueba-img-y);
  /* Imagen completa visible (sin recorte como cover) */
  background-size: contain;
}

.bg-range-prueba .sharon-presentacion {
  background-color: transparent;
}

.bg-range-prueba > .cbc-testimonials {
  padding-top: clamp(0.75rem, 2.5vw, 1.75rem);
  /* Más específico que .cbc-testimonials (más abajo en el CSS) para que no tape el PNG */
  background-color: transparent;
}

@media (min-width: 1024px) {
  .bg-range-prueba {
    padding-top: clamp(9rem, 29vw, 23rem);
    --bg-prueba-img-y: calc(clamp(4.75rem, 11.5vw, 12.75rem) - clamp(0.45rem, 1.05vw, 0.95rem) - clamp(1.1rem, 2.35vw, 1.85rem));
    background-size: min(152%, 100vw) auto;
  }

  section.mama-florece.section {
    padding-bottom: 68px;
  }
}

.cursos-asesorias__inner {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.cursos-asesorias__title {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  text-align: center;
  color: var(--cursos-ink);
  margin: 0 auto 2rem;
  letter-spacing: -0.02em;
}

.cursos-asesorias__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
  align-items: stretch;
}

.cursos-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(58, 63, 74, 0.08);
  border: 1px solid rgba(58, 63, 74, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cursos-card__visual {
  position: relative;
  margin: 0;
}

.cursos-card__img {
  width: 100%;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Noches sin batallas en blanco y negro */
.cursos-card--nsb .cursos-card__img {
  filter: grayscale(100%);
}

.cursos-card__body {
  padding: 0.75rem 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  gap: 0.35rem;
}

.cursos-card__kicker {
  margin: 0;
  font-size: 0.72rem;
  color: var(--cursos-muted);
  line-height: 1.35;
}

.cursos-card__heading {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 700;
  color: var(--cursos-ink);
  margin: 0;
  line-height: 1.25;
}

.cursos-card__text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--cursos-muted);
  flex: 1;
}

.btn-cursos-detalle {
  margin-top: 0.4rem;
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 10px;
  background: var(--cursos-btn);
  color: var(--white);
  text-decoration: none;
  box-shadow: none;
}

.btn-cursos-detalle:hover {
  background: var(--cursos-btn-hover);
  transform: translateY(-1px);
}

.btn-cursos-detalle.is-disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
  background: #9e9e9e;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .cursos-asesorias__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .cursos-asesorias__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Burbujas / blobs (pilares, solo texto) ——— */
.cursos-blobs.section {
  padding-top: 0;
  padding-bottom: 0;
}

.cursos-blobs__band {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background: rgb(219, 197, 197);
  padding: clamp(2rem, 5vw, 3.25rem) var(--page-gutter-x) clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cursos-blobs__wrap {
  max-width: 1040px;
  margin: 0 auto;
}

.cursos-blobs__heading {
  /* Misma familia que el párrafo .quote (“Tu bebé no duerme mal…”): body / Manrope */
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.82rem, 2.35vw, 1.75rem);
  font-weight: 500;
  line-height: 1.22;
  color: var(--ink);
  text-align: center;
  margin: 0 auto 0.65rem;
  letter-spacing: 0.02em;
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .cursos-blobs__heading {
    white-space: normal;
    max-width: min(100%, 22rem);
  }
}

.cursos-blobs__lede {
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.95rem, 1.65vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
  margin: 0 auto clamp(1.35rem, 3.5vw, 2rem);
  max-width: min(52ch, 100%);
}

.cursos-blobs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2.5vw, 1.75rem);
  align-items: center;
  justify-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cursos-blobs__grid > li {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.cursos-blob {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(260px, 100%);
  aspect-ratio: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cursos-blob__body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: clamp(0.85rem, 2.2vw, 1.25rem);
  box-shadow:
    0 18px 42px rgba(15, 30, 60, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.22);
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .cursos-blob:hover {
    transform: translateY(-12px) scale(1.04);
  }

  .cursos-blob:hover .cursos-blob__body {
    box-shadow:
      0 26px 50px rgba(15, 30, 60, 0.42),
      inset 0 2px 0 rgba(255, 255, 255, 0.28);
  }
}

.cursos-blob--coral .cursos-blob__body {
  background: rgb(218, 151, 96);
  color: #fff;
  border-radius: 58% 42% 62% 38% / 46% 54% 42% 58%;
}

.cursos-blob--amarillo .cursos-blob__body {
  background: rgb(224, 220, 151);
  color: #3e2f2b;
  border-radius: 42% 58% 48% 52% / 58% 42% 55% 45%;
}

.cursos-blob--menta .cursos-blob__body {
  background: rgb(114, 126, 104);
  color: #fff;
  border-radius: 52% 48% 38% 62% / 44% 56% 48% 52%;
}

.cursos-blob--rosa .cursos-blob__body {
  background: rgb(154, 136, 167);
  color: #fff;
  border-radius: 48% 52% 58% 42% / 52% 48% 44% 56%;
}

.cursos-blob__title {
  font-family: "Schoolbell", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.05rem, 2.35vw, 1.35rem);
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: center;
  line-height: 1.3;
  max-width: 15rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.cursos-blob--amarillo .cursos-blob__title {
  color: #3e2f2b;
  text-shadow: none;
}

@media (max-width: 820px) {
  .cursos-blobs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cursos-blob {
    max-width: min(280px, 94%);
  }
}

@media (max-width: 380px) {
  .cursos-blobs__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursos-blob,
  .cursos-blob__body {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) and (hover: hover) {
  .cursos-blob:hover {
    transform: none;
  }

  .cursos-blob:hover .cursos-blob__body {
    box-shadow:
      0 18px 42px rgba(15, 30, 60, 0.35),
      inset 0 2px 0 rgba(255, 255, 255, 0.22);
  }
}

/* Por encima de testimonios cuando el margin negativo superpone capas */
section.mama-florece {
  position: relative;
  z-index: 2;
  text-align: left;
  background-color: #fdf6f4;
}

/* Mamá-florece — copy izquierda, listas derecha (tipo split) */
.mama-florece__split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: start;
}

.mama-florece__copy {
  text-align: left;
}

.mama-florece__copy h2,
#mama-florece-titulo {
  font-family: "Chiron Hei HK", sans-serif;
  font-optical-sizing: auto;
  font-weight: 650;
  font-style: italic;
  font-size: clamp(1.65rem, 4.25vw, 2.65rem);
  line-height: 1.25;
  color: #a76579;
  text-align: left;
  margin: 0 0 1rem;
}

.mama-florece__lede {
  margin: 0 0 1.35rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: left;
}

.mama-florece__actions {
  text-align: left;
}

.mama-florece__lists {
  min-width: 0;
}

.mama-florece__points {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--ink);
  text-align: left;
}

.mama-florece__points li {
  margin-bottom: 0.7rem;
  line-height: 1.55;
}

.mama-florece__points li:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
}

.frame-card {
  margin: 0;
  border-radius: 28px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(246,173,200,0.38), rgba(185,222,246,0.28)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.66) 0 12px, rgba(255,255,255,0) 12px 24px);
  box-shadow: var(--shadow);
}

.frame-card img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.results { padding-left: 20px; font-size: 1.05rem; }
.results li { margin-bottom: 8px; }

.offer {
  background:
    linear-gradient(145deg, rgba(247, 180, 123, 0.18), rgba(186, 167, 234, 0.15), rgba(184, 221, 195, 0.15));
  border-top: 2px dashed rgba(62, 47, 43, 0.12);
  border-bottom: 2px dashed rgba(62, 47, 43, 0.12);
}

.section.social-follow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(5.75rem, 14vw, 11.5rem);
}

.social-follow__blobs {
  position: absolute;
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  border-radius: 50%;
  background: rgba(234, 112, 127, 0.12);
  filter: blur(48px);
  pointer-events: none;
  top: -12%;
  left: -8%;
  z-index: 0;
}

.social-follow__blobs--br {
  top: auto;
  left: auto;
  bottom: -10%;
  right: -6%;
  background: rgba(184, 221, 195, 0.2);
}

.social-follow__inner {
  position: relative;
  z-index: 1;
}

.social-follow__grid {
  display: grid;
  gap: clamp(2.35rem, 5.5vw, 4rem);
  align-items: start;
}

@media (min-width: 1024px) {
  .social-follow__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(2.75rem, 3.5vw, 4rem);
  }

  .social-follow__col--left {
    grid-column: span 4;
  }

  .social-follow__col--right {
    grid-column: span 8;
  }
}

.social-follow__eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b34969;
  margin: 0 0 0.75rem;
}

.social-follow__title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 1.15rem;
}

.social-follow__title-accent {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 500;
  color: #b34969;
}

.social-follow__lede {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1rem, 1.55vw, 1.12rem);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.4rem;
  max-width: 38rem;
}

.social-follow__lede a {
  color: #b34969;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.social-follow__lede a:hover {
  color: #9a3d5c;
}

.social-follow__feed-note {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 0.65rem;
  max-width: 42rem;
}

.social-follow__feed-note--tiktok {
  margin-top: 0.35rem;
}

.social-follow__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid rgba(179, 73, 105, 0.35);
  background: rgba(255, 255, 255, 0.65);
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.social-follow__pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ea707f;
  flex-shrink: 0;
}

.social-follow__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  margin: 0 0 1.75rem;
}

.social-follow__stat dd {
  margin: 0;
}

.social-follow__stat-num {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.9rem, 4.25vw, 2.55rem);
  font-weight: 700;
  color: #b34969;
  line-height: 1.1;
}

.social-follow__stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}

.social-follow__cta.btn {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.social-follow__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.75vw, 1.6rem);
}

.social-follow__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.65rem 0 0.5rem;
}

.social-ig-hero {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.95rem;
  border: 1px solid rgba(62, 47, 43, 0.1);
  box-shadow: var(--shadow);
  min-height: 12.5rem;
  text-decoration: none;
  color: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

@media (min-width: 768px) {
  .social-ig-hero {
    min-height: 13.5rem;
  }
}

.social-ig-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(62, 47, 43, 0.14);
  border-color: rgba(234, 112, 127, 0.45);
}

.social-ig-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: grayscale(1);
  transition: filter 0.45s ease, transform 0.45s ease;
}

/* Foto de perfil/lifestyle: que se vea entera a la derecha; texto a la izquierda */
.social-ig-hero--photo {
  background-color: #252022;
}

.social-ig-hero--photo .social-ig-hero__img {
  object-fit: contain;
  object-position: right center;
  filter: none;
}

.social-ig-hero--photo .social-ig-hero__gradient {
  background: linear-gradient(
    90deg,
    rgba(18, 14, 16, 0.94) 0%,
    rgba(18, 14, 16, 0.72) 32%,
    rgba(18, 14, 16, 0.35) 48%,
    transparent 62%
  );
}

.social-ig-hero:hover .social-ig-hero__img {
  filter: grayscale(0);
  transform: scale(1.02);
}

.social-ig-hero--photo:hover .social-ig-hero__img {
  filter: none;
  transform: none;
}

.social-ig-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18, 14, 16, 0.78) 0%,
    rgba(18, 14, 16, 0.38) 42%,
    transparent 78%
  );
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.social-ig-hero:not(.social-ig-hero--photo):hover .social-ig-hero__gradient {
  opacity: 0;
}

.social-ig-hero--photo:hover .social-ig-hero__gradient {
  opacity: 0.95;
}

.social-ig-hero__bar {
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 2px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 1px;
  pointer-events: none;
}

.social-ig-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1.4rem 1.35rem 1.4rem 2.1rem;
  max-width: 24rem;
  min-height: 12.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .social-ig-hero__content {
    min-height: 13.5rem;
  }
}

.social-ig-hero__kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.social-ig-hero__headline {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.social-ig-hero__handle {
  font-weight: 600;
  opacity: 0.95;
}

.social-ig-hero__desc {
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.92;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.social-ig-hero__link {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.social-ig-hero__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.social-ig-hero:hover .social-ig-hero__arrow {
  transform: translateX(5px);
}

.social-ig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-ig-grid__link {
  display: block;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(62, 47, 43, 0.08);
  transition: transform 0.25s ease;
}

.social-ig-grid__link:hover {
  transform: scale(1.03);
}

.social-ig-grid__link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
 /* vertical-align: middle; */
}

.social-tt-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem 1.1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(62, 47, 43, 0.1);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.social-tt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(62, 47, 43, 0.12);
  border-color: rgba(234, 112, 127, 0.35);
}

.social-tt-card__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(234, 112, 127, 0.06), rgba(186, 167, 234, 0.08));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.social-tt-card:hover .social-tt-card__wash {
  opacity: 1;
}

.social-tt-card__logo {
  width: 3.25rem;
  height: 3.25rem;
  color: rgba(62, 47, 43, 0.07);
  flex-shrink: 0;
  align-self: center;
}

.social-tt-card__main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.social-tt-card__title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.social-tt-card__handle {
  font-weight: 600;
  color: var(--muted);
}

.social-tt-card__desc {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

.social-tt-card__aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.social-tt-card__followers {
  display: none;
  text-align: right;
  font-size: 0.78rem;
  color: var(--muted);
}

.social-tt-card__followers strong {
  display: block;
  font-size: 1.15rem;
  color: #b34969;
}

.social-tt-card__followers strong.social-tt-card__followers-num {
  display: block;
  font-size: 1.35rem;
  color: var(--muted);
  font-weight: 700;
}

@media (min-width: 768px) {
  .social-tt-card__followers {
    display: block;
  }
}

.social-tt-card__ext {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(62, 47, 43, 0.12);
  color: var(--ink);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.35s ease;
}

.social-tt-card:hover .social-tt-card__ext {
  background: #ea707f;
  color: #fff;
  transform: rotate(12deg);
}

.social-tt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-tt-grid__link {
  position: relative;
  display: block;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(62, 47, 43, 0.08);
  max-height: 224px;
  transition: transform 0.25s ease;
}

.social-tt-grid__link:hover {
  transform: scale(1.02);
}

.social-tt-grid__link img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 224px;
  object-fit: cover;
  aspect-ratio: 9 / 16;
}

.social-tt-grid__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(234, 112, 127, 0.92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.social-tt-grid__play::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #fff;
}

.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;
}

@media (max-width: 640px) {
  .social-tt-card {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .social-tt-card__logo {
    grid-row: 1 / -1;
  }

  .social-tt-card__main {
    grid-column: 1;
  }

  .social-tt-card__aside {
    grid-column: 2;
    grid-row: 1 / -1;
    flex-direction: column;
    justify-content: center;
  }
}

.price {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  margin: 10px 0 20px;
}

.pay-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tiny { min-height: 24px; color: var(--muted); }

.account label {
  display: block;
  margin: 12px 0 4px;
  font-weight: 700;
}

.account input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(62,47,43,.2);
  font: inherit;
}

.private {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(185,222,246,0.22);
  display: grid;
  gap: 6px;
}

.hidden { display: none; }

.faq details {
  border: 1px solid rgba(62,47,43,.12);
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary { font-weight: 700; cursor: pointer; }

/* ——— Pie de página (inicio) ——— */
.site-footer {
  padding: 0;
  margin: 0;
}

.site-footer__range {
  border-top: 2px solid rgba(62, 47, 43, 0.1);
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.98), rgba(255, 250, 240, 0.92));
  box-shadow: 0 -8px 36px rgba(62, 47, 43, 0.05);
}

.site-footer .container.site-footer__inner {
  width: min(1120px, 92%);
  padding-block: clamp(48px, 8vw, 72px);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 12px;
}

.site-footer__logo-wrap {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  overflow: hidden;
  border: 3px solid rgba(246, 173, 200, 0.45);
  box-shadow: var(--shadow);
}

.site-footer__logo-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.site-footer .site-footer__logo-text.logo {
  font-family: "Square Peg", cursive;
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.site-footer__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.site-footer__heading {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer__list a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.site-footer__list a:hover {
  color: var(--red);
}

.site-footer__mid {
  margin-top: clamp(32px, 5vw, 44px);
  padding-top: 24px;
  border-top: 1px solid rgba(62, 47, 43, 0.08);
}

.site-footer__legal {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer__bottom {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer__mini {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.site-footer__mini a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8125rem;
}

.site-footer__mini a:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__cols {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .split, .two-cols, .mama-florece__split { grid-template-columns: 1fr; }
  .hero {
    min-height: calc(100vh + var(--header-bar-h));
    min-height: calc(100dvh + var(--header-bar-h));
    padding-top: max(72px, var(--header-bar-h));
  }
}

/*
 * Tablet / portátil estrecho (769–1199px, arte base ~1000×892): hero con
 * img/background hero tablet.png; sin «Foto Principal» encima (evita familia duplicada).
 * ≥1200: html Background.png + foto como antes; ≤768: sin este bloque.
 */
@media (min-width: 769px) and (max-width: 1199px) {
  html {
    background-image: none;
    background-color: #fdf6f4;
  }

  .hero {
    min-height: calc(100vh + var(--header-bar-h));
    min-height: calc(100dvh + var(--header-bar-h));
    background-color: #fdf6f4;
    background-image: url("img/background hero tablet.png");
    background-repeat: no-repeat;
    /* Hero tablet: PNG al máximo hacia la derecha */
    background-position:
      right calc(-1 * clamp(16px, 3.5vw, 48px));
    background-size: cover;
  }

  .hero-visual {
    display: none;
  }
}

/* ≤768px: imagen hero `fondo celular.png` (retrato, familia abajo); texto sobre zona clara arriba */
@media (max-width: 768px) {
  .hero-image {
    object-position: 78% bottom;
  }

  .hero {
    min-height: calc(100vh + var(--header-bar-h));
    min-height: calc(100dvh + var(--header-bar-h));
  }
}

@media (max-width: 900px) {
  .hero-sub-wrap {
    max-width: 100%;
  }
}

/* ——— Sección “La realidad” (video + lista) ——— */
section.realidad-section.section {
  --realidad-bg: #f9f7f4;
  --realidad-ink: #2f2824;
  --realidad-muted: #7a706a;
  --realidad-accent: #c9a09a;
  --realidad-frame: #f5f1ed;
  --realidad-border: rgba(47, 40, 36, 0.08);
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--realidad-ink);
  background-color: var(--realidad-bg);
  background-image: url("img/Background 2da.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(1rem, 3vh, 2.35rem);
}

.realidad-inner {
  width: min(1120px, calc(100% - 2 * clamp(1.1rem, 4vw, 2.5rem)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
}

.realidad-media {
  position: relative;
}

.realidad-video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  max-height: min(68vh, 560px);
  margin-inline: auto;
  background: var(--realidad-frame);
  border-radius: clamp(18px, 2.5vw, 26px);
  border: 1px solid var(--realidad-border);
  box-shadow: 0 10px 36px rgba(47, 40, 36, 0.06);
  overflow: hidden;
}

.realidad-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.realidad-copy {
  padding-top: 0.25rem;
}

.realidad-eyebrow {
  margin: 0 0 0.48rem;
  font-size: calc(0.68rem + 2px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--realidad-accent);
}

.realidad-eyebrow + .realidad-lede {
  font-size: clamp(0.9rem, 2.15vw, 1.02rem);
  line-height: 1.5;
  margin: 0 0 clamp(0.55rem, 1.5vw, 0.92rem);
}

.realidad-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 2.85vw, 2.05rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(0.45rem, 1vw, 0.65rem);
  color: var(--realidad-ink);
  max-width: 22ch;
}

.realidad-lede {
  margin: 0 0 clamp(1.5rem, 2.8vw, 2.25rem);
  font-size: clamp(1.2rem, 0.96vw, 0.875rem);
  line-height: 1.55;
  color: var(--realidad-muted);
  font-weight: 400;
}

.realidad-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.35vw, 0.92rem);
}

.realidad-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem clamp(0.65rem, 2vw, 1rem);
  align-items: start;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.realidad-item:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.realidad-item__num {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.75vw, 1.35rem);
  font-weight: 300;
  line-height: 1;
  padding-top: 0.12em;
  color: var(--realidad-accent);
  letter-spacing: 0.04em;
}

.realidad-item__body {
  min-width: 0;
}

.realidad-item__title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(0.92rem, 1.35vw + 0.42rem, 1.06rem);
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 0.22rem;
  color: var(--realidad-ink);
}

.realidad-item__desc {
  margin: 0;
  font-size: clamp(0.82rem, 1.15vw + 0.52rem, 0.93rem);
  line-height: 1.46;
  color: var(--realidad-muted);
  font-weight: 400;
}

.realidad-item__desc + .realidad-item__desc {
  margin-top: calc((1.46 - 1) * 1em);
}

@media (prefers-reduced-motion: reduce) {
  .realidad-item {
    transition: none;
  }

  .realidad-item:hover {
    transform: none;
    opacity: 1;
  }
}

@media (min-width: 1200px) {
  .realidad-inner {
    align-items: stretch;
  }

  .realidad-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .realidad-video-frame {
    flex-shrink: 0;
    max-height: min(82vh, 620px);
  }
}

/*
 * Tablet y móvil (≤1199px): columna única, texto arriba; video ~80% del viewport (ancho 80vw, alto máx. 80vh).
 */
@media (max-width: 1199px) {
  section.realidad-section.section {
    background-image: none;
  }

  .realidad-inner {
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 5vw, 2.5rem);
  }

  .realidad-copy {
    order: -1;
  }

  .realidad-title {
    max-width: none;
  }

  .realidad-media {
    width: 80vw;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .realidad-video-frame {
    width: 100%;
    max-height: 80vh;
    border-radius: clamp(14px, 3.5vw, 22px);
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  /* Cita “Tu bebe no duerme mal…”: fondo exclusivo móvil (img/background web cel.png) */
  .historia-bg-range {
    background-image: none;
  }

  .historia-bg-range .quote-block {
    background-image: url("img/background web cel.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }

  /* Cita rosada más grande; párrafo siguiente más chico (solo ≤768px) */
  .quote-block .quote {
    font-size: clamp(1.35rem, 7.25vw, 2.05rem);
    line-height: 1.2;
  }

  .quote-block .quote-text {
    font-size: clamp(0.9rem, 3.6vw, 1rem);
    line-height: 1.55;
  }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .header-cta {
    width: auto !important;
    max-width: none !important;
  }
  /* Celular: botón un poco más largo que la versión mínima */
  .hero-content .hero-sub-wrap .btn {
    width: auto;
    max-width: min(62%, 20rem);
    align-self: flex-start;
    padding: 16px clamp(18px, 5vw, 28px);
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    min-width: 0;
  }
  main section:not(.hero) .btn,
  main section:not(.hero) button.btn {
    width: 100%;
    max-width: 100%;
  }
  .hero-actions { width: 100%; }
}

/* ——— Testimonios (paleta Sharon: crema + rosa / coral) ——— */
.cbc-testimonials {
  --cbc-accent: var(--red);
  --cbc-accent-soft: var(--pink);
  --cbc-bg: #fdf6f4;
  --cbc-card: var(--white);
  --cbc-text: var(--muted);
  --cbc-text-bright: #4a3d38;
  position: relative;
  overflow: hidden;
  background-color: var(--cbc-bg);
  padding: 80px 0;
  color: var(--cbc-text);
}

.cbc-testimonials__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.cbc-testimonials__glow--tr {
  top: -8%;
  right: -5%;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  background: radial-gradient(
    circle,
    rgba(246, 173, 200, 0.35) 0%,
    rgba(246, 173, 200, 0.08) 45%,
    transparent 70%
  );
}

.cbc-testimonials__glow--bl {
  bottom: -8%;
  left: -5%;
  width: min(480px, 60vw);
  height: min(480px, 60vw);
  background: radial-gradient(
    circle,
    rgba(234, 112, 127, 0.22) 0%,
    rgba(234, 112, 127, 0.06) 45%,
    transparent 70%
  );
}

/*
 * 769–1023px (tablets / portátiles estrechos, 2 cols de testimonios):
 * mismo enfoque que móvil: margen saneado (::before puente + PNGs cel enlazados)
 * para que no tape mamá-florece ni se «rompa» el trazo como con «prueba» a contain.
 * Escritorio ≥1024 intacto (Background prueba.png); ≤768 sólo las reglas móviles de más abajo.
 */
@media (max-width: 1023px) and (min-width: 769px) {
  .bg-range-prueba {
    position: relative;
    margin-top: clamp(0.75rem, 3vw, 1.75rem);
    padding-top: clamp(1rem, 4.25vw, 2rem);
    background-color: #fdf6f4;
    background-image: none;
  }

  /* Puente mamá-florece → zona testimonios (misma pieza que móvil, escala tablet) */
  .bg-range-prueba::before {
    display: none;
  }

  .bg-range-prueba::after {
    display: none;
  }

  .cbc-testimonials__glow {
    display: none;
  }

  .bg-range-prueba > .cbc-testimonials {
    padding-top: clamp(1.25rem, 4.5vw, 2.75rem);
    background-color: #fdf6f4;
    background-image: none;
  }

  .bg-range-prueba .cbc-testimonials .cbc-testimonials__header {
    margin-bottom: clamp(2.25rem, 5vw, 3rem);
  }

  .bg-range-prueba .sharon-presentacion {
    position: relative;
    background-color: #fdf6f4;
    background-image: url("img/background cel soy sharon.png");
    background-repeat: no-repeat;
    background-position: left calc(-1 * clamp(2rem, 10vw, 5.75rem) - 132px);
    background-size: min(112%, 100vw) auto;
  }

  /* Mismo asterisco verde del Background.png, colocado sobre el bloque Sharon (solo tablet) */
  .bg-range-prueba .sharon-presentacion::before {
    content: "";
    position: absolute;
    left: clamp(1.1rem, 3.2vw, 2rem);
    top: clamp(-2.1rem, -3.4vw, -1.35rem);
    width: clamp(1.55rem, 3.6vw, 2.35rem);
    height: clamp(1.55rem, 3.6vw, 2.35rem);
    background-image: url("img/Background.png");
    background-repeat: no-repeat;
    background-size: clamp(70rem, 165vw, 100rem) auto;
    background-position: clamp(11rem, 26vw, 18rem) clamp(20rem, 46vw, 30rem);
    pointer-events: none;
    z-index: 0;
  }

  section.mama-florece.section {
    padding-bottom: clamp(2.5rem, 9vw, 4.25rem);
  }

  .mama-florece__lists {
    margin-top: clamp(1.25rem, 4vw, 2rem);
  }
}

/* ≤768px: testimonios → img/background clientes cel.png; «Hola, soy Sharon» → fondo celular propio (solo móvil) */
@media (max-width: 768px) {
  .bg-range-prueba {
    background-color: #fdf6f4;
    background-image: none;
    --bg-prueba-img-y: clamp(0rem, 1.25vw, 0.75rem);
    /* Margen/padding acotados: el margen negativo de escritorio pegaba testimonios a la sección anterior */
    margin-top: clamp(1rem, 3.5vw, 2rem);
    padding-top: clamp(1.5rem, 5vw, 2.75rem);
  }

  /* Entre mamá-florece y testimonios: trazo superior (PNG); margen inferior negativo leve para unir con clientes cel */
  .bg-range-prueba::before {
    content: "";
    display: block;
    width: clamp(3.25rem, 13vw, 4.125rem);
    height: clamp(3.25rem, 13vw, 4.125rem);
    margin: 0 0 clamp(-10px, -1.25vw, -3px) var(--page-gutter-x);
    background: url("img/background web cel.png") no-repeat 0 0 / 460% auto;
    pointer-events: none;
  }

  .cbc-testimonials__glow {
    display: none;
  }

  .bg-range-prueba .sharon-presentacion {
    position: relative;
    background-color: #fdf6f4;
    background-image: url("img/background cel soy sharon.png");
    background-repeat: no-repeat;
    /* Sube el PNG (asterisco más arriba respecto al bloque de texto) */
    background-position: left calc(-1 * clamp(3.25rem, 22vw, 11rem) - 5px);
    background-size: 100% auto;
  }

  /* Aire entre viñetas y «Lo que Dicen…»; lista separada del CTA como en columna ancha */
  section.mama-florece.section {
    padding-bottom: clamp(3rem, 11vw, 5rem);
  }

  .mama-florece__lists {
    margin-top: clamp(1.35rem, 4.5vw, 2.25rem);
  }

  .mama-florece__points li {
    margin-bottom: clamp(0.75rem, 2.5vw, 1rem);
  }

  .bg-range-prueba > .cbc-testimonials {
    padding-top: clamp(1.75rem, 6vw, 3rem);
    background-color: #fdf6f4;
    background-image: url("img/background clientes cel.png");
    background-repeat: no-repeat;
    /* Fleco PNG alineado al trazo del ::before (compensa padding-top extra) */
    background-position: center calc(-1 * clamp(2.1rem, 10vw, 6.25rem) + 8px);
    background-size: 100% auto;
  }

  /* Testimonios: título más grande (rosa un poco más), lede más chico, más aire entre ambos */
  .cbc-testimonials__title {
    font-size: clamp(2.35rem, 7.5vw, 3rem);
    line-height: 1.12;
    margin-bottom: clamp(1.2rem, 4.25vw, 1.75rem);
  }

  .cbc-testimonials__title-gold {
    font-size: 1.12em;
  }

  .cbc-testimonials__lede {
    font-size: clamp(0.78rem, 3.35vw, 0.9rem);
    line-height: 1.55;
  }
}

.cbc-testimonials__inner {
  position: relative;
  z-index: 1;
  width: min(1520px, 96%);
  margin: 0 auto;
  padding: 0 var(--page-gutter-x);
}

.cbc-testimonials__header {
  max-width: 48rem;
  margin: 0 auto 64px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

/* Móvil: flecos del PNG alineados al borde superior de la 1.ª tarjeta (cascada después del header global) */
@media (max-width: 768px) {
  .bg-range-prueba .cbc-testimonials .cbc-testimonials__header {
    margin-bottom: clamp(2rem, 6.5vw, 3.25rem);
  }
}

@media (max-width: 640px) {
  .bg-range-prueba > .cbc-testimonials {
    padding-top: clamp(1.25rem, 4.25vw, 2.1rem);
    background-position: center calc(-1 * clamp(1.35rem, 8.25vw, 4.2rem) + 16px);
  }

  .bg-range-prueba .cbc-testimonials .cbc-testimonials__header {
    margin-bottom: clamp(1.65rem, 6vw, 2.85rem);
  }
}

@media (max-width: 480px) {
  .bg-range-prueba > .cbc-testimonials {
    padding-top: clamp(1.05rem, 3.65vw, 1.85rem);
    background-position: center calc(-1 * clamp(0.85rem, 7.25vw, 3.45rem) + 24px);
  }

  .bg-range-prueba .cbc-testimonials .cbc-testimonials__header {
    margin-bottom: clamp(1.4rem, 5.5vw, 2.5rem);
  }
}

@media (max-width: 400px) {
  .bg-range-prueba > .cbc-testimonials {
    background-position: center calc(-1 * clamp(0.6rem, 6.75vw, 2.9rem) + 30px);
  }

  .bg-range-prueba .cbc-testimonials .cbc-testimonials__header {
    margin-bottom: clamp(1.25rem, 5vw, 2.25rem);
  }
}

@media (max-width: 360px) {
  .bg-range-prueba > .cbc-testimonials {
    background-position: center calc(-1 * clamp(0.5rem, 6.25vw, 2.65rem) + 34px);
  }

  .bg-range-prueba .cbc-testimonials .cbc-testimonials__header {
    margin-bottom: clamp(1.1rem, 4.5vw, 2rem);
  }
}

.cbc-testimonials.is-inview .cbc-testimonials__header {
  opacity: 1;
  transform: translateY(0);
}

.cbc-testimonials__title {
  font-family: "Schoolbell", cursive;
  font-size: clamp(2.25rem, 5.75vw, 2.875rem);
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--ink);
}

.cbc-testimonials__title-line {
  color: var(--ink);
}

.cbc-testimonials__title-gold {
  color: var(--cbc-accent-soft);
}

.cbc-testimonials__lede {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
}

.cbc-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .cbc-testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Solo tablet (2 columnas + 3ª tarjeta sola): tercer testimonio a ancho completo y alto hasta cerrar el bloque */
@media (min-width: 768px) and (max-width: 1023px) {
  .cbc-testimonials__grid {
    align-items: stretch;
  }

  .cbc-testimonials__grid > .cbc-card:nth-child(3) {
    grid-column: 1 / -1;
    min-height: clamp(300px, 46vh, 560px);
  }

  .cbc-testimonials__grid > .cbc-card:nth-child(3) .cbc-card__quote {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .cbc-testimonials__grid > .cbc-card:nth-child(3) .cbc-card__footer {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .cbc-testimonials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.cbc-card {
  --cbc-i: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  /* Forma muy horizontal: mucho ancho útil, poco “alto” de relleno */
  padding: 20px 48px 22px;
  min-height: 0;
  background: var(--cbc-card);
  border-radius: 15px;
  border: 1px solid rgba(62, 47, 43, 0.12);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 600ms cubic-bezier(0.33, 1, 0.68, 1),
    transform 600ms cubic-bezier(0.33, 1, 0.68, 1),
    border-color 500ms ease,
    box-shadow 500ms ease,
    scale 500ms ease;
  transition-delay: calc(var(--cbc-i) * 200ms);
}

.cbc-testimonials.is-inview .cbc-card {
  opacity: 1;
  transform: translateY(0);
}

.cbc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(246, 173, 200, 0.2) 0%, transparent 52%);
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
  z-index: 0;
}

.cbc-card:hover::before {
  opacity: 1;
}

.cbc-card:hover {
  border-color: rgba(234, 112, 127, 0.45);
  transform: translateY(0) scale(1.05);
  box-shadow:
    0 20px 40px rgba(234, 112, 127, 0.12),
    0 12px 28px rgba(69, 49, 41, 0.1);
}

.cbc-card > * {
  position: relative;
  z-index: 1;
}

.cbc-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.cbc-card__stars {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cbc-card__quote-icon {
  flex-shrink: 0;
  color: var(--cbc-accent-soft);
  opacity: 0.55;
}

.cbc-card__quote {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}

.cbc-card__quote p {
  margin: 0;
  font-style: italic;
  line-height: 1.75;
  color: var(--muted);
  transition: color 500ms ease;
}

.cbc-card:hover .cbc-card__quote p {
  color: var(--cbc-text-bright);
}

.cbc-card__rule {
  width: min(140px, 50%);
  height: 2px;
  margin-bottom: 1.1rem;
  background: linear-gradient(90deg, var(--cbc-accent), rgba(246, 173, 200, 0.2));
  border-radius: 2px;
}

.cbc-card__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.cbc-card__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(145deg, var(--pink), #f28795);
}

.cbc-card__meta {
  min-width: 0;
}

.cbc-card__name {
  margin: 0 0 0.2rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 500ms ease;
}

.cbc-card:hover .cbc-card__name {
  color: #b34969;
}

.cbc-card__project {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(234, 112, 127, 0.88);
}

@media (prefers-reduced-motion: reduce) {
  .cbc-testimonials__header,
  .cbc-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cbc-card {
    transition-delay: 0ms !important;
  }

  .cbc-card:hover {
    transform: none;
  }
}

/* Páginas de detalle de cursos */
.curso-detalle {
  padding-bottom: 84px;
}

.curso-detalle__hero {
  padding: calc(var(--header-bar-h) + 40px) var(--page-gutter-x) 36px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.curso-detalle__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(186, 167, 234, 0.45);
  color: var(--ink);
  margin-bottom: 1rem;
}

.curso-detalle__title {
  margin-bottom: 1rem;
}

.curso-detalle__lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.curso-detalle__content {
  padding-top: 8px;
}

.curso-detalle__content h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.curso-detalle__content h2:first-of-type {
  margin-top: 0;
}

.curso-detalle__content p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.curso-detalle__content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.curso-detalle__content li {
  margin-bottom: 0.45rem;
}

.curso-detalle__content > p a {
  color: #8b6a8a;
  font-weight: 600;
  text-decoration: none;
}

.curso-detalle__content > p a:hover {
  text-decoration: underline;
}

.curso-detalle__figure {
  margin: 2rem auto 0;
  max-width: 880px;
  width: min(880px, 92%);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.curso-detalle__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.curso-detalle__cta {
  margin-top: 2.5rem;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  text-align: center;
}

.curso-detalle__cta p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.curso-detalle__cta .btn {
  margin-top: 0.25rem;
}
