/* Nota de Transparencia: Código generado/refactorizado con asistencia de IA Generativa (Claude Code) bajo la Política ODTI012 del CCS. Requiere supervisión y validación humana permanente. */

/* Home del Observatorio. Reemplaza a observatorio.css conservando la paleta original. */

@font-face {
    font-family: 'Lexend';
    src: url('../fuentes/Lexend-VariableFont_wght.ttf');
    font-display: swap;
}

:root {
    /* paleta original del observatorio */
    --azul-oscuro: #010f53;
    --azul: #00539B;
    --azul-fondo: #03B6FF;
    --verde: #8DC63F;
    --amarillo: #D5D504;
    --gris: #808080;
    --targetas: #F4F4F4;
    --targetas-color: #DEE8ED;
    --blanco: #fff;

    --degradado: linear-gradient(90deg, var(--azul) 0%, var(--verde) 100%);
    --texto: #1f2a44;
    --texto-suave: #5b6478;
    --borde: #e3e8ef;
    --radio: 18px;
    --sombra: 0 1px 3px rgba(1, 15, 83, .08), 0 1px 2px rgba(1, 15, 83, .04);
    --sombra-lg: 0 18px 40px -14px rgba(1, 15, 83, .28);
    --letra-Titulo: 'Lexend', sans-serif;
}

.home {
    font-family: var(--letra-Titulo);
    color: var(--texto);
    overflow-x: hidden;
}

.home h1,
.home h2,
.home h3,
.home h4,
.home p {
    margin: 0;
}

/* ------------------------ BOTONES ------------------------ */

.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    font: inherit;
    font-size: .95rem;
    font-weight: 500;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}

.boton ion-icon {
    font-size: 1.1rem;
}

.boton--degradado {
    color: var(--blanco);
    background: var(--degradado);
    box-shadow: 0 10px 24px -10px rgba(0, 83, 155, .7);
}

.boton--degradado:hover {
    color: var(--blanco);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(0, 83, 155, .8);
}

.boton--claro {
    color: var(--blanco);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(6px);
}

.boton--claro:hover {
    color: var(--azul-oscuro);
    background: var(--blanco);
}

/* ------------------------ HERO ------------------------ */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 560px;
    padding: 96px 0 110px;
    color: var(--blanco);
    background:
        linear-gradient(90deg, rgba(1, 15, 83, .96) 0%, rgba(1, 15, 83, .82) 38%, rgba(1, 15, 83, .25) 75%, rgba(1, 15, 83, .1) 100%),
        url('../imagenes/recursos_home/fondo_observatorio.jpg') center / cover no-repeat;
    isolation: isolate;
}

/* franja inferior con el cian original */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--azul-fondo), var(--azul), var(--verde));
}

.hero__contenido {
    position: relative;
    max-width: 1200px;
}

.hero__contenido > * {
    max-width: 620px;
}

.hero__etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    margin-bottom: 24px;
    font-size: .8rem;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.hero__etiqueta span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--verde);
    box-shadow: 0 0 0 4px rgba(141, 198, 63, .25);
}

.hero h1 {
    display: flex;
    flex-direction: column;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero h1 strong {
    font-size: clamp(4.5rem, 11vw, 8.5rem);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.02em;
    color: var(--azul-fondo);
    text-shadow: 0 10px 40px rgba(3, 182, 255, .35);
}

.hero h2 {
    margin-top: 10px;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 500;
    color: var(--amarillo);
}

.hero p {
    margin-top: 18px;
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, .85);
}

.hero__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* ------------------------ SECCIONES ------------------------ */

.seccion {
    padding: 96px 0;
    scroll-margin-top: 80px;
}

.seccion__titulo {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.seccion__kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: var(--degradado);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.seccion h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--azul-oscuro);
}

.seccion__titulo p {
    margin-top: 12px;
    color: var(--texto-suave);
    font-weight: 300;
}

/* ------------------------ FUENTES ------------------------ */

.fuentes {
    background: linear-gradient(180deg, var(--targetas) 0%, var(--blanco) 100%);
}

.fuente {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px;
    color: var(--texto);
    text-decoration: none;
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    overflow: hidden;
    isolation: isolate;
    transition: transform .3s, box-shadow .3s, border-color .3s, color .3s;
}

/* el color de acento llena la tarjeta al pasar el mouse (como el diseño original) */
.fuente::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--acento);
    clip-path: circle(0% at 100% 0%);
    transition: clip-path .5s cubic-bezier(.4, 0, .2, 1);
}

.fuente:hover {
    color: var(--blanco);
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: var(--sombra-lg);
}

.fuente:hover::before {
    clip-path: circle(150% at 100% 0%);
}

.fuente__logo {
    position: relative;
    display: grid;
    place-items: center;
    height: 120px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--borde);
    transition: border-color .3s;
}

.fuente:hover .fuente__logo {
    border-color: rgba(255, 255, 255, .25);
}

.fuente__logo img {
    grid-area: 1 / 1;
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    transition: opacity .3s, transform .3s;
}

.fuente__logo .hover {
    opacity: 0;
}

.fuente:hover .fuente__logo .ver {
    opacity: 0;
}

.fuente:hover .fuente__logo .hover {
    opacity: 1;
    transform: scale(1.05);
}

.fuente h3 {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.45;
}

.fuente__ver {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--acento);
    transition: color .3s, gap .3s;
}

.fuente:hover .fuente__ver {
    color: var(--blanco);
    gap: 10px;
}

/* ------------------------ QUE ES / A QUIEN ------------------------ */

.bloques {
    padding-top: 40px;
    background: var(--blanco);
}

.bloque + .bloque {
    margin-top: 80px;
}

.bloque h2 {
    margin-bottom: 18px;
}

.bloque p {
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--texto-suave);
    text-align: justify;
}

.bloque__img {
    position: relative;
    border-radius: 24px;
}

.bloque__img::before {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    z-index: 0;
    border-radius: 24px;
    background: var(--degradado);
    opacity: .9;
}

.bloque__img img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--sombra-lg);
}

/* imagen recortada (png con transparencia): sin marco */
.bloque__img--libre::before {
    inset: 10% 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(3, 182, 255, .22), rgba(141, 198, 63, .12) 60%, transparent 70%);
}

.bloque__img--libre img {
    width: auto;
    max-width: 100%;
    max-height: 340px;
    margin: 0 auto;
    box-shadow: none;
    border-radius: 0;
    animation: flotar 6s ease-in-out infinite;
}

@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ------------------------ PREGUNTAS ------------------------ */

.preguntas {
    background:
        radial-gradient(circle at 0% 0%, rgba(3, 182, 255, .08), transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(141, 198, 63, .1), transparent 40%),
        var(--targetas);
}

.pregunta {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.pregunta:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-lg);
}

.pregunta__img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--targetas-color);
}

.pregunta__img.sin-imagen {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300539B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3M12 17h.01'/%3E%3C/svg%3E") center / 64px no-repeat,
        linear-gradient(135deg, var(--targetas-color), #eef4f7);
}

.pregunta__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.pregunta:hover .pregunta__img img {
    transform: scale(1.06);
}

.pregunta__cuerpo {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 22px 24px 24px;
}

.pregunta__cuerpo p {
    flex: 1;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--azul-oscuro);
}

.pregunta__cuerpo .boton {
    align-self: flex-start;
    padding: 10px 20px;
    font-size: .88rem;
}

/* ------------------------ MODAL ------------------------ */

.modal-pregunta .modal-content {
    position: relative;
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(1, 15, 83, .4);
}

.modal-pregunta .modal-content::before {
    content: '';
    display: block;
    height: 6px;
    flex: none;
    background: var(--degradado);
}

.modal-pregunta .modal-body {
    padding: 36px 40px 40px;
}

.modal-pregunta__cerrar {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: var(--texto-suave);
    background: var(--targetas);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
}

.modal-pregunta__cerrar:hover {
    color: var(--blanco);
    background: var(--azul);
    transform: rotate(90deg);
}

#imagen_modal {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    background: var(--targetas-color);
}

#imagen_modal[src=""] {
    visibility: hidden;
}

#pregunta {
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--azul-oscuro);
}

#respuesta {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--borde);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--texto-suave);
    text-align: justify;
    white-space: pre-line;
}

.modal-backdrop.show {
    opacity: 1;
    background: rgba(1, 15, 83, .6);
}

/* ------------------------ MODO OSCURO (boton sol/luna existente) ------------------------ */

#dark-mode .home {
    --texto: #e6e9f0;
    --texto-suave: #a9b0c0;
    --borde: rgba(255, 255, 255, .08);
}

#dark-mode .fuentes,
#dark-mode .bloques,
#dark-mode .preguntas {
    background: transparent;
}

#dark-mode .seccion h2,
#dark-mode .pregunta__cuerpo p,
#dark-mode #pregunta {
    color: #fff;
}

#dark-mode .fuente,
#dark-mode .pregunta {
    background: #262626;
}

#dark-mode .modal-pregunta .modal-content {
    background: #1f1f1f;
}

#dark-mode .modal-pregunta__cerrar {
    background: #2c2c2c;
}

/* ------------------------ BOTONES EXTRA ------------------------ */

.boton--mini {
    padding: 8px 14px;
    font-size: .8rem;
}

.boton--oscuro {
    color: var(--blanco);
    background: var(--azul-oscuro);
}

.boton--oscuro:hover {
    color: var(--blanco);
    background: var(--azul);
    transform: translateY(-2px);
}

.boton--verde {
    color: #4a7d17;
    background: #f1f8e9;
    border: 1px solid #d4eab8;
}

.boton--verde:hover {
    color: var(--blanco);
    background: var(--verde);
    border-color: var(--verde);
}

.boton--blanco {
    color: var(--azul-oscuro);
    background: var(--blanco);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4);
}

.boton--blanco:hover {
    color: var(--azul-oscuro);
    transform: translateY(-2px);
}

/* ------------------------ BUSCADOR ------------------------ */

.buscador {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 560px;
    margin-top: 28px;
    background: var(--blanco);
    border-radius: 16px;
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
}

.buscador > ion-icon {
    position: absolute;
    left: 18px;
    font-size: 1.25rem;
    color: var(--azul);
}

.buscador input {
    flex: 1;
    min-width: 0;
    height: 58px;
    padding: 0 56px 0 52px;
    font: inherit;
    font-size: .98rem;
    color: var(--texto);
    background: transparent;
    border: 0;
    border-radius: 16px;
    outline: none;
}

.buscador input::placeholder {
    color: #98a2b3;
    font-weight: 300;
}

/* mientras se busca, el hero pasa por encima de la franja de cifras para no tapar los resultados */
.hero:focus-within {
    z-index: 5;
}

.buscador:focus-within {
    box-shadow: 0 0 0 4px rgba(3, 182, 255, .35), 0 20px 40px -16px rgba(0, 0, 0, .5);
}

.buscador kbd {
    position: absolute;
    right: 16px;
    padding: 2px 8px;
    font-family: inherit;
    font-size: .75rem;
    color: var(--texto-suave);
    background: var(--targetas);
    border: 1px solid var(--borde);
    border-radius: 6px;
    box-shadow: none;
}

.buscador__resultados {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 360px;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    list-style: none;
    background: var(--blanco);
    border-radius: 14px;
    box-shadow: var(--sombra-lg);
}

.buscador__resultados:empty {
    display: none;
}

.buscador__resultados li {
    width: auto;
    margin: 0;
}

.buscador__resultados a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    color: var(--texto);
    text-decoration: none;
    border-radius: 10px;
}

.buscador__resultados a:hover,
.buscador__resultados a.activo {
    background: #eef5ff;
}

.buscador__resultados .r-nombre {
    font-size: .92rem;
    font-weight: 500;
    color: var(--azul-oscuro);
}

.buscador__resultados .r-meta {
    font-size: .78rem;
    color: var(--texto-suave);
}

.buscador__resultados .vacio {
    padding: 14px;
    font-size: .88rem;
    color: var(--texto-suave);
}

/* ------------------------ CIFRAS ------------------------ */

.cifras {
    position: relative;
    z-index: 2;
    margin-top: -56px;
}

.cifras__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 20px;
    box-shadow: var(--sombra-lg);
    overflow: hidden;
}

.cifra {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 26px 28px;
}

.cifra + .cifra {
    border-left: 1px solid var(--borde);
}

.cifra ion-icon {
    margin-bottom: 6px;
    padding: 10px;
    font-size: 1.3rem;
    color: var(--azul);
    background: rgba(0, 83, 155, .08);
    border-radius: 12px;
}

.cifra strong {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
    background: var(--degradado);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cifra span {
    font-size: .85rem;
    color: var(--texto-suave);
}

.fuente__meta {
    margin-top: 14px;
    font-size: .78rem;
    color: var(--texto-suave);
    transition: color .3s;
}

.fuente:hover .fuente__meta {
    color: rgba(255, 255, 255, .85);
}

/* ------------------------ ULTIMOS INFORMES ------------------------ */

.recientes {
    padding-top: 24px;
    padding-bottom: 48px;
    background: var(--blanco);
}

.seccion__titulo--fila {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    max-width: none;
    text-align: left;
}

.recientes__nav {
    display: flex;
    gap: 8px;
}

.recientes__flecha {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    color: var(--azul-oscuro);
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.recientes__flecha:hover {
    color: var(--blanco);
    background: var(--azul-oscuro);
}

.recientes__pista {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 54px) / 4);
    gap: 18px;
    padding: 6px 2px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.recientes__pista::-webkit-scrollbar {
    display: none;
}

.reciente {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    scroll-snap-align: start;
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.reciente::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--acento);
}

.reciente:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-lg);
}

.reciente__top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.reciente__fuente,
.reciente__año {
    padding: 4px 10px;
    font-size: .72rem;
    font-weight: 500;
    border-radius: 999px;
}

.reciente__fuente {
    color: var(--acento);
    background: color-mix(in srgb, var(--acento) 10%, #fff);
}

.reciente__año {
    color: var(--texto-suave);
    background: var(--targetas);
}

.reciente h3 {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--azul-oscuro);
}

.reciente__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--borde);
}

/* ------------------------ COMO USAR ------------------------ */

.pasos {
    background: linear-gradient(180deg, var(--targetas), var(--blanco));
}

.paso {
    position: relative;
    height: 100%;
    padding: 30px 26px;
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    overflow: hidden;
}

.paso__num {
    position: absolute;
    top: -14px;
    right: 10px;
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(0, 83, 155, .06);
}

.paso ion-icon {
    padding: 14px;
    margin-bottom: 18px;
    font-size: 1.6rem;
    color: var(--blanco);
    background: var(--degradado);
    border-radius: 14px;
    box-shadow: 0 10px 20px -10px rgba(0, 83, 155, .7);
}

.paso h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--azul-oscuro);
}

.paso p {
    font-size: .92rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--texto-suave);
}

/* ------------------------ ALIADOS ------------------------ */

.aliados {
    padding: 48px 0;
    background: var(--blanco);
    border-top: 1px solid var(--borde);
    border-bottom: 1px solid var(--borde);
}

.aliados__titulo {
    margin-bottom: 26px !important;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase;
    color: var(--texto-suave);
}

.aliados__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 56px;
}

.aliados__logos img {
    height: 44px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .6;
    transition: filter .3s, opacity .3s, transform .3s;
}

.aliados__logos a:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

.aliados__logos .aliados__ccs {
    background: var(--azul-oscuro);
    padding: 6px 10px;
    border-radius: 8px;
    height: 48px;
}

/* ------------------------ ACORDEON PREGUNTAS ------------------------ */

.preguntas__intro {
    margin-top: 12px !important;
    font-weight: 300;
    color: var(--texto-suave);
}

.acordeon {
    display: grid;
    gap: 12px;
}

.acordeon__item {
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    overflow: hidden;
    transition: box-shadow .25s, border-color .25s;
}

.acordeon__item:has(.collapse.show) {
    border-color: rgba(0, 83, 155, .3);
    box-shadow: var(--sombra-lg);
}

.acordeon__item h3 {
    margin: 0;
}

.acordeon__boton {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px 22px;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    color: var(--azul-oscuro);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.acordeon__boton > span:nth-child(2) {
    flex: 1;
}

.acordeon__num {
    flex: none;
    font-size: .8rem;
    font-weight: 600;
    background: var(--degradado);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.acordeon__boton ion-icon {
    flex: none;
    padding: 6px;
    font-size: 1.1rem;
    color: var(--azul);
    background: rgba(0, 83, 155, .08);
    border-radius: 50%;
    transition: background .2s, color .2s;
}

.acordeon__boton:not(.collapsed) ion-icon {
    color: var(--blanco);
    background: var(--azul);
}

.acordeon__cuerpo {
    display: flex;
    gap: 20px;
    padding: 0 22px 22px 58px;
}

.acordeon__cuerpo img {
    flex: none;
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

.acordeon__cuerpo p {
    font-size: .95rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--texto-suave);
}

/* ------------------------ LLAMADO FINAL ------------------------ */

.cta {
    padding: 0 0 96px;
    background: var(--targetas);
}

.preguntas + .cta {
    padding-top: 0;
}

.cta__caja {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 44px 48px;
    color: var(--blanco);
    background:
        radial-gradient(circle at 100% 0%, rgba(141, 198, 63, .35), transparent 45%),
        linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul) 100%);
    border-radius: 24px;
    box-shadow: var(--sombra-lg);
    overflow: hidden;
}

.cta__caja h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 600;
}

.cta__caja p {
    max-width: 560px;
    margin-top: 8px !important;
    font-weight: 300;
    color: rgba(255, 255, 255, .8);
}

.cta__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ------------------------ RESPONSIVE ------------------------ */

@media (max-width: 1199.98px) {
    .recientes__pista {
        grid-auto-columns: calc((100% - 36px) / 3);
    }
}

@media (max-width: 990px) {
    .cifras__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cifra:nth-child(3) {
        border-left: 0;
    }

    .cifra:nth-child(n + 3) {
        border-top: 1px solid var(--borde);
    }

    .recientes__pista {
        grid-auto-columns: calc((100% - 18px) / 2);
    }

    .acordeon__cuerpo {
        flex-direction: column;
        padding-left: 22px;
    }

    .acordeon__cuerpo img {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 650px) {
    .cifras {
        margin-top: -36px;
    }

    .cifra {
        padding: 18px;
    }

    .cifra strong {
        font-size: 1.6rem;
    }

    .recientes__pista {
        grid-auto-columns: 85%;
    }

    .recientes__nav {
        display: none;
    }

    .buscador kbd {
        display: none;
    }

    .buscador input {
        height: 52px;
        padding-right: 16px;
    }

    .aliados__logos {
        gap: 22px 32px;
    }

    .aliados__logos img {
        height: 34px;
    }

    .cta__caja {
        padding: 32px 24px;
    }

    .cta__acciones,
    .cta__acciones .boton {
        width: 100%;
    }
}

@media (max-width: 990px) {
    .hero {
        min-height: 0;
        padding: 72px 0 84px;
        background:
            linear-gradient(180deg, rgba(1, 15, 83, .92) 0%, rgba(1, 15, 83, .8) 100%),
            url('../imagenes/recursos_home/fondo_observatorio.jpg') center / cover no-repeat;
    }

    .seccion {
        padding: 72px 0;
    }

    .bloque + .bloque {
        margin-top: 56px;
    }

    /* en tablet/movil la imagen siempre va despues del texto */
    .bloque--invertido > div:first-child {
        order: 2;
    }

    .bloque__img {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 650px) {
    .hero {
        padding: 56px 0 72px;
    }

    .hero__acciones .boton {
        width: 100%;
    }

    .seccion {
        padding: 56px 0;
    }

    .seccion__titulo {
        margin-bottom: 32px;
    }

    .fuente {
        padding: 22px;
    }

    .fuente__logo {
        height: 96px;
    }

    .bloque p,
    #respuesta {
        text-align: left;
    }

    .bloque__img::before {
        inset: 12px -10px -12px 10px;
    }

    .modal-pregunta .modal-dialog {
        margin: 10px;
    }

    .modal-pregunta .modal-body {
        padding: 56px 20px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home *,
    .home *::before,
    .home *::after {
        animation: none !important;
        transition: none !important;
    }
}
