/*
Theme Name:  Fisiocalma
Theme URI:   https://fisiocalma.es
Author:      Defisoft
Author URI:  https://defisoft.es
Description: Tema personalizado para Fisiocalma — Clínica de fisioterapia en Campo de Criptana
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fisiocalma
*/

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  /* -- Colores de marca -- */
  --clr-accent:          #D2636B;
  --clr-accent-dark:     #B84E56;
  --clr-cta:             #d33d3d; /* AAA-compliant, contraste ~4.8:1 con blanco */
  --clr-cta-light:        #F65E60;
  --clr-green-dark:      #1A3129;
  --clr-green-soft:      #A9C2B1;

  /* -- Fondos -- */
  --clr-bg:              #FAF7F4;
  --clr-bg-beige:        #F3EDE9;
  --clr-bg-sand:         #E8D3B5;
  --clr-bg-salmon:       #FEB9BF; /* Hero, CTA banner */
  --clr-bg-pink-pale:    #F4D6D9; /* Contacto izquierda, cards testimonios */
  --clr-white:           #FFFFFF;

  /* -- Texto -- */
  --clr-text:            #212121;
  --clr-text-mid:        #555555; /* AAA-compliant, contraste ~7.5:1 con blanco */
  --clr-text-light:      #A2ABB3;

  /* -- Tipografía -- */
  --font-primary:        'Poppins', sans-serif;

  /* -- Escala tipográfica -- */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-md:    1.125rem;
  --text-lg:    1.25rem;
  --text-xl:    1.5rem;
  --text-2xl:   2rem;

  /* -- Layout -- */
  --container-max:  1280px;
  --container-px:   clamp(1.25rem, 4vw, 2.5rem);
  --section-py:     clamp(60px, 7vw, 96px);

  /* -- Forma -- */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  /* -- Sombras -- */
  --shadow-xs:  0 1px 4px rgba(0, 0, 0, .06);
  --shadow-sm:  0 2px 10px rgba(0, 0, 0, .08);
  --shadow-md:  0 4px 24px rgba(0, 0, 0, .10);

  /* -- Transiciones -- */
  --ease: 0.22s ease;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--clr-text);
  background-color: var(--clr-white);
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, button, select { font: inherit; border: none; background: none; outline: none; }

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--clr-text);
}
p { line-height: 1.7; }

.eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  padding-inline: var(--container-px);
  margin-inline: auto;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.section-header.w-100 {
  max-width: 1000px;
}
.section-header h2        { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 12px; }
.section-header p         { color: var(--clr-text-mid); font-size: var(--text-md); }
.section-header__kicker   { font-size: var(--text-sm); color: var(--clr-text-mid); margin-bottom: 8px; display: block; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  width: fit-content;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-color: var(--clr-cta);
  color: var(--clr-white);
  box-shadow: 0 4px 12px rgba(247, 94, 95, .30);
}
.btn--primary:hover {
  background-color: var(--clr-cta-light);
  box-shadow: 0 6px 18px rgba(247, 94, 95, .42);
}

.btn--outline {
  border: 2px solid var(--clr-text);
  color: var(--clr-text);
}
.btn--outline:hover { background-color: var(--clr-text); color: var(--clr-white); }

/* ============================================================
   HEADER / NAVEGACIÓN
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--clr-white);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.site-logo { flex-shrink: 0; display: flex; align-items: center; }
.site-logo img { height: 48px; width: auto; }
.site-logo__text { font-size: var(--text-lg); font-weight: 700; color: var(--clr-green-dark); }
.site-logo__text span { color: var(--clr-accent); }

/* Nav principal */
.nav-primary .menu-item-has-children { position: relative; }

.nav-primary .menu-item-has-children:hover > .sub-menu {
  display: block;
}
.nav-primary { display: flex; align-items: center; }
.nav-primary > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-primary a {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
  transition: color var(--ease), background var(--ease);
}
.nav-primary a:hover,
.nav-primary .current-menu-item > a { color: var(--clr-accent); background-color: var(--clr-bg-pink-pale); }

/* Dropdown */
.nav-primary .menu-item-has-children { position: relative; }
.nav-primary .menu-item-has-children > a::after { content: '▾'; margin-left: 4px; font-size: 10px; }
.nav-primary .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  z-index: 100;
}
.nav-primary .menu-item-has-children:hover > .sub-menu,
.nav-primary .menu-item-has-children:focus-within > .sub-menu { display: block; }
.nav-primary .sub-menu a { display: block; padding: 9px 13px; border-radius: var(--radius-sm); font-size: var(--text-sm); }

/* Botón "HORARIOS" en el header — destaca como pill coral */
.nav-primary .menu-item-horarios > a,
.header-actions .btn--horarios {
  background-color: var(--clr-cta);
  color: var(--clr-white) !important;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-weight: 600;
}
.nav-primary .menu-item-horarios > a:hover { background-color: var(--clr-cta-light); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Nav móvil — oculta por defecto en desktop */
.mobile-nav { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--ease);
}
.nav-toggle:hover { background-color: var(--clr-bg); }
.nav-toggle__bar { display: block; width: 22px; height: 2px; background-color: var(--clr-text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   1. HERO
   Fondo salmón · 2 columnas a sangre · H1 uppercase
   ============================================================ */
.hero { background-color: var(--clr-bg-salmon); overflow: hidden; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding-block: 64px;
  padding-right: clamp(1.5rem, 4vw, 3rem);
  padding-left: max(var(--container-px), calc((100vw - var(--container-max)) / 2 + var(--container-px)));
}

.hero__title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--clr-text);
  max-width: 500px;
}

.hero__subtitle {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--clr-text);
  line-height: 1.5;
}

.hero__desc {
  font-size: var(--text-sm);
  color: var(--clr-text);
  line-height: 1.75;
  max-width: 500px;
}

.hero__btn { align-self: flex-start; margin-top: 4px; }

.hero__photo { overflow: hidden; align-self: stretch; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-placeholder {
  width: 100%; height: 100%; min-height: 460px;
  background: linear-gradient(135deg, #F4D6D9 0%, #FEB9BF 100%);
}

/* ============================================================
   2. INTRO
   Texto centrado + collage de fotos
   ============================================================ */
.intro {
  padding-top: var(--section-py);
  background-color: var(--clr-white);
}

.intro__header {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.intro__kicker {
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  margin-bottom: 10px;
}

.intro__title {
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.intro__desc {
  font-size: var(--text-base);
  color: var(--clr-text-mid);
  line-height: 1.75;
}

/* Imagen única intro */
.intro__image {
  border-radius: var(--radius-lg);
}
.intro__image img { width: 100%; display: block; }
.intro__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background-color: var(--clr-bg-salmon);
  opacity: .7;
}

/* ============================================================
   3. SERVICIOS
   Cabecera centrada · Grid 2 cols · Tarjeta horizontal
   ============================================================ */
.servicios {
  padding-block: var(--section-py);
  background-color: var(--clr-white);
}

.servicios__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.servicio-card {
  display: flex;
  flex-direction: column;
  background: var(--clr-bg);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  border: 1px solid rgba(0, 0, 0, .05);
  transition: box-shadow var(--ease), transform var(--ease);
}
.servicio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.servicio-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.servicio-card__icon {
  font-size: 1.375rem;
  line-height: 1;
  flex-shrink: 0;
}

.servicio-card__icon img{
  width: 40px;
}

.servicio-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.3;
}

.servicio-card__desc {
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.servicio-card__btn {
  align-self: flex-start;
  padding: 7px 18px;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   4. ¿POR QUÉ ELEGIRNOS?
   Foto equipo izquierda · Texto derecha
   ============================================================ */
.why-us {
  padding-bottom: var(--section-py);
}

.why-us.pt-4 {
  padding-top: var(--section-py);
}

.why-us .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Visual = primer hijo → columna izquierda */
.why-us__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--clr-bg-beige), var(--clr-bg-sand));
}
.why-us__visual img { width: 100%; height: 100%; object-fit: cover; }
.why-us__visual-placeholder { width: 100%; height: 100%; min-height: 400px; }

/* Content = segundo hijo → columna derecha */
.why-us__content .eyebrow  { margin-bottom: 8px; }
.why-us__content h2, .why-us__content h3        { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 12px; }
.why-us__content h2.mb-4,
.why-us__content h3.mb-4        { margin-bottom: 30px; }
.why-us__content > p       { color: var(--clr-text); font-size: var(--text-base); margin-bottom: 24px; }

.why-us__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; margin-top: 20px; }

.why-us__item { display: flex; align-items: flex-start; gap: 12px; }

.why-us__check {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-pill);
  background-color: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-us__check svg {
  width: 12px; height: 12px;
  fill: none;
  stroke: white;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-us__item p { font-size: var(--text-base); color: var(--clr-text); line-height: 1.5; }

/* ============================================================
   5. CTA BANNER
   Fondo salmón · 2 cols · Círculo decorativo derecha
   ============================================================ */
.cta-banner {
  background-color: var(--clr-cta-light);
  padding-block: clamp(48px, 6vw, 72px);
  overflow: hidden;
  position: relative;
}

.cta-banner.bg-pink{
  background-color: var(--clr-bg-salmon);
}

.cta-banner .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.cta-banner__content {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  gap: 0;
}

.cta-banner__content h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 16px;
  max-width: 480px;
}

.no-width .cta-banner__content h2 {
  max-width: 100%;
}

.cta-banner__content p.mb-4 {
  margin-bottom: 20px;
}

.cta-banner__content > p:not(.cta-banner__tagline) {
  font-size: var(--text-sm);
  color: var(--clr-text);
  max-width: 480px;
  line-height: 1.7;
}

.btn-green {
  background-color: var(--clr-green-soft);
  color: var(--clr-green-dark);
  padding: 11px 30px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  width: fit-content;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--ease), transform var(--ease);
}
.btn-green:hover {
  background-color: #8FB5A3;
  transform: translateY(-2px);
}

.cta-banner__tagline {
  align-self: flex-start;
  margin-top: 28px;
  background-color: rgba(255, 255, 255, .80);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  color: var(--clr-text);
}

/* Visual derecha — imagen de manos con botón centrado */
.cta-banner__visual {
  position: relative;
  width: 300px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.cta-banner__visual.w-400{
  width: 400px;
}

.cta-banner__hands-img {
  width: 100%;
  height: auto;
  display: block;
}

.no-width .cta-banner__visual img{
  position: absolute;
}

.cta-banner__hands-placeholder {
  width: 300px;
  height: 220px;
  background: rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
}

.cta-banner__hands-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--clr-green-soft);
  color: var(--clr-green-dark);
  padding: 11px 30px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--ease), transform var(--ease);
}
.cta-banner__hands-btn:hover {
  background-color: #8FB5A3;
  transform: translate(-50%, calc(-50% - 2px));
}

/* ============================================================
   6. TESTIMONIOS
   Fondo blanco · 3 tarjetas con fondo rosa
   ============================================================ */
.testimonios {
  padding-block: var(--section-py);
  background-color: var(--clr-white);
}

.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonio-card {
  background: var(--clr-bg-pink-pale);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonio-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonios .service-benefits__desc {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
  margin-top: 10px;
}

.testimonio-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--clr-bg-salmon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--clr-white);
  flex-shrink: 0;
}

.testimonio-card__name  { font-size: var(--text-sm); font-weight: 600; color: var(--clr-text); }
.testimonio-card__nota  { font-size: var(--text-xs); color: var(--clr-accent); }
.testimonio-card__nota span { color: var(--clr-text-mid); }

.testimonio-card__text {
  font-size: var(--text-xs);
  color: var(--clr-text-mid);
  line-height: 1.7;
  flex: 1;
}

/* ============================================================
   7. CONTACTO
   Sin container — 2 columnas a sangre completa
   Izquierda: formulario fondo rosa · Derecha: mapa
   ============================================================ */
.contacto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.contacto__left {
  background-color: var(--clr-bg-pink-pale);
  display: flex;
  align-items: flex-start;
}

.contacto__left-inner {
  width: 100%;
  max-width: calc(var(--container-max) / 2);
  margin-left: auto;
  padding: clamp(48px, 7vw, 80px) clamp(1.5rem, 4vw, 60px);
}

.contacto__title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
.contacto__title-city { color: var(--clr-green-dark); }

.contacto__desc {
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Formulario */
.form-group { margin-bottom: 12px; }

.form-control {
  width: 100%;
  padding: 12px 14px;
  background: var(--clr-white);
  border: 1.5px solid rgba(0, 0, 0, .1);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--clr-text);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-control:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(210, 99, 107, .15);
}
.form-control::placeholder { color: var(--clr-text-light); }
textarea.form-control { resize: vertical; min-height: 110px; }

.form-submit { margin-top: 16px; margin-bottom: 24px; }
.form-submit .btn { width: 100%; justify-content: center; }

.contacto__data {
  display: flex;
  align-items: flex-start;
  gap: 42px;
}

.contacto__data-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  text-decoration: none;

  transition: opacity var(--ease);
}

.contacto__data-item:hover {
  opacity: .72;
}

.contacto__data-icon {
  width: 20px;
  height: 20px;

  flex-shrink: 0;

  margin-top: 2px;
}

.contacto__data-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.contacto__data-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contacto__data-content strong {
  font-size: var(--text-xs);
  line-height: 1;
  font-weight: 700;
  color: var(--clr-text);
}

.contacto__data-content span {
  font-size: var(--text-xs);
  line-height: 1.4;
  color: var(--clr-text-mid);
}

@media (max-width: 767.98px) {
  .contacto__data {
    flex-direction: column;
    gap: 18px;
  }
}

/* Mapa */
.contacto__map { background-color: var(--clr-bg-beige); overflow: hidden; }
.contacto__map iframe { width: 100%; height: 100%; min-height: 500px; display: block; border: 0; }

/* ============================================================
   8. FEED DE REDES SOCIALES
   Cabecera centrada · grid de fotos 4 columnas
   ============================================================ */
.social-feed {
  padding-block: var(--section-py);
  background-color: var(--clr-white);
}

.social-feed__header { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.social-feed__header h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 6px; }

.social-feed__handle {
  font-size: var(--text-base);
  color: var(--clr-accent);
  font-weight: 500;
  transition: color var(--ease);
}
.social-feed__handle:hover { color: var(--clr-accent-dark); }

.social-feed__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 700px;
  margin: auto;
}

.social-feed__item { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); display: block; }
.social-feed__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.social-feed__item:hover img { transform: scale(1.06); }
.social-feed__item--featured img { transform: none !important; }
.social-feed__item--featured:hover img { transform: none; }
.social-feed__placeholder { width: 100%; height: 100%; background-color: var(--clr-bg-salmon); opacity: .55; }

/* ============================================================
   FOOTER
   Fondo blanco · 3 columnas · Círculo salmón decorativo
   ============================================================ */
.site-footer {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  position: relative;
  overflow: hidden;
}

/* Semicírculo decorativo esquina inferior derecha */
.site-footer::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background-color: var(--clr-bg-salmon);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}

.footer-top {
  padding-block: 56px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px 32px;
  position: relative;
  z-index: 1;
}

@media (max-width: 575.98px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-block: 36px 24px;
  }

  .footer-top > :first-child {
    grid-column: 1 / -1;
  }
}

.footer-brand {}
.footer-logo { display: flex; align-items: center; margin-bottom: 10px; }
.footer-logo img { height: 44px; width: auto; }
.footer-logo__text { font-size: var(--text-lg); font-weight: 700; color: var(--clr-text); }

.footer-tagline {
  font-size: var(--text-xs);
  color: var(--clr-text-mid);
  line-height: 1.6;
  max-width: 220px;
  margin-bottom: 16px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-xs);
  color: var(--clr-text-mid);
  transition: color var(--ease);
}
.footer-social__link:hover { color: var(--clr-accent); }
.footer-social__link svg { flex-shrink: 0; }

.footer-col p {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: var(--text-sm); color: var(--clr-text-mid); transition: color var(--ease); }
.footer-col ul li a:hover { color: var(--clr-accent); }

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, .08);
  padding-block: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.footer-bottom p,
.footer-bottom a { font-size: var(--text-xs); color: var(--clr-text-mid); }
.footer-bottom a:hover { color: var(--clr-text); }
.footer-legal { display: flex; gap: 18px; }

/* ============================================================
   RESPONSIVE — TABLET  (< 1024px)
   ============================================================ */
@media (max-width: 991.98px) {
  .nav-primary { display: none; }
  .header-actions .btn--horarios { display: none; }
  .nav-toggle { display: flex; }

  .mobile-nav {
    position: fixed;
    inset: 72px 0 0;
    background: var(--clr-white);
    padding: 24px var(--container-px);
    overflow-y: auto;
    z-index: 999;
    box-shadow: var(--shadow-md);
  }
  .mobile-nav.is-open { display: block; }
  .mobile-nav ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
  .mobile-nav ul a {
    display: block; padding: 11px 14px;
    border-radius: var(--radius-sm); font-size: var(--text-base); font-weight: 500; color: var(--clr-text);
    transition: background var(--ease);
  }
  .mobile-nav ul a:hover { background: var(--clr-bg); }
  .mobile-nav .sub-menu { padding-left: 16px; }
  .mobile-nav .btn { width: 100%; justify-content: center; }

  .servicios__grid { grid-template-columns: 1fr; }
  .testimonios__grid { grid-template-columns: 1fr 1fr; }
  .cta-banner__content h2 { max-width: 100%; }
  .cta-banner__content > p:not(.cta-banner__tagline) { max-width: 100%; }
}

/* ============================================================
   RESPONSIVE — MÓVIL  (< 768px)
   ============================================================ */
@media (max-width: 767.98px) {
  /* Hero — apilado */
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content {
    padding-inline: var(--container-px);
    padding-block: 48px 32px;
  }
  //.hero__photo { display: none; }

  /* Intro — imagen única */
  .intro__image { border-radius: var(--radius-md); }

  /* Why us — apilado */
  .why-us .container { grid-template-columns: 1fr; gap: 32px; }

  /* CTA */
  .cta-banner .container { grid-template-columns: 1fr; }

  /* Testimonios */
  .testimonios__grid { grid-template-columns: 1fr; }

  /* Contacto — apilado */
  .contacto { grid-template-columns: 1fr; }
  .contacto__map { min-height: 300px; }
  .contacto__left-inner { max-width: 100%; margin-left: 0; }

  /* Social feed — 2 cols */
  .social-feed__grid { grid-template-columns: repeat(2, 1fr); }
  .social-feed__item--featured { display: none; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 12px; }

  .no-width .cta-banner__visual {display: none;}
  .service-method--therapies .method-step:nth-child(3) {
    order: 4;
  }
}

/* ============================================================
   UTILITARIOS
   ============================================================ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center  { text-align: center; }
.text-green   { color: var(--clr-green-dark); }
.text-accent  { color: var(--clr-accent); }

/* ============================================================
   PÁGINAS DE SERVICIO — Componentes compartidos
   ============================================================ */

/* --- Hero de servicio --- */
.service-hero { overflow: hidden; }

.service-hero__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  min-height: 420px;
}

.service-hero__content {
  background-color: var(--clr-bg-salmon);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding-block: 64px;
  padding-right: clamp(1.5rem, 4vw, 3rem);
  padding-left: max(var(--container-px), calc((100vw - var(--container-max)) / 2 + var(--container-px)));
}

.service-hero__title {
  font-size: clamp(1.5rem, 3vw, 2.375rem);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.15;
  text-transform: uppercase;
}

.service-hero__lead {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--clr-accent);
  align-self: flex-start;
}

.service-hero__desc {
  font-size: var(--text-sm);
  color: var(--clr-text);
  line-height: 1.75;
  max-width: 440px;
}

.service-hero__photo {
  overflow: hidden;
  background-color: var(--clr-bg-salmon);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.service-hero__photo img {
  width: 100%;
  max-height: 80%;
  object-fit: cover;
  display: block;
  border-radius: 50px 0 0 0;
}

.service-hero__photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: linear-gradient(135deg, var(--clr-bg-beige), var(--clr-bg-sand));
}

/* --- Sección ¿Qué es? --- */
.service-def {
  padding-block: var(--section-py);
  background-color: var(--clr-white);
}

.service-def__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.service-def__image { border-radius: var(--radius-lg); overflow: hidden; }
.service-def__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-def__placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--clr-bg-beige), var(--clr-bg-sand));
  border-radius: var(--radius-lg);
}

.service-def__types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.service-def__type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  text-align: center;
}

.service-def__type:nth-child(n+3) {
  border-top: 1px solid rgba(0, 0, 0, .07);
}

.service-def__type:nth-child(odd) {
  border-right: 1px solid rgba(0, 0, 0, .07);
}

.service-def__type-icon svg { width: 22px; height: 22px; }

.service-def__type-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
  line-height: 1.4;
}

/* --- Sección técnicas --- */
.service-techniques {
  padding-block: var(--section-py);
  background-color: var(--clr-bg);
}

.service-techniques__box {
  background-color: var(--clr-bg-salmon);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.service-techniques__box::after {
  content: url('/wp-content/themes/fisiocalma/assets/images/fisioterapia/tecnicas-fisioterapia.svg');
  position: absolute;
  left: 0;
  bottom: -10px;
  pointer-events: none;
  @media (max-width: 991.98px) {
    content: none;
  }
}

.service-techniques__box ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.service-techniques__box ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--clr-text);
}

/* --- Sección beneficios --- */
.service-benefits__tagline {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-green-soft);
  margin-bottom: 4px;
}

.service-benefits {
  padding-block: var(--section-py);
  background-color: var(--clr-white);
}

.service-benefits.no-top {
  padding-top: 0;
}

.service-benefits__title {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.service-benefits__title.mb-0{
  margin-bottom: 20px;
}

.service-benefits__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-benefits__grid.grid-cols-4{
  grid-template-columns: repeat(4, 1fr);
  @media (max-width: 991.98px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.service-benefit__icon img { width: 60px; height: 60px; }

.service-benefit p {
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
  line-height: 1.55;
}

/* --- Especialidades --- */
.service-specialties {
  padding-block: var(--section-py);
}

.service-specialties.no-top {
  padding-top: 0;
  padding-bottom: var(--section-py);
}

.specialty-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 48px;
}
.specialty-block:last-child { border-bottom: none; padding-bottom: 0; }
.specialty-block:first-of-type { padding-top: 0; }

.specialty-block--reverse .specialty-block__content { order: 2; }
.specialty-block--reverse .specialty-block__image   { order: 1; }

.specialty-block__image { border-radius: var(--radius-lg); overflow: hidden; }
.specialty-block__image img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4/3; }
.specialty-block__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--clr-bg-beige), var(--clr-bg-sand));
  border-radius: var(--radius-lg);
}

.specialty-block__content h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: 10px;
}

.specialty-block__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 10px;
}

.specialty-block__content .btn {
  margin-top: 30px;
}

.specialty-block__content > p {
  font-size: var(--text-base);
  color: var(--clr-text-mid);
  line-height: 1.7;
  margin-bottom: 18px;
}

.specialty-block__list {
  gap: 0;
  padding-left: 18px;
  border-left: 2px solid var(--clr-cta);
  max-width: 480px;
}

.specialty-block__list p {
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--clr-cta);
  font-style: italic;
}


/* --- Método de trabajo --- */
.service-method {
  padding-bottom: clamp(58px, 7vw, 92px);
  background-color: var(--clr-white);
}

.service-method__title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  color: var(--clr-text);
  margin-bottom: 44px;
}

.method-grid {
  max-width: 1140px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.method-step {
  min-height: 230px;
  border-radius: 0;
  padding: 48px 54px 42px 132px;
  position: relative;
  overflow: hidden;
  background-color: #fbf7f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.method-step.no-padding{
  padding: 0;
}

.method-step:nth-child(2),
.method-step:nth-child(3) {
  background-color: var(--clr-bg-pink-pale);
}

.method-step__num {
  position: absolute;
  left: -18px;
  top: 18px;
  font-size: clamp(8.5rem, 16vw, 13rem);
  font-weight: 800;
  line-height: .78;
  color: rgba(210, 99, 107, .18);
  pointer-events: none;
  user-select: none;
}

.method-step:nth-child(2) .method-step__num {
  left: -10px;
  top: 36px;
}

.method-step:nth-child(3) .method-step__num {
  left: auto;
  right: -8px;
  top: 40px;
}

.method-step:nth-child(4) .method-step__num {
  left: auto;
  right: -16px;
  top: 38px;
}

.method-step__title {
  max-width: 360px;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.18;
  font-weight: 400;
  font-style: italic;
  color: #111;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.method-step__title.no-width{
  max-width: 100%;
}

.method-step__desc {
  font-size: .78rem;
  line-height: 1.4;
  color: #111;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 991.98px) {
  .method-grid {
    max-width: 720px;
  }

  .method-step {
    min-height: 190px;
    padding: 42px 36px 36px 104px;
  }

  .method-step.no-padding {
    padding: 0;
  }

  .method-step__title {
    font-size: 1.35rem;
  }
}

@media (max-width: 767.98px) {
  .service-method__title {
    margin-bottom: 30px;
  }

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

  .method-step {
    min-height: 165px;
    padding: 38px 28px 32px 92px;
  }

  .method-step__num {
    left: 0;
    top: 24px;
    font-size: 7.8rem;
  }

  .method-step:nth-child(3) {
    background-color: #fbf7f5;
  }

  .method-step:nth-child(2),
  .method-step:nth-child(4) {
    background-color: var(--clr-bg-pink-pale);
  }

  .method-step:nth-child(3) .method-step__num,
  .method-step:nth-child(4) .method-step__num {
    left: -8px;
  }

  .method-step__title {
    font-size: 1.28rem;
  }
}

/* --- CTA de servicio (botón en columna izquierda) --- */
.cta-service__btn { margin-top: 20px; align-self: flex-start; }

/* --- Responsive páginas de servicio --- */
@media (max-width: 991.98px) {
  .service-hero__content { padding-right: var(--container-px); }
  .service-def__grid { grid-template-columns: 1fr; gap: 32px; }
  .service-benefits__grid { grid-template-columns: repeat(3, 1fr); }
  .specialty-block { grid-template-columns: 1fr; gap: 24px; }
  .specialty-block--reverse .specialty-block__image { order: 2 }
  .specialty-block--reverse .specialty-block__content { order: 1 }
  .method-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
  .service-hero__content { padding-inline: var(--container-px); padding-block: 48px 40px; }
  .service-hero__title { font-size: clamp(1.375rem, 5vw, 1.75rem); }
  .service-benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .method-grid { grid-template-columns: 1fr; }
  .specialty-block { padding-block: 32px; gap: 20px; }
  .service-hero__grid { grid-template-columns: 1fr; }
//.service-hero__photo { display: none; }
  .service-hero__photo img {
    max-height: 100%;
    border-radius: 0;
  }
}


/* ============================================================
   SUELO PÉLVICO — INTRO + VALORACIÓN (CONSISTENTE CON SISTEMA)
   ============================================================ */

.sp-intro-val {
    background-color: var(--clr-white);
    padding-block: var(--section-py);
}

.sp-intro-val__container {
    width: 100%;
    max-width: 820px;
    margin-inline: auto;
    padding-inline: var(--container-px);
}

/* HEADER */
.sp-intro-val__header {
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.sp-intro-val__header h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem); /* igual que section-header */
    line-height: 1.2;
    margin-bottom: 14px;
}

.sp-intro-val__header p {
    font-size: var(--text-base);
    color: var(--clr-text-mid);
    line-height: 1.7;
    max-width: 700px;
    margin-inline: auto;
}

.sp-intro-val__header strong {
    font-weight: 600;
    color: var(--clr-text);
}

/* IMAGEN */
.sp-intro-val__image {
    margin-top: clamp(24px, 3vw, 36px);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.sp-intro-val__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* BLOQUE INFERIOR */
.sp-intro-val__bottom {
    margin-top: clamp(18px, 3vw, 28px);
}

.sp-intro-val__bottom h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--clr-green-soft);
    margin-bottom: 10px;
}

/* COLUMNAS */
.sp-intro-val__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 60px);
}

.sp-intro-val__cols p {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--clr-text-mid);
}

/* RESPONSIVE */
@media (max-width: 767.98px) {

    .sp-intro-val__cols {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sp-intro-val__bottom h3 {
        font-size: var(--text-lg);
    }

}

/* ============================================================
   SUELO PÉLVICO — TRATAMIENTOS Y EJERCICIOS
   ============================================================ */

.sp-treatment {
  background-color: var(--clr-bg);
}

.sp-treatment__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: clamp(360px, 36vw, 520px);
}

.sp-treatment__image {
  overflow: hidden;
}

.sp-treatment__image img {
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 36vw, 520px);
  object-fit: cover;
  display: block;
}

.sp-treatment__placeholder {
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 36vw, 520px);
  background-color: var(--clr-bg-beige);
}

.sp-treatment__content {
  background-color: var(--clr-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 88px) clamp(42px, 7vw, 96px);
}

.sp-treatment__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--clr-text);
}

.sp-treatment__content p,
.sp-treatment__content li {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--clr-text);
}

.sp-treatment__content ul {
  list-style: disc;
  padding-left: 1.15em;
  margin-top: clamp(24px, 3vw, 34px);
  margin-bottom: clamp(24px, 3vw, 34px);
}

.sp-treatment__content li + li {
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 767.98px) {
  .sp-treatment__grid {
    grid-template-columns: 1fr;
  }

  .sp-treatment__image img,
  .sp-treatment__placeholder {
    min-height: 280px;
  }

  .sp-treatment__content {
    padding: 42px var(--container-px);
  }
}

/* Variante terapias usando el grid del método */
.service-method--therapies .section-header {
  margin-bottom: clamp(44px, 6vw, 76px);
}

.service-method--therapies .section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
}

.service-method--therapies .method-step {
  align-items: center;
  background-color: #fbf7f5;
}

.service-method--therapies .method-step:nth-child(2),
.service-method--therapies .method-step:nth-child(3) {
  background-color: var(--clr-bg-pink-pale);
}

.method-step--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.method-step--image .method-step__title {
  position: relative;
  z-index: 1;
}

/* Sustituye números por pictogramas */
.method-step--hipopresiva::before {
  background-image: url('assets/images/suelo-pelvico/gimnasia-abdominal.svg');
  background-position: left bottom;
  background-size: 58% auto;
}

.method-step--pilates::before {
  background-image: url('assets/images/suelo-pelvico/pilates-terapeutico.svg');
  background-position: right bottom;
  background-size: 36% auto;
}

.method-step--mujer::before {
  background-image: url('assets/images/suelo-pelvico/salud-de-la-mujer.svg');
  background-position: 72% bottom;
  background-size: 22% auto;
}

.method-step--postparto::before {
  background-image: url('assets/images/suelo-pelvico/ejercicio-terapeutico-postparto.svg');
  background-position: left bottom;
  background-size: 48% auto;
}

/* ============================================================
   SALUD MUJER — ENFOQUE INTEGRAL
   ============================================================ */

.woman-focus {
  background-color: var(--clr-white);
  padding-block: var(--section-py);
  overflow: hidden;
}

.woman-focus__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(52px, 7vw, 96px);
}

.woman-focus__image {
  position: relative;
  min-height: clamp(320px, 32vw, 400px);
  overflow: visible;
}

.woman-focus__image::before {
  content: '';
  position: absolute;
  inset: -25px -34px 34px 0;
  background-color: var(--clr-green-soft);
  z-index: 0;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

.woman-focus__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(300px, 30vw, 395px);
  object-fit: cover;
  display: block;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

.woman-focus__placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(300px, 30vw, 395px);
  background-color: var(--clr-bg-beige);
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

.woman-focus__content {
  padding-right: max(var(--container-px), calc((100vw - var(--container-max)) / 2 + var(--container-px)));
}

.woman-focus__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.12;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: clamp(32px, 4vw, 48px);
}

.woman-focus__content p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--clr-text);
  max-width: 520px;
}

.woman-focus__content p + p {
  margin-top: 4px;
}

@media (max-width: 991.98px) {
  .woman-focus__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .woman-focus__content {
    max-width: 100%;
    padding-inline: var(--container-px);
  }

  .woman-focus__image::before {
    inset: -24px var(--container-px) 24px var(--container-px);
  }

  .woman-focus__image img,
  .woman-focus__placeholder {
    width: calc(100% - (var(--container-px) * 2));
    margin-inline: var(--container-px);
  }
}

@media (max-width: 767.98px) {
  .woman-focus {
    padding-block: 48px;
  }

  .woman-focus__image {
    min-height: auto;
  }

  .woman-focus__image img,
  .woman-focus__placeholder {
    height: 260px;
    clip-path: none;
  }

  .woman-focus__image::before {
    display: none;
  }

  .woman-focus__content h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 20px;
  }

  .woman-focus__content p {
    font-size: var(--text-sm);
  }
}

/* ============================================================
   WOMAN SP — TIMELINE ETAPAS
   ============================================================ */

.woman-sp-stages {
  padding-bottom: var(--section-py);
  background-color: var(--clr-white);
}

/* ============================================================
   HEADER
   ============================================================ */

.woman-sp-stages__header {
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(56px, 7vw, 82px);
}

.woman-sp-stages__header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 22px;
}

.woman-sp-stages__header p {
  max-width: 930px;
  margin-inline: auto;
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--clr-text);
}

.woman-sp-stages__header strong {
  font-weight: 700;
}

/* ============================================================
   TIMELINE
   ============================================================ */

.woman-sp-stages__timeline {
  position: relative;
  max-width: 1180px;
  min-height: 420px;
  margin-inline: auto;
}

/* Línea horizontal */
.woman-sp-stages__timeline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background-color: var(--clr-text);
  transform: translateY(-50%);
}

/* Flecha */
.woman-sp-stages__timeline::after {
  content: '';
  position: absolute;
  right: 1px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--clr-text);
  border-right: 2px solid var(--clr-text);
  transform: translateY(-50%) rotate(45deg);
}

/* ============================================================
   VARIANTE 4 CARDS
   ============================================================ */

.woman-sp-card--one,
.woman-sp-stages__dot--one {
  --x: 18%;
}

.woman-sp-card--two,
.woman-sp-stages__dot--two {
  --x: 40%;
}

.woman-sp-card--three,
.woman-sp-stages__dot--three {
  --x: 66%;
}

.woman-sp-card--four,
.woman-sp-stages__dot--four {
  --x: 88%;
}

/* arriba */
.woman-sp-card--one,
.woman-sp-card--three {
  top: 0;
}

/* abajo */
.woman-sp-card--two,
.woman-sp-card--four {
  bottom: 0;
}

/* líneas superiores */
.woman-sp-card--one::after,
.woman-sp-card--three::after {
  top: 100%;
  height: 77px;
}

/* líneas inferiores */
.woman-sp-card--two::after,
.woman-sp-card--four::after {
  bottom: 100%;
  height: 77px;
}

/* números */
.woman-sp-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: var(--text-md);
  font-weight: 700;
  color: var(--clr-text);
}

/* ============================================================
   POSICIONES COMPARTIDAS
   Card + Dot usan mismo --x
   ============================================================ */

.woman-sp-card--embarazo,
.woman-sp-stages__dot--one {
  --x: 25%;
}

.woman-sp-card--postparto,
.woman-sp-stages__dot--two {
  --x: 50%;
}

.woman-sp-card--menopausia,
.woman-sp-stages__dot--three {
  --x: 73%;
}

/* ============================================================
   DOTS — TIMELINE 4
   ============================================================ */

.woman-sp-card--one,
.woman-sp-stages__dot--step-1 {
  --x: 20%;
}

.woman-sp-card--two,
.woman-sp-stages__dot--step-2 {
  --x: 40%;
}

.woman-sp-card--three,
.woman-sp-stages__dot--step-3 {
  --x: 60%;
}

.woman-sp-card--four,
.woman-sp-stages__dot--step-4 {
  --x: 80%;
}

/* ============================================================
   DOTS
   ============================================================ */

.woman-sp-stages__dot {
  position: absolute;
  left: var(--x);
  top: 50%;

  width: 14px;
  height: 14px;

  border-radius: var(--radius-pill);
  background-color: var(--clr-green-soft);

  transform: translate(-50%, -50%);
  z-index: 3;
}

/* ============================================================
   CARDS
   ============================================================ */

.woman-sp-card {
  position: absolute;
  left: var(--x);

  width: clamp(320px, 25vw, 320px);
  min-height: 122px;

  background-color: var(--clr-white);

  border: 1px solid rgba(0,0,0,.28);
  border-radius: var(--radius-sm);

  box-shadow: var(--shadow-sm);

  padding: 35px 34px 24px;

  transform: translateX(-50%);
}

/* Línea vertical */
.woman-sp-card::after {
  content: '';
  position: absolute;
  left: 50%;

  width: 1px;
  background-color: var(--clr-text);

  transform: translateX(-50%);
}

/* ============================================================
   POSICIONES CARDS
   ============================================================ */

/* Superiores */
.woman-sp-card--embarazo,
.woman-sp-card--menopausia {
  top: 0;
}

/* Línea hasta timeline */
.woman-sp-card--embarazo::after,
.woman-sp-card--menopausia::after {
  top: 100%;
  height: 77px;
}

.woman-sp-card--embarazo.h-55::after,
.woman-sp-card--postparto.h-55::after {
  height: 55px;
}

/* Inferior */
.woman-sp-card--postparto {
  bottom: 0;
}

/* Línea hacia arriba */
.woman-sp-card--postparto::after {
  bottom: 100%;
  height: 77px;
}

/* ============================================================
   ICONO
   ============================================================ */

.woman-sp-card__icon {
  position: absolute;
  left: 22px;
  top: -20px;
  width: 44px;
  background-color: var(--clr-white);
}

.woman-sp-card__icon.bg-salmon{
  height: 44px;
  background-color: var(--clr-bg-beige);
  border: solid 1px var(--clr-bg-salmon);
  border-radius: 50%;
}

.woman-sp-card__icon::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: inherit;
}

/* ============================================================
   TEXTOS
   ============================================================ */

.woman-sp-card h3 {
  font-size: var(--text-md);
  line-height: 1.2;
  font-weight: 600;
  color: var(--clr-text);

  margin-bottom: 12px;
}

.woman-sp-card p {
  font-size: var(--text-xs);
  line-height: 1.7;
  color: var(--clr-text);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991.98px) {

  .woman-sp-stages__timeline {
    min-height: auto;
  }

  .woman-sp-stages__timeline::before,
  .woman-sp-stages__timeline::after,
  .woman-sp-stages__dot,
  .woman-sp-card::after {
    display: none;
  }

  .woman-sp-card {
    position: relative;

    left: auto;
    top: auto;
    right: auto;
    bottom: auto;

    transform: none;

    width: 100%;
    max-width: 420px;

    margin-inline: auto;
    margin-bottom: 28px;
  }

}

@media (max-width: 767.98px) {

  .woman-sp-stages {
    padding-block: 64px;
  }

  .woman-sp-stages__header {
    margin-bottom: 42px;
  }

  .woman-sp-card {
    max-width: 100%;
    padding: 35px 24px 22px;
  }

}

/* ============================================================
   PEDIÁTRICA — CUÁNDO ACUDIR
   ============================================================ */

.pediatric-signs {
  padding-bottom: var(--section-py);
  background-color: var(--clr-white);
}

.pediatric-signs.p-top{
  padding-top: var(--section-py);
}

.pediatric-signs__header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
}

.pediatric-signs__header p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--clr-text-mid);
}

.pediatric-signs__grid {
  max-width: 1040px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(34px, 4vw, 42px) 18px;
}

.pediatric-sign-card {
  grid-column: span 2;
}

/* Segunda fila centrada */
.pediatric-sign-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.pediatric-sign-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.pediatric-sign-card {
  position: relative;
  min-height: 154px;
  padding: 60px 28px 28px;
  background-color: var(--clr-white);
  border: 1px solid rgba(0, 0, 0, .14);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .06);
}

.pediatric-sign-card__icon {
  position: absolute;
  left: 22px;
  top: -36px;

  width: 72px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius-pill);
  background-color: var(--clr-green-soft);
  border: 1px solid var(--clr-bg-salmon);
}

.pediatric-sign-card__icon .step{
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--clr-white);
}

.pediatric-sign-card__icon.bg-beige {
  background-color: var(--clr-bg);
}

.pediatric-sign-card__icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.pediatric-sign-card h3 {
  font-size: var(--text-base);
  line-height: 1.12;
  font-weight: 700;
  color: var(--clr-text);
  min-height: 36px;
  @media (max-width: 991.98px) {
    min-height: auto;
  }
}

.pediatric-sign-card p {
  font-size: var(--text-sm);
  color: var(--clr-text);
  margin-top: 20px;
}

@media (max-width: 991.98px) {
  .pediatric-signs__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 18px;
  }

  .pediatric-sign-card,
  .pediatric-sign-card:nth-child(4),
  .pediatric-sign-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 767.98px) {
  .pediatric-signs__header {
    margin-bottom: 48px;
  }

  .pediatric-signs__grid {
    grid-template-columns: 1fr;
  }

  .pediatric-sign-card {
    min-height: 140px;
  }
}

/* ============================================================
   PEDIÁTRICA — ACOMPAÑAMOS A TODA LA FAMILIA
   ============================================================ */

.family-support {
  padding-bottom: clamp(54px, 7vw, 90px);
  background-color: var(--clr-white);
}

.family-support__grid {
  max-width: 1140px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(320px, 31vw, 390px);
  background-color: var(--clr-bg-salmon);
}

.family-support__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 6vw, 78px) 0 clamp(42px, 5vw, 62px) clamp(70px, 7vw, 92px);
}

.family-support__card {
  width: min(560px, calc(100% + 70px));
  background-color: var(--clr-white);
  padding: clamp(26px, 3vw, 34px) clamp(28px, 3.5vw, 42px);
  box-shadow: var(--shadow-xs);
}

.family-support__card h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.08;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: clamp(18px, 2vw, 24px);
}

.family-support__card p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--clr-text);
}

.family-support__text {
  max-width: 390px;
  margin-top: 28px;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--clr-text);
}

.family-support__text a {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  color: var(--clr-green-soft);
  font-size: var(--text-xl);
  line-height: 1;
  vertical-align: middle;
}

.family-support__image {
  position: relative;
  overflow: hidden;
}

.family-support__image img {
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 31vw, 390px);
  object-fit: cover;
  display: block;
}

.family-support__placeholder {
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 31vw, 390px);
  background-color: var(--clr-bg-beige);
}

@media (max-width: 991.98px) {
  .family-support__grid {
    grid-template-columns: 1fr;
  }

  .family-support__content {
    padding: 48px var(--container-px);
  }

  .family-support__card {
    width: 100%;
  }

  .family-support__image img,
  .family-support__placeholder {
    min-height: 300px;
  }
}

@media (max-width: 767.98px) {

  .family-support__text {
    max-width: 100%;
  }
}

/* ============================================================
   SALUD MUJER — PROGRAMAS EJERCICIO TERAPÉUTICO
   ============================================================ */

.woman-programs {
  padding-bottom: var(--section-py);
  background-color: var(--clr-white);
}

.woman-programs__header {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 38px);
}

.woman-programs__header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 24px;
}

.woman-programs__header p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--clr-text);
}

.woman-programs__grid {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.woman-programs__image {
  min-height: clamp(250px, 24vw, 310px);
  overflow: hidden;
  background-color: var(--clr-bg-beige);
}

.woman-programs__image img {
  width: 100%;
  height: 100%;
  min-height: clamp(250px, 24vw, 310px);
  object-fit: cover;
  display: block;
}

.woman-programs__placeholder {
  width: 100%;
  height: 100%;
  min-height: clamp(250px, 24vw, 310px);
  background-color: var(--clr-bg-beige);
}

.woman-programs__card {
  min-height: clamp(250px, 24vw, 310px);
  padding: clamp(48px, 5vw, 70px) clamp(40px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--clr-white);
}

.woman-programs__card--soft {
  background-color: var(--clr-bg-salmon);
}

.woman-programs__card--strong {
  background-color: var(--clr-cta-light);
  @media (max-width: 767.98px) {
    order: 4;
  }
}

.woman-programs__image.order-2{
  @media (max-width: 767.98px) {
    order: 3;
  }
}

.woman-programs__card h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 22px;
}

.woman-programs__card p {
  max-width: 360px;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--clr-text);
  margin-bottom: 20px;
}

.woman-programs__card a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--clr-green-soft);
  color: var(--clr-green-dark);
  font-size: var(--text-xs);
  font-weight: 500;
  transition: transform var(--ease), background var(--ease);
}

.woman-programs__card a:hover {
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 767.98px) {
  .woman-programs__grid {
    grid-template-columns: 1fr;
  }

  .woman-programs__card {
    min-height: auto;
    padding: 42px var(--container-px);
  }

  .woman-programs__image img,
  .woman-programs__placeholder {
    min-height: 260px;
  }

  .woman-programs__card h3 {
    font-size: var(--text-xl);
  }
}


/* ============================================================
   POSTPARTO — CONSEJOS
   ============================================================ */

.postpartum-tips {
  padding-bottom: var(--section-py);
  background-color: var(--clr-white);
}

.postpartum-tips__layout {
  max-width: 1040px;
  margin-inline: auto;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 84px);

  align-items: center;
}

/* ============================================================
   GRID
   ============================================================ */

.postpartum-tips__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* escalonado */
.postpartum-tip-card:nth-child(2),
.postpartum-tip-card:nth-child(4) {
  transform: translateY(38px);
}

/* ============================================================
   CARD
   ============================================================ */

.postpartum-tip-card {
  min-height: 178px;

  padding: 30px 24px;

  background-color: var(--clr-white);

  border: 1px solid rgba(0,0,0,.10);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.postpartum-tip-card__icon {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 22px;
}

.postpartum-tip-card__icon img {
  object-fit: contain;
}

.postpartum-tip-card h3 {
  font-size: clamp(1rem, 1.2vw, 1.375rem);
  line-height: 1.2;
  font-weight: 600;
  color: var(--clr-text);

  max-width: 230px;
}

/* ============================================================
   CONTENT
   ============================================================ */

.postpartum-tips__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: .98;
  font-weight: 600;
  color: var(--clr-text);

  margin-bottom: 22px;
}

.postpartum-tips__content p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--clr-text);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991.98px) {

  .postpartum-tips__layout {
    grid-template-columns: 1fr;
  }

  .postpartum-tips__content {
    text-align: center;
  }

}

@media (max-width: 767.98px) {

  .postpartum-tips__grid {
    grid-template-columns: 1fr;
  }

  .postpartum-tip-card:nth-child(2),
  .postpartum-tip-card:nth-child(4) {
    transform: none;
  }

}

/* ============================================================
   OSTEOPATÍA — POR QUÉ ELEGIRNOS
   ============================================================ */

.osteo-why {
  padding-block: clamp(40px, 5vw, 60px);
  background-color: var(--clr-bg-pink-pale);
  margin-bottom: var(--section-py);
}

.osteo-why__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.osteo-why__image {
  overflow: hidden;
  background-color: var(--clr-bg-beige);
}

.osteo-why__image img {
  width: 100%;
  height: clamp(190px, 18vw, 245px);
  object-fit: cover;
  display: block;
}

.osteo-why__placeholder {
  width: 100%;
  height: clamp(190px, 18vw, 245px);
  background-color: var(--clr-bg-beige);
}

.osteo-why__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: clamp(24px, 3vw, 34px);
}

.osteo-why__content p {
  max-width: 650px;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--clr-text);
}

@media (max-width: 767.98px) {
  .osteo-why__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LACTANCIA — POR QUÉ ELEGIRNOS
   ============================================================ */

.lactation-why {
  background-color: var(--clr-white);
  padding-bottom: var(--section-py);
}

.lactation-why__header {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 42px);
}

.lactation-why__header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 18px;
}

.lactation-why__header p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--clr-text);
}

.lactation-why__image {
  width: 100%;
  overflow: hidden;
  background-color: var(--clr-bg-beige);
}

.lactation-why__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.lactation-why__placeholder {
  width: 100%;
  height: clamp(300px, 34vw, 460px);
  background-color: var(--clr-bg-beige);
}

@media (max-width: 767.98px) {
  .lactation-why__image img,
  .lactation-why__placeholder {
    height: 260px;
  }
}


/* ============================================================
   CONTACTO — CONVERSACIÓN
   ============================================================ */

.contact-conversation {
  padding-block: var(--section-py);
  background-color: var(--clr-white);
}

.contact-conversation__header {
  text-align: center;
  margin-bottom: clamp(34px, 5vw, 48px);
}

.contact-conversation__header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 24px;
}

.contact-conversation__header p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--clr-text);
}

.contact-conversation__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: center;
}

.contact-conversation__map {
  height: clamp(320px, 31vw, 410px);
  overflow: hidden;
  background-color: var(--clr-bg-beige);
}

.contact-conversation__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.contact-conversation__content {
  text-align: center;
}

.contact-conversation__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.contact-conversation__logo img {
  height: clamp(70px, 8vw, 100px);
  width: auto;
}

.contact-conversation__logo span {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 600;
  color: var(--clr-text);
}

.contact-conversation__logo span span {
  color: var(--clr-accent);
}

.contact-conversation__content h3 {
  font-size: var(--text-xl);
  line-height: 1.2;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 28px;
}

.contact-conversation__content p {
  max-width: 500px;
  margin-inline: auto;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--clr-text);
  margin-bottom: 26px;
}

.contact-conversation__content address {
  font-style: normal;
  font-size: var(--text-xl);
  line-height: 1.12;
  font-weight: 500;
  color: var(--clr-accent-dark);
}

.contact-conversation__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: var(--radius-md);
  background-color: var(--clr-bg-salmon);
  color: var(--clr-text);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: transform var(--ease), background var(--ease);
}

.contact-conversation__btn:hover {
  transform: translateY(-2px);
  background-color: var(--clr-bg-pink-pale);
}

@media (max-width: 991.98px) {
  .contact-conversation__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 767.98px) {
  .contact-conversation__map {
    height: 300px;
  }

  .contact-conversation__content address {
    font-size: var(--text-lg);
  }
}

/* ============================================================
   CONTACTO — RESERVA TU CITA
   ============================================================ */

.contact-booking {
  padding-bottom: var(--section-py);
  background-color: var(--clr-white);
}

.contact-booking__header {
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: clamp(54px, 7vw, 82px);
}

.contact-booking__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 24px;
}

.contact-booking__header p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--clr-text);
}

.contact-booking__box {
  max-width: 980px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  border: 4px solid var(--clr-bg-salmon);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--clr-white);
}

.contact-booking__form {
  padding: clamp(42px, 5vw, 62px) clamp(44px, 6vw, 72px);
}

.contact-booking__form.no-padding {
  padding: 0;
}

.contact-booking__form.no-padding input[type="submit"]{
  width: 100%;
}

.contact-booking__form.no-padding input[type="submit"]:hover{
  background-color: var(--clr-cta-light);
}

/* Contact Form 7 */
.contact-booking__form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-booking__form label {
  display: block;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: var(--clr-text);
}

.contact-booking__form input[type="text"],
.contact-booking__form input[type="email"],
.contact-booking__form input[type="tel"],
.contact-booking__form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--clr-bg-salmon);
  border-radius: var(--radius-sm);
  background-color: var(--clr-white);
  font-size: var(--text-sm);
  color: var(--clr-text);
}

.contact-booking__form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-booking__form .wpcf7-acceptance label {
  //display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--clr-text-mid);
}

.contact-booking__form input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.contact-booking__form input[type="submit"] {
  width: fit-content;
  margin-top: 20px;
  padding: 9px 24px;
  border-radius: var(--radius-sm);
  background-color: var(--clr-cta);
  color: var(--clr-white);
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease);
}

.contact-booking__form input[type="submit"]:hover {
  transform: translateY(-2px);
  background-color: var(--clr-cta-light);
}

.contact-booking__info {
  background-color: var(--clr-bg-salmon);
  padding: clamp(42px, 5vw, 58px) 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 42px);
  text-align: center;
}

.contact-booking__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-booking__icon {
  width: 68px;
  height: 68px;
  margin-bottom: 16px;
  border-radius: var(--radius-pill);
  background-color: var(--clr-accent-dark);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  line-height: 1;
}

.contact-booking__item p, .contact-booking__item a {
  font-size: var(--text-base);
  line-height: 1.28;
  font-weight: 500;
  color: var(--clr-text);
}

/* Mensajes CF7 */
.contact-booking__form .wpcf7-not-valid-tip {
  margin-top: 4px;
  font-size: var(--text-xs);
  color: var(--clr-accent-dark);
}

.contact-booking__form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}

@media (max-width: 991.98px) {
  .contact-booking__box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .contact-booking__form {
    padding: 34px var(--container-px);
  }

  .contact-booking__icon {
    width: 58px;
    height: 58px;
  }
}

/* Base */
.wpcf7 form .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  border: 1px solid transparent;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* ENVIADO CORRECTAMENTE */
.wpcf7 form.sent .wpcf7-response-output {
  background: #ecfdf3;
  color: #166534;
  border-color: #86efac;
}

/* ERROR DE ENVÍO */
.wpcf7 form.failed .wpcf7-response-output {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fca5a5;
}

/* VALIDACIÓN */
.wpcf7 form.invalid .wpcf7-response-output {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fdba74;
}

/* SPAM */
.wpcf7 form.spam .wpcf7-response-output {
  background: #faf5ff;
  color: #6b21a8;
  border-color: #d8b4fe;
}

/* Inputs inválidos */
.wpcf7-not-valid {
  border-color: #dc2626 !important;
}

/* Mensaje debajo del input */
.wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.cky-consent-bar{
  background-color: var(--clr-text-mid) !important;
  border-color: var(--clr-text-mid) !important;
}
.cky-btn{
  background: var(--clr-white) !important;
  color: var(--clr-text) !important;
  border-color: var(--clr-white) !important;
}

.cky-modal-open .cky-btn{
  background: var(--clr-text) !important;
  color: var(--clr-white) !important;
  border-color: var(--clr-text) !important;
}

.cky-show-desc-btn{
  color: var(--clr-cta) !important;
}
.cky-title, .cky-notice-des{
  color: var(--clr-white) !important;
}

/* ============================================================
   SOBRE NOSOTROS
   ============================================================ */

.about-intro {
  padding-block: var(--section-py);
  background-color: var(--clr-white);
}

.about-intro__logo {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  opacity: .9;
}

.about-intro__logo img {
  width: clamp(180px, 22vw, 280px);
  height: auto;
}

.about-member--pink {
  background-color: var(--clr-bg-salmon);
  margin-bottom: var(--section-py);
  padding-top: var(--section-py);
}

.about-member .why-us__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 10px;
}

.about-member .why-us__content strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--clr-accent);
}

.about-member .why-us__content p {
  font-size: var(--text-sm);
  color: var(--clr-text);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-member .why-us__visual {
  border-radius: 0;
  background-color: transparent;
}

.mb-4 {
  margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .about-member .why-us__visual {
    order: 1;
  }

  .about-member .why-us__content {
    order: 2;
  }
}

/* ============================================================
   404
   ============================================================ */

.error-hero {
  background-color: var(--clr-bg-salmon);
  overflow: hidden;
}

.error-hero__inner {
  min-height: clamp(520px, 58vw, 680px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.error-hero__content {
  max-width: 560px;
}

.error-hero__kicker {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-accent-dark);
  margin-bottom: 14px;
}

.error-hero__content h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 18px;
}

.error-hero__content p {
  max-width: 500px;
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--clr-text);
}

.error-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.error-hero__visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-hero__number {
  font-size: clamp(8rem, 18vw, 15rem);
  line-height: .8;
  font-weight: 800;
  color: rgba(255, 255, 255, .55);
  text-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.error-hero__visual img {
  position: absolute;
  width: min(520px, 90%);
  opacity: .32;
}

.error-links {
  padding-block: var(--section-py);
  background-color: var(--clr-white);
}

.error-links__grid {
  max-width: 980px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.error-links .servicio-card {
  min-height: 170px;
}

@media (max-width: 991.98px) {
  .error-hero__inner {
    grid-template-columns: 1fr;
    padding-block: 72px;
  }

  .error-hero__visual {
    min-height: 220px;
  }
}

@media (max-width: 767.98px) {
  .error-links__grid {
    grid-template-columns: 1fr;
  }

  .error-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.header-actions .d-none.d-lg-block{
  display: block;
  @media (max-width: 991.98px) {
    display: none;
  }
}


/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-page {
  background-color: var(--clr-white);
}

/* ============================================================
   HERO
   ============================================================ */

.legal-hero {
  background-color: var(--clr-bg-salmon);
  padding-block: clamp(72px, 9vw, 120px);
}

.legal-hero__content {
  max-width: 760px;
}

.legal-hero__eyebrow {
  display: inline-block;
  margin-bottom: 14px;

  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;

  color: var(--clr-accent-dark);
}

.legal-hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 700;

  color: var(--clr-text);

  margin-bottom: 22px;
}

.legal-hero__desc {
  max-width: 640px;

  font-size: var(--text-md);
  line-height: 1.8;

  color: var(--clr-text);
}

/* ============================================================
   CONTENT
   ============================================================ */

.legal-content {
  padding-block: clamp(72px, 8vw, 110px);
}

.legal-content__wrapper {
  max-width: 920px;
  margin-inline: auto;
}

.legal-block {
  padding-bottom: 42px;
  margin-bottom: 42px;

  border-bottom: 1px solid rgba(0,0,0,.08);
}

.legal-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-block h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.2;
  font-weight: 600;

  color: var(--clr-text);

  margin-bottom: 22px;
}

.legal-block p,
.legal-block li {
  font-size: var(--text-base);
  line-height: 1.9;

  color: var(--clr-text-mid);
}

.legal-block p + p {
  margin-top: 18px;
}

.legal-block ul {
  display: flex;
  flex-direction: column;
  gap: 10px;

  margin-top: 22px;
}

.legal-block li strong {
  color: var(--clr-text);
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 767.98px) {

  .legal-hero {
    padding-block: 72px;
  }

  .legal-content {
    padding-block: 64px;
  }

  .legal-block {
    margin-bottom: 34px;
    padding-bottom: 34px;
  }

  .legal-block p,
  .legal-block li {
    font-size: var(--text-sm);
    line-height: 1.8;
  }

}