/* ==========================================================================
   FUERZA MATERNA — SISTEMA DE DISEÑO GLOBAL (style.css)
   ========================================================================== */

/* --- TOKENS DE DISEÑO (:root) --- */
:root {
  /* Paleta de Colores Oficial (DESIGN_SYSTEM.md) */
  --terracota: #A85B43;
  --marron: #542916;
  --mostaza: #EAB364;
  --durazno: #F2DAB8;
  --durazno-soft: rgba(242, 218, 184, 0.38);
  --salvia: rgba(164, 202, 188, 0.76);
  --salvia-light: rgba(205, 244, 229, 0.76);
  --menta: #CDF4E5;             /* fondo tarjeta El nido (Figma) */
  --crema: #FFF4E9;
  --blanco-calido: #FEFAF0;
  --rojo-eyebrow: #B2473E;
  --rosa-polvo: #E5CFC5;
  --texto-oscuro: #404040;
  --negro: #070707;
  --blanco: #ffffff;

  /* Aliases para compatibilidad */
  --color-primary: var(--terracota);
  --color-primary-dark: var(--marron);
  --color-accent: var(--rojo-eyebrow);
  --color-bg-cream: var(--blanco-calido);
  --color-bg-cream-alt: var(--crema);

  /* Familias Tipográficas */
  --font-heading: 'Playfair Display', Georgia, serif;                 /* h1–h4, citas */
  --font-body: 'Ysabeau', 'Optima', 'Candara', 'Gill Sans', sans-serif;  /* párrafos (Ysabeau = Google Fonts, sustituto de Optima) */
  --font-nav: 'Poppins', sans-serif;                                   /* nav, botones, eyebrows, labels */
  --font-footer: 'Outfit', sans-serif;                                 /* títulos de columna del footer */

  /* Escala tipográfica (Figma: h1 56 / h2 45 / h3 35 / h4 24 / lead 24 / body 18 / small 16 / xs 14) */
  --fs-h1: 3.5rem;
  --fs-h2: 3.5rem;        /* Figma: todos los títulos de sección van en 56px */
  --fs-h3: 2.1875rem;
  --fs-h3-lg: 2.8125rem;  /* 45px: títulos de las tarjetas de servicios */
  --fs-h4: 1.5rem;
  --fs-quote: 2rem;
  --fs-body-lg: 1.5rem;   /* .lead */
  --fs-body-md: 1.5rem;     /* p por defecto (Figma: Optima 24 / 112%) */
  --fs-body-sm: 1.125rem;   /* .text-sm y texto dentro de tarjetas (Figma: 18) */
  --fs-body-xs: 0.875rem;   /* .text-xs (legales, footer) */
  --fs-eyebrow: 1.125rem;
  --fs-btn: 1rem;
  --fs-btn-sm: 0.875rem;

  /* Espaciados y Radio */
  --radius-pill: 63.75rem;
  --radius-lg: 1.875rem;
  --radius-md: 1.5rem;
  --radius-sm: 1rem;
  --max-width: 90rem;
  --container-pad: 7.5rem;  /* Figma: columna de contenido desde x=120 */
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Escala fluida: el diseño de Figma es de 1440px. Hasta ese ancho 1rem = 16px; en pantallas
     más anchas todo el sitio (tipografía, espacios, contenedor) crece en proporción, con tope 24px
     (equivale a 2160px de ancho). Por eso todo el CSS está en rem y solo las media queries usan px. */
  font-size: clamp(16px, 1.1111vw, 24px);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--blanco-calido);
  color: var(--negro);
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  line-height: 1.12;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, p, blockquote, figure {
  margin: 0;
}

/* ==========================================================================
   TIPOGRAFÍA SEMÁNTICA
   Regla: la etiqueta (h1/h2/h3/h4) la decide la jerarquía del documento, nunca
   el tamaño visual. Si un título necesita verse más grande o más chico que su
   nivel, se agrega un modificador .title-xl / .title-lg / .title-md / .title-sm.
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--marron);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 400; line-height: 1.05; }   /* Figma: 56 / 56–59 */
h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.1; }    /* Figma: 56 Medium / 61 (en la home, Regular) */
h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.0; }    /* Figma: 35 Medium / 35 */
h4 { font-size: var(--fs-h4); font-weight: 500; line-height: 1.2; }

/* Modificadores de tamaño (cuando lo visual no coincide con el nivel) */
.title-xl { font-size: var(--fs-h1); font-weight: 400; line-height: 1.1; }
.title-lg { font-size: var(--fs-h2); font-weight: 400; line-height: 1.1; }
.title-md { font-size: var(--fs-h3); font-weight: 500; line-height: 1.0; }
.title-sm { font-size: var(--fs-h4); font-weight: 500; line-height: 1.2; }

/* Palabra destacada dentro de un título o cita: itálica terracota.
   Solo aplica dentro de encabezados y citas; un <em> en párrafo es itálica normal. */
h1 em, h2 em, h3 em, h4 em, .quote em {
  font-style: italic;
  font-weight: inherit;
  color: var(--terracota);
}

/* Párrafos */
p {
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  line-height: 1.12;
}

.lead {
  font-size: var(--fs-body-lg);
  line-height: 1.12;
}

.text-sm { font-size: var(--fs-body-sm); line-height: 1.12; }
.text-xs { font-size: var(--fs-body-xs); }

strong, b { font-weight: 700; }

/* Bloque de texto corrido: separa párrafos */
.prose > * + * { margin-top: 1.25rem; }

/* Enlaces dentro de texto corrido (nav, footer y botones tienen su propia regla) */
p a, .prose a, .text-link {
  color: var(--marron);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.1875rem;
  transition: color 0.2s ease;
}

p a:hover, .prose a:hover, .text-link:hover {
  color: var(--terracota);
}

/* Citas */
.quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-quote);
  line-height: 1.25;
  color: var(--terracota);
}

.quote cite {
  font-style: italic;
  font-weight: 400;
}

/* Foco visible para teclado */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--terracota);
  outline-offset: 0.1875rem;
}

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

input, textarea {
  font-family: inherit;
}

/* ==========================================================================
   UTILIDADES & COMPONENTES REUTILIZABLES
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Eyebrow: etiqueta corta en mayúsculas sobre un título (MIS SERVICIOS, CONTACTO…).
   Se marca como <p class="eyebrow">; NO es un encabezado. */
.eyebrow {
  font-family: var(--font-nav);
  font-size: var(--fs-eyebrow);
  font-weight: 400;              /* Figma: Poppins Regular 18 */
  line-height: 1;
  text-transform: uppercase;
  color: var(--rojo-eyebrow);
  display: block;
  margin-bottom: 1.75rem;        /* Figma: 29px entre eyebrow y título */
}

.eyebrow--light {
  color: var(--blanco);
}

/* Encabezado de sección: eyebrow + título + lead */
.section-head { max-width: 50rem; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 1.5rem; }

/* ==========================================================================
   BOTONES
   Regla: <a class="btn …"> cuando navega (tiene href); <button class="btn …">
   solo para acciones (enviar formulario, abrir menú).
   Variantes: .btn-primary (relleno terracota) · .btn-secondary (relleno durazno)
   · .btn-outline (borde marrón). Tamaños: .btn-sm · .btn-lg · .btn-block.
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-nav);
  font-size: var(--fs-btn);
  font-weight: 500;
  line-height: 1.0625;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-primary {
  background: var(--terracota);
  color: var(--blanco);
}

.btn-primary:hover {
  background: var(--marron);
}

.btn-secondary {
  background: rgba(168, 91, 67, 0.25);      /* Figma: terracota al 25% */
  border: 1px solid var(--terracota);
  color: var(--marron);
}

.btn-secondary:hover {
  background: rgba(168, 91, 67, 0.4);
}

.btn-group { gap: 1.5625rem; }                /* Figma: 25px entre botones */

.btn-outline {
  background: transparent;
  border: 1px solid var(--marron);
  color: var(--marron);
}

.btn-outline:hover {
  background: var(--marron);
  color: var(--blanco);
}

.btn-sm { padding: 0.5625rem 1.25rem; font-size: var(--fs-btn-sm); line-height: 1; }  /* Figma: 109×32 */
.btn-lg { padding: 1rem 2.25rem; }
.btn-block { width: 100%; }

/* Grupo de botones (hero, cierre de página) */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-group--center { justify-content: center; }

/* Recortes Orgánicos de Imágenes (.hero-photo-round, .hero-photo-leaf) */
.hero-photo-round {
  border-radius: 2.5rem 2.5rem 2.5rem 12.5rem;
  overflow: hidden;
}

.hero-photo-leaf {
  border-radius: 1.25rem 3.125rem 1.25rem 7.0625rem;
  overflow: hidden;
}

/* Formas de recorte de fotos (aproximación a las máscaras de Figma) */
.photo-arch    { border-radius: 62.4375rem 62.4375rem 1.5rem 1.5rem; overflow: hidden; }  /* arco: arriba redondo */
.photo-leaf    { border-radius: 13.75rem 1.5rem 13.75rem 1.5rem; overflow: hidden; }   /* hoja: sup-izq + inf-der */
.photo-leaf-r  { border-radius: 1.5rem 13.75rem 1.5rem 13.75rem; overflow: hidden; }   /* hoja invertida */
.photo-arch--home { border-radius: 50% 50% 0.9375rem 0.9375rem / 32.3% 32.3% 0.9375rem 0.9375rem; overflow: hidden; } /* arco del hero home (Figma: cúpula 158 de 30.5625rem, base 0.9375rem) */
.photo-leaf--sm   { border-radius: 1.25rem 3.125rem 1.25rem 7.0625rem; overflow: hidden; }  /* foto secundaria del hero home (Figma: 20/50/20/113) */
/* Formas de las fotos de portada de las páginas interiores (radios exactos de Figma) */
.photo-dome    { border-radius: 24.125rem 24.125rem 0 0; overflow: hidden; }              /* 386/386/0/0   — El nido */
.photo-dome-r  { border-radius: 24.125rem 24.125rem 6.5625rem 0; overflow: hidden; }      /* 386/386/105/0 — Bitácora */
.photo-pebble  { border-radius: 0 24.125rem 0 15.4375rem; overflow: hidden; }             /* 0/386/0/247   — El refugio */
.photo-pill-l  { border-radius: 8.375rem 0 0 8.375rem; overflow: hidden; }                /* 134/0/0/134   — Maternidades, Psicoterapia */
.photo-arch--about { border-radius: 50% 50% 0.9375rem 0.9375rem / 34.2% 34.2% 0.9375rem 0.9375rem; overflow: hidden; } /* arco 480×599 (Sobre mí) */
.photo-round-l { border-radius: 13.75rem 1.5rem 1.5rem 13.75rem; overflow: hidden; }   /* lado izquierdo redondo */
.photo-round-r { border-radius: 1.5rem 13.75rem 13.75rem 1.5rem; overflow: hidden; }   /* lado derecho redondo */
.photo-oval    { border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; overflow: hidden; }
[class*="photo-"] img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   HEADER / NAVBAR COMPARTIDO
   ========================================================================== */
.site-header {
  background: var(--terracota);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 0.25rem 1.25rem rgba(0,0,0,0.08);
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--container-pad) 0 6.8125rem;   /* Figma: logo en x=109, botón termina en x=1297 */
  min-height: 7.0625rem;                         /* 113px */
}

.navbar__logo img {
  height: 5.875rem;   /* 94px */
  width: auto;
  object-fit: contain;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar__menu li { display: contents; }

.navbar__link {
  font-family: var(--font-nav);
  font-size: var(--fs-btn);
  font-weight: 400;
  line-height: 1.75;
  color: var(--blanco);
  position: relative;
  padding: 0.375rem 0;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--durazno);
  transition: width 0.3s ease;
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar__actions {
  display: flex;
  align-items: center;
}

.navbar__cta {
  padding: 0.75rem 1.9375rem;   /* Figma: 139×41 */
  text-transform: uppercase;
  background: var(--durazno);
  border: none;
  color: var(--terracota);
}
.navbar__cta:hover { background: var(--rosa-polvo); }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 0.3125rem;
  width: 2rem;
  height: 1.75rem;
  justify-content: center;
  align-items: center;
  z-index: 1100;
  cursor: pointer;
}

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 0.1562rem;
  background: var(--blanco);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.4688rem) rotate(45deg);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.4688rem) rotate(-45deg);
}

/* ==========================================================================
   SECTION 1 — HERO / PORTADA
   ========================================================================== */
.hero {
  background: var(--blanco-calido);
  padding: 0;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 40.3125rem 1fr;   /* Figma: columna de texto de 645px */
  align-items: center;
  gap: 2.25rem;
  min-height: var(--hero-h, 49.8125rem);    /* Figma home: 797px; cada página fija la suya */
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero--bitacora { --hero-h: 51.9375rem; }      /* 831 */
.hero--nido { --hero-h: 53.8125rem; }          /* 861 */
.hero--refugio { --hero-h: 59.1875rem; }       /* 947 */
.hero--maternidades, .hero--psicoterapia { --hero-h: 50.875rem; } /* 814 */

.hero__title {
  color: var(--marron);
  line-height: 1;            /* Figma home: 56/56 */
}

.hero__text {
  margin-top: 2.375rem;        /* Figma: 38px bajo el título */
  color: var(--texto-oscuro);
  max-width: 35.5rem;          /* 568px */
}

.hero__text strong {
  color: var(--negro);
}

.hero__cta {
  margin-top: 1.1875rem;       /* Figma: 19px bajo el texto */
}

.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 30rem;
}

.hero--media-left .hero__content { order: 2; }
.hero--media-left .hero__media { order: 1; }

.hero__media-main {
  width: 78%;
  box-shadow: 0 1.25rem 2.5rem rgba(84, 41, 22, 0.15);
}

.hero__media-main--full { width: 31.1875rem; max-width: 100%; aspect-ratio: 499 / 604; }  /* Figma: 499×604 */
.hero__media-main--bitacora { width: 30.3125rem; aspect-ratio: 485 / 604; }
.hero__media-main--nido { width: 30rem; aspect-ratio: 480 / 604; }
.hero__media-main--refugio { width: 29.5625rem; aspect-ratio: 473 / 594; }
.hero--media-left .container { grid-template-columns: 1fr 40.3125rem; }
.hero--media-left .hero__media { justify-content: flex-start; }
.hero__media-main--full img { height: 100%; }

.hero__meta { margin-top: 1.25rem; font-weight: 700; }

.hero__media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media-secondary {
  position: absolute;
  left: -0.625rem;
  bottom: -0.625rem;
  width: 48%;
  box-shadow: 0 1.25rem 2.5rem rgba(84, 41, 22, 0.2);
}

.hero__media-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero de la home: dos fotos superpuestas con las medidas del grupo Foto1 de Figma (503×577) */
.hero__media--duo {
  display: block;
  width: 100%;
  max-width: 31.4375rem;
  aspect-ratio: 503 / 577;
  margin-left: auto;
  min-height: 0;
}

.hero__media--duo .hero__media-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 77.3%;            /* 389 / 503 */
  aspect-ratio: 389 / 489;
  box-shadow: none;
}

.hero__media--duo .hero__media-secondary {
  left: 0;
  bottom: 0;
  width: 44.9%;            /* 226 / 503 */
  aspect-ratio: 226 / 245;
  box-shadow: none;
}

.hero__media--duo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   SECTION 2 — MOMENTOS / ETIQUETAS
   ========================================================================== */
.moments {
  background: var(--durazno-soft);
  padding: 5.375rem 0 3.8125rem;    /* Figma: sección de 575px */
}

.moments__heading {
  text-align: center;
  max-width: 56.25rem;
  margin: 0 auto;
}
.moments__title { line-height: 1; }        /* Figma: 56/56 */

.moments__subtitle {
  margin-top: 2.8125rem;                     /* Figma: 45px */
}

.moments__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5625rem;        /* Figma: filas cada 71px (chip 59 + 12), 25px entre chips */
  max-width: 58.125rem;           /* Figma: los chips ocupan 930px y se reparten en 3 filas */
  margin: 4.5rem auto 0;          /* Figma: chips a 1223 - (1097 + 54) */
}

.moments__tag {
  border: 1px solid var(--terracota);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;        /* Figma: chip de 59px de alto, texto 24/30 */
  line-height: 1.25;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-body-lg);
  color: var(--marron);
  background-color: transparent;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.moments__tag:hover {
  background: rgba(168, 91, 67, 0.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION 3 — SERVICIOS (Formas en que puedo acompañarte)
   ========================================================================== */
.services {
  background: var(--blanco-calido);
  padding: 7.4375rem 0 6.75rem;     /* Figma: 856px, eyebrow a 119px */
}
.services .container { padding-left: 6rem; }   /* Figma: eyebrow en x=96 */

/* Figma: intro a la izquierda, 2 tarjetas a la derecha */
.services__layout {
  display: grid;
  grid-template-columns: 22.125rem 1fr;   /* Figma: intro 354px, tarjetas desde x=536 */
  gap: 5.375rem;
  align-items: start;
}

.services__intro {
  max-width: 26.25rem;
}

.services__text {
  margin-top: 1.6875rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 23.9375rem);   /* 383px */
  gap: 2.25rem;
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 13.5rem 2.3125rem 2.6875rem;   /* Figma: título a 216px del borde superior */
  min-height: 39.3125rem;                 /* 629px */
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1rem 2rem rgba(84, 41, 22, 0.1);
}

.service-card--online {
  background: var(--mostaza);
}

.service-card--presencial {
  background: var(--salvia);
}

.service-card__divider {
  border: none;
  border-top: 1px solid rgba(84, 41, 22, 0.35);
  margin: 3.75rem 0 1.875rem;
  width: 100%;
}

.service-card__title {
  color: var(--marron);
  font-size: var(--fs-h3-lg);   /* Figma: 45px / 49 */
  line-height: 1.08;
}

.service-card__text {
  margin-top: 2.875rem;   /* Figma: 46px bajo el título */
  color: var(--marron);
  flex-grow: 1;
  font-size: var(--fs-body-sm);  /* Figma: 18px dentro de tarjetas */
}
.service-card__text p { font-size: inherit; }

.service-card__text > * + * { margin-top: 1rem; }

.service-card__cta {
  margin-top: 1.75rem;
  align-self: flex-start;
}

/* ==========================================================================
   SECTION 4 — TALLERES (Espacios colectivos)
   ========================================================================== */
.workshops {
  background: var(--terracota);
  padding: 4.3125rem 0 5.8125rem;   /* Figma: 1106px, eyebrow a 69px */
  color: var(--blanco);
}

.workshops__head {
  text-align: center;
  max-width: 50rem;
  margin: 0 auto;
}
.workshops__head .eyebrow { margin-bottom: 1.9375rem; }

.workshops__title {
  color: var(--blanco-calido);
  font-weight: 400;
}

.workshops__title em {
  color: var(--durazno);
}

.workshops__subtitle {
  margin-top: 2.8125rem;
  color: var(--blanco);
}

.workshops__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.875rem;                    /* Figma: 46px entre tarjetas */
  margin-top: 4.375rem;
  margin-inline: -4.6875rem -4.25rem;   /* Figma: las tarjetas van de x=45 a x=1388 */
}

.workshop-card {
  border-radius: var(--radius-md);   /* 1.5rem, igual que Figma */
  padding: 0 1.5rem 1.875rem;
  min-height: 37.5rem;                 /* tarjeta de Figma: 301 × 600 */
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--marron);
  transition: transform 0.2s ease;
}

.workshop-card:hover {
  transform: translateY(-0.25rem);
}

.workshop-card--tan {
  background: var(--durazno);
}

.workshop-card--mint {
  background: var(--menta);
}

.workshop-card--blush {
  background: var(--rosa-polvo);
}

/* Ícono decorativo blanco, esquina superior derecha (Figma: 2.1875rem arriba, ~1.875rem derecha, ~5.3125rem de ancho) */
.workshop-card__icon {
  position: absolute;
  top: 2.1875rem;
  right: 1.875rem;
  width: 5.5rem;
  margin: 0;
}

.workshop-card__icon img {
  display: block;
  width: 100%;
  height: auto;
}

/* Cabecera: el título se apoya sobre la línea divisoria, que en Figma está a 15.5rem del borde superior */
.workshop-card__head {
  min-height: 15.5rem;
  display: flex;
  align-items: flex-end;
  padding: 6.25rem 1.5rem 1.0625rem 0;    /* deja libre la zona del ícono (35 + 4.75rem) */
}

.workshop-card__title {
  color: var(--marron);
  margin: 0;
}

.workshop-card__divider {
  border: none;
  border-top: 1.5px solid var(--blanco);
  margin: 0 -1.5rem 1.5rem;              /* la línea cruza la tarjeta de borde a borde */
}

.workshop-card__text {
  color: var(--marron);
  flex-grow: 1;
  font-size: var(--fs-body-sm);  /* Figma: 18px */
}
.workshop-card__text p { font-size: inherit; }

.workshop-card__cta {
  margin-top: 1.5rem;
  align-self: flex-start;
}

/* ==========================================================================
   SECTION 5 — SOBRE MÍ
   ========================================================================== */
.about {
  background: var(--crema);
  padding: 8.3125rem 0 8.6875rem;   /* Figma: 1126px, eyebrow a 133px */
  min-height: 70.375rem;
}

.about__heading {
  margin-bottom: 1.75rem;           /* Figma: 28px entre título y bio */
  max-width: 37.5rem;
}

.about__grid {
  display: grid;
  grid-template-columns: 33rem 35.5rem;   /* Figma: 528 | 568 */
  gap: 9.3125rem;                          /* 149px */
  align-items: start;
}

.about__media {
  position: relative;
}

.about__media img {
  width: 30rem;              /* Figma: 480 de ancho, 500 visibles */
  max-width: 100%;
  aspect-ratio: 480 / 500;
  object-fit: cover;
}
.about .container { padding-left: 4.8125rem; }   /* Figma: foto y cita desde x=77 */

.about__quote {
  font-style: italic;
  color: var(--terracota);
  font-size: 2.5rem;         /* Figma: Playfair Medium Italic 40 / 106% */
  line-height: 1.06;
  margin-top: 3rem;
}

.about__bio {
  margin-top: 1.75rem;
  color: var(--texto-oscuro);
}

.about__heading + .about__bio { margin-top: 0; } /* en la home el bloque de título ya trae margen */
.about__content .eyebrow + .about__title + .text-card { margin-top: 1.75rem; }

.about__bio strong, .about__bio b {
  color: var(--negro);
}

/* ==========================================================================
   SECTION 6 — CONTACTO
   ========================================================================== */
.contact {
  background: var(--blanco-calido);
  padding: 9.25rem 0 13.125rem;     /* Figma: 1141px, eyebrow a 148px */
}

.contact__grid {
  display: grid;
  grid-template-columns: 30.4375rem 39.3125rem;   /* Figma: 487 | 629 */
  gap: 8.4375rem;                                   /* 135px */
}
.contact .container { padding-left: 5.75rem; }      /* Figma: eyebrow en x=92 */

.contact__text {
  margin-top: 2.375rem;
  max-width: 30rem;
}

.contact__actions {
  margin-top: 2.375rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;                 /* Figma: 20px entre acciones */
}

.contact-action {
  background: var(--durazno);
  border-radius: var(--radius-sm);
  min-height: 4.9375rem;        /* Figma: 489×79 */
  padding: 0.75rem 2.625rem;
  display: flex;
  align-items: center;
  gap: 1.125rem;
  transition: transform 0.2s ease;
}

.contact-action:hover {
  transform: translateX(0.25rem);
}

.contact-action--whatsapp {
  background: #A4CABC;              /* Figma: salvia sólida */
}

.contact-action--instagram {
  background: #FFEEDD;              /* Figma */
}

.contact-action__icon {
  width: 2.625rem;
  height: 2.625rem;
  flex-shrink: 0;
}

.contact-action__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-action__arrow {
  width: 1.75rem;
  height: 1.75rem;
  margin-left: auto;
  flex-shrink: 0;
  color: var(--marron);
}

.contact-action--durazno { background: var(--durazno); }

.bitacora-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bitacora-col .quote { font-size: 2.5rem; padding: 2rem 2.5rem; }

.contact-action__title {
  font-family: var(--font-body);
  font-weight: 400;                 /* Figma: Optima Regular 24 */
  font-size: 1.5rem;
  line-height: 1.08;
  color: var(--negro);
}

.contact-action__subtitle {
  font-family: var(--font-body);
  font-size: 1.17rem;               /* Figma: 18.7 */
  line-height: 1.1;
  color: var(--negro);
}

.contact-form__title {
  margin-top: 3.5625rem;            /* Figma: título del formulario a 205px del borde de sección */
  margin-bottom: 3.5rem;            /* Figma: primer campo a 355px, título a 205px */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;                      /* Figma: campos cada 83px (59 + 24) */
}

.contact-form__field {
  border: 1px solid var(--marron);
  padding: 1rem 1.25rem;
  background: transparent;
  color: var(--marron);
  font-family: var(--font-nav);
  font-size: 1rem;
  width: 100%;
  outline: none;
  border-radius: 0.25rem;
  transition: border-color 0.2s ease;
}

.contact-form__field:focus {
  border-color: var(--terracota);
  box-shadow: 0 0 0 2px rgba(168, 91, 67, 0.2);
}

.contact-form__field::placeholder {
  color: var(--marron);
  opacity: 0.8;
}

textarea.contact-form__field {
  min-height: 6.25rem;
  resize: vertical;
}

.contact-form .btn { padding: 1.0625rem 1rem; font-size: 0.875rem; font-weight: 400; border-radius: 1.875rem; }  /* Figma: 629×48, Poppins 14 */

/* ==========================================================================
   FOOTER COMPARTIDO
   ========================================================================== */
.site-footer {
  background: var(--terracota);
  padding: 3.5625rem 0 2.75rem;   /* Figma: tagline a 57px del borde superior */
  color: var(--blanco);
}

.site-footer .container { padding: 0 4rem; }   /* Figma: contenido del footer desde x=64 */

.footer__top {
  display: grid;
  grid-template-columns: 19.5rem 1fr 13rem 9.875rem;   /* Figma: 64→376 | logo centrado en 693 | 1010→1218 | 1218→1376 */
  gap: 0;
  align-items: start;
}

.footer__brand-logo { align-self: center; }

.footer__brand-logo {
  display: flex;
  justify-content: center;
}

.footer__brand-logo img { max-width: 19.875rem; width: 100%; }   /* 318px */

.footer__tagline {
  font-weight: 700;
  font-size: 1.375rem;          /* Optima Bold 22 / 26 */
  line-height: 1.18;
  color: var(--blanco-calido);
  max-width: 19.5rem;
}

.footer__logo {
  margin-top: 1.75rem;
  max-width: 12.5rem;
}

/* Títulos de columna del footer: <h2> (el footer está fuera de <main>), en Outfit */
.footer__heading {
  font-family: var(--font-footer);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 0.92;            /* Figma: 24 / 22 */
  color: var(--durazno);
  margin-bottom: 1.8125rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;                /* Figma: una línea en blanco (22px) entre enlaces */
}

.footer__list a {
  font-family: var(--font-nav);
  font-size: 1.1953rem;         /* Poppins Regular 19.13 */
  line-height: 1.15;
  color: var(--blanco);
  transition: color 0.2s ease;
}

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

.footer__social {
  display: flex;
  gap: 0.8125rem;               /* Figma: 36px + 13px */
  margin-top: 4.1875rem;        /* Figma: íconos a 176px del borde superior */
  list-style: none;
}

.footer__social a {
  display: inline-flex;
  color: var(--blanco);
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer__social a:hover { transform: scale(1.1); color: var(--durazno); }
.footer__social svg { width: 2.25rem; height: 2.25rem; fill: currentColor; } /* Figma: 2.25rem */

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 2.5rem 0 1.75rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-nav);
  font-size: 1rem;              /* Figma: Poppins Medium 16 */
  font-weight: 500;
  line-height: 1.625;
  color: var(--blanco-calido);
}

.footer__bottom p { font-family: inherit; font-size: inherit; }

.footer__bottom-links {
  display: flex;
  gap: 2.25rem;
}

.footer__bottom-links a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   COMPONENTES DE PÁGINAS INTERIORES (talleres / psicoterapia)
   Documentados en DESIGN_SYSTEM.md: .split, .quote-block, .highlight-block,
   .info-list, .detalles / .detalle-card
   ========================================================================== */

/* Sección genérica con fondo de color */
.section { padding: 5.9375rem 0; }
.section--crema { background: var(--crema); }
.section--durazno-soft { background: var(--durazno-soft); }
.section--salvia { background: rgba(164, 202, 188, 0.51); }   /* Figma: #A4CABC al 51% */
.section--rosa { background: var(--rosa-polvo); }
.section--terracota { background: var(--terracota); color: var(--blanco); }
.section--terracota h2, .section--terracota h3 { color: var(--blanco-calido); }
.section--terracota h2 em { color: var(--durazno); }

/* .split — texto + imagen alternados */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
  align-items: center;
}

.split--reverse .split__media { order: -1; }

.split__media img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 1rem 2.25rem rgba(84, 41, 22, 0.15);
}

.split__content > * + * { margin-top: 1.5rem; }

/* Tarjeta de texto con fondo (para .split o bloques sueltos) */
.text-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--marron);
}

.text-card--durazno { background: var(--durazno); }
.text-card--salvia  { background: var(--salvia-light); }
.text-card--rosa    { background: var(--rosa-polvo); }
.text-card--crema   { background: var(--crema); }
.text-card--mostaza { background: var(--mostaza); }
.text-card > * + * { margin-top: 1rem; }
.text-card--narrow { max-width: 56.25rem; margin-left: auto; margin-right: auto; }

/* Imagen al pie de una service-card */
.service-card__figure { margin-top: auto; padding-top: 1.5rem; }
.service-card__figure img { border-radius: var(--radius-sm); height: 11.25rem; width: 100%; object-fit: cover; }

/* .quote-block — cita centrada, opcionalmente con ícono */
.quote-block {
  text-align: center;
  max-width: 51.25rem;
  margin: 0 auto;
}

.quote-block__icon {
  width: 3rem;
  height: auto;
  margin: 0 auto 1.5rem;
}

.quote-block .quote { color: var(--marron); }
.quote-block .lead { margin-top: 1.75rem; }

/* .highlight-block — pregunta + tarjeta de respuesta */
.highlight-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

/* .info-list — 2 a 4 puntos con fondo de color */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  border-radius: var(--radius-sm);
  padding: 1.125rem 1.5rem;
  color: var(--marron);
}

.info-item--durazno { background: var(--durazno); }
.info-item--salvia  { background: var(--salvia-light); }
.info-item--rosa    { background: var(--rosa-polvo); }
.info-item--mostaza { background: var(--mostaza); }

/* .detalles — tarjetas "Duración / Dirigido a / Propósito" */
.detalles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.detalle-card {
  border-radius: var(--radius-md);
  padding: 2rem;
  color: var(--marron);
}

.detalle-card--durazno { background: var(--durazno); }
.detalle-card--salvia  { background: var(--salvia-light); }
.detalle-card--rosa    { background: var(--rosa-polvo); }
.detalle-card--mostaza { background: var(--mostaza); }

.detalle-card h3 { margin-bottom: 0.75rem; }

/* Cierre de página: título + CTA centrados */
.closing {
  text-align: center;
  max-width: 47.5rem;
  margin: 0 auto;
}

.closing .lead { margin-top: 1.5rem; }
.closing .btn-group { margin-top: 2.25rem; }

/* Imagen destacada centrada */
.feature-image {
  max-width: 45rem;
  margin: 2rem auto 0;
}

.feature-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

/* Lista de viñetas dentro de texto corrido */
.bullet-list {
  list-style: disc;
  padding-left: 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-body-md);
  line-height: 1.4;
}

/* Utilidades */
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.text-center { text-align: center; }


/* ==========================================================================
   COMPONENTES FIGMA (interiores)
   ========================================================================== */

/* Tarjeta con festón (arcos) en la parte superior — servicios home y bitácora */
.card-scallop {
  position: relative;
  padding-top: 8.125rem;
  overflow: hidden;
}

.card-scallop::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 7.5rem;
  background: url("Images-fuerza_materna/Elementos/Elementos-cards..png") top center / 100% auto no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.card-scallop > * { position: relative; }

/* Tréboles decorativos a los lados (nido detalles, refugio cierre) */
.section--clovers { position: relative; overflow: hidden; }
.section--clovers::before, .section--clovers::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10.625rem;
  height: 21.25rem;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.9;
}
.section--clovers::before { left: 0; background-image: url("Images-fuerza_materna/Elementos/Mask group-1.png"); }
.section--clovers::after  { right: 0; background-image: url("Images-fuerza_materna/Elementos/Mask group.png"); }
.section--clovers .container { position: relative; z-index: 1; }

/* Ícono de fuego centrado sobre un bloque */
.flame {
  display: block;
  width: 6rem;
  height: auto;
  margin: 0 auto 2rem;
}

.flame--sm { width: 3.5rem; margin-bottom: 1.25rem; }

/* Bloque de frases (psicoterapia): tarjeta de citas + nota lateral + párrafo */
.frases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.frases__card p { font-weight: 700; }
.frases__note p { font-style: italic; text-align: center; }
.frases__text {
  max-width: 56.25rem;
  margin: 3.5rem auto 0;
  text-align: center;
}

/* Cita centrada con texto de apoyo (refugio, maternidades) */
.quote-block .quote { font-size: 3.5rem; font-weight: 500; line-height: 1.1; }   /* Figma: Playfair Medium Italic 56 / 62 */
.quote-block__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  margin: 3rem 0;
}

/* Sección de dos bloques lado a lado con fondo (bitácora: refugio + llamado) */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
  align-items: center;
}

.duo__card { text-align: center; padding: 3rem 2.5rem; }
.duo__side { text-align: center; }
.duo h2 { color: var(--marron); }
.duo p { margin-top: 1.25rem; }

/* Imagen que "sangra" hacia el borde izquierdo con fondo mostaza (bitácora) */
.bleed-left {
  position: relative;
  margin-left: calc(-1 * var(--container-pad));
}

.bleed-left::before {
  content: '';
  position: absolute;
  inset: -2.5rem 2.5rem -2.5rem 0;
  background: var(--mostaza);
  border-radius: 0 18.75rem 18.75rem 0;
  z-index: 0;
}

.bleed-left img { position: relative; z-index: 1; width: 100%; }

/* Tarjetas de detalle apiladas y centradas (nido) */
.detalles--stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 38.75rem;
  margin: 2.5rem auto 0;
  text-align: center;
}

.detalles--stack .detalle-card { padding: 1.5rem 2rem; }

/* Tarjeta blanca-crema */
.text-card--blanco { background: var(--blanco-calido); }
.info-item--blanco { background: var(--blanco-calido); }

/* Sección con fondo gris muy claro (nido §2) */
.section--gris { background: #F9F5F1; }   /* Figma */

/* Título de sección alineado a la derecha del grid */
.split__content--pad { padding-inline: 1.5rem; }

/* ==========================================================================
   RESPONSIVE - TABLET (64rem)
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --container-pad: 2.5rem;
  }

  .navbar {
    padding: 1rem var(--container-pad);
  }

  .navbar__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--terracota);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.15);
  }

  .navbar__menu.is-open {
    max-height: 25rem;
    padding: 1rem 0;
  }

  .navbar__link {
    display: block;
    width: 100%;
    padding: 0.875rem var(--container-pad);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__actions {
    display: none;
  }

  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero__media {
    order: -1;
    margin-bottom: 1.875rem;
    min-height: 23.75rem;
  }

  :root {
    --fs-h1: 2.625rem;
  }

  .split, .highlight-block, .frases, .duo {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero--media-left .hero__content { order: 0; }
  .hero--media-left .hero__media { order: -1; }
  .section--clovers::before, .section--clovers::after { display: none; }
  .bleed-left { margin-left: 0; }
  .bleed-left::before { display: none; }
  .quote-block .quote { font-size: 2.5rem; }

  .split--reverse .split__media { order: 0; }

  .moments__tag {
    font-size: 1.25rem;
    padding: 0.75rem 1.25rem;
  }

  .services__layout {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .workshops__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workshop-card {
    min-height: auto;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__media {
    max-width: 22.5rem;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__tagline, .footer__logo {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   RESPONSIVE - MOBILE (48rem)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --container-pad: 1.5rem;
    --fs-h1: 2.25rem;
    --fs-h2: 2rem;
    --fs-h3: 1.625rem;
    --fs-h4: 1.375rem;
    --fs-quote: 1.5rem;
    --fs-body-lg: 1.1875rem;
    --fs-body-md: 1rem;
  }

  .navbar {
    padding: 0.75rem var(--container-pad);
    min-height: 5rem;
  }

  .navbar__logo img {
    height: 3.125rem;
  }

  .hero {
    padding: 3.125rem 0;
  }

  .hero__media-main {
    width: 90%;
  }

  .hero__media-secondary {
    width: 55%;
  }

  .hero__media--duo {
    max-width: 22.5rem;
    margin: 0 auto;
    min-height: 0;
  }

  .hero__media--duo .hero__media-main { width: 77.3%; }
  .hero__media--duo .hero__media-secondary { width: 44.9%; }
  .photo-leaf--sm { border-radius: 0.875rem 2.25rem 0.875rem 5rem; }

  .hero__cta .btn {
    width: 100%;
  }

  .moments {
    padding: 3.4375rem 0;
  }

  .moments__tags {
    gap: 0.625rem;
  }

  .moments__tag {
    font-size: 1rem;
    padding: 0.625rem 1rem;
  }

  .services {
    padding: 3.4375rem 0;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .workshops {
    padding: 3.4375rem 0;
  }

  .workshops__grid {
    grid-template-columns: 1fr;
  }

  .about {
    padding: 3.4375rem 0;
  }

  .section { padding: 3.4375rem 0; }
  .quote-block .quote { font-size: 1.875rem; }
  .card-scallop { padding-top: 6.25rem; }

  .text-card { padding: 1.75rem 1.375rem; }

  .contact {
    padding: 3.4375rem 0;
  }

  .site-footer {
    padding: 2.5rem 0 1.25rem;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 1.875rem;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .footer__bottom-links {
    gap: 1.25rem;
    flex-wrap: wrap;
  }
}

/* Oculta visualmente pero mantiene accesible (labels de formulario) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* El título de la tarjeta de servicio empieza a 216px del borde superior (Figma) */
.service-card.card-scallop { padding-top: 13.5rem; }

.about__title { line-height: 1; }          /* Figma: 56/56 */
.about__bio p { line-height: 1.19; }        /* Figma: 24 / 119% */
.about__media { margin-top: 4.5rem; }       /* Figma: la foto empieza 72px bajo el eyebrow */

.hero__content { padding-bottom: 1.625rem; }   /* Figma: el bloque de texto del hero queda 13px sobre el centro */

/* ==========================================================================
   BITÁCORA CREATIVA — medidas exactas de Figma (frame 0:684)
   ========================================================================== */
.hero--bitacora .hero__content { padding-top: 6.5rem; }     /* título en y=250 de la sección */
.hero--bitacora .hero__media { padding-top: 3.75rem; }      /* foto en y=143 */

/* Sección "¿De qué trata?": dos tarjetas de 490px (radio 38) desde x=118 con 169px entre ellas */
.bit-trata { padding: 5.25rem 0 4.625rem; }
.bit-trata .container { padding-left: 7.375rem; }
.bit-trata .services__grid { grid-template-columns: 30.625rem 30.625rem; gap: 10.5625rem; align-items: start; }
.bit-trata .card-scallop { border-radius: 2.375rem; padding: 10.3125rem 2.625rem 3rem; }
.bit-trata .card-scallop::before { height: 10.3125rem; }
.bit-trata .card-scallop h2 { font-size: var(--fs-h2); line-height: 1.1; }
.bit-trata .text-card--durazno h2 + .prose { margin-top: 7.1875rem; }   /* Figma: texto en y=1431, título en 1194 */
.bit-trata .text-card--rosa h2 + p { margin-top: 6.3125rem; }           /* Figma: texto en y=1502, título en 1219 */
.bit-trata .text-card--rosa { padding-bottom: 3.5rem; }
.bit-trata .bitacora-col { gap: 2.75rem; }
.bit-trata .bitacora-col .quote {
  font-size: 3rem; line-height: 1.04; font-weight: 500;      /* Playfair Medium Italic 48 / 104% */
  color: var(--marron);
  padding: 1.9375rem 1.25rem; border-radius: 1rem;
  width: 44.1875rem; max-width: none; margin-left: -6.8125rem; /* Figma: 707px desde x=668 */
}

/* Sección "invitación": columna de 748px (texto + tarjeta mostaza) y foto de 429×644 */
.bit-invitacion { padding: 10.75rem 0 10.5rem; }
.bit-invitacion .container { padding-left: 5.5625rem; }
.bit-invitacion .split { grid-template-columns: 46.75rem 26.8125rem; gap: 5rem; align-items: start; }
.bit-invitacion .split__content > h2, .bit-invitacion .split__content > p { padding-left: 3.3125rem; }  /* Figma: texto en x=142, tarjeta en x=89 */
.bit-invitacion h2 { line-height: 0.92; }                    /* Figma: 56 / 51 */
.bit-invitacion .split__content > p { margin-top: 0.75rem; }
.bit-invitacion .text-card { margin-top: 2.1875rem; padding: 2.5rem 3.1875rem 2.75rem; border-radius: 1rem; background: rgba(234, 179, 100, 0.64); }
.bit-invitacion .text-card h3 { line-height: 1; }
.bit-invitacion .text-card p { margin-top: 1.5rem; }
.photo-bit-2 { border-radius: 0 13.4375rem 0 18.75rem; overflow: hidden; margin-top: 4.4375rem; }   /* 0/215/0/300 */
.photo-bit-2 img { border-radius: 0; box-shadow: none; aspect-ratio: 429 / 644; object-fit: cover; }

/* Sección salvia: tarjeta 688×353 desde x=104 y texto a la derecha (494px) */
.bit-refugio { padding: 6.1875rem 0; }
.bit-refugio .container { padding-left: 6.5rem; }
.bit-refugio .duo { grid-template-columns: 43rem 30.875rem; gap: 3.625rem; align-items: center; }
.bit-refugio .duo__card { min-height: 22.0625rem; padding: 1.5rem 2rem 2.5rem; border-radius: 1rem; display: flex; flex-direction: column; justify-content: center; }
.bit-refugio .duo h2 { font-size: 3rem; line-height: 1.02; }   /* Playfair Medium 48 / 49 */
.bit-refugio .duo p { margin-top: 1.25rem; }
.bit-refugio .flame--sm { margin: 0 auto 0.5rem; }

/* Sección "Lo que trabajaremos": foto de 860px sangrando a la izquierda, lista de 624px */
.bit-trabajo { padding: 9rem 0 9.4375rem; }
.bit-trabajo .split { grid-template-columns: 1fr 39rem; gap: 0; align-items: start; }
.bit-trabajo .bleed-left { margin-left: 0; }
.bit-trabajo .bleed-left::before { display: none; }
.bit-trabajo .bleed-left img { width: 53.75rem; max-width: none; margin-left: -16.25rem; margin-top: 0.875rem; border-radius: 0; }
.bit-trabajo h2 { text-align: center; }
.bit-trabajo .info-list { margin-top: 1.875rem; gap: 1.5625rem; }
.bit-trabajo .info-item { padding: 1.375rem 1.25rem; border-radius: 1rem; line-height: 1.17; }

/* ==========================================================================
   CONSTRUYENDO EL NIDO — medidas exactas de Figma (frame 0:806)
   ========================================================================== */
/* Hero con foto a la izquierda: foto en x=101, texto de 645px que termina en x=1397 */
.hero--media-left .container { padding-left: 6.3125rem; padding-right: 2.6875rem; grid-template-columns: 1fr 40.3125rem; }
.hero--nido .hero__content { padding-bottom: 3.625rem; }    /* título en y=181 de la sección */
.hero--nido .hero__media { padding-top: 2.75rem; }          /* foto en y=151 */

/* "¿Cuál crees…?": tarjeta salvia 717×775 (radio 38) desde x=60 y foto 636×510 hasta el borde derecho */
.nido-necesidad { padding: 4.5625rem 0 4.5rem; }
.nido-necesidad .container { padding-left: 3.75rem; padding-right: 0; }
.nido-necesidad { overflow: hidden; }
.nido-necesidad .split { grid-template-columns: 44.8125rem 39.75rem; gap: 0.875rem; align-items: start; }   /* Figma: tarjeta 60–777, foto 791–1427 */
.nido-necesidad .text-card--salvia { background: rgba(164, 202, 188, 0.51); border-radius: 2.375rem; padding: 6.3125rem 5.375rem 6.25rem 3.25rem; min-height: 48.4375rem; }
.nido-necesidad .text-card--salvia h2 { max-width: 36.1875rem; }
.nido-necesidad .text-card--salvia .prose { margin-top: 2.6875rem; }
.photo-nido-2 { margin-top: 8.0625rem; border-radius: 0 15.9375rem 15.9375rem 12.5rem; overflow: hidden; }
.photo-nido-2 img { border-radius: 0; box-shadow: none; aspect-ratio: 636 / 510; object-fit: cover; }

/* "¿Por qué prepararse?": título de 579px a la izquierda y tarjeta mostaza 686×481 (radio 38) */
.nido-porque { padding: 7.875rem 0 7.8125rem; }
.nido-porque .container { padding-left: 6.6875rem; padding-right: 0; }
.nido-porque .highlight-block { display: grid; grid-template-columns: 36.1875rem 42.875rem; gap: 0; align-items: center; }
.nido-porque .highlight-block h2 { max-width: 36.1875rem; }
.nido-porque .text-card--durazno { background: rgba(234, 179, 100, 0.64); border-radius: 2.375rem; padding: 4.875rem 3.625rem; min-height: 30.0625rem; }
.nido-porque .text-card--durazno p { max-width: 35.625rem; }

/* "Algunos de los temas": foto 599×480 sangrando a la izquierda, lista 624×540 */
.nido-temas { padding: 6.4375rem 0 6.875rem; }
.nido-temas .container { padding-right: 6.125rem; }
.nido-temas .split { grid-template-columns: 1fr 39rem; gap: 0; align-items: start; }
.photo-nido-3 { width: 37.5rem; margin-left: -7.5rem; margin-top: 8.5rem; border-radius: 0 15rem 15rem 0; overflow: hidden; }
.photo-nido-3 img { border-radius: 0; box-shadow: none; aspect-ratio: 599 / 480; object-fit: cover; width: 100%; }
.nido-temas .split__content > * + * { margin-top: 1.75rem; }
.nido-temas .text-card--blanco { border-radius: 1rem; padding: 3rem 2.6875rem; min-height: 33.75rem; }
.nido-temas .bullet-list { font-size: 1.5rem; line-height: 1.42; gap: 0; }

/* "Detalles del Taller": bloque de 624px centrado en x=748, tarjetas 101/122/150 con 20px entre ellas */
.nido-detalles { padding: 9.9375rem 0; }
.nido-detalles .closing { padding-left: 3.5rem; }
.nido-detalles .closing h2 { text-align: center; }
.nido-detalles .detalles--stack { max-width: 39rem; margin: 3rem auto 0; gap: 1.25rem; }
.nido-detalles .detalles--stack .detalle-card { padding: 1.375rem 2rem; border-radius: 1rem; text-align: center; line-height: 1.17; }
.nido-detalles .detalle-card p { line-height: 1.17; }
.nido-detalles .btn-group { margin-top: 2.6875rem; }
.nido-detalles.section--clovers::before, .nido-detalles.section--clovers::after { top: auto; transform: none; }
.nido-detalles.section--clovers::after { top: 32.875rem; }
.nido-detalles.section--clovers::before { top: 54.9375rem; }

/* ==========================================================================
   EL REFUGIO — medidas exactas de Figma (frame 0:908)
   ========================================================================== */
.hero--refugio { background: #F5F5F5; }
.hero--refugio .container { padding-left: 8.1875rem; padding-right: 3.4375rem; grid-template-columns: 1fr 41.5625rem; }  /* foto en x=131, texto de 665px hasta x=1385 */
.hero--refugio .hero__content { padding-bottom: 2.75rem; }

/* Cita: llama centrada, cita de 1122px (56 Medium Italic / 62) y texto de 944px */
.ref-cita { background: rgba(242, 218, 184, 0.54); padding: 4.5rem 0 5.125rem; }
.ref-cita .quote-block { max-width: 70.125rem; }
.ref-cita .flame { width: auto; height: 6.25rem; margin: 0 auto 5rem; }
.ref-cita .quote { font-size: 3.5rem; font-weight: 500; line-height: 1.1; letter-spacing: 0; }
.ref-cita .quote cite { font-style: italic; font-size: inherit; color: inherit; }
.ref-cita .lead { margin: 3.25rem auto 0; max-width: 59rem; }

/* "¿Por qué buscar un refugio?": arco 480×604 en x=161, texto de 570px en x=751 */
.ref-porque { padding: 7.6875rem 0 7.625rem; }
.ref-porque .container { padding-left: 10.0625rem; }
.ref-porque .split { grid-template-columns: 30rem 35.625rem; gap: 6.875rem; align-items: start; }
.ref-porque .split__content { padding-top: 8rem; }        /* Figma: título 128px bajo el borde superior de la foto */
.ref-porque .split__content > * + * { margin-top: 3.0625rem; }
.photo-ref-2 { border-radius: 50% 50% 0.9375rem 0.9375rem / 34.3% 34.3% 0.9375rem 0.9375rem; overflow: hidden; }
.photo-ref-2 img { border-radius: 0; box-shadow: none; aspect-ratio: 480 / 604; object-fit: cover; }

/* "¿Cómo nos acompañamos?": título de 407px en x=176, tarjeta 624×306 en x=720 */
.ref-como { padding: 7.375rem 0; }
.ref-como .container { padding-left: 11rem; }
.ref-como .highlight-block { grid-template-columns: 25.4375rem 39rem; gap: 8.5625rem; align-items: center; }
.ref-como .text-card--blanco { border-radius: 1rem; padding: 2.75rem 2.5rem; min-height: 19.125rem; }
.ref-como .text-card--blanco p { max-width: 34.0625rem; }

/* Cierre: título centrado, tarjeta mostaza 624×210, botón a 32px */
.ref-cierre { padding: 5.75rem 0 7.875rem; }
.ref-cierre .detalles--stack { max-width: 39rem; margin: 2rem auto 0; }
.ref-cierre .detalles--stack .detalle-card { padding: 2.375rem 2.5rem; border-radius: 1rem; min-height: 13.125rem; display: flex; align-items: center; justify-content: center; }
.ref-cierre .detalle-card p { line-height: 1.375; }
.ref-cierre .btn-group { margin-top: 2rem; }
.ref-cierre.section--clovers::before, .ref-cierre.section--clovers::after { top: auto; transform: none; }
.ref-cierre.section--clovers::after { top: 7.9375rem; }
.ref-cierre.section--clovers::before { top: 30rem; }

/* ==========================================================================
   MATERNIDADES CREATIVAS — medidas exactas de Figma (frame 0:991)
   ========================================================================== */
.hero--maternidades .container { padding-left: 8.5625rem; padding-right: 9.9375rem; grid-template-columns: 40.3125rem 1fr; gap: 0; }  /* texto en x=137, foto 782–1281 */
.hero--maternidades .hero__content { padding-bottom: 4.625rem; }

/* Cita "tsunami": cita de 1007px, línea y texto de 966px */
.mat-tsunami { padding: 13.5625rem 0 12.5rem; }
.mat-tsunami .quote-block { max-width: 62.9375rem; }
.mat-tsunami .quote { letter-spacing: -0.01em; }
.mat-tsunami .quote-block__divider { margin: 5.1875rem 0 2.875rem; }
.mat-tsunami .lead { max-width: 60.375rem; margin-left: auto; margin-right: auto; }

/* "Regresar al mundo": tarjeta salvia 754×784 (radio 38) en x=71 y foto 571×454 hasta el borde derecho */
.mat-regresar { padding: 8.1875rem 0; }
.mat-regresar .container { padding-left: 4.4375rem; padding-right: 0; }
.mat-regresar .split { grid-template-columns: 47.125rem 35.6875rem; gap: 2.5625rem; align-items: start; }
.mat-regresar .text-card--salvia { background: rgba(164, 202, 188, 0.51); border-radius: 2.375rem; padding: 5.125rem 3rem 4.375rem 2.9375rem; min-height: 49rem; }
.mat-regresar .text-card--salvia h2 { max-width: 30.8125rem; line-height: 1; }
.mat-regresar .text-card--salvia .prose { margin-top: 2.875rem; }
.mat-regresar .text-card--salvia p { line-height: 1.17; }
.photo-mat-2 { margin-top: 11.0625rem; border-radius: 0 14.1875rem 14.1875rem 10rem; overflow: hidden; }
.photo-mat-2 img { border-radius: 0; box-shadow: none; aspect-ratio: 571 / 454; object-fit: cover; }

/* "¿Qué haremos juntas?": texto de 557px en x=75 y lista de 624px en x=732 */
.mat-haremos { padding: 9.9375rem 0 8.8125rem; }
.mat-haremos .container { padding-left: 4.6875rem; padding-right: 5.25rem; }
.mat-haremos .split { grid-template-columns: 34.8125rem 39rem; gap: 6.25rem; align-items: start; }
.mat-haremos .split__content { padding-top: 2.125rem; }
.mat-haremos .split__content > * + * { margin-top: 1.5rem; }
.mat-haremos .info-list { gap: 2rem; }
.mat-haremos .info-item { padding: 1.375rem 1.375rem; border-radius: 1rem; line-height: 1.17; }
.mat-haremos .info-item--salvia { background: var(--salvia-light); }
.mat-haremos .info-item--rosa { background: var(--rosa-polvo); }

/* Cierre: foto 429×644 en x=107, texto de 725px en x=631 */
.mat-cierre { padding: 3.8125rem 0 11.9375rem; }
.mat-cierre .container { padding-left: 6.6875rem; padding-right: 5.25rem; }
.mat-cierre .split { grid-template-columns: 26.8125rem 45.3125rem; gap: 5.9375rem; align-items: start; }
.mat-cierre .photo-bit-2 { margin-top: 0; }
.mat-cierre .split__content { padding-top: 9.5625rem; }
.mat-cierre .split__content > * + * { margin-top: 1.6875rem; }
.mat-cierre h2 { font-family: var(--font-body); font-size: 1.5rem; font-weight: 700; font-style: italic; line-height: 1.12; text-wrap: initial; }
.mat-cierre h2 em { color: inherit; }
.mat-cierre .btn-group { margin-top: 1.8125rem; }

/* ==========================================================================
   PSICOTERAPIA INDIVIDUAL — medidas exactas de Figma (frame 0:1080)
   ========================================================================== */
.hero--psicoterapia .container { padding-left: 7.75rem; padding-right: 5.25rem; grid-template-columns: 40.3125rem 1fr; gap: 5.5rem; }  /* texto en x=124, foto 857–1356 */
.hero--psicoterapia .hero__media { padding-top: 4.375rem; }   /* foto en y=140 */

/* "¿Cómo puedo ayudarte?": texto y tarjetas de 624px en x=101, arco 510×636 en x=814 */
.psi-ayuda { padding: 5.6875rem 0 9.4375rem; }
.psi-ayuda .container { padding-left: 6.3125rem; padding-right: 7.25rem; }
.psi-ayuda .split { grid-template-columns: 39rem 31.875rem; gap: 5.5625rem; align-items: start; }
.psi-ayuda .split__content { padding-top: 1.6875rem; }       /* Figma: título en y=118 */
.psi-ayuda h2 { letter-spacing: -0.02em; }
.psi-ayuda .split__content > .prose { margin-top: 1.5rem; max-width: 34.8125rem; }
.psi-ayuda .split__content > .info-list { margin-top: 2.1875rem; gap: 0.9375rem; }
.psi-ayuda .info-item { padding: 1.375rem 1.375rem; border-radius: 1rem; line-height: 1.17; }
.psi-ayuda .info-item--salvia { background: var(--salvia-light); }
.psi-ayuda .info-item--mostaza { background: rgba(234, 179, 100, 0.64); }
.photo-psi-2 { border-radius: 50% 50% 0.9375rem 0.9375rem / 34.3% 34.3% 0.9375rem 0.9375rem; overflow: hidden; }
.photo-psi-2 img { border-radius: 0; box-shadow: none; aspect-ratio: 510 / 636; object-fit: cover; }

/* Cierre: título centrado (562px), texto de 878px y dos botones */
.psi-cierre { padding: 8.875rem 0 8.8125rem; }
.psi-cierre .closing { max-width: 54.875rem; }
.psi-cierre h2 { letter-spacing: -0.02em; }
.psi-cierre .closing .lead { margin-top: 3.5625rem; }
.psi-cierre .closing .btn-group { margin-top: 2.375rem; }

/* Frases (psicoterapia): llama centrada, tarjeta mostaza 624×358 en x=78, nota salvia 624×162 en x=776, texto de 917px */
.psi-frases { padding: 5.9375rem 0 3.8125rem; }
.psi-frases .container { padding-left: 4.875rem; padding-right: 2.5rem; }
.psi-frases .flame { width: auto; height: 10rem; margin: 0 auto 1rem; }
.psi-frases .frases { grid-template-columns: 39rem 39rem; gap: 4.625rem; align-items: center; }
.psi-frases .frases__card { padding: 2.625rem 2.5625rem; border-radius: 1rem; background: rgba(234, 179, 100, 0.64); min-height: 22.375rem; }
.psi-frases .frases__card p { line-height: 0.95; }
.psi-frases .frases__card > * + * { margin-top: 1.0625rem; }
.psi-frases .frases__note { padding: 1.4375rem 3.25rem; border-radius: 1rem; background: rgba(164, 202, 188, 0.51); min-height: 10.125rem; display: flex; align-items: center; }
.psi-frases .frases__note p { line-height: 1.19; }
.psi-frases .frases__text { max-width: 57.3125rem; margin: 3.5625rem auto 0; line-height: 1.19; }

/* ==========================================================================
   RESPONSIVE PARA LAS MEDIDAS DE FIGMA
   Las reglas por página de arriba fijan columnas en rem (diseño de 1440px).
   Bajo 1024px todo vuelve a una columna fluida y se anulan sangrados y anchos fijos.
   ========================================================================== */
@media (max-width: 1024px) {
  .container, .services .container, .about .container, .contact .container, .site-footer .container,
  .bit-trata .container, .bit-invitacion .container, .bit-refugio .container,
  .nido-necesidad .container, .nido-porque .container, .nido-temas .container,
  .ref-porque .container, .ref-como .container,
  .mat-regresar .container, .mat-haremos .container, .mat-cierre .container,
  .psi-frases .container, .psi-ayuda .container,
  .hero .container, .hero--media-left .container, .hero--refugio .container, .hero--maternidades .container, .hero--psicoterapia .container {
    padding-left: 2.5rem; padding-right: 2.5rem;
  }
  .navbar { padding-left: 2.5rem; }
  .hero .container, .hero--media-left .container, .hero--refugio .container, .hero--maternidades .container, .hero--psicoterapia .container { grid-template-columns: 1fr; min-height: 0; gap: 2.5rem; }
  .hero__content, .hero--nido .hero__content, .hero--refugio .hero__content, .hero--maternidades .hero__content, .hero--bitacora .hero__content { padding: 0; }
  .hero__media, .hero--nido .hero__media, .hero--bitacora .hero__media, .hero--psicoterapia .hero__media { padding: 0; justify-content: center; }
  .hero__media-main--full, .hero__media-main--bitacora, .hero__media-main--nido, .hero__media-main--refugio { width: 100%; max-width: 31.1875rem; }
  .services__layout, .services__grid, .about__grid, .contact__grid,
  .bit-trata .services__grid, .bit-invitacion .split, .bit-refugio .duo, .bit-trabajo .split,
  .nido-necesidad .split, .nido-porque .highlight-block, .nido-temas .split,
  .ref-porque .split, .ref-como .highlight-block,
  .mat-regresar .split, .mat-haremos .split, .mat-cierre .split,
  .psi-frases .frases, .psi-ayuda .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .workshops__grid { margin-inline: 0; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .about__media, .about__media img { margin-top: 0; width: 100%; }
  .about { min-height: 0; }
  .bit-trata .bitacora-col .quote, .bit-trabajo .bleed-left img, .photo-nido-3 { width: 100%; max-width: 100%; margin-left: 0; }
  .bit-invitacion .split__content > h2, .bit-invitacion .split__content > p { padding-left: 0; }
  .photo-bit-2, .photo-nido-2, .photo-mat-2, .photo-nido-3 { margin-top: 0; }
  .nido-necesidad .text-card--salvia, .mat-regresar .text-card--salvia, .nido-porque .text-card--durazno, .nido-temas .text-card--blanco,
  .bit-refugio .duo__card, .ref-como .text-card--blanco, .psi-frases .frases__card, .psi-frases .frases__note { min-height: 0; padding: 2rem 1.75rem; }
  .bit-trata .card-scallop { padding: 8.125rem 1.75rem 2.5rem; }
  .bit-trata .card-scallop::before { height: 7.5rem; }
  .bit-trata .text-card--durazno h2 + .prose, .bit-trata .text-card--rosa h2 + p { margin-top: 2rem; }
  .ref-porque .split__content, .mat-cierre .split__content, .mat-haremos .split__content { padding-top: 0; }
  .nido-detalles .closing { padding-left: 0; }
  .section, .bit-trata, .bit-invitacion, .bit-refugio, .bit-trabajo, .nido-necesidad, .nido-porque, .nido-temas, .nido-detalles,
  .ref-cita, .ref-porque, .ref-como, .ref-cierre, .mat-tsunami, .mat-regresar, .mat-haremos, .mat-cierre, .psi-frases, .psi-ayuda, .psi-cierre,
  .moments, .services, .workshops, .about, .contact { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__brand-logo { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container, .navbar, .site-footer .container,
  .bit-trata .container, .bit-invitacion .container, .bit-refugio .container,
  .nido-necesidad .container, .nido-porque .container, .nido-temas .container,
  .ref-porque .container, .ref-como .container,
  .mat-regresar .container, .mat-haremos .container, .mat-cierre .container,
  .psi-frases .container, .psi-ayuda .container,
  .hero .container, .hero--media-left .container, .hero--refugio .container, .hero--maternidades .container, .hero--psicoterapia .container {
    padding-left: 1.5rem; padding-right: 1.5rem;
  }
  .services__grid, .workshops__grid, .footer__top { grid-template-columns: 1fr; }
  .service-card, .service-card.card-scallop { padding-top: 8.5rem; min-height: 0; }
  .bit-trata .card-scallop { border-radius: 1.5rem; }
  .nido-necesidad .text-card--salvia, .mat-regresar .text-card--salvia, .nido-porque .text-card--durazno { border-radius: 1.5rem; }
  .photo-dome, .photo-dome-r, .photo-pebble, .photo-nido-2, .photo-nido-3, .photo-mat-2, .photo-bit-2 { border-radius: 1.5rem; }
  .photo-pill-l { border-radius: 4rem 0 0 4rem; }
  :root { --fs-body-md: 1.25rem; --fs-body-lg: 1.25rem; --fs-body-sm: 1.0625rem; }
  h1, .hero__title { font-size: 2.5rem; }
  h2, .title-lg { font-size: 2.25rem; }
  .quote-block .quote, .ref-cita .quote, .mat-tsunami .quote { font-size: 1.875rem; }
  .bit-refugio .duo h2, .bit-trata .card-scallop h2 { font-size: 2rem; }
  .bit-trata .bitacora-col .quote { font-size: 1.75rem; }
  .service-card__title { font-size: 2rem; }
  .btn-group { flex-wrap: wrap; }
  .section, .bit-trata, .bit-invitacion, .bit-refugio, .bit-trabajo, .nido-necesidad, .nido-porque, .nido-temas, .nido-detalles,
  .ref-cita, .ref-porque, .ref-como, .ref-cierre, .mat-tsunami, .mat-regresar, .mat-haremos, .mat-cierre, .psi-frases, .psi-ayuda, .psi-cierre,
  .moments, .services, .workshops, .about, .contact { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .site-footer .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (max-width: 768px) {
  .workshop-card__head { min-height: 0; padding-top: 7.75rem; }   /* en móvil el título va justo bajo el ícono */
}

/* Tréboles decorativos en el borde superior (Figma: máscaras de 286×148, blanco al 53%).
   Maternidades "tsunami": x=416 y x=736. Psicoterapia "frases": x=411 y x=743. Medidos desde el centro (720). */
.mat-tsunami, .psi-frases { position: relative; }
.mat-tsunami > .container, .psi-frases > .container { position: relative; z-index: 1; }
.mat-tsunami::before, .mat-tsunami::after, .psi-frases::before, .psi-frases::after {
  content: '';
  position: absolute;
  top: 0;
  width: 17.875rem;
  height: 9.25rem;
  background: url("Images-fuerza_materna/Elementos/trebol-superior.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}
.mat-tsunami::before { left: calc(50% - 19rem); }
.mat-tsunami::after  { left: calc(50% + 1rem); }
.psi-frases::before  { left: calc(50% - 19.3125rem); }
.psi-frases::after   { left: calc(50% + 1.4375rem); }
@media (max-width: 768px) {
  .mat-tsunami::before, .mat-tsunami::after, .psi-frases::before, .psi-frases::after { display: none; }
}

/* Mensaje de estado del formulario de contacto (enviando / gracias / error) */
.contact-form__status { min-height: 1.5rem; font-family: var(--font-nav); font-size: 0.9375rem; color: var(--marron); margin-top: 0.5rem; }
.contact-form__status:empty { display: none; }

/* ==========================================================================
   TESTIMONIOS (home) — la sección solo se muestra si hay testimonios visibles en el administrador
   ========================================================================== */
.testimonios { background: var(--blanco-calido); padding: 7.5rem 0; }
.testimonios .section-head { margin: 0 auto; }
.testimonios__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem; margin: 3.75rem 0 0; padding: 0; }
.testimonio { background: var(--crema); border-radius: var(--radius-md); padding: 2.5rem 2.25rem; display: flex; flex-direction: column; gap: 1.5rem; }
.testimonio__texto { font-family: var(--font-heading); font-style: italic; font-size: 1.5rem; line-height: 1.25; color: var(--marron); }
.testimonio__autor { font-size: 1.125rem; color: var(--texto-oscuro); }
@media (max-width: 1024px) { .testimonios__grid { grid-template-columns: 1fr; } .testimonios { padding: 4.5rem 0; } }
