/* =========================================================================
   angelicasandagorda.com.ar — estilos propios (sobre Bootstrap 5.3)
   Paleta ALINEADA CON aprendeconmigo.com.ar (pedido de la clienta, 27/10/2026):
     - petróleo: el tono que se ve en la portada de Aprende Conmigo (#00525d)
     - naranja:  el color de marca de Aprende Conmigo (#f27202), en botones y acentos
     - turquesa: tintes suaves derivados de su foto de portada (#00b4cc)
   El naranja #f27202 con texto blanco no llega al contraste mínimo (2,9:1), así que en
   botones y como texto se usa #b85400 (4,88:1), como indica la guía de marca del 28/10.
   ========================================================================= */

:root {
    --petroleo-900: #0a3f47;   /* fondos oscuros: ficha, banda, pie */
    --petroleo-700: #00525d;   /* títulos de acento, enlaces, botón secundario */
    --agua-100:     #e0f2f5;   /* fondo de secciones suaves (turquesa muy claro) */
    --agua-50:      #f2f9fa;
    --borde:        #c3dfe4;
    --naranja-300:  #ff9a3d;   /* naranja como texto sobre fondo oscuro (contraste AA) */
    --naranja-500:  #f27202;   /* naranja de Aprende Conmigo: bordes y detalles */
    --naranja-600:  #b85400;   /* botones con texto blanco y naranja como texto sobre claro (4,88:1, guía de marca) */
    --naranja-700:  #9a4600;   /* hover de botones */
    --tinta:        #1d2b2e;   /* texto */
    --tinta-suave:  #4a5d61;

    --fuente-texto: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
    --fuente-titulos: "Jost", "URW Gothic", "Century Gothic", sans-serif;   /* alineada con el logo */

    --bs-body-font-family: var(--fuente-texto);
    --bs-body-color: var(--tinta);
    --bs-link-color-rgb: 0, 82, 93;
    --bs-link-hover-color-rgb: 10, 63, 71;
}

/* ---------- Base ---------- */
html { font-size: 106.25%; } /* 17px: cuerpo cómodo de leer */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: #fff; line-height: 1.6; }
section[id], main[id] { scroll-margin-top: 5.5rem; }

h1, h2 { font-family: var(--fuente-titulos); font-weight: 600; letter-spacing: -0.01em; color: var(--petroleo-900); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.2; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; color: var(--petroleo-900); margin-bottom: .5rem; }
p { max-width: 68ch; }
a { text-underline-offset: .18em; }

:focus-visible { outline: 3px solid var(--naranja-600); outline-offset: 3px; border-radius: 2px; }

.saltar { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--petroleo-900); color: #fff; padding: .6rem 1rem; }
.saltar:focus { left: 1rem; top: 1rem; }

.aviso-propuesta { background: #fde3cc; color: #4a2300; font-size: .85rem; text-align: center; padding: .4rem 1rem; }

/* ---------- Cabecera ---------- */
.cabecera { background: #fff; border-bottom: 1px solid var(--borde); position: sticky; top: 0; z-index: 1000; }
.cabecera .navbar { padding-top: .8rem; padding-bottom: .8rem; }
.marca { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; }
.marca-nombre { font-family: var(--fuente-titulos); font-weight: 600; font-size: 1.15rem; color: var(--petroleo-900); }
.marca-profesion { font-size: .85rem; color: var(--tinta-suave); }
.cabecera .nav-link { color: var(--tinta); font-size: .95rem; padding: .5rem .8rem !important; }
.cabecera .nav-link:hover { color: var(--petroleo-700); }
.boton-menu { background: var(--naranja-600); color: #fff !important; font-weight: 700; border-radius: 4px; margin-left: .5rem; }
.boton-menu:hover { background: var(--naranja-700); }
@media (max-width: 991.98px) { .boton-menu { display: inline-block; margin: .5rem 0 0; } }

/* ---------- Botones ---------- */
.boton { display: inline-block; font-weight: 700; padding: .8rem 1.4rem; border-radius: 4px; text-decoration: none; border: 2px solid transparent; }
.boton-principal { background: var(--naranja-600); color: #fff; border-color: var(--naranja-600); font-size: 1.1rem; }
.boton-principal:hover { background: var(--naranja-700); border-color: var(--naranja-700); color: #fff; }
.boton-secundario { background: transparent; color: var(--petroleo-700); border-color: var(--petroleo-700); }
.boton-secundario:hover { background: var(--agua-100); color: var(--petroleo-900); }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.seccion-suave { background: var(--agua-50); }
.encabezado-seccion { max-width: 46rem; margin-bottom: 2.5rem; }
.encabezado-seccion p { color: var(--tinta-suave); font-size: 1.05rem; }
.texto-grande { font-family: var(--fuente-titulos); font-size: 1.35rem; line-height: 1.5; color: var(--petroleo-900); }

/* ---------- Portada ---------- */
.portada { padding: clamp(3rem, 7vw, 6rem) 0; background: linear-gradient(to bottom, var(--agua-50), #fff); }
.portada-nombre { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; margin-bottom: .75rem; }
.portada-tratamiento { display: block; font-family: var(--fuente-texto); font-size: 1.1rem; font-weight: 600; letter-spacing: 0; color: var(--petroleo-700); margin-bottom: .4rem; }
.portada-profesion { font-size: 1.3rem; color: var(--tinta-suave); margin-bottom: 1.5rem; }
.portada-texto { font-size: 1.15rem; margin-bottom: 2rem; }
.portada-acciones { display: flex; flex-wrap: wrap; gap: .75rem; }

/* La ficha: el elemento distintivo. Una credencial con datos verificables. */
.ficha { background: var(--petroleo-900); color: #fff; border-radius: 6px; padding: 1.5rem; border-top: 6px solid var(--naranja-500); }
.ficha-foto { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; margin-bottom: 1.25rem; }
.ficha-datos { margin: 0; }
.ficha-datos > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .65rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.ficha-datos dt { font-weight: 400; color: var(--naranja-300); font-size: .9rem; }
.ficha-datos dd { margin: 0; font-size: .95rem; }
@media (max-width: 420px) { .ficha-datos > div { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- Evaluaciones ---------- */
.evaluaciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.evaluacion { border-top: 3px solid var(--petroleo-700); padding-top: 1.25rem; }
.evaluacion-resultado { color: var(--naranja-600); font-weight: 600; }
@media (max-width: 991.98px) { .evaluaciones { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Mujeres adultas (banda oscura) ---------- */
.seccion-destacada { background: var(--petroleo-900); color: #e9f1f0; }
.seccion-destacada h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.seccion-destacada .texto-grande { color: #fff; }

/* ---------- Proceso (es una secuencia: lleva números) ---------- */
.pasos { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: paso; }
.pasos li { counter-increment: paso; }
.pasos li::before { content: counter(paso); display: block; font-family: var(--fuente-titulos); font-size: 2.6rem; line-height: 1; color: var(--petroleo-700); margin-bottom: .75rem; }
@media (max-width: 991.98px) { .pasos { grid-template-columns: 1fr; gap: 1.75rem; } }
.datos-practicos { border-top: 1px solid var(--borde); padding-top: 2rem; }

/* ---------- Trayectoria (línea de tiempo) ---------- */
.linea-tiempo { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--borde); }
.linea-tiempo li { position: relative; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 0 0 1.25rem 1.5rem; }
.linea-tiempo li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--petroleo-700); }
.linea-tiempo .anio { font-family: var(--fuente-titulos); font-weight: 600; color: var(--petroleo-700); }
.linea-tiempo p { margin: 0; }

/* ---------- Docencia ---------- */
#docencia h3 { margin-top: 1.5rem; }
#docencia h3:first-child { margin-top: 0; }
.publicaciones { padding-left: 1.1rem; }
.publicaciones li { margin-bottom: .75rem; }
.publicaciones cite { font-style: italic; }

/* ---------- Consultorio ---------- */
address { font-style: normal; font-size: 1.05rem; }
.nota { color: var(--tinta-suave); font-size: .95rem; }
.recuadro { background: #fff; border: 1px solid var(--borde); border-left: 4px solid var(--petroleo-700); padding: 1.5rem; border-radius: 4px; }

/* ---------- Preguntas ---------- */
.preguntas details { border-bottom: 1px solid var(--borde); padding: 1rem 0; }
.preguntas summary { font-weight: 700; cursor: pointer; color: var(--petroleo-900); list-style-position: outside; }
.preguntas details p { margin: .75rem 0 0; }

/* ---------- Contacto (en todas las páginas) ---------- */
.seccion-contacto { background: var(--agua-100); }
.contacto-intro { font-size: 1.1rem; }
.contacto-directo { list-style: none; padding: 0; margin: 2rem 0 0; }
.contacto-directo li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--borde); }
.contacto-medio { color: var(--tinta-suave); font-size: .9rem; }
.formulario { background: #fff; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 6px; border: 1px solid var(--borde); }
.formulario .form-label { font-weight: 600; }
.formulario .form-control, .formulario .form-select { border-color: #9fb9b5; padding: .65rem .8rem; }
.formulario .form-control:focus, .formulario .form-select:focus { border-color: var(--petroleo-700); box-shadow: 0 0 0 .2rem rgba(0, 82, 93, .2); }
.formulario .form-check-input:checked { background-color: var(--petroleo-700); border-color: var(--petroleo-700); }
.opcional { font-weight: 400; color: var(--tinta-suave); }
.campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulario-estado { margin: 1rem 0 0; font-weight: 600; }
.formulario-estado.ok { color: #1d6b3a; }
.formulario-estado.error { color: #a1241b; }

/* ---------- Pie ---------- */
.pie { background: var(--petroleo-900); color: #cfe0dd; padding: 3rem 0 6rem; font-size: .95rem; }
.pie a { color: #fff; }
.pie-nombre { font-family: var(--fuente-titulos); font-size: 1.3rem; color: #fff; margin-bottom: .5rem; }
.pie-titulo { color: var(--naranja-300); margin-bottom: .5rem; }
.pie-enlaces { list-style: none; padding: 0; }
.pie-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; max-width: none; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-flotante { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1050; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1f8a4c; color: #fff; box-shadow: 0 4px 14px rgba(15, 58, 65, .3); }
.whatsapp-flotante:hover { background: #17703d; color: #fff; }

/* ---------- Ajustes por el brief de contenido (28/10) ---------- */
.portada-profesion { font-size: 1.2rem; }
.portada-confianza { display: inline-block; font-weight: 600; color: var(--petroleo-700); border-left: 4px solid var(--naranja-500); padding: .25rem 0 .25rem .8rem; margin-bottom: 2rem; }

.lista { padding-left: 1.1rem; }
.lista li { margin-bottom: .5rem; }

.modalidades { display: grid; gap: 1rem; }
.modalidad { border: 1px solid var(--borde); border-radius: 4px; padding: 1.1rem 1.25rem; }
.modalidad p { margin-bottom: 0; }
.modalidad-nombre { font-weight: 700; color: var(--petroleo-900); margin-bottom: .35rem !important; }
.modalidad-completa { border-color: var(--petroleo-700); border-left-width: 4px; background: var(--agua-50); }

.subtitulo-bloque { margin-top: 3rem; margin-bottom: 1.5rem; }
.pasos { grid-template-columns: repeat(4, 1fr); }
.pasos h4 { font-size: 1.05rem; font-weight: 700; color: var(--petroleo-900); margin-bottom: .4rem; }

.h2-secundario { font-size: clamp(1.5rem, 2.5vw, 1.85rem); }
#psicoterapia h3 { font-size: 1.05rem; margin-top: 1.25rem; }

.recuadro-titulo { font-family: var(--fuente-titulos); font-size: 1.25rem; color: var(--petroleo-900); margin-bottom: .25rem; }

.contacto-directo li { grid-template-columns: 8.5rem 1fr; }
.contacto-derivacion { margin-top: 1.25rem; }
@media (max-width: 991.98px) { .pasos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .pasos { grid-template-columns: 1fr; } .contacto-directo li { grid-template-columns: 1fr; gap: .1rem; } }
.ficha-jurisdiccion { display: block; font-size: .85rem; color: rgba(255,255,255,.7); }
@media (min-width: 992px) { .portada .col-lg-7 { padding-top: 2.5rem; } }

/* ---------- Logos (paquete de marca del 28/10) ---------- */
.marca img { display: block; height: 60px; width: auto; }
@media (max-width: 575.98px) { .marca img { height: 50px; } }
.pie-nombre { display: flex; align-items: center; gap: .75rem; }
.pie-nombre img { width: 48px; height: 48px; }
.recuadro-logo { display: block; width: 260px; max-width: 100%; height: auto; margin: 0 0 .75rem -6px; }

/* ---------- Fotos ---------- */
.foto-sobre-mi { margin: 2rem 0 0; }
.foto-sobre-mi img { display: block; width: 100%; height: auto; border-radius: 4px; }
.foto-sobre-mi figcaption { font-size: .9rem; color: var(--tinta-suave); margin-top: .5rem; }
.encabezado-con-foto { margin-bottom: 2.5rem; }
.texto-intro { color: var(--tinta-suave); font-size: 1.05rem; }
.foto-seccion { display: block; width: 100%; height: auto; border-radius: 4px; }

/* ---------- Material de marca ---------- */
.pie-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.pie-material { color: #cfe0dd !important; }
.encabezado-pagina h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; align-items: start; }
.galeria-item { margin: 0; }
.galeria-foto { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center 20%; border-radius: 4px; }
.galeria-item figcaption { margin-top: .75rem; font-size: .95rem; color: var(--tinta-suave); }
.galeria-titulo { display: block; font-weight: 700; color: var(--petroleo-900); }
.galeria-descarga { display: inline-block; margin-top: .4rem; font-weight: 600; }
@media (max-width: 767.98px) { .galeria { grid-template-columns: 1fr; } }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.logo-vista { border: 1px solid var(--borde); border-radius: 4px; display: grid; place-items: center; padding: 2rem 1.5rem; min-height: 160px; }
.logo-vista img { max-width: 100%; max-height: 110px; width: auto; height: auto; }
.logo-vista-claro { background: #fff; }
.logo-vista-oscuro { background: var(--petroleo-900); border-color: var(--petroleo-900); }
.logo-nombre { font-weight: 700; margin: .6rem 0 .2rem; color: var(--petroleo-900); }
.logo-archivos a { margin-right: 1rem; font-weight: 600; }
@media (max-width: 767.98px) { .logos { grid-template-columns: 1fr; } }
.bio { border-top: 1px solid var(--borde); padding: 1.25rem 0; }
.bio-cabecera { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bio-cabecera h3 { margin: 0; }
.bio-copiar { background: transparent; border: 2px solid var(--petroleo-700); color: var(--petroleo-700); font-weight: 700; border-radius: 4px; padding: .3rem .9rem; }
.bio-copiar:hover { background: var(--agua-100); }
.bio-texto { margin-top: .75rem; }
.datos-cita { margin: 0; max-width: 46rem; }
.datos-cita > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--borde); }
.datos-cita dt { color: var(--tinta-suave); font-weight: 400; }
.datos-cita dd { margin: 0; }

/* ---------- Títulos en Jost (28/10) ---------- */
h1, h2 { font-weight: 500; letter-spacing: 0; }
.portada-nombre { font-weight: 500; letter-spacing: -0.015em; line-height: 1.05; }
.texto-grande { font-weight: 400; }
.pasos li::before { font-weight: 400; }

/* ---------- Cabecera de la versión inicial: logo + botón de turnos (28/10) ---------- */
.cabecera .navbar > .container { flex-wrap: nowrap; }
.cabecera .boton-menu { display: inline-block; padding: .6rem 1.1rem; text-decoration: none; margin: 0 0 0 1rem; }

/* ---------- Contacto sin formulario (28/10) ---------- */
.contacto-acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.seccion-contacto .col-lg-6 .contacto-directo { margin-top: 0; }

/* =========================================================================
   16/11 — Menú, migas, ficha de entidad y páginas internas (plantillas)
   ========================================================================= */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

/* Navegación (sin JS de Bootstrap: CSS + un script corto) */
.navegacion { padding: .8rem 0; }
.navegacion-fila { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.menu { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; gap: .25rem; }
.menu-item { position: relative; display: flex; align-items: center; }
.menu-enlace { display: block; color: var(--tinta); text-decoration: none; font-size: .95rem; padding: .5rem .75rem; }
.menu-enlace:hover, .menu-enlace[aria-current="page"] { color: var(--petroleo-700); text-decoration: underline; }
.menu-sin-enlace { cursor: default; }
.menu-sin-enlace:hover { text-decoration: none; color: var(--tinta); }
.submenu-abrir { background: none; border: 0; padding: .5rem .35rem .5rem 0; margin-left: -.4rem; color: var(--tinta); cursor: pointer; }
.submenu-abrir::after { content: ""; display: inline-block; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.submenu { list-style: none; margin: 0; padding: .5rem 0; position: absolute; top: 100%; left: 0; min-width: 18rem; background: #fff; border: 1px solid var(--borde); border-top: 3px solid var(--naranja-500); border-radius: 0 0 4px 4px; box-shadow: 0 8px 24px rgba(10, 63, 71, .12); display: none; z-index: 1100; }
.submenu a { display: block; padding: .5rem 1rem; color: var(--tinta); text-decoration: none; font-size: .95rem; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--agua-50); color: var(--petroleo-700); }
.menu-con-sub:hover .submenu, .menu-con-sub:focus-within .submenu, .menu-con-sub.abierto .submenu { display: block; }
.menu-abrir { display: none; margin-left: auto; background: none; border: 2px solid var(--petroleo-700); color: var(--petroleo-700); font-weight: 700; border-radius: 4px; padding: .35rem .8rem; }
.menu-abrir-icono { display: inline-block; width: 1rem; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; margin-right: .5rem; vertical-align: middle; }
@media (max-width: 991.98px) {
    .menu-abrir { display: inline-block; }
    .menu { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; margin: .5rem 0 0; border-top: 1px solid var(--borde); padding-top: .5rem; }
    .menu.abierto { display: flex; }
    .menu-item { flex-wrap: wrap; }
    .submenu { position: static; display: block; width: 100%; border: 0; box-shadow: none; padding: 0 0 .5rem .75rem; min-width: 0; }
    .submenu-abrir { display: none; }
    .boton-menu { order: 2; }
}

/* Encabezado de página interna, migas y ficha de entidad */
.encabezado-pagina { background: linear-gradient(to bottom, var(--agua-50), #fff); padding: 2rem 0 2.5rem; }
.encabezado-pagina h1 { margin: .5rem 0 1.5rem; max-width: 22ch; }
.migas ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .9rem; color: var(--tinta-suave); }
.migas li + li::before { content: "›"; margin: 0 .4rem 0 .15rem; }
.migas a { color: var(--petroleo-700); }
.ficha-entidad { background: #fff; border: 1px solid var(--borde); border-left: 4px solid var(--naranja-500); border-radius: 4px; padding: 1rem 1.25rem; max-width: 46rem; font-size: .98rem; }
.ficha-entidad p, .ficha-entidad address { margin: 0 0 .2rem; font-size: inherit; }
.ficha-entidad-nombre { font-family: var(--fuente-titulos); font-size: 1.15rem !important; color: var(--petroleo-900); }

/* Texto de las páginas internas */
.texto-pagina { max-width: 46rem; padding: 1rem 0 3.5rem; }
.texto-pagina-ancho { max-width: none; }
.texto-pagina h2 { margin-top: 2.75rem; scroll-margin-top: 6rem; }
.texto-pagina h3 { margin-top: 1.75rem; }
.texto-pagina > p:first-child { font-size: 1.15rem; }
.texto-pagina ul { padding-left: 1.2rem; }
.texto-pagina li { margin-bottom: .5rem; }
.boton-turno { margin: .5rem 0 1rem; }
.par-ac, .enlace-par { border-left: 4px solid var(--petroleo-700); background: var(--agua-50); padding: .9rem 1.1rem; border-radius: 0 4px 4px 0; }
.revisado { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--borde); color: var(--tinta-suave); font-size: .95rem; }
.firma { color: var(--tinta-suave); margin: 0; }
.lista-articulos { list-style: none; padding: 0 !important; }
.lista-articulos li { border-top: 1px solid var(--borde); padding: 1.25rem 0; }
.tarjetas-servicios { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.tarjetas-servicios li { border-top: 3px solid var(--petroleo-700); padding-top: 1rem; margin: 0; }
.mapa { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 4px; margin: 1rem 0; }
.pendiente { background: #fff3cd; border: 1px dashed #b08900; padding: .1rem .35rem; border-radius: 3px; }
.pagina-404 h1 { font-size: clamp(2rem, 5vw, 3rem); }
@media (max-width: 767.98px) { .tarjetas-servicios { grid-template-columns: 1fr; } }

/* Pie: navegación */
.pie-navegacion { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.ficha-home { margin-top: -1.5rem; }
@media (max-width: 991.98px) {
    .navegacion-fila { flex-wrap: wrap; }
    .marca { margin-right: auto; }
    .boton-menu { order: 1; margin: 0; }
    .menu-abrir { order: 2; margin-left: 0; }
}
@media (max-width: 479.98px) {
    .marca img { height: 44px; }
    .menu-abrir { padding: .35rem .6rem; }
    .menu-abrir-texto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    .menu-abrir-icono { margin-right: 0; }
    .boton-menu { padding: .45rem .8rem; }
}
.cierre-cobertura { margin-top: 2.5rem; }
/* 16/11: el submenú se alinea a la derecha de «Servicios» (alineado a la izquierda se salía de la pantalla) */
@media (min-width: 992px) { .menu-con-sub .submenu { left: auto; right: 0; } }
.tabla-cv td:first-child { white-space: nowrap; color: var(--petroleo-700); font-weight: 600; } .tabla-cv { font-size: .98rem; } .ficha-entidad + .revisado, .texto-pagina .ficha-entidad { margin-top: 2.5rem; }

/* 17/11 — Aviso de cookies: barra abajo, no tapa ni bloquea; los dos botones con el mismo peso */
.aviso-cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1060; background: #fff; border-top: 3px solid var(--petroleo-700); box-shadow: 0 -6px 20px rgba(10, 63, 71, .12); padding: 1rem 0; }
.aviso-cookies[hidden] { display: none; }
.aviso-cookies-fila { display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; }
.aviso-cookies-texto { flex: 1 1 32rem; }
.aviso-cookies-texto p { margin: 0; font-size: .95rem; }
.aviso-cookies-titulo { margin-bottom: .2rem !important; }
.aviso-cookies-botones { display: flex; gap: .75rem; flex: 0 0 auto; }
.aviso-cookies-boton { min-width: 8.5rem; background: var(--petroleo-700); color: #fff; border: 2px solid var(--petroleo-700); }
.aviso-cookies-boton:hover, .aviso-cookies-boton:focus-visible { background: var(--petroleo-900); border-color: var(--petroleo-900); color: #fff; }
.con-aviso-cookies .whatsapp-flotante { bottom: 9rem; }
.con-aviso-cookies { padding-bottom: 8rem; }
.pie-enlace-boton { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }
@media (max-width: 575.98px) { .aviso-cookies-botones { width: 100%; } .aviso-cookies-boton { flex: 1; min-width: 0; } .con-aviso-cookies { padding-bottom: 13rem; } .con-aviso-cookies .whatsapp-flotante { bottom: 13.5rem; } }
.leyenda-aaip { border-left: 4px solid var(--borde); padding-left: 1rem; font-size: .95rem; }

/* ---------- Artículos del blog (19/11) ---------- */
.pagina-articulo .texto-pagina blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.1rem; border-left: 3px solid var(--naranja-500); color: var(--tinta-suave); }
.tabla-articulo { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--borde); border-radius: 4px; }
.tabla-articulo table { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: .95rem; }
.tabla-articulo th, .tabla-articulo td { padding: .6rem .75rem; border-bottom: 1px solid var(--borde); vertical-align: top; text-align: left; }
.tabla-articulo thead th { background: var(--agua-100); color: var(--petroleo-900); font-family: var(--fuente-titulos); font-weight: 500; }
.tabla-articulo tr:last-child td { border-bottom: 0; }
.firma-autor { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--borde); font-size: .98rem; }
.nota-ia { font-size: .92rem; color: var(--tinta-suave); }
.referencias { margin-top: 2.5rem; font-size: .9rem; color: var(--tinta-suave); }
.referencias p { margin-bottom: .6rem; padding-left: 1.5rem; text-indent: -1.5rem; overflow-wrap: anywhere; }
.lista-articulos { list-style: none; padding-left: 0 !important; margin-top: 2rem; }
.lista-articulos li { padding: 1.25rem 0; border-top: 1px solid var(--borde); margin: 0; }
.lista-articulos h2 { margin-top: 0; }
