/* =========================================================
   CENTRO DE DÍA VIRGEN DE LA PURÍSIMA · Hoja de estilos
   ---------------------------------------------------------
   Para cambiar los colores de toda la web, modifica solo
   las variables de la sección 1 (:root).
   ========================================================= */

/* ---------- 1. VARIABLES (colores, tipografía, medidas) ---------- */
:root {
  /* Colores de marca (inspirados en el logo T Acompaño) */
  --azul: #164b7a;          /* títulos y fondos oscuros */
  --azul-oscuro: #0f3557;
  --turquesa: #0e7c8b;      /* enlaces y botones secundarios */
  --turquesa-claro: #d9f0f2;
  --rosa: #c23477;          /* botón principal (llamadas a la acción) */
  --rosa-oscuro: #9e2660;
  --rosa-claro: #fbe6f0;
  --amarillo: #f6c431;      /* detalles y resaltados */
  --amarillo-claro: #fff5d6;
  --crema: #fbf7f1;         /* fondo de secciones alternas */
  --blanco: #ffffff;
  --texto: #24323f;
  --texto-suave: #4c5b69;
  --borde: #e3e0da;

  /* Tipografía */
  --fuente: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fuente-titulos: Georgia, "Times New Roman", serif;

  /* Medidas */
  --ancho: 1180px;
  --radio: 18px;
  --sombra: 0 10px 30px rgba(22, 75, 122, .10);
  --sombra-fuerte: 0 18px 40px rgba(22, 75, 122, .18);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.texto-grande { font-size: 125%; }
html.texto-muy-grande { font-size: 137.5%; }
html.texto-pequeno { font-size: 100%; }
body { margin: 0; font-family: var(--fuente); color: var(--texto); background: var(--blanco); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--turquesa); text-underline-offset: 3px; }
a:hover { color: var(--azul); }
h1, h2, h3, h4 { font-family: var(--fuente-titulos); color: var(--azul); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 4px; }
.contenedor { width: min(100% - 2.4rem, var(--ancho)); margin-inline: auto; }
.estrecho { max-width: 780px; }
.centrado { text-align: center; margin-inline: auto; }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 0; background: var(--azul); color: #fff; padding: .8rem 1.2rem; z-index: 1000; }
.saltar:focus { left: 1rem; top: 1rem; }

/* Textos pendientes de completar por el propietario (se ven resaltados) */
mark.pendiente { background: var(--amarillo-claro); color: #7a5a00; border: 1px dashed #d9a800; padding: 0 .3em; border-radius: 4px; font-size: .95em; }

/* ---------- 3. BOTONES ---------- */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; line-height: 1.2; font-family: var(--fuente); }
.boton:hover { transform: translateY(-2px); }
.boton--primario { background: var(--rosa); color: #fff; box-shadow: 0 8px 20px rgba(194, 52, 119, .3); }
.boton--primario:hover { background: var(--rosa-oscuro); color: #fff; }
.boton--secundario { background: var(--turquesa); color: #fff; }
.boton--secundario:hover { background: var(--azul); color: #fff; }
.boton--borde { border-color: currentColor; color: var(--azul); background: transparent; }
.boton--borde:hover { background: var(--azul); color: #fff; border-color: var(--azul); }
.boton--claro { background: #fff; color: var(--azul); }
.boton--claro:hover { background: var(--amarillo); color: var(--azul-oscuro); }
.boton--whatsapp { background: #1f8f4e; color: #fff; }
.boton--whatsapp:hover { background: #166e3b; color: #fff; }
.botones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.botones.centrado { justify-content: center; }
.enlace-flecha { font-weight: 700; text-decoration: none; }
.enlace-flecha::after { content: " →"; }

/* ---------- 4. BARRA SUPERIOR Y CABECERA ---------- */
.barra-superior { background: var(--azul-oscuro); color: #e8f1f8; font-size: .82rem; }
.barra-superior__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.barra-superior a { color: #fff; text-decoration: none; }
.barra-superior a:hover { text-decoration: underline; color: #fff; }
.barra-superior__aviso { margin: 0; display: flex; align-items: center; gap: .5rem; }
.punto { width: .6rem; height: .6rem; border-radius: 50%; background: var(--amarillo); display: inline-block; box-shadow: 0 0 0 4px rgba(246, 196, 49, .25); }
.barra-superior__datos { list-style: none; display: flex; gap: 1.2rem; margin: 0; padding: 0; flex-wrap: wrap; }
.tamano-texto { display: flex; gap: .3rem; align-items: center; }
.tamano-texto span { margin-right: .2rem; }
.tamano-texto button { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; padding: .15rem .5rem; cursor: pointer; font-weight: 700; font-size: .85rem; }
.tamano-texto button:hover { background: rgba(255, 255, 255, .25); }

.cabecera { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 14px rgba(0, 0, 0, .07); }
.cabecera__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.marca { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--azul); flex-shrink: 0; }
.marca img { width: 58px; height: 58px; border-radius: 50%; }
.marca__texto { display: flex; flex-direction: column; line-height: 1.15; }
.marca__texto strong { font-family: var(--fuente-titulos); font-size: 1.2rem; }
.marca__texto span { font-size: .78rem; color: var(--texto-suave); }

.menu-boton { display: none; background: var(--azul); color: #fff; border: 0; border-radius: 12px; padding: .7rem 1rem; font-weight: 700; font-size: 1rem; cursor: pointer; align-items: center; gap: .5rem; }
.menu-boton__icono, .menu-boton__icono::before, .menu-boton__icono::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: .2s; }
.menu-boton__icono::before, .menu-boton__icono::after { content: ""; position: absolute; left: 0; }
.menu-boton__icono::before { top: -6px; }
.menu-boton__icono::after { top: 6px; }
.menu-boton[aria-expanded="true"] .menu-boton__icono { background: transparent; }
.menu-boton[aria-expanded="true"] .menu-boton__icono::before { top: 0; transform: rotate(45deg); }
.menu-boton[aria-expanded="true"] .menu-boton__icono::after { top: 0; transform: rotate(-45deg); }

.menu { display: flex; align-items: center; gap: 1rem; }
.menu__lista { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.menu__item { position: relative; display: flex; align-items: center; }
.menu__enlace { display: block; padding: .6rem .6rem; color: var(--azul); text-decoration: none; font-weight: 700; font-size: .92rem; border-radius: 8px; white-space: nowrap; }
.menu__enlace:hover, .menu__item.activo > .menu__enlace, .menu__enlace[aria-current="page"] { color: var(--rosa); }
.menu__abrir { background: none; border: 0; padding: .4rem .2rem; margin-left: -.4rem; cursor: pointer; color: var(--azul); }
.menu__abrir::after { content: ""; display: block; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.menu__item.abierto .menu__abrir::after { transform: rotate(-135deg); }
.submenu { position: absolute; top: 100%; left: -.5rem; min-width: 290px; background: #fff; border-radius: 14px; box-shadow: var(--sombra-fuerte); padding: .7rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; border-top: 4px solid var(--rosa); }
.submenu ul { list-style: none; margin: 0; padding: 0; }
.submenu a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--texto); text-decoration: none; font-size: .92rem; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--crema); color: var(--rosa); }
.submenu .submenu__cta { margin-top: .4rem; background: var(--rosa-claro); color: var(--rosa-oscuro); font-weight: 700; }
.submenu .submenu__cta:hover { background: var(--rosa); color: #fff; }
.menu__cta { white-space: nowrap; padding: .75em 1.2em; font-size: .92rem; }

@media (min-width: 1181px) {
  .menu__item:hover > .submenu, .menu__item:focus-within > .submenu, .menu__item.abierto > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .menu-boton { display: inline-flex; }
  .menu { position: fixed; inset: 0 0 0 auto; top: 0; width: min(420px, 100%); background: #fff; flex-direction: column; align-items: stretch; padding: 5.5rem 1.2rem 2rem; overflow-y: auto; transform: translateX(100%); transition: transform .25s; box-shadow: var(--sombra-fuerte); z-index: 99; }
  .menu.abierto { transform: translateX(0); }
  .menu-boton { position: relative; z-index: 101; }
  .menu__lista { flex-direction: column; align-items: stretch; }
  .menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--borde); }
  .menu__enlace { flex: 1; font-size: 1.05rem; padding: .9rem .4rem; }
  .menu__abrir { padding: 1rem; margin: 0; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; width: 100%; padding: 0 0 .8rem .6rem; display: none; min-width: 0; }
  .menu__item.abierto > .submenu { display: block; }
  .menu__cta { margin-top: 1.2rem; font-size: 1.05rem; padding: 1em; }
  body.menu-abierto { overflow: hidden; }
  .barra-superior__datos li:nth-child(n+3) { display: none; }
}
@media (max-width: 640px) {
  .barra-superior__aviso { display: none; }
  .barra-superior__datos li:nth-child(n+2) { display: none; }
  .marca__texto span { display: none; }
  .marca img { width: 48px; height: 48px; }
  .cabecera__in { min-height: 70px; }
}

/* ---------- 5. MIGAS DE PAN ---------- */
.migas { background: var(--crema); font-size: .85rem; padding: .7rem 0; border-bottom: 1px solid var(--borde); }
.migas ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.migas li + li::before { content: "›"; margin-right: .3rem; color: var(--texto-suave); }
.migas a { color: var(--texto-suave); }
.migas [aria-current] { color: var(--azul); font-weight: 600; }

/* ---------- 6. PORTADA (HERO) ---------- */
.portada { position: relative; color: #fff; min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--azul-oscuro); }
.portada__imagen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.portada::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 37, 62, .92) 0%, rgba(10, 37, 62, .75) 45%, rgba(10, 37, 62, .25) 100%); }
.portada__contenido { position: relative; z-index: 1; padding: 4rem 0; max-width: 680px; }
.portada h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.5rem); }
.portada__lema { font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-family: var(--fuente-titulos); font-style: italic; color: #fff; border-left: 4px solid var(--amarillo); padding-left: 1rem; margin: 1.2rem 0 1.4rem; }
.etiqueta { display: inline-flex; align-items: center; gap: .5rem; background: var(--amarillo); color: var(--azul-oscuro); font-weight: 800; font-size: .85rem; padding: .4rem .9rem; border-radius: 999px; letter-spacing: .02em; text-transform: uppercase; }
.etiqueta--suave { background: var(--turquesa-claro); color: var(--azul); }
.portada__nota { margin-top: 1.4rem; font-size: .95rem; color: #dbe7f1; }
.portada__nota a { color: #fff; font-weight: 700; }

/* Cabecera de páginas interiores */
.cabecera-pagina { background: linear-gradient(135deg, var(--azul) 0%, var(--turquesa) 100%); color: #fff; padding: 3.5rem 0 3rem; position: relative; overflow: hidden; }
.cabecera-pagina::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 38px solid rgba(255, 255, 255, .07); }
.cabecera-pagina::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--rosa), var(--amarillo), var(--turquesa), var(--azul)); }
.cabecera-pagina h1 { color: #fff; max-width: 860px; }
.cabecera-pagina p { max-width: 760px; font-size: 1.1rem; color: #e6f0f7; }
.cabecera-pagina .botones { margin-top: 1.2rem; }
.frase-icono { font-family: var(--fuente-titulos); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: #fff !important; border-left: 4px solid var(--amarillo); padding-left: 1rem; margin-bottom: 1.4rem; }
.antetitulo { display: block; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rosa); margin-bottom: .5rem; font-family: var(--fuente); }
.cabecera-pagina .antetitulo { color: var(--amarillo); }

/* ---------- 7. SECCIONES Y REJILLAS ---------- */
.seccion { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.seccion--crema { background: var(--crema); }
.seccion--azul { background: var(--azul); color: #e6f0f7; }
.seccion--azul h2, .seccion--azul h3 { color: #fff; }
.seccion__intro { max-width: 760px; margin-bottom: 2.4rem; }
.seccion__intro.centrado { text-align: center; }
.seccion__intro p { font-size: 1.08rem; color: var(--texto-suave); }
.seccion--azul .seccion__intro p { color: #d5e3ef; }
.rejilla { display: grid; gap: 1.6rem; }
.rejilla--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.rejilla--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.rejilla--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.dos-columnas { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.dos-columnas--invertido > :first-child { order: 2; }
@media (max-width: 860px) { .dos-columnas { grid-template-columns: 1fr; } .dos-columnas--invertido > :first-child { order: 0; } }

/* Tarjetas */
.tarjeta { background: #fff; border-radius: var(--radio); padding: 1.8rem; box-shadow: var(--sombra); border: 1px solid var(--borde); display: flex; flex-direction: column; }
.tarjeta h3 { margin-bottom: .4rem; }
.tarjeta p:last-child { margin-bottom: 0; }
.tarjeta .enlace-flecha { margin-top: auto; padding-top: .6rem; }
.figura.tarjeta__foto { margin: -1.8rem -1.8rem 1.2rem; border-radius: var(--radio) var(--radio) 0 0; box-shadow: none; }
.tarjeta--enlace { text-decoration: none; color: var(--texto); transition: transform .18s, box-shadow .18s; }
.tarjeta--enlace:hover { transform: translateY(-4px); box-shadow: var(--sombra-fuerte); color: var(--texto); }
.tarjeta--color { border-top: 6px solid var(--turquesa); }
.tarjeta--color:nth-child(4n+2) { border-top-color: var(--rosa); }
.tarjeta--color:nth-child(4n+3) { border-top-color: var(--amarillo); }
.tarjeta--color:nth-child(4n+4) { border-top-color: var(--azul); }
.icono { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--turquesa-claro); color: var(--turquesa); margin-bottom: 1rem; flex-shrink: 0; }
.icono svg { width: 30px; height: 30px; }
.icono svg, svg.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icono--rosa { background: var(--rosa-claro); color: var(--rosa); }
.icono--amarillo { background: var(--amarillo-claro); color: #a87800; }
.icono--azul { background: #e2ecf5; color: var(--azul); }

/* Datos clave */
.datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1rem; }
.dato { background: #fff; border-radius: var(--radio); padding: 1.3rem 1.4rem; box-shadow: var(--sombra); display: flex; gap: .9rem; align-items: center; }
.dato .icono { margin: 0; width: 50px; height: 50px; }
.dato strong { display: block; color: var(--azul); font-size: 1.1rem; line-height: 1.25; }
.dato span { font-size: .9rem; color: var(--texto-suave); }
.datos--flotante { margin-top: -3rem; position: relative; z-index: 2; }

/* Listas */
.lista-check { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.lista-check li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--turquesa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/70% no-repeat; }
.lista-check--rosa li::before { background-color: var(--rosa); }

/* Pasos / línea de tiempo */
.pasos { list-style: none; padding: 0; margin: 0; counter-reset: paso; display: grid; gap: 1.2rem; }
.pasos li { counter-increment: paso; position: relative; padding: 1.4rem 1.4rem 1.4rem 4.6rem; background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); }
.pasos li::before { content: counter(paso); position: absolute; left: 1.2rem; top: 1.25rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--rosa); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; }
.pasos h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.pasos p { margin: 0; color: var(--texto-suave); }
.pasos--horizontal { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.horario { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--turquesa-claro); }
.horario li { position: relative; padding: 0 0 1.6rem 1.8rem; }
.horario li::before { content: ""; position: absolute; left: -9px; top: .35rem; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--turquesa); }
.horario time, .horario .hora { display: inline-block; font-weight: 800; color: var(--rosa); font-size: .95rem; margin-bottom: .1rem; }
.horario h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.horario p { margin: 0; color: var(--texto-suave); }

/* Cita destacada */
.cita { font-family: var(--fuente-titulos); font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-style: italic; color: var(--azul); border-left: 5px solid var(--rosa); padding: .4rem 0 .4rem 1.4rem; margin: 2rem 0; }
.cita cite { display: block; font-family: var(--fuente); font-style: normal; font-size: .95rem; color: var(--texto-suave); margin-top: .6rem; }

.aviso { background: var(--amarillo-claro); border-left: 5px solid var(--amarillo); padding: 1.2rem 1.4rem; border-radius: 12px; margin: 1.5rem 0; }
.aviso p:last-child { margin: 0; }
.aviso--info { background: var(--turquesa-claro); border-left-color: var(--turquesa); }

/* ---------- 8. IMÁGENES Y FOTOS PENDIENTES ---------- */
.figura { margin: 0; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra-fuerte); position: relative; }
.figura img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figura figcaption { background: #fff; padding: .8rem 1rem; font-size: .9rem; color: var(--texto-suave); }
.foto-pendiente { aspect-ratio: 4 / 3; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; gap: .6rem; color: var(--azul); background:
  radial-gradient(circle at 20% 20%, rgba(194, 52, 119, .18), transparent 45%),
  radial-gradient(circle at 80% 30%, rgba(246, 196, 49, .25), transparent 45%),
  radial-gradient(circle at 50% 90%, rgba(14, 124, 139, .22), transparent 50%), var(--crema); }
.foto-pendiente svg { width: 54px; height: 54px; opacity: .7; }
.foto-pendiente strong { font-family: var(--fuente-titulos); font-size: 1.15rem; }
.foto-pendiente small { font-size: .78rem; color: var(--texto-suave); word-break: break-all; }

/* ---------- 9. BANDA DE LLAMADA A LA ACCIÓN ---------- */
.banda-cta { background: linear-gradient(120deg, var(--rosa) 0%, #8e2a8f 55%, var(--azul) 100%); color: #fff; border-radius: 26px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.banda-cta::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .08); }
.banda-cta h2 { color: #fff; margin-bottom: .4rem; }
.banda-cta p { color: #f7e6ef; margin: 0; font-size: 1.08rem; }
.banda-cta .botones { margin: 0; justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .banda-cta { grid-template-columns: 1fr; } .banda-cta .botones { justify-content: flex-start; } }

.cta-lateral { background: var(--azul); color: #e6f0f7; border-radius: var(--radio); padding: 1.8rem; }
.cta-lateral h3 { color: #fff; }
.cta-lateral .boton { width: 100%; margin-top: .6rem; }

/* ---------- 10. PREGUNTAS FRECUENTES ---------- */
.faq { display: grid; gap: .9rem; }
.faq details { background: #fff; border-radius: 14px; border: 1px solid var(--borde); box-shadow: 0 4px 14px rgba(22, 75, 122, .06); }
.faq summary { cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.3rem; font-weight: 700; color: var(--azul); position: relative; list-style: none; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--rosa); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 1.3rem 1.2rem; color: var(--texto-suave); }
.faq-grupo { margin-bottom: 2.5rem; }

/* ---------- 11. FORMULARIOS ---------- */
.formulario { background: #fff; border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--sombra-fuerte); border-top: 6px solid var(--rosa); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.campo--completo { grid-column: 1 / -1; }
@media (max-width: 640px) { .campos { grid-template-columns: 1fr; } }
.campo label, .campo legend { display: block; font-weight: 700; color: var(--azul); margin-bottom: .35rem; font-size: .95rem; }
.campo input, .campo select, .campo textarea { width: 100%; font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 2px solid var(--borde); border-radius: 12px; background: #fff; color: var(--texto); }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--turquesa); outline: none; box-shadow: 0 0 0 4px var(--turquesa-claro); }
.campo textarea { min-height: 120px; resize: vertical; }
.campo fieldset { border: 0; padding: 0; margin: 0; }
.opciones { display: flex; flex-wrap: wrap; gap: .6rem; }
.opciones label { font-weight: 500; color: var(--texto); display: flex; align-items: center; gap: .45rem; background: var(--crema); padding: .55rem .9rem; border-radius: 999px; cursor: pointer; border: 2px solid transparent; margin: 0; }
.opciones input { width: auto; accent-color: var(--rosa); }
.opciones label:has(input:checked) { border-color: var(--rosa); background: var(--rosa-claro); }
.casilla { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.casilla input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; accent-color: var(--rosa); flex-shrink: 0; }
.ayuda { font-size: .85rem; color: var(--texto-suave); margin-top: .3rem; }
.oculto { display: none !important; }
.formulario__envio { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; align-items: center; }
.formulario__mensaje { margin-top: 1rem; font-weight: 600; }
.formulario__mensaje.error { color: #b3261e; }

/* ---------- 12. MAPA ---------- */
.mapa { border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); background: var(--turquesa-claro); min-height: 340px; display: grid; place-items: center; text-align: center; padding: 1.5rem; position: relative; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa p { max-width: 420px; color: var(--texto-suave); font-size: .9rem; }

/* ---------- 13. PIE DE PÁGINA ---------- */
.pie { background: var(--azul-oscuro); color: #c9d8e6; padding: 4rem 0 0; font-size: .95rem; margin-top: 0; }
.pie a { color: #fff; text-decoration: none; }
.pie a:hover { text-decoration: underline; color: #fff; }
.pie h2 { color: #fff; font-size: 1.05rem; font-family: var(--fuente); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.pie__rejilla { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.4rem; }
@media (max-width: 960px) { .pie__rejilla { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pie__rejilla { grid-template-columns: 1fr; } }
.pie ul { list-style: none; padding: 0; margin: 0; }
.pie li { margin-bottom: .5rem; }
.pie__marca { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.pie__marca img { width: 64px; height: 64px; border-radius: 50%; }
.pie__marca strong { color: #fff; font-family: var(--fuente-titulos); font-size: 1.15rem; display: block; line-height: 1.2; }
.pie address { font-style: normal; line-height: 1.8; }
.pie__zonas { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; }
.pie__legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 1.5rem; padding: 1.3rem 0 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.pie__legal ul { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.pie .boton { margin-top: 1rem; }

/* Barra fija de contacto en móvil */
.barra-movil { display: none; }
@media (max-width: 860px) {
  .barra-movil { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: #fff; box-shadow: 0 -4px 18px rgba(0, 0, 0, .12); }
  .barra-movil a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem .2rem; font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--azul); }
  .barra-movil a svg { width: 22px; height: 22px; }
  .barra-movil a.destacado { background: var(--rosa); color: #fff; }
  body { padding-bottom: 64px; }
}

/* ---------- 14. ANIMACIONES SUAVES ---------- */
.aparecer { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.aparecer.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aparecer { opacity: 1; transform: none; transition: none; }
  .boton, .tarjeta--enlace { transition: none; }
}

/* ---------- 15. UTILIDADES ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; }
.texto-grande { font-size: 1.15rem; }
.texto-suave { color: var(--texto-suave); }
.separador { height: 6px; width: 90px; border-radius: 6px; background: linear-gradient(90deg, var(--rosa), var(--amarillo), var(--turquesa)); margin: 0 0 1.4rem; border: 0; }
.centrado .separador, .separador.centrado { margin-inline: auto; }
.tabla { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); }
.tabla th, .tabla td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--borde); vertical-align: top; }
.tabla th { background: var(--azul); color: #fff; font-weight: 700; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla-envoltorio { overflow-x: auto; }
.precio small { font-size: .55em; font-weight: 600; }
.precio-antes { text-decoration: line-through; color: var(--texto-suave); margin: .6rem 0 0; font-size: .95rem; }
.precio { margin-bottom: 0; font-size: 1.8rem; font-weight: 800; color: var(--rosa); font-family: var(--fuente-titulos); }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
@media print { .barra-superior, .cabecera, .barra-movil, .banda-cta, .pie { display: none; } }
