/* ==========================================================================
   DC Fisioterapia · Sistema de diseño web (Manual de Marca v1.0)
   Colores, tipografías y elementos gráficos del manual. Oro NUNCA en botones
   ni texto pequeño. Proporción: blanco 58 · verde 20 · marino 14 · azul 5 · oro 3.
   ========================================================================== */

@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/RobotoCond-Rg.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/RobotoCond-Md.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/RobotoCond-Bd.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Respaldo con métricas ajustadas para que el cambio de fuente no mueva la página (CLS) */
@font-face { font-family: "Montserrat-respaldo"; src: local("Arial"); size-adjust: 112%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Kaushan Script"; src: url("../fonts/Kaushan.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* Tokens de color (manual p. 20) */
  --verde: #127A7D;
  --verde-profundo: #0F5E78;
  --verde-hover: #0E6568;
  --azul-marino: #13294B;
  --azul: #1E6FA8;
  --oro: #C9A04A;
  --gris-texto: #5B6B72;
  --gris-claro: #DFEAEA;
  --fondo-suave: #F3F7F7;
  --blanco: #FFFFFF;
  --rojo: #B3261E;
  --rojo-suave: #FCEDEC;
  --exito-suave: #E7F4F1;
  --aviso-suave: #FBF5E8;
  --whatsapp: #25D366;

  /* Tipografía */
  --f-titulo: "Montserrat", "Montserrat-respaldo", "Segoe UI", Arial, sans-serif;
  --f-texto: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --f-acento: "Kaushan Script", "Brush Script MT", cursive;

  --t-h1: clamp(2.25rem, 1.6rem + 2.6vw, 3rem);      /* 36–48 px (manual 40–48; 36 en celulares pequeños) */
  --t-h2: clamp(1.75rem, 1.5rem + 1vw, 2rem);        /* 28–32 px */
  --t-h3: clamp(1.2rem, 1.1rem + .4vw, 1.375rem);
  --t-texto: 1.0625rem;                              /* 17 px */
  --t-grande: 1.1875rem;
  --t-peq: .9375rem;

  /* Espacios, radios, sombras */
  --ancho: 1180px;
  --gutter: 16px;
  --radio: 16px;
  --radio-peq: 10px;
  --radio-boton: 999px;
  --sombra: 0 1px 2px rgba(19, 41, 75, .06), 0 8px 24px rgba(19, 41, 75, .06);
  --sombra-alta: 0 12px 40px rgba(19, 41, 75, .14);
  --borde: 1px solid var(--gris-claro);
  --foco: 0 0 0 3px rgba(18, 122, 125, .35);
}

@media (min-width: 720px) { :root { --gutter: 24px; --t-texto: 1.125rem; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; scroll-padding-bottom: 96px; }
body {
  margin: 0; background: var(--blanco); color: var(--azul-marino);
  font-family: var(--f-texto); font-size: var(--t-texto); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--verde); text-underline-offset: 3px; }
a:hover { color: var(--verde-hover); }
h1, h2, h3, h4 { font-family: var(--f-titulo); font-weight: 700; color: var(--azul-marino); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: var(--borde); margin: 2rem 0; }
small, .texto-peq { font-size: var(--t-peq); }
.texto-gris { color: var(--gris-texto); }
.texto-centro { text-align: center; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: 8px; top: -60px; background: var(--azul-marino); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.saltar:focus { top: 8px; color: #fff; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.contenedor { width: 100%; max-width: calc(var(--ancho) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.contenedor-estrecho { max-width: calc(760px + 2 * var(--gutter)); }

/* ---------- Acentos de marca ---------- */
.acento { font-family: var(--f-acento); font-weight: 400; color: var(--verde); letter-spacing: 0; }
.eyebrow {
  display: inline-block; font-family: var(--f-titulo); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--verde); margin-bottom: .75rem;
}
.titulo-seccion::after, .con-filete::after {
  content: ""; display: block; width: 64px; height: 3px; background: var(--oro); margin-top: .6rem; border-radius: 2px;
}
.texto-centro .titulo-seccion::after, .titulo-seccion.centro::after { margin-left: auto; margin-right: auto; }
/* Trazo de pincel: una sola palabra por pieza, Kaushan blanca sobre verde */
.pincel {
  display: inline-block; font-family: var(--f-acento); font-weight: 400; color: #fff;
  background: url("../img/marca/pincel.svg") center / 100% 100% no-repeat;
  padding: .12em .9em .22em; line-height: 1.25;
}
/* Subrayado caligráfico oro */
.subrayado-oro { display: inline-block; padding-bottom: .38em; background: url("../img/marca/subrayado-oro.svg") center bottom / 100% .42em no-repeat; }
.firma { font-family: var(--f-acento); color: var(--verde); font-size: 1.5rem; }

/* ---------- Botones (redondeados, verde DC; nunca oro) ---------- */
.btn {
  --b-fondo: var(--verde); --b-texto: #fff; --b-borde: var(--verde);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.5rem; border-radius: var(--radio-boton);
  font-family: var(--f-texto); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  background: var(--b-fondo); color: var(--b-texto); border: 2px solid var(--b-borde);
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; text-align: center;
}
.btn:hover { --b-fondo: var(--verde-hover); --b-borde: var(--verde-hover); color: var(--b-texto); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-secundario { --b-fondo: transparent; --b-texto: var(--verde); --b-borde: var(--verde); }
.btn-secundario:hover { --b-fondo: var(--verde); --b-texto: #fff; }
.btn-claro { --b-fondo: #fff; --b-texto: var(--verde); --b-borde: #fff; }
.btn-claro:hover { --b-fondo: var(--fondo-suave); --b-borde: var(--fondo-suave); --b-texto: var(--verde-hover); }
.btn-borde-claro { --b-fondo: transparent; --b-texto: #fff; --b-borde: rgba(255,255,255,.8); }
.btn-borde-claro:hover { --b-fondo: #fff; --b-texto: var(--verde); }
.btn-marino { --b-fondo: var(--azul-marino); --b-borde: var(--azul-marino); }
.btn-marino:hover { --b-fondo: #0c1c35; --b-borde: #0c1c35; }
.btn-peligro { --b-fondo: var(--rojo); --b-borde: var(--rojo); }
.btn-peligro:hover { --b-fondo: #8f1e17; --b-borde: #8f1e17; }
.btn-texto { --b-fondo: transparent; --b-borde: transparent; --b-texto: var(--verde); padding-left: .4rem; padding-right: .4rem; min-height: 40px; }
.btn-texto:hover { --b-fondo: var(--fondo-suave); --b-borde: var(--fondo-suave); }
.btn-peq { min-height: 38px; padding: .45rem 1rem; font-size: .9375rem; }
.btn-bloque { display: flex; width: 100%; }
.grupo-botones { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- Cabecera ---------- */
.cabecera { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.cabecera.con-sombra { border-bottom-color: var(--gris-claro); box-shadow: 0 2px 12px rgba(19,41,75,.05); }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
/* Manual p. 10: la versión horizontal corta exige mínimo 200 px de ancho; por debajo se usa solo el isotipo. */
.logo img { width: auto; }
.logo .logo-completo { display: none; height: 62px; }
.logo .logo-isotipo { height: 48px; }
@media (min-width: 1100px) { .logo .logo-completo { display: block; } .logo .logo-isotipo { display: none; } }
.nav-principal { display: none; }
.nav-principal ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; align-items: center; }
.nav-principal a { display: block; padding: .5rem .7rem; color: var(--azul-marino); text-decoration: none; font-weight: 500; border-radius: 8px; }
.nav-principal a:hover, .nav-principal a[aria-current="page"] { color: var(--verde); background: var(--fondo-suave); }
.acciones-cabecera { display: flex; align-items: center; gap: .5rem; }
.acciones-cabecera .btn-cabecera { display: none; }
.boton-menu { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--fondo-suave); color: var(--azul-marino); cursor: pointer; }
@media (min-width: 1100px) {
  .nav-principal { display: block; }
  .boton-menu { display: none; }
  .acciones-cabecera .btn-cabecera { display: inline-flex; }
}
@media (min-width: 560px) and (max-width: 1099px) { .acciones-cabecera .btn-cabecera { display: inline-flex; } }
.menu-movil { display: none; border-top: var(--borde); background: #fff; }
.menu-movil.abierto { display: block; }
.menu-movil ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1.25rem; }
.menu-movil a { display: block; padding: .85rem .25rem; border-bottom: 1px solid var(--fondo-suave); color: var(--azul-marino); text-decoration: none; font-weight: 500; font-size: 1.1rem; }
.menu-movil .btn { margin-top: 1rem; }
@media (min-width: 1100px) { .menu-movil { display: none !important; } }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; position: relative; }
.seccion-suave { background: var(--fondo-suave); }
.seccion-verde { background: var(--verde); color: #fff; }
.seccion-verde h1, .seccion-verde h2, .seccion-verde h3 { color: #fff; }
.seccion-verde .eyebrow { color: #cfe7e6; }
.seccion-marino { background: var(--azul-marino); color: #fff; }
.seccion-marino h2, .seccion-marino h3 { color: #fff; }
.encabezado-seccion { max-width: 720px; margin-bottom: 2.25rem; }
.encabezado-seccion.centro { margin-left: auto; margin-right: auto; text-align: center; }
.encabezado-seccion p { color: var(--gris-texto); font-size: var(--t-grande); }
.seccion-verde .encabezado-seccion p, .seccion-marino .encabezado-seccion p { color: #e3f0ef; }

/* Curvas de esquina: verde sólido arriba-izquierda; tricapa abajo-derecha. Nunca en las otras dos. */
.con-curvas { position: relative; overflow: hidden; isolation: isolate; }
.curva-sup-izq, .curva-inf-der { position: absolute; pointer-events: none; z-index: -1; }
.curva-sup-izq { top: 0; left: 0; width: clamp(120px, 22vw, 300px); height: clamp(72px, 13vw, 180px); background: url("../img/marca/curva-sup-izq.svg") no-repeat 0 0 / 100% 100%; }
.curva-inf-der { right: 0; bottom: 0; width: clamp(200px, 40vw, 560px); height: clamp(96px, 19vw, 266px); background: url("../img/marca/curva-inf-der.svg") no-repeat 100% 100% / 100% 100%; }
/* Marca de agua: isotipo gris claro, solo sobre blanco */
.marca-agua { position: absolute; pointer-events: none; z-index: -1; background: url("../img/marca/isotipo-marca-agua.svg") no-repeat center / contain; opacity: 1; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 1.5rem + 5vw, 6rem) 0 clamp(5rem, 4rem + 6vw, 9rem); }
.hero .contenedor { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero .contenedor { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { margin-bottom: .2em; }
.hero h1 .acento { display: block; font-size: 1.15em; line-height: 1.15; margin: .05em 0 .1em; }
.hero h1 .linea-2 { display: block; font-size: .72em; }
.hero .bajada { font-size: var(--t-grande); color: var(--gris-texto); max-width: 36ch; margin: 1rem 0 1.75rem; }
.hero .confianza { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.5rem; color: var(--gris-texto); font-size: var(--t-peq); }
.hero .confianza span { display: inline-flex; align-items: center; gap: .4rem; }
.hero .confianza svg { color: var(--verde); }
.hero-media { position: relative; }
.hero-media .marca-agua { inset: -8% -10% -8% -10%; }

/* Espacio reservado para foto (se reemplaza cuando lleguen las fotos reales de Diana) */
.foto { position: relative; border-radius: 24px; overflow: hidden; background: var(--fondo-suave); aspect-ratio: 4 / 5; box-shadow: var(--sombra); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto-reservada { display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--gris-texto); border: 2px dashed #c6d9d9; background: linear-gradient(160deg, #fff, var(--fondo-suave)); }
.foto-reservada img { width: 38%; height: auto; opacity: .9; margin: 0 auto 1rem; object-fit: contain; }
.foto-reservada p { margin: 0; font-size: var(--t-peq); max-width: 26ch; }
.foto-ancha { aspect-ratio: 16 / 10; }
.foto-cuadrada { aspect-ratio: 1; }

/* ---------- Tarjetas y rejillas ---------- */
.rejilla { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .rejilla-2, .rejilla-3, .rejilla-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .rejilla-3 { grid-template-columns: repeat(3, 1fr); } .rejilla-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .rejilla-5 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 640px) and (max-width: 1099px) { .rejilla-5 { grid-template-columns: repeat(2, 1fr); } }
.tarjeta { background: #fff; border: var(--borde); border-radius: var(--radio); padding: 1.5rem; box-shadow: var(--sombra); }
.tarjeta h3 { margin-top: .75rem; }
.tarjeta p:last-child { margin-bottom: 0; }
a.tarjeta { display: block; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.tarjeta:hover { transform: translateY(-2px); box-shadow: var(--sombra-alta); color: inherit; }
.tarjeta-suave { background: var(--fondo-suave); border-color: transparent; box-shadow: none; }
.tarjeta .enlace-flecha { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--verde); margin-top: .75rem; }

/* Fila de servicios (ícono + nombre) */
.fila-servicios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; }
@media (min-width: 720px) { .fila-servicios { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .fila-servicios { grid-template-columns: repeat(5, 1fr); } }
.item-servicio { display: flex; align-items: center; gap: .75rem; color: var(--azul-marino); text-decoration: none; font-weight: 700; line-height: 1.2; }
.item-servicio:hover { color: var(--verde); }
.item-servicio svg { flex-shrink: 0; }

/* Pasos */
.pasos { counter-reset: paso; display: grid; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 800px) { .pasos { grid-template-columns: repeat(4, 1fr); } }
.pasos li { position: relative; background: #fff; border: var(--borde); border-radius: var(--radio); padding: 1.5rem 1.25rem 1.25rem; }
.pasos li::before { counter-increment: paso; content: counter(paso); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--verde); color: #fff; font-family: var(--f-titulo); font-weight: 700; margin-bottom: .9rem; }
.pasos h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.pasos p { color: var(--gris-texto); margin: 0; font-size: 1rem; }

/* Lista con checks */
.lista-check { list-style: none; padding: 0; margin: 0 0 1rem; }
.lista-check li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* Cita / claim */
.claim { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.3; max-width: 26ch; }
.claim .acento { font-size: 1.1em; }

/* Chips y etiquetas */
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; background: var(--fondo-suave); color: var(--azul-marino); font-size: .875rem; font-weight: 500; line-height: 1.4; }
.chip-verde { background: var(--exito-suave); color: var(--verde-profundo); }
.chip-azul { background: #e8f1f8; color: #185a89; }
.chip-oro { background: var(--aviso-suave); color: #7a5a17; }
.chip-rojo { background: var(--rojo-suave); color: var(--rojo); }
.chip-gris { background: #eef1f2; color: var(--gris-texto); }
.lista-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }

/* ---------- Formularios ---------- */
.formulario { display: grid; gap: 1.1rem; }
.fila-campos { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .fila-campos { grid-template-columns: 1fr 1fr; } }
.campo { display: grid; gap: .35rem; }
.campo label, .etiqueta { font-weight: 700; color: var(--azul-marino); font-size: 1rem; }
.campo .ayuda { color: var(--gris-texto); font-size: var(--t-peq); margin: 0; }
.campo .opcional { font-weight: 400; color: var(--gris-texto); font-size: .9rem; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=time], input[type=url], input[type=search], select, textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem; font: inherit; font-size: 1.0625rem; color: var(--azul-marino);
  background: #fff; border: 1.5px solid #c9d6d8; border-radius: var(--radio-peq); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313294B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .8rem center / 18px no-repeat; padding-right: 2.5rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--verde); box-shadow: var(--foco); }
.campo.con-error input, .campo.con-error select, .campo.con-error textarea { border-color: var(--rojo); }
.error-campo { color: var(--rojo); font-size: var(--t-peq); font-weight: 500; margin: 0; }
.casilla { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.45; }
.casilla input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--verde); flex-shrink: 0; }
.opciones { display: grid; gap: .6rem; }
@media (min-width: 640px) { .opciones-2 { grid-template-columns: 1fr 1fr; } .opciones-3 { grid-template-columns: repeat(3, 1fr); } }
.opcion-tarjeta { position: relative; display: block; cursor: pointer; }
.opcion-tarjeta input { position: absolute; opacity: 0; inset: 0; }
.opcion-tarjeta span { display: block; height: 100%; padding: .9rem 1rem; border: 1.5px solid #c9d6d8; border-radius: var(--radio-peq); background: #fff; transition: border-color .15s, background .15s; }
.opcion-tarjeta strong { display: block; }
.opcion-tarjeta small { color: var(--gris-texto); }
.opcion-tarjeta input:checked + span { border-color: var(--verde); background: var(--exito-suave); box-shadow: inset 0 0 0 1px var(--verde); }
.opcion-tarjeta input:focus-visible + span { box-shadow: var(--foco); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; margin-bottom: .5rem; padding: 0; }
.trampa { position: absolute !important; left: -9999px !important; }   /* honeypot anti-spam */
.aviso-datos { font-size: var(--t-peq); color: var(--gris-texto); background: var(--fondo-suave); border-radius: var(--radio-peq); padding: .9rem 1rem; }

/* ---------- Alertas ---------- */
.alerta { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radio-peq); background: #e8f1f8; color: #164a70; margin-bottom: 1.25rem; }
.alerta svg { flex-shrink: 0; margin-top: .1rem; }
.alerta-exito { background: var(--exito-suave); color: var(--verde-profundo); }
.alerta-error { background: var(--rojo-suave); color: var(--rojo); }
.alerta-aviso { background: var(--aviso-suave); color: #6b4e12; }
.alerta p:last-child { margin-bottom: 0; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; padding: clamp(3rem, 2rem + 4vw, 5rem) 0 clamp(5rem, 4rem + 5vw, 8rem); }
.cta-final .claim { margin: 0 auto 1.5rem; }
.cta-final .grupo-botones { justify-content: center; }

/* ---------- Contenido editorial (blog, legales) ---------- */
.prosa { font-size: 1.1rem; line-height: 1.7; }
.prosa h2 { margin-top: 2rem; }
.prosa h3 { margin-top: 1.5rem; }
.prosa img { border-radius: var(--radio); margin: 1.5rem 0; }
.prosa blockquote { margin: 1.5rem 0; padding: .75rem 1.25rem; border-left: 4px solid var(--verde); background: var(--fondo-suave); border-radius: 0 var(--radio-peq) var(--radio-peq) 0; }
.prosa table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; }
.prosa th, .prosa td { border-bottom: var(--borde); padding: .6rem .5rem; text-align: left; }
.miga { font-size: var(--t-peq); color: var(--gris-texto); margin-bottom: 1rem; }
.miga a { color: var(--gris-texto); }
.meta-articulo { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--gris-texto); font-size: var(--t-peq); margin-bottom: 1.5rem; }
.aviso-medico { font-size: var(--t-peq); color: var(--gris-texto); border-top: var(--borde); padding-top: 1rem; margin-top: 2rem; }

/* ---------- Pie ---------- */
.pie { background: var(--azul-marino); color: #d3dbe6; padding: 3.5rem 0 6rem; font-size: 1rem; }
.pie a { color: #fff; text-decoration: none; }
.pie a:hover { text-decoration: underline; color: #fff; }
.pie .rejilla-pie { display: grid; gap: 2rem; }
@media (min-width: 800px) { .pie .rejilla-pie { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.pie h2 { color: #fff; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.pie ul { list-style: none; padding: 0; margin: 0; }
.pie li { margin-bottom: .5rem; }
.pie .logo-pie img { height: 62px; width: auto; margin-bottom: 1rem; }
.pie .firma { color: #9fd3d1; }
.pie .contacto-pie li { display: flex; align-items: center; gap: .6rem; }
.pie .redes { display: flex; gap: .6rem; margin-top: 1rem; align-items: center; flex-wrap: wrap; }
.pie .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; color: #aebbd0; }
.pie .legal a { color: #cdd7e6; }

/* ---------- WhatsApp flotante (siempre visible) ---------- */
.whatsapp-flotante {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--whatsapp); color: #fff; border-radius: 999px; padding: 0; box-shadow: 0 8px 24px rgba(0,0,0,.2);
  text-decoration: none; font-weight: 700; transition: transform .15s;
}
.whatsapp-flotante:hover { transform: scale(1.04); color: #fff; }
.whatsapp-flotante svg { width: 60px; height: 60px; }
.whatsapp-flotante .etiqueta-wa { display: none; padding-right: 1.1rem; margin-left: -.4rem; color: #0B3D1F; }
@media (min-width: 900px) { .whatsapp-flotante .etiqueta-wa { display: inline; } }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2.5rem; }
.oculto { display: none !important; }
.flex { display: flex; } .entre { justify-content: space-between; } .centrado { align-items: center; } .envolver { flex-wrap: wrap; } .gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; }
.dos-columnas { display: grid; gap: 2.5rem; align-items: center; }
.dos-columnas > *, .fila-servicios > *, .rejilla > * { min-width: 0; }
h1, h2, h3, .item-servicio span { overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 900px) { .dos-columnas { grid-template-columns: 1fr 1fr; } .dos-columnas.texto-ancho { grid-template-columns: 1.2fr .8fr; } }
.precio-destacado { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem); color: var(--verde); line-height: 1.1; }
.tabla-simple { width: 100%; border-collapse: collapse; }
.tabla-simple th, .tabla-simple td { padding: .65rem .5rem; border-bottom: var(--borde); text-align: left; vertical-align: top; }
.tabla-simple th { font-family: var(--f-titulo); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gris-texto); font-weight: 600; }
.tabla-simple td.num, .tabla-simple th.num { text-align: right; }

/* Paginación */
.paginacion { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.paginacion a, .paginacion span { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 10px; border: var(--borde); text-decoration: none; padding: 0 .75rem; }
.paginacion .actual { background: var(--verde); color: #fff; border-color: var(--verde); }

/* Impresión */
@media print { .cabecera, .pie, .whatsapp-flotante, .menu-movil, .curva-sup-izq, .curva-inf-der { display: none !important; } body { color: #000; } }

/* Aviso de cookies */
.aviso-cookies { position: fixed; left: 16px; right: 16px; bottom: 90px; z-index: 70; max-width: 520px; background: #fff; border: var(--borde); border-radius: var(--radio); box-shadow: var(--sombra-alta); padding: 1rem 1.1rem; font-size: var(--t-peq); }
.aviso-cookies p { margin-bottom: .75rem; }
@media (min-width: 700px) { .aviso-cookies { left: 24px; right: auto; bottom: 24px; } }
