/* =========================================
   CONFIGURACIÓN GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --color-principal: #ef4747;
    --alto-contacto: 34px;
    --alto-header: 132px;
    --alto-footer: 75px;
}
html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background-color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================================
   BARRA SUPERIOR DE CONTACTO
========================================= */

.barra-contacto-superior {
    width: 100%;
    height: var(--alto-contacto);

    display: flex;
    align-items: center;

    background-color: #ffffff;

    border-top: 3px solid #111111;
    border-bottom: 1px solid #eeeeee;
}

.contacto-superior-contenido {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 22px;

    padding: 0 40px;
}

.contacto-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--color-principal);
    text-decoration: none;

    font-size: 11px;
    font-weight: 400;

    line-height: 1;
}

.contacto-link:hover {
    opacity: 0.75;
}

.contacto-icono {
    color: #777777;
    font-size: 11px;
}
/* =========================================
   ENCABEZADO SUPERIOR
========================================= */

.encabezado-principal {
    position: relative;

    width: 100%;
    height: var(--alto-header);

    background-color: var(--color-principal);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 38px 0 62px;

    z-index: 1000;
}


/* =========================================
   LOGOTIPO
========================================= */

.contenedor-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    display: block;

    width: 92px;
    height: auto;

    object-fit: contain;
}

/* =========================================
   BOTÓN HAMBURGUESA / CORAZÓN
========================================= */

.boton-menu {
    position: relative;

    flex: 0 0 auto;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.05)
        );

    box-shadow:
        0 10px 25px rgba(127, 15, 22, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);

    cursor: pointer;

    overflow: visible;

    z-index: 1300;

    transition:
        transform 0.3s ease,
        border-radius 0.35s ease,
        background-color 0.35s ease,
        box-shadow 0.35s ease;
}

.boton-menu:hover {
    transform: translateY(-2px);
}

.boton-menu:focus-visible {
    outline: 4px solid rgba(255, 255, 255, 0.3);
    outline-offset: 4px;
}


/* =========================================
   LÍNEAS DEL BOTÓN HAMBURGUESA
========================================= */

.boton-menu .hamburguesa-linea {
    position: absolute;
    left: 50%;

    display: block;

    width: 25px;
    height: 3px;

    border-radius: 20px;

    background-color: #ffffff;

    transform: translateX(-50%);

    transition:
        top 0.35s ease,
        opacity 0.25s ease,
        transform 0.35s ease;
}

.boton-menu .hamburguesa-linea-1 {
    top: 19px;
}

.boton-menu .hamburguesa-linea-2 {
    top: 28px;
    width: 19px;
}

.boton-menu .hamburguesa-linea-3 {
    top: 37px;
}


/* =========================================
   CORAZÓN CREADO CON CSS
========================================= */

.corazon-menu {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 23px;
    height: 23px;

    display: block;

    border-radius: 5px;
    background-color: #ef4747;

    opacity: 0;

    transform:
        translate(-45%, -38%)
        rotate(45deg)
        scale(0.15);

    transform-origin: center;

    transition:
        opacity 0.3s ease,
        transform 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.4);

    z-index: 3;
}

/* Círculo superior del corazón */

.corazon-menu::before {
    content: "";

    position: absolute;
    top: -11px;
    left: 0;

    width: 23px;
    height: 23px;

    border-radius: 50%;

    background-color: #ef4747;
}

/* Círculo izquierdo del corazón */

.corazon-menu::after {
    content: "";

    position: absolute;
    top: 0;
    left: -11px;

    width: 23px;
    height: 23px;

    border-radius: 50%;

    background-color: #ef4747;
}


/* =========================================
   ESTADO ACTIVO DEL BOTÓN
========================================= */

.boton-menu.activo {
    border-radius: 50%;

    border-color: #ffffff;

    background-color: #ffffff;

    box-shadow:
        0 12px 32px rgba(134, 14, 23, 0.32),
        0 0 0 6px rgba(255, 255, 255, 0.17);
}


/* Ocultar las líneas cuando se abre */

.boton-menu.activo .hamburguesa-linea {
    opacity: 0;
}

.boton-menu.activo .hamburguesa-linea-1 {
    top: 28px;

    transform:
        translateX(-50%)
        rotate(45deg)
        scaleX(0);
}

.boton-menu.activo .hamburguesa-linea-2 {
    transform:
        translateX(-50%)
        scaleX(0);
}

.boton-menu.activo .hamburguesa-linea-3 {
    top: 28px;

    transform:
        translateX(-50%)
        rotate(-45deg)
        scaleX(0);
}


/* Mostrar y hacer latir el corazón */
.boton-menu.activo .corazon-menu {
    opacity: 1;

    transform:
        translate(-45%, -38%)
        rotate(45deg)
        scale(1);

    animation: latidoMenu 1.15s ease-in-out infinite;
}


/* =========================================
   ONDAS DEL LATIDO
========================================= */

.onda-corazon {
    position: absolute;
    inset: -2px;

    display: block;

    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;

    opacity: 0;

    pointer-events: none;

    z-index: -1;
}

.boton-menu.activo .onda-corazon-1 {
    animation: ondaMenu 1.6s ease-out infinite;
}

.boton-menu.activo .onda-corazon-2 {
    animation: ondaMenu 1.6s 0.55s ease-out infinite;
}


/* =========================================
   MENÚ DESPLEGABLE
========================================= */

.menu-principal {
    position: absolute;

    top: calc(100% - 13px);
    right: 28px;

    width: min(355px, calc(100vw - 30px));

    display: flex;
    flex-direction: column;

    padding: 12px;

    border: 1px solid rgba(239, 71, 71, 0.17);
    border-radius: 24px;

    background:
        linear-gradient(
            160deg,
            #ffffff 0%,
            #fff8f8 100%
        );

    box-shadow:
        0 25px 65px rgba(67, 14, 18, 0.28),
        0 7px 18px rgba(0, 0, 0, 0.08);

    overflow-y: auto;

    max-height: min(630px, calc(100vh - 160px));

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-18px)
        scale(0.96);

    transform-origin: top right;

    pointer-events: none;

    z-index: 1250;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}


/* Línea médica superior */

.menu-principal::before {
    content: "MENÚ";

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    margin-bottom: 9px;
    padding: 0 14px;

    color: #ef4747;

    border-radius: 14px;

    background-color: rgba(239, 71, 71, 0.08);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;

    text-transform: uppercase;
}


/* Mostrar menú */

.menu-principal.abierto {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);

    pointer-events: auto;
}


/* =========================================
   OPCIONES DEL MENÚ
========================================= */

.menu-principal a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 53px;

    padding: 11px 42px 11px 52px;

    color: #303a43;

    border: 1px solid transparent;
    border-radius: 15px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    opacity: 0;

    transform: translateX(20px);

    transition:
        color 0.22s ease,
        background-color 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


/* Ícono médico de cada opción */

.menu-principal a::before {
    content: "✚";

    position: absolute;
    left: 11px;
    top: 50%;

    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ef4747;

    border-radius: 10px;

    background-color: rgba(239, 71, 71, 0.1);

    font-size: 13px;
    font-weight: 900;

    transform: translateY(-50%);

    transition:
        color 0.22s ease,
        background-color 0.22s ease,
        transform 0.22s ease;
}


/* Flecha derecha */

.menu-principal a::after {
    content: "›";

    position: absolute;
    right: 16px;
    top: 50%;

    color: #b2bbc3;

    font-size: 22px;
    font-weight: 400;

    transform: translateY(-52%);

    transition:
        color 0.22s ease,
        transform 0.22s ease;
}


/* Mostrar enlaces cuando abre el menú */

.menu-principal.abierto a {
    animation: entradaOpcionMenu 0.45s ease forwards;
}

.menu-principal.abierto a:nth-child(1) {
    animation-delay: 0.04s;
}

.menu-principal.abierto a:nth-child(2) {
    animation-delay: 0.08s;
}

.menu-principal.abierto a:nth-child(3) {
    animation-delay: 0.12s;
}

.menu-principal.abierto a:nth-child(4) {
    animation-delay: 0.16s;
}

.menu-principal.abierto a:nth-child(5) {
    animation-delay: 0.20s;
}

.menu-principal.abierto a:nth-child(6) {
    animation-delay: 0.24s;
}

.menu-principal.abierto a:nth-child(7) {
    animation-delay: 0.28s;
}

.menu-principal.abierto a:nth-child(8) {
    animation-delay: 0.32s;
}

.menu-principal.abierto a:nth-child(9) {
    animation-delay: 0.36s;
}

.menu-principal.abierto a:nth-child(10) {
    animation-delay: 0.40s;
}


/* Hover y página activa */

.menu-principal a:hover,
.menu-principal a.menu-activo {
    color: #a81d27;

    border-color: rgba(239, 71, 71, 0.25);

    background:
        linear-gradient(
            135deg,
            rgba(239, 71, 71, 0.13),
            rgba(255, 255, 255, 0.95)
        );

    box-shadow: 0 8px 20px rgba(122, 27, 34, 0.08);

    transform: translateX(4px);
}

.menu-principal a:hover::before,
.menu-principal a.menu-activo::before {
    color: #ffffff;

    background-color: #ef4747;

    transform:
        translateY(-50%)
        scale(1.07);
}

.menu-principal a:hover::after,
.menu-principal a.menu-activo::after {
    color: #ef4747;

    transform:
        translate(3px, -52%);
}


/* =========================================
   ANIMACIONES
========================================= */

@keyframes entradaOpcionMenu {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes latidoMenu {
    0%,
    100% {
        transform:
            translate(-45%, -38%)
            rotate(45deg)
            scale(0.92);
    }

    12% {
        transform:
            translate(-45%, -38%)
            rotate(45deg)
            scale(1.1);
    }

    25% {
        transform:
            translate(-45%, -38%)
            rotate(45deg)
            scale(0.96);
    }

    38% {
        transform:
            translate(-45%, -38%)
            rotate(45deg)
            scale(1.05);
    }

    55% {
        transform:
            translate(-45%, -38%)
            rotate(45deg)
            scale(0.92);
    }
}

@keyframes ondaMenu {
    0% {
        opacity: 0.7;
        transform: scale(0.78);
    }

    100% {
        opacity: 0;
        transform: scale(1.65);
    }
}


/* =========================================
   MENÚ EN TELÉFONOS
========================================= */

@media screen and (max-width: 600px) {

    .boton-menu {
        width: 53px;
        height: 53px;

        border-radius: 16px;
    }

    .boton-menu .hamburguesa-linea-1 {
        top: 17px;
    }

    .boton-menu .hamburguesa-linea-2 {
        top: 25px;
    }

    .boton-menu .hamburguesa-linea-3 {
        top: 33px;
    }

    .corazon-menu {


        width: 21px;
        height: 21px;
    }

    .corazon-menu::before,
    .corazon-menu::after {
        width: 21px;
        height: 21px;
    }

    .corazon-menu::before {
        top: -10px;
    }

    .corazon-menu::after {
        left: -10px;
    }

    .menu-principal {
        position: fixed;

        top: calc(var(--alto-contacto) + var(--alto-header) - 8px);
        right: 15px;
        left: 15px;

        width: auto;

        max-height: calc(
            100dvh - var(--alto-contacto) - var(--alto-header) - 15px
        );

        border-radius: 22px;

        transform:
            translateY(-16px)
            scale(0.97);
    }

    .menu-principal.abierto {
        transform:
            translateY(0)
            scale(1);
    }

    .menu-principal a {
        min-height: 51px;

        padding-top: 10px;
        padding-bottom: 10px;

        font-size: 13px;
    }
}


/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {

    .boton-menu,
    .boton-menu *,
    .menu-principal,
    .menu-principal a {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   CONTENIDO PROVISIONAL
========================================= */

.contenido-principal {
    width: 100%;
    background-color: #111111;
}

/* =========================================
   ADAPTACIÓN PARA TELÉFONOS
========================================= */

@media screen and (max-width: 600px) {

    :root {
        --alto-contacto: 34px;
        --alto-header: 105px;
    }

    .contacto-superior-contenido {
        justify-content: center;
        gap: 14px;
        padding: 0 10px;
    }

    .contacto-link {
        font-size: 9px;
    }

    .encabezado-principal {
        height: var(--alto-header);
        padding-left: 28px;
        padding-right: 22px;
    }

    .logo {
        width: 78px;
    }

    .menu-principal {
        top: var(--alto-header);
        right: 15px;
        width: calc(100% - 30px);
    }
}
/* =========================================
   CONTENIDO PRINCIPAL
========================================= */

.contenido-principal {
    width: 100%;
    background-color: #111111;
}


/* =========================================
   SLIDER PRINCIPAL
========================================= */

.slider {
    --slider-duration: 3000ms;

    position: relative;

    width: 100%;
    height: auto;
    min-height: calc(100svh - 82px - 52px);

    overflow: hidden;

    background-color: #111111;

    outline: none;
}


/* Ventana que oculta las demás imágenes */

.slider__viewport {
    width: 100%;
    height: calc(100svh - var(--alto-contacto) - var(--alto-header) - var(--alto-footer)) !important;
    min-height: 420px;
    overflow: hidden;
}


/* Contenedor horizontal de todas las imágenes */

.slider__track {
    display: flex;

    width: 100%;
    height: 100%;

    transform: translate3d(0, 0, 0);

    transition:
        transform 750ms cubic-bezier(0.22, 1, 0.36, 1);

    will-change: transform;
}


/* Cada imagen individual */

.slider__slide {
    position: relative;

    flex: 0 0 100%;

    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    padding: 45px 110px 95px;

    overflow: hidden;
    isolation: isolate;
}


/* Capa oscura sobre el fondo */

.slider__slide::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.08),
            rgba(0, 0, 0, 0.4)
        );
}


/* Fondo desenfocado utilizando la misma imagen */

.slider__background {
    position: absolute;
    inset: -45px;

    z-index: 0;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    filter:
        blur(30px)
        brightness(0.5)
        saturate(1.15);

    transform: scale(1.15);
}


/* Imagen principal */

.slider__image {
    position: relative;

    z-index: 2;

    display: block;

    max-width: min(86vw, 960px);
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;

    background-color: #ffffff;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        0 5px 18px rgba(0, 0, 0, 0.25);

    user-select: none;
    -webkit-user-drag: none;
}


/* =========================================
   FLECHAS
========================================= */

.slider__arrow {
    position: absolute;
    top: 50%;

    z-index: 5;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.35);

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

    transition:
        background-color 200ms ease,
        transform 200ms ease,
        border-color 200ms ease;
}

.slider__arrow:hover {
    background-color: #ef4747;
    border-color: #ffffff;
}

.slider__arrow:active {
    transform: translateY(-50%) scale(0.92);
}

.slider__arrow:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

.slider__arrow--prev {
    left: 25px;
}

.slider__arrow--next {
    right: 25px;
}


/* =========================================
   INDICADORES INFERIORES
========================================= */

.slider__dots {
    position: absolute;
    left: 50%;
    bottom: 28px;

    z-index: 5;

    max-width: calc(100% - 180px);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    transform: translateX(-50%);

    overflow-x: auto;
    scrollbar-width: none;
}

.slider__dots::-webkit-scrollbar {
    display: none;
}

.slider__dot {
    flex: 0 0 auto;

    width: 9px;
    height: 9px;

    padding: 0;

    border: none;
    border-radius: 20px;

    background-color: rgba(255, 255, 255, 0.48);

    cursor: pointer;

    transition:
        width 300ms ease,
        background-color 300ms ease,
        transform 300ms ease;
}

.slider__dot:hover {
    background-color: rgba(255, 255, 255, 0.85);
    transform: scale(1.15);
}

.slider__dot.is-active {
    width: 27px;
    background-color: #ef4747;
}


/* =========================================
   CONTADOR
========================================= */

.slider__counter {
    position: absolute;
    right: 28px;
    bottom: 25px;

    z-index: 5;

    display: flex;
    gap: 5px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;

    padding: 8px 12px;

    background-color: rgba(0, 0, 0, 0.3);

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* =========================================
   BARRA DE TIEMPO
========================================= */

.slider__progress {
    position: absolute;
    left: 0;
    bottom: 0;

    z-index: 6;

    width: 100%;
    height: 4px;

    background-color: rgba(255, 255, 255, 0.15);
}

.slider__progress-bar {
    display: block;

    width: 100%;
    height: 100%;

    background-color: #ef4747;

    transform: scaleX(0);
    transform-origin: left center;
}

.slider__progress-bar.is-running {
    animation:
        sliderProgress
        var(--slider-duration)
        linear
        forwards;
}

.slider.is-paused .slider__progress-bar {
    animation-play-state: paused;
}

@keyframes sliderProgress {

    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}


/* =========================================
   TABLETS
========================================= */

@media screen and (max-width: 1024px) {

    .slider__viewport {
        height: calc(100svh - 82px - 52px);
        min-height: 500px;
    }

    .slider__slide {
        padding: 40px 75px 90px;
    }

    .slider__image {
        max-width: 88vw;
        max-height: 100%;
        border-radius: 16px;
    }

    .slider__arrow {
        width: 48px;
        height: 48px;
    }

    .slider__arrow--prev {
        left: 16px;
    }

    .slider__arrow--next {
        right: 16px;
    }
}


/* =========================================
   TELÉFONOS
========================================= */
@media screen and (max-width: 600px) {

    .slider__viewport {
        height: calc(100svh - 82px - 52px);
        min-height: 430px;
    }

    .slider__slide {
        padding: 35px 18px 85px;
    }

    .slider__image {
        max-width: 92vw;
        max-height: 100%;

        border-radius: 12px;

        box-shadow:
            0 18px 45px rgba(0, 0, 0, 0.42),
            0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .slider__background {
        inset: -30px;
        filter:
            blur(24px)
            brightness(0.48)
            saturate(1.1);
    }

    .slider__arrow {
        width: 42px;
        height: 42px;

        font-size: 18px;

        background-color: rgba(0, 0, 0, 0.45);
    }

    .slider__arrow--prev {
        left: 8px;
    }

    .slider__arrow--next {
        right: 8px;
    }

    .slider__dots {
        bottom: 28px;

        max-width: calc(100% - 30px);

        gap: 6px;
    }

    .slider__dot {
        width: 7px;
        height: 7px;
    }

    .slider__dot.is-active {
        width: 20px;
    }

    .slider__counter {
        display: none;
    }
}


/* Teléfonos colocados horizontalmente */

@media screen and (max-height: 500px) and (orientation: landscape) {

    .slider {
        height: 420px;
        min-height: 420px;
    }

    .slider__image {
        max-height: calc(100% - 55px);
    }

    .slider__dots {
        bottom: 15px;
    }
}


/* Personas que prefieren menos animaciones */

@media (prefers-reduced-motion: reduce) {

    .slider__track {
        transition-duration: 200ms;
    }
}
/* =========================================
   FOOTER
========================================= */

.footer-principal {
    width: 100%;
    background-color: #ffffff;
}

.footer-barra {
    width: 100%;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 42px;

    background-color: #ef4747;
}

.footer-facebook {
    color: #ffffff;
    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;

    line-height: 1;
}

.footer-facebook:hover {
    opacity: 0.75;
}

.footer-copy {
    color: #ffffff;

    font-size: 10px;
    font-weight: 400;

    margin: 0;
}

.footer-creditos {
    width: 100%;

    color: #ef4747;
    background-color: #ffffff;

    text-align: center;

    font-size: 10px;
    font-weight: 400;

    padding-top: 4px;
    padding-bottom: 8px;
}


/* =========================================
   FOOTER EN TABLET
========================================= */

@media screen and (max-width: 1024px) {

    .footer-barra {
        padding-left: 35px;
        padding-right: 35px;
    }
}


/* =========================================
   FOOTER EN TELÉFONO
========================================= */

@media screen and (max-width: 600px) {

    .footer-barra {
        min-height: 52px;

        padding-left: 26px;
        padding-right: 26px;
    }

    .footer-copy {
        font-size: 9px;
    }

    .footer-creditos {
        font-size: 9px;
        padding-top: 5px;
        padding-bottom: 8px;
    }
}
/* =========================================
   CORRECCIÓN FINAL DEL SLIDER
   Evita que la imagen se esconda debajo del footer
========================================= */

.slider {
    height: auto !important;
    min-height: auto !important;
    overflow: hidden;
}

.slider__viewport {
    width: 100%;
    height: calc(100svh - 82px - 75px) !important;
    min-height: 420px;
    overflow: hidden;
}

.slider__track {
    height: 100%;
}

.slider__slide {
    height: 100%;
    padding: 35px 110px 95px !important;
    display: grid;
    place-items: center;
    box-sizing: border-box;
}

.slider__image {
    width: auto !important;
    height: auto !important;

    max-width: min(82vw, 960px) !important;
    max-height: calc(100svh - var(--alto-contacto) - var(--alto-header) - var(--alto-footer) - 120px) !important;

    object-fit: contain !important;
}
@media screen and (max-width: 1024px) {

    .slider__viewport {
        height: calc(100svh - 82px - 75px) !important;
        min-height: 420px;
    }

    .slider__slide {
        padding: 30px 70px 90px !important;
    }

    .slider__image {
        max-width: 86vw !important;
        max-height: calc(100svh - 82px - 75px - 130px) !important;
    }
}
@media screen and (max-width: 600px) {

    .slider__viewport {
        height: calc(100svh - 82px - 75px) !important;
        min-height: 390px;
    }

    .slider__slide {
        padding: 25px 16px 85px !important;
    }

    .slider__image {
        max-width: 92vw !important;
        max-height: calc(100svh - 82px - 75px - 115px) !important;
    }
}
/* =========================================
   PÁGINA INFORMACIÓN PÚBLICA
========================================= */

.pagina-informacion-publica {
    width: 100%;

    min-height: calc(
        100svh - var(--alto-contacto) - var(--alto-header) - var(--alto-footer)
    );

    background-color: #f7f7f7;

    padding: 60px 24px;
}

.informacion-publica-contenedor {
    width: min(1100px, 100%);

    margin: 0 auto;
}

.informacion-publica-encabezado {
    text-align: center;

    margin-bottom: 42px;
}

.informacion-publica-encabezado h1 {
    color: #ef4747;

    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;

    margin-bottom: 12px;
}

.informacion-publica-encabezado p {
    max-width: 720px;

    margin: 0 auto;

    color: #555555;

    font-size: 16px;
    line-height: 1.6;
}

.informacion-publica-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.informacion-card {
    background-color: #ffffff;

    border-radius: 16px;

    padding: 28px;

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.08),
        0 3px 10px rgba(0, 0, 0, 0.05);

    border: 1px solid #eeeeee;
}

.informacion-card h2 {
    color: #222222;

    font-size: 21px;

    margin-bottom: 12px;
}

.informacion-card p {
    color: #666666;

    font-size: 14px;
    line-height: 1.6;

    margin-bottom: 22px;
}

.boton-documento {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    padding: 11px 18px;

    border-radius: 999px;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.boton-documento:hover {
    background-color: #d93636;
    transform: translateY(-2px);
}


/* =========================================
   INFORMACIÓN PÚBLICA EN TABLET
========================================= */

@media screen and (max-width: 1024px) {

    .informacion-publica-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================
   INFORMACIÓN PÚBLICA EN TELÉFONO
========================================= */

@media screen and (max-width: 600px) {

    .pagina-informacion-publica {
        padding: 42px 16px;
    }

    .informacion-publica-grid {
        grid-template-columns: 1fr;
    }

    .informacion-card {
        padding: 24px;
    }
}

/* =========================================
   INFORMACIÓN PÚBLICA - DISEÑO PROFESIONAL
========================================= */

.pagina-informacion-publica {
    width: 100%;

    min-height: calc(
        100svh - var(--alto-contacto) - var(--alto-header) - var(--alto-footer)
    );

    background:
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);

    padding: 58px 22px 70px;
}

.ip-contenedor {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.ip-titulo {
    text-align: center;
    margin-bottom: 38px;
}

.ip-titulo h1 {
    color: #202020;

    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;

    margin-bottom: 10px;
}

.ip-titulo p {
    max-width: 680px;
    margin: 0 auto;

    color: #666666;

    font-size: 15px;
    line-height: 1.6;
}

.ip-bloque-mes {
    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 22px;

    padding: 34px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.08),
        0 4px 15px rgba(0, 0, 0, 0.04);
}

.ip-mes-header {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-bottom: 32px;
}

.ip-mes-header h2 {
    color: #ef4747;

    font-size: 24px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 1px;

    white-space: nowrap;
}

.ip-linea {
    width: 100%;
    max-width: 260px;
    height: 1px;

    background-color: #eeeeee;
}

.ip-lista-documentos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.ip-documento {
    display: flex;
    align-items: center;
    gap: 13px;

    min-height: 54px;

    padding: 13px 16px;

    color: #333333;
    background-color: #ffffff;

    text-decoration: none;

    border: 1px solid #eeeeee;
    border-radius: 14px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease;
}

.ip-documento:hover {
    color: #ef4747;

    border-color: rgba(239, 71, 71, 0.35);

    box-shadow:
        0 12px 28px rgba(239, 71, 71, 0.13),
        0 4px 10px rgba(0, 0, 0, 0.04);

    transform: translateY(-2px);
}

.ip-numero {
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 800;
}

.ip-texto {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.ip-documento::after {
    content: "↗";

    margin-left: auto;

    color: #bbbbbb;

    font-size: 15px;
    font-weight: 700;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.ip-documento:hover::after {
    color: #ef4747;
    transform: translate(2px, -2px);
}


/* Sublista del punto 8 */

.ip-documento-con-sublista {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ip-sublista {
    margin-left: 48px;

    display: flex;
    flex-direction: column;

    gap: 8px;
}

.ip-sublista a {
    position: relative;

    color: #555555;
    background-color: #fafafa;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    padding: 10px 14px 10px 32px;

    border: 1px solid #eeeeee;
    border-radius: 12px;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.ip-sublista a::before {
    content: "";

    position: absolute;
    left: 14px;
    top: 50%;

    width: 6px;
    height: 6px;

    background-color: #ef4747;

    border-radius: 50%;

    transform: translateY(-50%);
}

.ip-sublista a:hover {
    color: #ef4747;
    background-color: #ffffff;
    border-color: rgba(239, 71, 71, 0.35);
    transform: translateX(3px);
}


/* =========================================
   INFORMACIÓN PÚBLICA - TABLET
========================================= */

@media screen and (max-width: 1024px) {

    .pagina-informacion-publica {
        padding: 48px 18px 62px;
    }

    .ip-bloque-mes {
        padding: 28px;
    }

    .ip-lista-documentos {
        grid-template-columns: 1fr;
    }

    .ip-linea {
        max-width: 180px;
    }
}


/* =========================================
   INFORMACIÓN PÚBLICA - TELÉFONO
========================================= */

@media screen and (max-width: 600px) {

    .pagina-informacion-publica {
        padding: 38px 14px 55px;
    }

    .ip-titulo {
        margin-bottom: 28px;
    }

    .ip-titulo h1 {
        font-size: 32px;
    }

    .ip-titulo p {
        font-size: 14px;
    }

    .ip-bloque-mes {
        padding: 20px 14px;
        border-radius: 18px;
    }

    .ip-mes-header {
        gap: 10px;
        margin-bottom: 24px;
    }

    .ip-mes-header h2 {
        font-size: 20px;
    }

    .ip-linea {
        max-width: 80px;
    }

    .ip-documento {
        min-height: auto;
        padding: 12px;

        gap: 10px;
    }

    .ip-numero {
        width: 30px;
        height: 30px;

        font-size: 12px;
    }

    .ip-texto {
        font-size: 13px;
    }

    .ip-sublista {
        margin-left: 40px;
    }

    .ip-sublista a {
        font-size: 12.5px;
        padding-top: 9px;
        padding-bottom: 9px;
    }
}

/* =========================================
   PÁGINA OBJETIVOS
========================================= */

.pagina-objetivos {
    width: 100%;
    min-height: calc(
        100svh - var(--alto-contacto) - var(--alto-header) - var(--alto-footer)
    );

    background:
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}


/* HERO */

.objetivos-hero {
    position: relative;

    width: 100%;

    padding: 72px 24px 82px;

    background:
        linear-gradient(
            135deg,
            rgba(239, 71, 71, 0.96),
            rgba(190, 35, 40, 0.96)
        );

    overflow: hidden;
}

.objetivos-hero::before {
    content: "";

    position: absolute;
    right: -120px;
    top: -120px;

    width: 340px;
    height: 340px;

    background-color: rgba(255, 255, 255, 0.12);

    border-radius: 50%;
}

.objetivos-hero::after {
    content: "";

    position: absolute;
    left: -90px;
    bottom: -120px;

    width: 300px;
    height: 300px;

    background-color: rgba(255, 255, 255, 0.09);

    border-radius: 50%;
}

.objetivos-hero__contenido {
    position: relative;
    z-index: 2;

    width: min(1050px, 100%);

    margin: 0 auto;

    color: #ffffff;
}

.objetivos-etiqueta {
    display: inline-flex;

    margin-bottom: 18px;

    padding: 8px 14px;

    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.16);

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.objetivos-hero h1 {
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 900;

    line-height: 1;

    margin-bottom: 18px;
}

.objetivos-hero p {
    max-width: 760px;

    font-size: 18px;
    line-height: 1.7;

    opacity: 0.95;
}


/* CONTENEDOR */

.objetivos-contenedor {
    width: min(1120px, 100%);

    margin: 0 auto;

    padding: 64px 24px 78px;
}

.objetivos-intro {
    text-align: center;

    margin-bottom: 42px;
}

.objetivos-intro h2 {
    color: #222222;

    font-size: clamp(28px, 4vw, 44px);
    font-weight: 850;

    margin-bottom: 12px;
}

.objetivos-intro p {
    max-width: 680px;

    margin: 0 auto;

    color: #666666;

    font-size: 15px;
    line-height: 1.65;
}


/* GRID */

.objetivos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}

.objetivo-card {
    position: relative;

    display: flex;
    gap: 20px;

    min-height: 230px;

    padding: 28px;

    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 22px;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.07),
        0 4px 12px rgba(0, 0, 0, 0.04);

    overflow: hidden;

    opacity: 0;
    transform: translateY(28px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.objetivo-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.objetivo-card:hover,
.objetivo-card.is-active {
    border-color: rgba(239, 71, 71, 0.35);

    box-shadow:
        0 22px 55px rgba(239, 71, 71, 0.15),
        0 6px 18px rgba(0, 0, 0, 0.06);

    transform: translateY(-4px);
}

.objetivo-card::after {
    content: "";

    position: absolute;
    right: -45px;
    bottom: -45px;

    width: 130px;
    height: 130px;

    background-color: rgba(239, 71, 71, 0.08);

    border-radius: 50%;
}

.objetivo-icono {
    position: relative;
    z-index: 2;

    flex: 0 0 auto;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    border-radius: 18px;

    font-size: 18px;
    font-weight: 900;

    box-shadow: 0 12px 26px rgba(239, 71, 71, 0.28);
}

.objetivo-contenido {
    position: relative;
    z-index: 2;
}

.objetivo-contenido h3 {
    color: #222222;

    font-size: 21px;
    font-weight: 850;

    margin-bottom: 12px;
}

.objetivo-contenido p {
    color: #555555;

    font-size: 14px;
    line-height: 1.75;
}


/* BOTÓN SUBIR */

.boton-subir {
    position: fixed;
    right: 24px;
    bottom: 24px;

    z-index: 900;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    border: none;
    border-radius: 50%;

    font-size: 22px;
    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 12px 28px rgba(239, 71, 71, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

.boton-subir.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.boton-subir:hover {
    background-color: #d93636;
}


/* =========================================
   OBJETIVOS - TABLET
========================================= */

@media screen and (max-width: 1024px) {

    .objetivos-hero {
        padding: 62px 22px 70px;
    }

    .objetivos-grid {
        grid-template-columns: 1fr;
    }

    .objetivo-card {
        min-height: auto;
    }
}


/* =========================================
   OBJETIVOS - TELÉFONO
========================================= */

@media screen and (max-width: 600px) {

    .objetivos-hero {
        padding: 48px 16px 58px;
    }

    .objetivos-hero p {
        font-size: 15px;
    }

    .objetivos-contenedor {
        padding: 42px 14px 58px;
    }

    .objetivos-intro {
        margin-bottom: 30px;
    }

    .objetivo-card {
        flex-direction: column;

        padding: 24px;

        border-radius: 18px;
    }

    .objetivo-icono {
        width: 50px;
        height: 50px;

        border-radius: 15px;

        font-size: 15px;
    }

    .objetivo-contenido h3 {
        font-size: 19px;
    }

    .objetivo-contenido p {
        font-size: 13.5px;
    }

    .boton-subir {
        right: 16px;
        bottom: 16px;

        width: 42px;
        height: 42px;
    }
}

/* =========================================
   PÁGINA QUIÉNES SOMOS
========================================= */

.pagina-quienes-somos {
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
}


/* HERO */

.qs-hero {
    position: relative;

    width: 100%;

    padding: 76px 24px 88px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 255, 255, 0.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ef4747 0%,
            #d7353a 45%,
            #a81925 100%
        );

    overflow: hidden;
}

.qs-hero::before {
    content: "";

    position: absolute;
    left: -120px;
    bottom: -140px;

    width: 380px;
    height: 380px;

    background-color: rgba(255, 255, 255, 0.1);

    border-radius: 50%;
}

.qs-hero::after {
    content: "";

    position: absolute;
    right: -80px;
    top: -100px;

    width: 280px;
    height: 280px;

    border: 38px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.qs-hero__contenido {
    position: relative;
    z-index: 2;

    width: min(1120px, 100%);

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    gap: 44px;
    align-items: center;
}

.qs-hero__texto {
    color: #ffffff;
}

.qs-etiqueta {
    display: inline-flex;

    margin-bottom: 18px;

    padding: 8px 15px;

    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.16);

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.qs-hero h1 {
    font-size: clamp(42px, 7vw, 74px);
    font-weight: 900;

    line-height: 1.02;

    margin-bottom: 18px;
}

.qs-hero p {
    max-width: 650px;

    font-size: 18px;
    line-height: 1.75;

    opacity: 0.96;
}

.qs-hero__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 30px;
}


/* BOTONES */

.qs-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 12px 22px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease;
}

.qs-boton:hover {
    transform: translateY(-2px);
}

.qs-boton--principal {
    color: #ef4747;
    background-color: #ffffff;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.qs-boton--principal:hover {
    color: #d7353a;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.qs-boton--secundario {
    color: #ffffff;
    background-color: transparent;

    border: 1px solid rgba(255, 255, 255, 0.65);
}

.qs-boton--secundario:hover {
    background-color: rgba(255, 255, 255, 0.12);
}


/* TARJETA MÉDICA */

.qs-hero__visual {
    display: flex;
    justify-content: center;
}

.qs-tarjeta-medica {
    position: relative;

    width: min(430px, 100%);

    padding: 26px;

    color: #222222;
    background-color: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.qs-tarjeta-medica__header {
    display: flex;
    gap: 8px;

    margin-bottom: 26px;
}

.qs-tarjeta-medica__header span {
    width: 10px;
    height: 10px;

    background-color: #ef4747;

    border-radius: 50%;
}

.qs-corazon {
    width: 88px;
    height: 88px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    color: #ffffff;
    background-color: #ef4747;

    border-radius: 28px;

    font-size: 44px;

    box-shadow: 0 18px 34px rgba(239, 71, 71, 0.32);

    animation: qsLatido 1.5s ease-in-out infinite;
}

@keyframes qsLatido {
    0%,
    100% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.08);
    }

    60% {
        transform: scale(0.97);
    }
}

.qs-linea-cardiaca {
    width: 100%;

    margin-bottom: 26px;
}

.qs-linea-cardiaca svg {
    width: 100%;
    height: 90px;
}

.qs-linea-cardiaca polyline {
    fill: none;
    stroke: #ef4747;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 640;
    stroke-dashoffset: 640;

    animation: qsLineaCardiaca 2.8s ease-in-out infinite;
}

@keyframes qsLineaCardiaca {
    0% {
        stroke-dashoffset: 640;
    }

    55% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -640;
    }
}

.qs-datos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.qs-datos div {
    padding: 14px 10px;

    text-align: center;

    background-color: #f7f7f7;

    border: 1px solid #eeeeee;
    border-radius: 16px;
}

.qs-datos strong {
    display: block;

    color: #ef4747;

    font-size: 24px;
    font-weight: 900;

    margin-bottom: 2px;
}

.qs-datos span {
    color: #555555;

    font-size: 11px;
    font-weight: 700;
}


/* SECCIONES */

.qs-seccion {
    width: 100%;

    padding: 72px 24px;
}

.qs-seccion--gris {
    background-color: #f7f7f7;
}

.qs-contenedor {
    width: min(1120px, 100%);

    margin: 0 auto;
}

.qs-encabezado-seccion {
    text-align: center;

    margin-bottom: 44px;
}

.qs-encabezado-seccion span {
    display: inline-flex;

    margin-bottom: 10px;

    color: #ef4747;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.qs-encabezado-seccion h2 {
    color: #222222;

    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;

    margin-bottom: 12px;
}

.qs-encabezado-seccion p {
    max-width: 760px;

    margin: 0 auto;

    color: #666666;

    font-size: 15px;
    line-height: 1.7;
}


/* MISIÓN Y VISIÓN */

.qs-grid-mision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}

.qs-card-principal {
    position: relative;

    min-height: 310px;

    padding: 34px;

    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 24px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.08),
        0 4px 14px rgba(0, 0, 0, 0.04);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.qs-card-principal::after {
    content: "";

    position: absolute;
    right: -55px;
    bottom: -55px;

    width: 160px;
    height: 160px;

    background-color: rgba(239, 71, 71, 0.08);

    border-radius: 50%;
}

.qs-card-principal:hover {
    transform: translateY(-6px);

    border-color: rgba(239, 71, 71, 0.35);

    box-shadow:
        0 24px 58px rgba(239, 71, 71, 0.14),
        0 8px 20px rgba(0, 0, 0, 0.06);
}

.qs-card-icono {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    border-radius: 18px;

    font-size: 28px;

    margin-bottom: 24px;

    box-shadow: 0 14px 28px rgba(239, 71, 71, 0.3);
}

.qs-card-principal h3 {
    position: relative;
    z-index: 2;

    color: #222222;

    font-size: 25px;
    font-weight: 900;

    margin-bottom: 14px;
}

.qs-card-principal p {
    position: relative;
    z-index: 2;

    color: #555555;

    font-size: 14px;
    line-height: 1.85;
}


/* VALORES */

.qs-valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.qs-valor-card {
    padding: 28px 22px;

    text-align: center;

    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 22px;

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.06),
        0 3px 10px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease;
}

.qs-valor-card:hover {
    transform: translateY(-6px);

    border-color: rgba(239, 71, 71, 0.35);

    box-shadow:
        0 22px 50px rgba(239, 71, 71, 0.14),
        0 6px 18px rgba(0, 0, 0, 0.06);
}

.qs-valor-icono {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    color: #ef4747;
    background-color: rgba(239, 71, 71, 0.1);

    border-radius: 18px;

    font-size: 26px;
}

.qs-valor-card h3 {
    color: #222222;

    font-size: 20px;
    font-weight: 900;

    margin-bottom: 10px;
}

.qs-valor-card p {
    color: #666666;

    font-size: 13.5px;
    line-height: 1.65;
}


/* CTA */

.qs-cta {
    padding: 70px 24px;

    background:
        linear-gradient(
            135deg,
            #ef4747,
            #bd2028
        );
}

.qs-cta__contenido {
    width: min(900px, 100%);

    margin: 0 auto;

    text-align: center;

    color: #ffffff;
}

.qs-cta h2 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 900;

    margin-bottom: 14px;
}

.qs-cta p {
    max-width: 680px;

    margin: 0 auto 26px;

    font-size: 16px;
    line-height: 1.7;

    opacity: 0.96;
}


/* BOTÓN SUBIR */

.qs-boton-subir {
    position: fixed;
    right: 24px;
    bottom: 24px;

    z-index: 900;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    border: none;
    border-radius: 50%;

    font-size: 22px;
    font-weight: 900;

    cursor: pointer;

    box-shadow: 0 12px 28px rgba(239, 71, 71, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

.qs-boton-subir.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.qs-boton-subir:hover {
    background-color: #d93636;
}


/* ANIMACIONES DE ENTRADA */

[data-qs-animacion] {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

[data-qs-animacion].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* TABLET */

@media screen and (max-width: 1024px) {

    .qs-hero__contenido {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .qs-hero p {
        margin: 0 auto;
    }

    .qs-hero__acciones {
        justify-content: center;
    }

    .qs-grid-mision {
        grid-template-columns: 1fr;
    }

    .qs-valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* TELÉFONO */

@media screen and (max-width: 600px) {

    .qs-hero {
        padding: 54px 16px 62px;
    }

    .qs-hero p {
        font-size: 15px;
    }

    .qs-hero__acciones {
        flex-direction: column;
    }

    .qs-boton {
        width: 100%;
    }

    .qs-tarjeta-medica {
        padding: 20px;
        border-radius: 22px;
    }

    .qs-datos {
        grid-template-columns: 1fr;
    }

    .qs-seccion {
        padding: 54px 16px;
    }

    .qs-card-principal {
        min-height: auto;
        padding: 26px;
    }

    .qs-valores-grid {
        grid-template-columns: 1fr;
    }

    .qs-cta {
        padding: 56px 16px;
    }

    .qs-boton-subir {
        right: 16px;
        bottom: 16px;

        width: 42px;
        height: 42px;
    }
}
/* =========================================
   PÁGINA UBICACIONES
========================================= */

.pagina-ubicaciones {
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
}


/* HERO UBICACIONES */

.ub-hero {
    position: relative;

    width: 100%;

    padding: 76px 24px 88px;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(255, 255, 255, 0.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ef4747 0%,
            #d7353a 46%,
            #a81925 100%
        );

    overflow: hidden;
}

.ub-hero::before {
    content: "";

    position: absolute;
    left: -130px;
    bottom: -150px;

    width: 390px;
    height: 390px;

    background-color: rgba(255, 255, 255, 0.1);

    border-radius: 50%;
}

.ub-hero::after {
    content: "";

    position: absolute;
    right: -70px;
    top: -100px;

    width: 280px;
    height: 280px;

    border: 38px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.ub-hero__contenido {
    position: relative;
    z-index: 2;

    width: min(1120px, 100%);

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    gap: 44px;
    align-items: center;
}

.ub-hero__texto {
    color: #ffffff;
}

.ub-etiqueta {
    display: inline-flex;

    margin-bottom: 18px;

    padding: 8px 15px;

    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.16);

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ub-hero h1 {
    font-size: clamp(42px, 7vw, 74px);
    font-weight: 900;

    line-height: 1.02;

    margin-bottom: 18px;
}

.ub-hero p {
    max-width: 650px;

    font-size: 18px;
    line-height: 1.75;

    opacity: 0.96;
}

.ub-hero__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 30px;
}


/* BOTONES GENERALES */

.ub-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 12px 22px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease;
}

.ub-boton:hover {
    transform: translateY(-2px);
}

.ub-boton--principal {
    color: #ef4747;
    background-color: #ffffff;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.ub-boton--principal:hover {
    color: #d7353a;

    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.ub-boton--secundario {
    color: #ffffff;
    background-color: transparent;

    border: 1px solid rgba(255, 255, 255, 0.65);
}

.ub-boton--secundario:hover {
    background-color: rgba(255, 255, 255, 0.12);
}


/* PANEL MÉDICO MAPA */

.ub-hero__visual {
    display: flex;
    justify-content: center;
}

.ub-panel-medico {
    position: relative;

    width: min(430px, 100%);

    padding: 26px;

    color: #222222;
    background-color: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.ub-panel-medico__superior {
    display: flex;
    gap: 8px;

    margin-bottom: 24px;
}

.ub-panel-medico__superior span {
    width: 10px;
    height: 10px;

    background-color: #ef4747;

    border-radius: 50%;
}

.ub-mapa-visual {
    position: relative;

    height: 280px;

    background:
        linear-gradient(90deg, rgba(239, 71, 71, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(239, 71, 71, 0.06) 1px, transparent 1px),
        #f7f7f7;

    background-size: 34px 34px;

    border: 1px solid #eeeeee;
    border-radius: 24px;

    overflow: hidden;
}

.ub-mapa-linea {
    position: absolute;

    height: 4px;

    background-color: rgba(239, 71, 71, 0.22);

    border-radius: 999px;
}

.ub-mapa-linea--uno {
    width: 260px;
    left: -20px;
    top: 82px;

    transform: rotate(24deg);
}

.ub-mapa-linea--dos {
    width: 300px;
    right: -40px;
    top: 160px;

    transform: rotate(-22deg);
}

.ub-mapa-linea--tres {
    width: 210px;
    left: 58px;
    bottom: 66px;

    transform: rotate(8deg);
}

.ub-pin {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

.ub-pin--principal {
    left: 50%;
    top: 50%;

    width: 76px;
    height: 76px;

    color: #ffffff;
    background-color: #ef4747;

    font-size: 34px;

    box-shadow: 0 18px 34px rgba(239, 71, 71, 0.32);

    transform: translate(-50%, -50%);

    animation: ubLatido 1.55s ease-in-out infinite;
}

@keyframes ubLatido {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    35% {
        transform: translate(-50%, -50%) scale(1.08);
    }

    60% {
        transform: translate(-50%, -50%) scale(0.97);
    }
}

.ub-pin--secundario {
    width: 18px;
    height: 18px;

    background-color: #ffffff;

    border: 5px solid #ef4747;

    box-shadow: 0 8px 18px rgba(239, 71, 71, 0.2);
}

.ub-pin--a {
    left: 54px;
    top: 58px;
}

.ub-pin--b {
    right: 58px;
    top: 92px;
}

.ub-pin--c {
    left: 92px;
    bottom: 54px;
}

.ub-panel-info {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 18px;

    padding: 16px;

    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 18px;
}

.ub-panel-info strong {
    color: #ef4747;

    font-size: 34px;
    font-weight: 900;
}

.ub-panel-info span {
    color: #555555;

    font-size: 14px;
    font-weight: 800;
}


/* SECCIÓN */

.ub-seccion {
    width: 100%;

    padding: 72px 24px;

    background:
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.ub-contenedor {
    width: min(1120px, 100%);

    margin: 0 auto;
}

.ub-encabezado {
    text-align: center;

    margin-bottom: 30px;
}

.ub-encabezado span {
    display: inline-flex;

    margin-bottom: 10px;

    color: #ef4747;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.ub-encabezado h2 {
    color: #222222;

    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;

    margin-bottom: 12px;
}

.ub-encabezado p {
    max-width: 760px;

    margin: 0 auto;

    color: #666666;

    font-size: 15px;
    line-height: 1.7;
}


/* FILTROS */

.ub-filtros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 10px;

    margin-bottom: 34px;
}

.ub-filtro {
    padding: 10px 18px;

    color: #555555;
    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.ub-filtro:hover,
.ub-filtro.is-active {
    color: #ffffff;
    background-color: #ef4747;
    border-color: #ef4747;

    transform: translateY(-2px);
}


/* TARJETAS */

.ub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}

.ub-card {
    position: relative;

    display: grid;
    grid-template-columns: 180px 1fr;

    min-height: 250px;

    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 24px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.08),
        0 4px 14px rgba(0, 0, 0, 0.04);

    overflow: hidden;

    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.ub-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ub-card:hover,
.ub-card.is-active {
    border-color: rgba(239, 71, 71, 0.35);

    box-shadow:
        0 24px 58px rgba(239, 71, 71, 0.14),
        0 8px 20px rgba(0, 0, 0, 0.06);

    transform: translateY(-5px);
}

.ub-card.is-hidden {
    display: none;
}

.ub-card__mapa {
    position: relative;

    min-height: 100%;

    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        linear-gradient(135deg, #ef4747, #bd2028);

    background-size: 28px 28px;

    overflow: hidden;
}

.ub-card__mapa::after {
    content: "";

    position: absolute;
    right: -36px;
    bottom: -36px;

    width: 120px;
    height: 120px;

    background-color: rgba(255, 255, 255, 0.13);

    border-radius: 50%;
}

.ub-card__pin {
    position: absolute;
    left: 50%;
    top: 50%;

    z-index: 2;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ef4747;
    background-color: #ffffff;

    border-radius: 50%;

    font-size: 25px;

    transform: translate(-50%, -50%);

    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.ub-card__pulso {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 88px;
    height: 88px;

    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;

    transform: translate(-50%, -50%);

    animation: ubPulso 1.7s ease-out infinite;
}

@keyframes ubPulso {
    from {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(0.72);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.35);
    }
}

.ub-card__contenido {
    padding: 26px;
}

.ub-card__tipo {
    display: inline-flex;

    margin-bottom: 13px;

    padding: 7px 12px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ub-card__tipo--google {
    color: #ef4747;
    background-color: rgba(239, 71, 71, 0.1);
}

.ub-card__tipo--waze {
    color: #0b7189;
    background-color: rgba(11, 113, 137, 0.1);
}

.ub-card h3 {
    color: #222222;

    font-size: 22px;
    font-weight: 900;

    line-height: 1.25;

    margin-bottom: 12px;
}

.ub-card p {
    color: #666666;

    font-size: 14px;
    line-height: 1.7;

    margin-bottom: 20px;
}

.ub-card__acciones {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.ub-boton-card,
.ub-boton-copiar {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 10px 15px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 850;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.ub-boton-card {
    color: #ffffff;
    background-color: #ef4747;

    text-decoration: none;

    border: 1px solid #ef4747;
}

.ub-boton-card:hover {
    background-color: #d93636;

    box-shadow: 0 12px 24px rgba(239, 71, 71, 0.25);

    transform: translateY(-2px);
}

.ub-boton-copiar {
    color: #555555;
    background-color: #ffffff;

    border: 1px solid #dddddd;
}

.ub-boton-copiar:hover {
    color: #ef4747;

    border-color: rgba(239, 71, 71, 0.35);

    transform: translateY(-2px);
}

.ub-boton-copiar.is-copied {
    color: #ffffff;
    background-color: #1f9d55;
    border-color: #1f9d55;
}


/* CTA */

.ub-cta {
    padding: 70px 24px;

    background:
        linear-gradient(
            135deg,
            #ef4747,
            #bd2028
        );
}

.ub-cta__contenido {
    width: min(900px, 100%);

    margin: 0 auto;

    text-align: center;

    color: #ffffff;
}

.ub-cta h2 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 900;

    margin-bottom: 14px;
}

.ub-cta p {
    max-width: 680px;

    margin: 0 auto 26px;

    font-size: 16px;
    line-height: 1.7;

    opacity: 0.96;
}


/* BOTÓN SUBIR */

.ub-boton-subir {
    position: fixed;
    right: 24px;
    bottom: 24px;

    z-index: 900;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    border: none;
    border-radius: 50%;

    font-size: 22px;
    font-weight: 900;

    cursor: pointer;

    box-shadow: 0 12px 28px rgba(239, 71, 71, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

.ub-boton-subir.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ub-boton-subir:hover {
    background-color: #d93636;
}


/* ANIMACIONES */

[data-ub-animacion] {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

[data-ub-animacion].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* TABLET */

@media screen and (max-width: 1024px) {

    .ub-hero__contenido {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .ub-hero p {
        margin: 0 auto;
    }

    .ub-hero__acciones {
        justify-content: center;
    }

    .ub-grid {
        grid-template-columns: 1fr;
    }
}


/* TELÉFONO */

@media screen and (max-width: 600px) {

    .ub-hero {
        padding: 54px 16px 62px;
    }

    .ub-hero p {
        font-size: 15px;
    }

    .ub-hero__acciones {
        flex-direction: column;
    }

    .ub-boton {
        width: 100%;
    }

    .ub-panel-medico {
        padding: 20px;
        border-radius: 22px;
    }

    .ub-mapa-visual {
        height: 230px;
    }

    .ub-seccion {
        padding: 54px 16px;
    }

    .ub-card {
        grid-template-columns: 1fr;
    }

    .ub-card__mapa {
        min-height: 170px;
    }

    .ub-card__contenido {
        padding: 24px;
    }

    .ub-card h3 {
        font-size: 20px;
    }

    .ub-card__acciones {
        flex-direction: column;
    }

    .ub-boton-card,
    .ub-boton-copiar {
        width: 100%;
    }

    .ub-cta {
        padding: 56px 16px;
    }

    .ub-boton-subir {
        right: 16px;
        bottom: 16px;

        width: 42px;
        height: 42px;
    }
}
/* =========================================
   PÁGINA HISTORIA
========================================= */

.pagina-historia {
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
}


/* HERO */

.hs-hero {
    position: relative;
    width: 100%;

    padding: 76px 24px 88px;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(255, 255, 255, 0.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ef4747 0%,
            #d7353a 46%,
            #a81925 100%
        );

    overflow: hidden;
}

.hs-hero::before {
    content: "";

    position: absolute;
    left: -130px;
    bottom: -150px;

    width: 390px;
    height: 390px;

    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hs-hero::after {
    content: "";

    position: absolute;
    right: -70px;
    top: -100px;

    width: 280px;
    height: 280px;

    border: 38px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.hs-hero__contenido {
    position: relative;
    z-index: 2;

    width: min(1120px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    gap: 44px;
    align-items: center;
}

.hs-hero__texto {
    color: #ffffff;
}

.hs-etiqueta {
    display: inline-flex;

    margin-bottom: 18px;
    padding: 8px 15px;

    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.16);

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
}

.hs-hero h1 {
    font-size: clamp(42px, 7vw, 74px);
    font-weight: 900;

    line-height: 1.02;

    margin-bottom: 18px;
}

.hs-hero p {
    max-width: 650px;

    font-size: 18px;
    line-height: 1.75;

    opacity: 0.96;
}

.hs-hero__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 30px;
}


/* BOTONES */

.hs-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 12px 22px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease;
}

.hs-boton:hover {
    transform: translateY(-2px);
}

.hs-boton--principal {
    color: #ef4747;
    background-color: #ffffff;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.hs-boton--principal:hover {
    color: #d7353a;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.hs-boton--secundario {
    color: #ffffff;
    background-color: transparent;

    border: 1px solid rgba(255, 255, 255, 0.65);
}

.hs-boton--secundario:hover {
    background-color: rgba(255, 255, 255, 0.12);
}


/* TARJETA VISUAL */

.hs-hero__visual {
    display: flex;
    justify-content: center;
}

.hs-tarjeta-corazon {
    position: relative;

    width: min(430px, 100%);

    padding: 26px;

    color: #222222;
    background-color: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hs-tarjeta-corazon__superior {
    display: flex;
    gap: 8px;

    margin-bottom: 20px;
}

.hs-tarjeta-corazon__superior span {
    width: 10px;
    height: 10px;

    background-color: #ef4747;
    border-radius: 50%;
}

.hs-anio {
    text-align: center;

    color: #ef4747;

    font-size: 48px;
    font-weight: 900;

    margin-bottom: 12px;
}

.hs-corazon-animado {
    width: 86px;
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 16px;

    color: #ffffff;
    background-color: #ef4747;

    border-radius: 28px;

    font-size: 42px;

    box-shadow: 0 18px 34px rgba(239, 71, 71, 0.32);

    animation: hsLatido 1.5s ease-in-out infinite;
}

@keyframes hsLatido {
    0%,
    100% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.08);
    }

    60% {
        transform: scale(0.97);
    }
}

.hs-electro {
    width: 100%;
}

.hs-electro svg {
    width: 100%;
    height: 90px;
}

.hs-electro polyline {
    fill: none;

    stroke: #ef4747;
    stroke-width: 6;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 670;
    stroke-dashoffset: 670;

    animation: hsElectro 2.8s ease-in-out infinite;
}

@keyframes hsElectro {
    0% {
        stroke-dashoffset: 670;
    }

    55% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -670;
    }
}

.hs-tarjeta-corazon p {
    color: #555555;

    text-align: center;

    font-size: 14px;
    line-height: 1.6;
}


/* NAVEGACIÓN INTERNA */

.hs-navegacion {
    position: sticky;
    top: 0;
    z-index: 800;

    width: 100%;

    padding: 12px 16px;

    background-color: rgba(255, 255, 255, 0.92);

    border-bottom: 1px solid #eeeeee;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hs-navegacion__contenedor {
    width: min(1120px, 100%);

    margin: 0 auto;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;
}

.hs-tab {
    padding: 10px 16px;

    color: #555555;
    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.hs-tab:hover,
.hs-tab.is-active {
    color: #ffffff;
    background-color: #ef4747;
    border-color: #ef4747;

    transform: translateY(-2px);
}


/* SECCIONES */

.hs-relato,
.hs-fundadores {
    padding: 72px 24px;

    background:
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.hs-fundadores {
    background-color: #ffffff;
}

.hs-contenedor {
    width: min(1120px, 100%);

    margin: 0 auto;
}

.hs-encabezado {
    text-align: center;

    margin-bottom: 50px;
}

.hs-encabezado span {
    display: inline-flex;

    margin-bottom: 10px;

    color: #ef4747;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.hs-encabezado h2 {
    color: #222222;

    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;

    margin-bottom: 12px;
}

.hs-encabezado p {
    max-width: 760px;

    margin: 0 auto;

    color: #666666;

    font-size: 15px;
    line-height: 1.7;
}


/* LÍNEA DE TIEMPO */

.hs-linea-tiempo {
    position: relative;

    width: min(900px, 100%);

    margin: 0 auto;
}

.hs-linea-tiempo__barra {
    position: absolute;
    left: 24px;
    top: 0;

    width: 4px;
    height: 100%;

    background-color: #eeeeee;

    border-radius: 999px;

    overflow: hidden;
}

.hs-linea-tiempo__barra span {
    display: block;

    width: 100%;
    height: 0;

    background-color: #ef4747;

    border-radius: 999px;

    transition: height 0.2s ease;
}

.hs-evento {
    position: relative;

    display: grid;
    grid-template-columns: 50px 1fr;

    gap: 24px;

    margin-bottom: 36px;

    opacity: 0;
    transform: translateY(34px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.hs-evento.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hs-evento__punto {
    position: relative;
    z-index: 2;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #ffffff;

    border: 4px solid #ef4747;
    border-radius: 50%;

    box-shadow: 0 12px 26px rgba(239, 71, 71, 0.22);
}

.hs-evento__punto::after {
    content: "❤";

    color: #ef4747;

    font-size: 18px;
}

.hs-evento__card {
    padding: 28px;

    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 22px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.08),
        0 4px 14px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.hs-evento__card:hover,
.hs-evento.is-active .hs-evento__card {
    transform: translateY(-5px);

    border-color: rgba(239, 71, 71, 0.35);

    box-shadow:
        0 24px 58px rgba(239, 71, 71, 0.14),
        0 8px 20px rgba(0, 0, 0, 0.06);
}

.hs-evento__fecha {
    display: inline-flex;

    margin-bottom: 12px;

    color: #ef4747;

    font-size: 13px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.hs-evento__card h3 {
    color: #222222;

    font-size: 24px;
    font-weight: 900;

    margin-bottom: 12px;
}

.hs-evento__card p {
    color: #555555;

    font-size: 14.5px;
    line-height: 1.85;
}


/* FUNDADORES */

.hs-fundadores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.hs-fundador-card {
    padding: 28px 20px;

    text-align: center;

    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 22px;

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.06),
        0 3px 10px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease;
}

.hs-fundador-card:hover {
    transform: translateY(-6px);

    border-color: rgba(239, 71, 71, 0.35);

    box-shadow:
        0 22px 50px rgba(239, 71, 71, 0.14),
        0 6px 18px rgba(0, 0, 0, 0.06);
}

.hs-fundador-icono {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    color: #ffffff;
    background-color: #ef4747;

    border-radius: 20px;

    font-size: 18px;
    font-weight: 900;

    box-shadow: 0 14px 28px rgba(239, 71, 71, 0.3);
}

.hs-fundador-card h3 {
    color: #222222;

    font-size: 16px;
    line-height: 1.45;
}


/* CTA */

.hs-cta {
    padding: 70px 24px;

    background:
        linear-gradient(
            135deg,
            #ef4747,
            #bd2028
        );
}

.hs-cta__contenido {
    width: min(900px, 100%);

    margin: 0 auto;

    text-align: center;

    color: #ffffff;
}

.hs-cta h2 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 900;

    margin-bottom: 14px;
}

.hs-cta p {
    max-width: 680px;

    margin: 0 auto 26px;

    font-size: 16px;
    line-height: 1.7;

    opacity: 0.96;
}


/* BOTÓN SUBIR */

.hs-boton-subir {
    position: fixed;
    right: 24px;
    bottom: 24px;

    z-index: 900;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    border: none;
    border-radius: 50%;

    font-size: 22px;
    font-weight: 900;

    cursor: pointer;

    box-shadow: 0 12px 28px rgba(239, 71, 71, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

.hs-boton-subir.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hs-boton-subir:hover {
    background-color: #d93636;
}


/* ANIMACIONES */

[data-hs-animacion] {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

[data-hs-animacion].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* TABLET */

@media screen and (max-width: 1024px) {

    .hs-hero__contenido {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hs-hero p {
        margin: 0 auto;
    }

    .hs-hero__acciones {
        justify-content: center;
    }

    .hs-fundadores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* TELÉFONO */

@media screen and (max-width: 600px) {

    .hs-hero {
        padding: 54px 16px 62px;
    }

    .hs-hero p {
        font-size: 15px;
    }

    .hs-hero__acciones {
        flex-direction: column;
    }

    .hs-boton {
        width: 100%;
    }

    .hs-tarjeta-corazon {
        padding: 20px;
        border-radius: 22px;
    }

    .hs-anio {
        font-size: 38px;
    }

    .hs-relato,
    .hs-fundadores {
        padding: 54px 16px;
    }

    .hs-linea-tiempo__barra {
        left: 20px;
    }

    .hs-evento {
        grid-template-columns: 42px 1fr;
        gap: 16px;
    }

    .hs-evento__punto {
        width: 42px;
        height: 42px;
    }

    .hs-evento__card {
        padding: 22px;
    }

    .hs-evento__card h3 {
        font-size: 20px;
    }

    .hs-evento__card p {
        font-size: 13.5px;
    }

    .hs-fundadores-grid {
        grid-template-columns: 1fr;
    }

    .hs-cta {
        padding: 56px 16px;
    }

    .hs-boton-subir {
        right: 16px;
        bottom: 16px;

        width: 42px;
        height: 42px;
    }
}
/* =========================================
   PÁGINA INFORMACIÓN LGC
========================================= */

.pagina-info-lgc {
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
}


/* HERO */

.ilg-hero {
    position: relative;
    width: 100%;

    padding: 76px 24px 88px;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(255, 255, 255, 0.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ef4747 0%,
            #d7353a 46%,
            #a81925 100%
        );

    overflow: hidden;
}

.ilg-hero::before {
    content: "";
    position: absolute;
    left: -130px;
    bottom: -150px;

    width: 390px;
    height: 390px;

    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.ilg-hero::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -100px;

    width: 280px;
    height: 280px;

    border: 38px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.ilg-hero__contenido {
    position: relative;
    z-index: 2;

    width: min(1120px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    gap: 44px;
    align-items: center;
}

.ilg-hero__texto {
    color: #ffffff;
}

.ilg-etiqueta {
    display: inline-flex;

    margin-bottom: 18px;
    padding: 8px 15px;

    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.16);

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
}

.ilg-hero h1 {
    font-size: clamp(42px, 7vw, 74px);
    font-weight: 900;

    line-height: 1.02;

    margin-bottom: 18px;
}

.ilg-hero p {
    max-width: 650px;

    font-size: 18px;
    line-height: 1.75;

    opacity: 0.96;
}

.ilg-hero__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 30px;
}


/* BOTONES */

.ilg-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 12px 22px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease;
}

.ilg-boton:hover {
    transform: translateY(-2px);
}

.ilg-boton--principal {
    color: #ef4747;
    background-color: #ffffff;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.ilg-boton--principal:hover {
    color: #d7353a;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.ilg-boton--secundario {
    color: #ffffff;
    background-color: transparent;

    border: 1px solid rgba(255, 255, 255, 0.65);
}

.ilg-boton--secundario:hover {
    background-color: rgba(255, 255, 255, 0.12);
}


/* PANEL VISUAL */

.ilg-hero__visual {
    display: flex;
    justify-content: center;
}

.ilg-panel-documentos {
    position: relative;

    width: min(430px, 100%);

    padding: 26px;

    color: #222222;
    background-color: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.ilg-panel-documentos__superior {
    display: flex;
    gap: 8px;

    margin-bottom: 24px;
}

.ilg-panel-documentos__superior span {
    width: 10px;
    height: 10px;

    background-color: #ef4747;

    border-radius: 50%;
}

.ilg-icono-documento {
    position: relative;

    width: 118px;
    height: 148px;

    margin: 0 auto 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    border-radius: 22px;

    box-shadow: 0 18px 34px rgba(239, 71, 71, 0.32);

    animation: ilgDocumentoFlotar 2.6s ease-in-out infinite;
}

.ilg-icono-documento::before {
    content: "";

    position: absolute;
    right: 0;
    top: 0;

    width: 34px;
    height: 34px;

    background-color: rgba(255, 255, 255, 0.35);

    border-bottom-left-radius: 18px;
}

.ilg-icono-documento span {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
}

.ilg-icono-documento strong {
    margin-top: 10px;

    font-size: 34px;
}

@keyframes ilgDocumentoFlotar {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.ilg-linea-cardiaca svg {
    width: 100%;
    height: 90px;
}

.ilg-linea-cardiaca polyline {
    fill: none;

    stroke: #ef4747;
    stroke-width: 6;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 680;
    stroke-dashoffset: 680;

    animation: ilgLinea 2.8s ease-in-out infinite;
}

@keyframes ilgLinea {
    0% {
        stroke-dashoffset: 680;
    }

    55% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -680;
    }
}

.ilg-panel-contador {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 18px;

    padding: 16px;

    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 18px;
}

.ilg-panel-contador strong {
    color: #ef4747;

    font-size: 34px;
    font-weight: 900;
}

.ilg-panel-contador span {
    color: #555555;

    font-size: 14px;
    font-weight: 800;
}


/* SECCIÓN */

.ilg-seccion {
    width: 100%;

    padding: 72px 24px;

    background:
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.ilg-contenedor {
    width: min(1120px, 100%);

    margin: 0 auto;
}

.ilg-encabezado {
    text-align: center;

    margin-bottom: 30px;
}

.ilg-encabezado span {
    display: inline-flex;

    margin-bottom: 10px;

    color: #ef4747;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.ilg-encabezado h2 {
    color: #222222;

    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;

    margin-bottom: 12px;
}

.ilg-encabezado p {
    max-width: 760px;

    margin: 0 auto;

    color: #666666;

    font-size: 15px;
    line-height: 1.7;
}


/* HERRAMIENTAS */

.ilg-herramientas {
    display: grid;
    grid-template-columns: 1fr auto;

    gap: 18px;
    align-items: center;

    margin-bottom: 34px;
}

.ilg-buscador {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 48px;

    padding: 0 16px;

    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 999px;

    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.ilg-buscador span {
    color: #ef4747;

    font-size: 18px;
    font-weight: 900;
}

.ilg-buscador input {
    width: 100%;

    border: none;
    outline: none;

    color: #333333;
    background-color: transparent;

    font-size: 14px;
}

.ilg-filtros {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.ilg-filtro {
    padding: 10px 16px;

    color: #555555;
    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.ilg-filtro:hover,
.ilg-filtro.is-active {
    color: #ffffff;
    background-color: #ef4747;
    border-color: #ef4747;

    transform: translateY(-2px);
}


/* GRID DOCUMENTOS */

.ilg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.ilg-card {
    position: relative;

    min-height: 360px;

    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.ilg-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ilg-card.is-hidden {
    display: none;
}

.ilg-card__enlace {
    position: relative;

    height: 100%;

    display: flex;
    flex-direction: column;

    color: inherit;
    background-color: #ffffff;

    text-decoration: none;

    border: 1px solid #eeeeee;
    border-radius: 24px;

    overflow: hidden;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.08),
        0 4px 14px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.ilg-card__enlace:hover,
.ilg-card.is-active .ilg-card__enlace {
    transform: translateY(-6px);

    border-color: rgba(239, 71, 71, 0.35);

    box-shadow:
        0 24px 58px rgba(239, 71, 71, 0.14),
        0 8px 20px rgba(0, 0, 0, 0.06);
}

.ilg-card__icono {
    position: relative;

    min-height: 145px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #ef4747,
            #bd2028
        );

    overflow: hidden;
}

.ilg-card__icono::before {
    content: "";

    position: absolute;
    right: -45px;
    bottom: -45px;

    width: 140px;
    height: 140px;

    background-color: rgba(255, 255, 255, 0.12);

    border-radius: 50%;
}

.ilg-card__icono span {
    position: relative;
    z-index: 2;

    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
}

.ilg-card__icono strong {
    position: relative;
    z-index: 2;

    margin-top: 8px;

    font-size: 34px;

    animation: ilgCardLatido 1.6s ease-in-out infinite;
}

@keyframes ilgCardLatido {
    0%,
    100% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.08);
    }

    60% {
        transform: scale(0.97);
    }
}

.ilg-card__contenido {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 24px;
}

.ilg-card__categoria {
    display: inline-flex;

    width: fit-content;

    margin-bottom: 12px;

    padding: 7px 12px;

    color: #ef4747;
    background-color: rgba(239, 71, 71, 0.1);

    border-radius: 999px;

    font-size: 11px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ilg-card h3 {
    color: #222222;

    font-size: 20px;
    font-weight: 900;

    line-height: 1.28;

    margin-bottom: 12px;
}

.ilg-card p {
    color: #666666;

    font-size: 13.5px;
    line-height: 1.65;

    margin-bottom: 16px;
}

.ilg-card__archivo {
    margin-top: auto;

    padding: 10px 12px;

    color: #555555;
    background-color: #f7f7f7;

    border: 1px solid #eeeeee;
    border-radius: 12px;

    font-size: 12px;
    font-weight: 700;

    word-break: break-word;
}

.ilg-card__accion {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 14px;

    color: #ef4747;

    font-size: 13px;
    font-weight: 900;
}

.ilg-card__accion span {
    transition: transform 0.2s ease;
}

.ilg-card__enlace:hover .ilg-card__accion span {
    transform: translate(3px, -3px);
}

.ilg-sin-resultados {
    display: none;

    margin-top: 30px;

    padding: 22px;

    text-align: center;

    color: #666666;
    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 18px;
}

.ilg-sin-resultados.is-visible {
    display: block;
}


/* CTA */

.ilg-cta {
    padding: 70px 24px;

    background:
        linear-gradient(
            135deg,
            #ef4747,
            #bd2028
        );
}

.ilg-cta__contenido {
    width: min(900px, 100%);

    margin: 0 auto;

    text-align: center;

    color: #ffffff;
}

.ilg-cta h2 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 900;

    margin-bottom: 14px;
}

.ilg-cta p {
    max-width: 680px;

    margin: 0 auto 26px;

    font-size: 16px;
    line-height: 1.7;

    opacity: 0.96;
}


/* BOTÓN SUBIR */

.ilg-boton-subir {
    position: fixed;
    right: 24px;
    bottom: 24px;

    z-index: 900;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    border: none;
    border-radius: 50%;

    font-size: 22px;
    font-weight: 900;

    cursor: pointer;

    box-shadow: 0 12px 28px rgba(239, 71, 71, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

.ilg-boton-subir.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ilg-boton-subir:hover {
    background-color: #d93636;
}


/* ANIMACIONES */

[data-ilg-animacion] {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

[data-ilg-animacion].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* TABLET */

@media screen and (max-width: 1024px) {

    .ilg-hero__contenido {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ilg-hero p {
        margin: 0 auto;
    }

    .ilg-hero__acciones {
        justify-content: center;
    }

    .ilg-herramientas {
        grid-template-columns: 1fr;
    }

    .ilg-filtros {
        justify-content: center;
    }

    .ilg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* TELÉFONO */

@media screen and (max-width: 600px) {

    .ilg-hero {
        padding: 54px 16px 62px;
    }

    .ilg-hero p {
        font-size: 15px;
    }

    .ilg-hero__acciones {
        flex-direction: column;
    }

    .ilg-boton {
        width: 100%;
    }

    .ilg-panel-documentos {
        padding: 20px;
        border-radius: 22px;
    }

    .ilg-seccion {
        padding: 54px 16px;
    }

    .ilg-grid {
        grid-template-columns: 1fr;
    }

    .ilg-card {
        min-height: auto;
    }

    .ilg-card__contenido {
        padding: 22px;
    }

    .ilg-card h3 {
        font-size: 19px;
    }

    .ilg-cta {
        padding: 56px 16px;
    }

    .ilg-boton-subir {
        right: 16px;
        bottom: 16px;

        width: 42px;
        height: 42px;
    }
}
/* =========================================
   PÁGINA SERVICIOS
========================================= */

.pagina-servicios {
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
}


/* HERO */

.srv-hero {
    position: relative;
    width: 100%;

    padding: 76px 24px 88px;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(255, 255, 255, 0.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ef4747 0%,
            #d7353a 46%,
            #a81925 100%
        );

    overflow: hidden;
}

.srv-hero::before {
    content: "";

    position: absolute;
    left: -130px;
    bottom: -150px;

    width: 390px;
    height: 390px;

    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.srv-hero::after {
    content: "";

    position: absolute;
    right: -70px;
    top: -100px;

    width: 280px;
    height: 280px;

    border: 38px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.srv-hero__contenido {
    position: relative;
    z-index: 2;

    width: min(1120px, 100%);

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    gap: 44px;
    align-items: center;
}

.srv-hero__texto {
    color: #ffffff;
}

.srv-etiqueta {
    display: inline-flex;

    margin-bottom: 18px;

    padding: 8px 15px;

    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.16);

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
}

.srv-hero h1 {
    max-width: 760px;

    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;

    line-height: 1.03;

    margin-bottom: 18px;
}

.srv-hero p {
    max-width: 650px;

    font-size: 18px;
    line-height: 1.75;

    opacity: 0.96;
}

.srv-hero__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 30px;
}


/* BOTONES */

.srv-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 12px 22px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease;
}

.srv-boton:hover {
    transform: translateY(-2px);
}

.srv-boton--principal {
    color: #ef4747;
    background-color: #ffffff;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.srv-boton--principal:hover {
    color: #d7353a;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.srv-boton--secundario {
    color: #ffffff;
    background-color: transparent;

    border: 1px solid rgba(255, 255, 255, 0.65);
}

.srv-boton--secundario:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.srv-boton--rojo {
    color: #ffffff;
    background-color: #ef4747;
}

.srv-boton--rojo:hover {
    background-color: #d7353a;
}


/* PANEL MÉDICO */

.srv-hero__visual {
    display: flex;
    justify-content: center;
}

.srv-panel-medico {
    position: relative;

    width: min(430px, 100%);

    padding: 26px;

    color: #222222;
    background-color: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.srv-panel-medico__superior {
    display: flex;
    gap: 8px;

    margin-bottom: 26px;
}

.srv-panel-medico__superior span {
    width: 10px;
    height: 10px;

    background-color: #ef4747;
    border-radius: 50%;
}

.srv-corazon-principal {
    width: 88px;
    height: 88px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    color: #ffffff;
    background-color: #ef4747;

    border-radius: 28px;

    font-size: 44px;

    box-shadow: 0 18px 34px rgba(239, 71, 71, 0.32);

    animation: srvLatido 1.5s ease-in-out infinite;
}

@keyframes srvLatido {
    0%,
    100% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.08);
    }

    60% {
        transform: scale(0.97);
    }
}

.srv-linea-cardiaca svg {
    width: 100%;
    height: 90px;
}

.srv-linea-cardiaca polyline {
    fill: none;

    stroke: #ef4747;
    stroke-width: 6;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 680;
    stroke-dashoffset: 680;

    animation: srvLineaCardiaca 2.8s ease-in-out infinite;
}

@keyframes srvLineaCardiaca {
    0% {
        stroke-dashoffset: 680;
    }

    55% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -680;
    }
}

.srv-panel-datos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.srv-panel-datos div {
    padding: 14px 10px;

    text-align: center;

    background-color: #f7f7f7;

    border: 1px solid #eeeeee;
    border-radius: 16px;
}

.srv-panel-datos strong {
    display: block;

    color: #ef4747;

    font-size: 22px;
    font-weight: 900;

    margin-bottom: 4px;
}

.srv-panel-datos span {
    color: #555555;

    font-size: 11px;
    font-weight: 700;
}


/* INTRO */

.srv-intro {
    padding: 34px 24px;

    background-color: #ffffff;
}

.srv-intro__contenido {
    width: min(1120px, 100%);

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding: 32px;

    background:
        linear-gradient(
            135deg,
            rgba(239, 71, 71, 0.09),
            rgba(239, 71, 71, 0.02)
        );

    border: 1px solid rgba(239, 71, 71, 0.14);
    border-radius: 26px;
}

.srv-intro span {
    display: inline-flex;

    margin-bottom: 8px;

    color: #ef4747;

    font-size: 13px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.srv-intro h2 {
    color: #222222;

    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;

    margin-bottom: 10px;
}

.srv-intro p {
    max-width: 720px;

    color: #555555;

    font-size: 15px;
    line-height: 1.7;
}


/* SECCIÓN */

.srv-seccion {
    width: 100%;

    padding: 72px 24px;

    background:
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.srv-contenedor {
    width: min(1180px, 100%);

    margin: 0 auto;
}

.srv-encabezado {
    text-align: center;

    margin-bottom: 30px;
}

.srv-encabezado span {
    display: inline-flex;

    margin-bottom: 10px;

    color: #ef4747;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.srv-encabezado h2 {
    color: #222222;

    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;

    margin-bottom: 12px;
}

.srv-encabezado p {
    max-width: 760px;

    margin: 0 auto;

    color: #666666;

    font-size: 15px;
    line-height: 1.7;
}


/* HERRAMIENTAS */

.srv-herramientas {
    display: grid;
    grid-template-columns: 1fr auto;

    gap: 18px;
    align-items: center;

    margin-bottom: 34px;
}

.srv-buscador {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 48px;

    padding: 0 16px;

    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 999px;

    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.srv-buscador span {
    color: #ef4747;

    font-size: 18px;
    font-weight: 900;
}

.srv-buscador input {
    width: 100%;

    border: none;
    outline: none;

    color: #333333;
    background-color: transparent;

    font-size: 14px;
}

.srv-filtros {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.srv-filtro {
    padding: 10px 16px;

    color: #555555;
    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.srv-filtro:hover,
.srv-filtro.is-active {
    color: #ffffff;
    background-color: #ef4747;
    border-color: #ef4747;

    transform: translateY(-2px);
}


/* GRID */

.srv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 26px;
    perspective: 1000px;
}

.srv-card {
    min-height: 100%;

    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.srv-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.srv-card.is-hidden {
    display: none;
}

.srv-card__enlace {
    height: 100%;

    display: flex;
    flex-direction: column;

    color: inherit;
    background-color: #ffffff;

    text-decoration: none;

    border: 1px solid #eeeeee;
    border-radius: 26px;

    overflow: hidden;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.08),
        0 4px 14px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.srv-card__enlace:hover,
.srv-card.is-active .srv-card__enlace {
    transform: translateY(-8px) scale(1.01);

    border-color: rgba(239, 71, 71, 0.35);

    box-shadow:
        0 26px 62px rgba(239, 71, 71, 0.16),
        0 8px 22px rgba(0, 0, 0, 0.06);
}

.srv-card__visual {
    position: relative;

    min-height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 255, 255, 0.24),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            #ef4747,
            #bd2028
        );

    overflow: hidden;
}

.srv-card__visual::before {
    content: "";

    position: absolute;
    left: -45px;
    bottom: -45px;

    width: 130px;
    height: 130px;

    background-color: rgba(255, 255, 255, 0.12);

    border-radius: 50%;
}

.srv-card__visual::after {
    content: "";

    position: absolute;
    right: -30px;
    top: -30px;

    width: 110px;
    height: 110px;

    border: 24px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.srv-card__badge {
    position: absolute;
    left: 16px;
    top: 16px;

    z-index: 3;

    padding: 8px 12px;

    color: #ef4747;
    background-color: #ffffff;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.srv-card__icono {
    position: relative;
    z-index: 2;

    width: 86px;
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ef4747;
    background-color: #ffffff;

    border-radius: 28px;

    font-size: 38px;
    font-weight: 900;

    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);

    animation: srvIconoFlotar 2.6s ease-in-out infinite;
}

@keyframes srvIconoFlotar {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

.srv-card__ecg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;

    z-index: 1;

    opacity: 0.55;
}

.srv-card__ecg svg {
    width: 100%;
    height: 58px;
}

.srv-card__ecg polyline {
    fill: none;

    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 5;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 520;
    stroke-dashoffset: 520;

    animation: srvCardLinea 3s ease-in-out infinite;
}

@keyframes srvCardLinea {
    0% {
        stroke-dashoffset: 520;
    }

    55% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -520;
    }
}

.srv-card__contenido {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 24px;
}

.srv-card h3 {
    color: #222222;

    font-size: 22px;
    font-weight: 900;

    line-height: 1.25;

    margin-bottom: 12px;
}

.srv-card p {
    color: #666666;

    font-size: 14px;
    line-height: 1.7;

    margin-bottom: 20px;
}

.srv-card__beneficio {
    margin-top: auto;

    padding: 12px 14px;

    color: #555555;
    background-color: #f7f7f7;

    border: 1px solid #eeeeee;
    border-radius: 14px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.srv-card__inferior {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 16px;

    color: #ef4747;

    font-size: 13px;
    font-weight: 900;
}

.srv-card__inferior strong {
    transition: transform 0.22s ease;
}

.srv-card__enlace:hover .srv-card__inferior strong {
    transform: translate(4px, -4px);
}


/* SIN RESULTADOS */

.srv-sin-resultados {
    display: none;

    margin-top: 30px;

    padding: 24px;

    text-align: center;

    color: #666666;
    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 18px;
}

.srv-sin-resultados.is-visible {
    display: block;
}


/* CTA */

.srv-cta {
    padding: 70px 24px;

    background:
        linear-gradient(
            135deg,
            #ef4747,
            #bd2028
        );
}

.srv-cta__contenido {
    width: min(900px, 100%);

    margin: 0 auto;

    text-align: center;

    color: #ffffff;
}

.srv-cta h2 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 900;

    margin-bottom: 14px;
}

.srv-cta p {
    max-width: 680px;

    margin: 0 auto 26px;

    font-size: 16px;
    line-height: 1.7;

    opacity: 0.96;
}


/* BOTÓN SUBIR */

.srv-boton-subir {
    position: fixed;
    right: 24px;
    bottom: 24px;

    z-index: 900;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    border: none;
    border-radius: 50%;

    font-size: 22px;
    font-weight: 900;

    cursor: pointer;

    box-shadow: 0 12px 28px rgba(239, 71, 71, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

.srv-boton-subir.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.srv-boton-subir:hover {
    background-color: #d93636;
}


/* ANIMACIONES */

[data-srv-animacion] {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

[data-srv-animacion].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* TABLET */

@media screen and (max-width: 1024px) {

    .srv-hero__contenido {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .srv-hero p {
        margin: 0 auto;
    }

    .srv-hero__acciones {
        justify-content: center;
    }

    .srv-intro__contenido {
        flex-direction: column;
        text-align: center;
    }

    .srv-herramientas {
        grid-template-columns: 1fr;
    }

    .srv-filtros {
        justify-content: center;
    }

    .srv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* TELÉFONO */

@media screen and (max-width: 600px) {

    .srv-hero {
        padding: 54px 16px 62px;
    }

    .srv-hero p {
        font-size: 15px;
    }

    .srv-hero__acciones {
        flex-direction: column;
    }

    .srv-boton {
        width: 100%;
    }

    .srv-panel-medico {
        padding: 20px;
        border-radius: 22px;
    }

    .srv-panel-datos {
        grid-template-columns: 1fr;
    }

    .srv-intro {
        padding: 26px 16px;
    }

    .srv-intro__contenido {
        padding: 24px;
    }

    .srv-seccion {
        padding: 54px 16px;
    }

    .srv-grid {
        grid-template-columns: 1fr;
    }

    .srv-card__contenido {
        padding: 22px;
    }

    .srv-card h3 {
        font-size: 20px;
    }

    .srv-cta {
        padding: 56px 16px;
    }

    .srv-boton-subir {
        right: 16px;
        bottom: 16px;

        width: 42px;
        height: 42px;
    }
}
/* =========================================
   PÁGINA DETALLE DE SERVICIO
========================================= */

.pagina-servicio-detalle {
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
}


/* HERO */

.sd-hero {
    position: relative;

    width: 100%;

    padding: 76px 24px 88px;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(255, 255, 255, 0.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ef4747 0%,
            #d7353a 46%,
            #a81925 100%
        );

    overflow: hidden;
}

.sd-hero::before {
    content: "";

    position: absolute;
    left: -130px;
    bottom: -150px;

    width: 390px;
    height: 390px;

    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.sd-hero::after {
    content: "";

    position: absolute;
    right: -70px;
    top: -100px;

    width: 280px;
    height: 280px;

    border: 38px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.sd-hero__contenido {
    position: relative;
    z-index: 2;

    width: min(1120px, 100%);

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    gap: 44px;
    align-items: center;
}

.sd-hero__texto {
    color: #ffffff;
}

.sd-volver {
    display: inline-flex;

    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sd-volver:hover {
    opacity: 0.8;
    transform: translateX(-3px);
}

.sd-etiqueta,
.sd-mini-etiqueta {
    display: inline-flex;

    margin-bottom: 16px;

    padding: 8px 15px;

    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.16);

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;
}

.sd-mini-etiqueta {
    color: #ef4747;
    background-color: rgba(239, 71, 71, 0.1);
    border-color: rgba(239, 71, 71, 0.18);
}

.sd-hero h1 {
    max-width: 760px;

    font-size: clamp(42px, 7vw, 76px);
    font-weight: 900;

    line-height: 1.02;

    margin-bottom: 18px;
}

.sd-hero p {
    max-width: 680px;

    font-size: 18px;
    line-height: 1.75;

    opacity: 0.96;
}

.sd-hero__acciones,
.sd-cta__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 30px;
}


/* BOTONES */

.sd-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 12px 22px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease;
}

.sd-boton:hover {
    transform: translateY(-2px);
}

.sd-boton--principal {
    color: #ef4747;
    background-color: #ffffff;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.sd-boton--principal:hover {
    color: #d7353a;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.sd-boton--secundario {
    color: #ffffff;
    background-color: transparent;

    border: 1px solid rgba(255, 255, 255, 0.65);
}

.sd-boton--secundario:hover {
    background-color: rgba(255, 255, 255, 0.12);
}


/* PANEL CARDIO */

.sd-hero__visual {
    display: flex;
    justify-content: center;
}

.sd-panel-cardio {
    position: relative;

    width: min(430px, 100%);

    padding: 26px;

    color: #222222;
    background-color: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.sd-panel-cardio__superior {
    display: flex;
    gap: 8px;

    margin-bottom: 26px;
}

.sd-panel-cardio__superior span {
    width: 10px;
    height: 10px;

    background-color: #ef4747;
    border-radius: 50%;
}

.sd-servicio-icono {
    width: 96px;
    height: 96px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    color: #ffffff;
    background-color: #ef4747;

    border-radius: 30px;

    font-size: 30px;
    font-weight: 900;

    box-shadow: 0 18px 34px rgba(239, 71, 71, 0.32);

    animation: sdLatido 1.5s ease-in-out infinite;
}

@keyframes sdLatido {
    0%,
    100% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.08);
    }

    60% {
        transform: scale(0.97);
    }
}

.sd-linea-cardiaca svg {
    width: 100%;
    height: 95px;
}

.sd-linea-cardiaca polyline {
    fill: none;

    stroke: #ef4747;
    stroke-width: 6;

    stroke-linecap: round;
    stroke-linejoin: round;

    stroke-dasharray: 700;
    stroke-dashoffset: 700;

    animation: sdLinea 2.8s ease-in-out infinite;
}

@keyframes sdLinea {
    0% {
        stroke-dashoffset: 700;
    }

    55% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -700;
    }
}

.sd-panel-datos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.sd-panel-datos div {
    padding: 14px 10px;

    text-align: center;

    background-color: #f7f7f7;

    border: 1px solid #eeeeee;
    border-radius: 16px;
}

.sd-panel-datos strong {
    display: block;

    color: #ef4747;

    font-size: 18px;
    font-weight: 900;

    margin-bottom: 4px;
}

.sd-panel-datos span {
    color: #555555;

    font-size: 11px;
    font-weight: 700;
}


/* RESUMEN */

.sd-resumen {
    padding: 36px 24px;

    background-color: #ffffff;
}

.sd-resumen__contenedor {
    width: min(1120px, 100%);

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.sd-resumen-card {
    padding: 26px;

    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 22px;

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.06),
        0 3px 10px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.sd-resumen-card:hover {
    transform: translateY(-6px);

    border-color: rgba(239, 71, 71, 0.35);

    box-shadow:
        0 22px 50px rgba(239, 71, 71, 0.14),
        0 6px 18px rgba(0, 0, 0, 0.06);
}

.sd-resumen-card span {
    display: inline-flex;

    margin-bottom: 16px;

    color: #ef4747;

    font-size: 13px;
    font-weight: 900;
}

.sd-resumen-card h3 {
    color: #222222;

    font-size: 21px;
    font-weight: 900;

    margin-bottom: 10px;
}

.sd-resumen-card p {
    color: #666666;

    font-size: 14px;
    line-height: 1.7;
}


/* CONTENIDO */

.sd-contenido {
    padding: 72px 24px;

    background:
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.sd-contenedor {
    width: min(1120px, 100%);

    margin: 0 auto;
}

.sd-grid-info {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;

    gap: 24px;

    margin-bottom: 26px;
}

.sd-bloque-info,
.sd-bloque-destacado,
.sd-card-lista,
.sd-proceso,
.sd-preparacion__contenido,
.sd-faq {
    background-color: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 24px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.08),
        0 4px 14px rgba(0, 0, 0, 0.04);
}

.sd-bloque-info {
    padding: 34px;
}

.sd-bloque-info h2,
.sd-card-lista h2,
.sd-preparacion h2 {
    color: #222222;

    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;

    margin-bottom: 16px;
}

.sd-bloque-info p,
.sd-preparacion p {
    color: #555555;

    font-size: 15px;
    line-height: 1.8;

    margin-bottom: 14px;
}

.sd-bloque-destacado {
    position: relative;

    padding: 34px;

    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #ef4747,
            #bd2028
        );

    overflow: hidden;
}

.sd-bloque-destacado::after {
    content: "";

    position: absolute;
    right: -55px;
    bottom: -55px;

    width: 160px;
    height: 160px;

    background-color: rgba(255, 255, 255, 0.12);

    border-radius: 50%;
}

.sd-bloque-destacado__icono {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    color: #ef4747;
    background-color: #ffffff;

    border-radius: 20px;

    font-size: 32px;
}

.sd-bloque-destacado h3 {
    position: relative;
    z-index: 2;

    font-size: 26px;
    font-weight: 900;

    margin-bottom: 12px;
}

.sd-bloque-destacado p {
    position: relative;
    z-index: 2;

    font-size: 15px;
    line-height: 1.8;

    opacity: 0.96;
}


/* DOBLE COLUMNA */

.sd-doble-columna {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 24px;

    margin-bottom: 26px;
}

.sd-card-lista {
    padding: 32px;
}

.sd-card-lista ul,
.sd-preparacion__panel ul {
    display: grid;
    gap: 12px;

    padding-left: 0;

    list-style: none;
}

.sd-card-lista li,
.sd-preparacion__panel li {
    position: relative;

    padding-left: 28px;

    color: #555555;

    font-size: 14.5px;
    line-height: 1.6;
}

.sd-card-lista li::before,
.sd-preparacion__panel li::before {
    content: "❤";

    position: absolute;
    left: 0;
    top: 0;

    color: #ef4747;

    font-size: 13px;
}


/* PROCESO */

.sd-proceso {
    padding: 36px;

    margin-bottom: 26px;
}

.sd-encabezado-seccion {
    text-align: center;

    margin-bottom: 34px;
}

.sd-encabezado-seccion span {
    display: inline-flex;

    margin-bottom: 10px;

    color: #ef4747;

    font-size: 13px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.sd-encabezado-seccion h2 {
    color: #222222;

    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;

    margin-bottom: 10px;
}

.sd-encabezado-seccion p {
    max-width: 690px;

    margin: 0 auto;

    color: #666666;

    font-size: 15px;
    line-height: 1.7;
}

.sd-pasos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.sd-paso {
    padding: 24px;

    background-color: #f7f7f7;

    border: 1px solid #eeeeee;
    border-radius: 20px;
}

.sd-paso span {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    color: #ffffff;
    background-color: #ef4747;

    border-radius: 14px;

    font-weight: 900;
}

.sd-paso h3 {
    color: #222222;

    font-size: 19px;
    font-weight: 900;

    margin-bottom: 10px;
}

.sd-paso p {
    color: #666666;

    font-size: 14px;
    line-height: 1.7;
}


/* PREPARACIÓN */

.sd-preparacion {
    margin-bottom: 26px;
}

.sd-preparacion__contenido {
    display: grid;
    grid-template-columns: 1fr 0.9fr;

    gap: 28px;

    padding: 34px;
}

.sd-preparacion__panel {
    padding: 24px;

    background-color: #f7f7f7;

    border: 1px solid #eeeeee;
    border-radius: 20px;
}

.sd-preparacion__panel h3 {
    color: #222222;

    font-size: 22px;
    font-weight: 900;

    margin-bottom: 18px;
}


/* FAQ */

.sd-faq {
    padding: 36px;
}

.sd-acordeon {
    display: grid;
    gap: 12px;
}

.sd-acordeon__item {
    border: 1px solid #eeeeee;
    border-radius: 18px;

    overflow: hidden;

    background-color: #ffffff;
}

.sd-acordeon__boton {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding: 18px 20px;

    color: #222222;
    background-color: #ffffff;

    border: none;

    font-size: 15px;
    font-weight: 900;

    text-align: left;

    cursor: pointer;
}

.sd-acordeon__boton span {
    width: 28px;
    height: 28px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    border-radius: 50%;

    font-size: 18px;

    transition: transform 0.25s ease;
}

.sd-acordeon__item.is-open .sd-acordeon__boton span {
    transform: rotate(45deg);
}

.sd-acordeon__contenido {
    max-height: 0;

    overflow: hidden;

    transition: max-height 0.3s ease;
}

.sd-acordeon__contenido p {
    padding: 0 20px 20px;

    color: #666666;

    font-size: 14.5px;
    line-height: 1.7;
}


/* CTA */

.sd-cta {
    padding: 70px 24px;

    background:
        linear-gradient(
            135deg,
            #ef4747,
            #bd2028
        );
}

.sd-cta__contenido {
    width: min(900px, 100%);

    margin: 0 auto;

    text-align: center;

    color: #ffffff;
}

.sd-cta h2 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 900;

    margin-bottom: 14px;
}

.sd-cta p {
    max-width: 680px;

    margin: 0 auto 26px;

    font-size: 16px;
    line-height: 1.7;

    opacity: 0.96;
}

.sd-cta__acciones {
    justify-content: center;
}


/* BOTÓN SUBIR */

.sd-boton-subir {
    position: fixed;
    right: 24px;
    bottom: 24px;

    z-index: 900;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background-color: #ef4747;

    border: none;
    border-radius: 50%;

    font-size: 22px;
    font-weight: 900;

    cursor: pointer;

    box-shadow: 0 12px 28px rgba(239, 71, 71, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease;
}

.sd-boton-subir.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sd-boton-subir:hover {
    background-color: #d93636;
}


/* ANIMACIONES */

[data-sd-animacion] {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

[data-sd-animacion].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* TABLET */

@media screen and (max-width: 1024px) {

    .sd-hero__contenido,
    .sd-grid-info,
    .sd-preparacion__contenido {
        grid-template-columns: 1fr;
    }

    .sd-hero__contenido {
        text-align: center;
    }

    .sd-hero p {
        margin: 0 auto;
    }

    .sd-hero__acciones {
        justify-content: center;
    }

    .sd-resumen__contenedor {
        grid-template-columns: 1fr;
    }

    .sd-doble-columna {
        grid-template-columns: 1fr;
    }

    .sd-pasos {
        grid-template-columns: 1fr;
    }
}


/* TELÉFONO */

@media screen and (max-width: 600px) {

    .sd-hero {
        padding: 54px 16px 62px;
    }

    .sd-hero p {
        font-size: 15px;
    }

    .sd-hero__acciones,
    .sd-cta__acciones {
        flex-direction: column;
    }

    .sd-boton {
        width: 100%;
    }

    .sd-panel-cardio {
        padding: 20px;
        border-radius: 22px;
    }

    .sd-panel-datos {
        grid-template-columns: 1fr;
    }

    .sd-resumen {
        padding: 28px 16px;
    }

    .sd-contenido {
        padding: 54px 16px;
    }

    .sd-bloque-info,
    .sd-bloque-destacado,
    .sd-card-lista,
    .sd-proceso,
    .sd-preparacion__contenido,
    .sd-faq {
        padding: 24px;
        border-radius: 20px;
    }

    .sd-card-lista h2,
    .sd-bloque-info h2,
    .sd-preparacion h2 {
        font-size: 25px;
    }

    .sd-cta {
        padding: 56px 16px;
    }

    .sd-boton-subir {
        right: 16px;
        bottom: 16px;

        width: 42px;
        height: 42px;
    }
}
/* =========================================================
   PÁGINA HORARIOS
   Prefijo: hr-
========================================================= */

.pagina-horarios {
    background:
        radial-gradient(circle at top left, rgba(237, 28, 46, 0.08), transparent 35%),
        radial-gradient(circle at bottom right, rgba(9, 82, 125, 0.10), transparent 40%),
        #f7f9fb;
    color: #17212b;
    overflow: hidden;
}

/* =========================
   HERO
========================= */

.hr-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 45px;
    align-items: center;
    min-height: 620px;
    padding: 90px 8% 70px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.95), rgba(240,246,250,0.96)),
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.2) 0,
            rgba(255,255,255,0.2) 12px,
            rgba(9,82,125,0.04) 12px,
            rgba(9,82,125,0.04) 24px
        );
    isolation: isolate;
}

.hr-hero__fondo {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(237, 28, 46, 0.06) 50%, transparent 100%);
    z-index: -3;
}

.hr-hero::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -230px;
    top: -230px;
    border-radius: 50%;
    background: rgba(237, 28, 46, 0.08);
    z-index: -2;
}

.hr-hero::after {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    left: -250px;
    bottom: -260px;
    border-radius: 50%;
    background: rgba(9, 82, 125, 0.10);
    z-index: -2;
}

.hr-hero__pulso {
    position: absolute;
    border: 1px solid rgba(237, 28, 46, 0.18);
    border-radius: 50%;
    z-index: -1;
    animation: hrPulsoHero 4s ease-in-out infinite;
}

.hr-hero__pulso--uno {
    width: 220px;
    height: 220px;
    top: 18%;
    right: 14%;
}

.hr-hero__pulso--dos {
    width: 140px;
    height: 140px;
    left: 9%;
    bottom: 14%;
    animation-delay: 1.4s;
}

.hr-hero__contenido h1 {
    margin: 18px 0 20px;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 1.03;
    letter-spacing: -2px;
    color: #111;
}

.hr-hero__contenido p {
    max-width: 690px;
    margin: 0;
    font-size: 1.13rem;
    line-height: 1.8;
    color: #475569;
}

.hr-etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(237, 28, 46, 0.10);
    color: #e72434;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hr-etiqueta::before {
    content: "❤";
    font-size: 0.85rem;
}

.hr-etiqueta--oscura {
    background: rgba(9, 82, 125, 0.10);
    color: #09527d;
}

.hr-hero__acciones,
.hr-cta__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hr-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.hr-boton--principal {
    background: #e72434;
    color: #fff;
    box-shadow: 0 15px 35px rgba(237, 28, 46, 0.25);
}

.hr-boton--principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(237, 28, 46, 0.35);
}

.hr-boton--secundario {
    background: #fff;
    color: #09527d;
    border: 1px solid rgba(9, 82, 125, 0.18);
}

.hr-boton--secundario:hover {
    transform: translateY(-3px);
    background: #09527d;
    color: #fff;
}

/* =========================
   PANEL MÉDICO HERO
========================= */

.hr-hero__panel {
    position: relative;
}

.hr-panel-medico {
    position: relative;
    padding: 34px;
    border-radius: 34px;
    background:
        linear-gradient(145deg, #ffffff, #edf5fa);
    box-shadow:
        0 30px 80px rgba(15, 23, 42, 0.14),
        inset 0 0 0 1px rgba(255,255,255,0.8);
    overflow: hidden;
}

.hr-panel-medico::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 25%, rgba(237,28,46,0.10), transparent 32%),
        radial-gradient(circle at 80% 80%, rgba(9,82,125,0.12), transparent 36%);
    pointer-events: none;
}

.hr-panel-medico__superior {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(9, 82, 125, 0.12);
}

.hr-panel-medico__superior span {
    color: #64748b;
    font-weight: 700;
}

.hr-panel-medico__superior strong {
    color: #09527d;
    font-size: 1.5rem;
}

.hr-panel-medico__corazon {
    position: relative;
    z-index: 1;
    width: 155px;
    height: 155px;
    display: grid;
    place-items: center;
    margin: 45px auto 30px;
    border-radius: 50%;
    background: #e72434;
    color: #fff;
    font-size: 4.2rem;
    box-shadow: 0 25px 55px rgba(237, 28, 46, 0.35);
    animation: hrLatido 1.6s ease-in-out infinite;
}

.hr-panel-medico__corazon::before,
.hr-panel-medico__corazon::after {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px solid rgba(237, 28, 46, 0.24);
    animation: hrOndas 2s ease-out infinite;
}

.hr-panel-medico__corazon::after {
    animation-delay: 0.8s;
}

.hr-ecg {
    position: relative;
    z-index: 1;
    height: 60px;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(9, 82, 125, 0.06);
}

.hr-ecg span {
    position: absolute;
    left: -100%;
    top: 50%;
    width: 200%;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            transparent 8%,
            #09527d 8%,
            #09527d 12%,
            transparent 12%,
            transparent 18%,
            #09527d 18%,
            #09527d 22%,
            transparent 22%,
            transparent 28%,
            #e72434 28%,
            #e72434 30%,
            transparent 30%,
            transparent 34%,
            #09527d 34%,
            #09527d 38%,
            transparent 38%,
            transparent 100%
        );
    transform: translateY(-50%);
    animation: hrEcg 3s linear infinite;
}

.hr-panel-medico p {
    position: relative;
    z-index: 1;
    margin: 22px 0 0;
    color: #475569;
    text-align: center;
    font-weight: 700;
}

/* =========================
   RESUMEN
========================= */

.hr-resumen {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: min(1180px, 92%);
    margin: -55px auto 70px;
    position: relative;
    z-index: 5;
}

.hr-resumen__tarjeta {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.8);
}

.hr-resumen__icono {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(237, 28, 46, 0.10);
    color: #e72434;
    font-size: 1.5rem;
}

.hr-resumen__tarjeta strong {
    display: block;
    color: #09527d;
    font-size: 2.4rem;
    line-height: 1;
}

.hr-resumen__tarjeta p {
    margin: 8px 0 0;
    color: #64748b;
    font-weight: 700;
}

/* =========================
   CONTROLES
========================= */

.hr-controles {
    width: min(1180px, 92%);
    margin: 0 auto 32px;
}

.hr-controles__texto {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
}

.hr-controles__texto h2 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(1.8rem, 3.3vw, 3.1rem);
    line-height: 1.1;
    color: #111;
}

.hr-buscador {
    position: relative;
    margin-bottom: 18px;
}

.hr-buscador__icono {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #e72434;
    font-size: 1.4rem;
    font-weight: 900;
}

.hr-buscador input {
    width: 100%;
    min-height: 62px;
    padding: 0 22px 0 58px;
    border: 1px solid rgba(9, 82, 125, 0.15);
    border-radius: 22px;
    background: #fff;
    color: #17212b;
    font-size: 1rem;
    font-weight: 700;
    outline: none;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    transition: border 0.25s ease, box-shadow 0.25s ease;
}

.hr-buscador input:focus {
    border-color: rgba(237, 28, 46, 0.45);
    box-shadow: 0 22px 55px rgba(237, 28, 46, 0.12);
}

.hr-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hr-filtro {
    border: 0;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 999px;
    background: #fff;
    color: #09527d;
    font-weight: 800;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.hr-filtro:hover {
    transform: translateY(-2px);
}

.hr-filtro--activo {
    background: #09527d;
    color: #fff;
}

.hr-resultados {
    margin: 18px 0 0;
    color: #64748b;
    font-weight: 700;
}

/* =========================
   GRID
========================= */

.hr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    width: min(1180px, 92%);
    margin: 0 auto 85px;
    perspective: 1200px;
}

.hr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px;
    border-radius: 30px;
    background:
        linear-gradient(145deg, #ffffff, #f0f6fa);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.09);
    border: 1px solid rgba(255,255,255,0.9);
    overflow: hidden;
    transform-style: preserve-3d;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}

.hr-card:hover {
    box-shadow: 0 30px 75px rgba(15, 23, 42, 0.15);
}

.hr-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(237, 28, 46, 0.10), transparent 30%),
        radial-gradient(circle at 95% 95%, rgba(9, 82, 125, 0.10), transparent 30%);
    pointer-events: none;
}

.hr-card__estado {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.10);
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hr-card__estado::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
}

.hr-card__estado--abierto {
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
}

.hr-card__estado--cerrado {
    background: rgba(237, 28, 46, 0.10);
    color: #e72434;
}

.hr-card__tipo {
    position: relative;
    z-index: 1;
    margin-top: 22px;
    color: #e72434;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hr-card h3 {
    position: relative;
    z-index: 1;
    margin: 8px 0 12px;
    color: #111;
    font-size: 1.7rem;
    line-height: 1.12;
}

.hr-card__direccion {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    margin: 0 0 20px;
    color: #475569;
    line-height: 1.6;
    font-weight: 700;
}

.hr-card__direccion span {
    color: #e72434;
}

.hr-card__horarios {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.hr-card__horarios li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(9, 82, 125, 0.08);
}

.hr-card__horarios-icono {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(9, 82, 125, 0.10);
    color: #09527d;
    font-weight: 900;
}

.hr-card__horarios strong {
    display: block;
    color: #111;
    margin-bottom: 4px;
}

.hr-card__horarios span {
    color: #64748b;
    font-weight: 700;
}

.hr-card__acciones {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

.hr-card__boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 17px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.hr-card__boton--ubicacion {
    background: #09527d;
    color: #fff;
    box-shadow: 0 12px 30px rgba(9, 82, 125, 0.20);
}

.hr-card__boton--llamar {
    background: #e72434;
    color: #fff;
    box-shadow: 0 12px 30px rgba(237, 28, 46, 0.22);
}

.hr-card__boton--desactivado {
    background: #e2e8f0;
    color: #64748b;
    pointer-events: none;
    box-shadow: none;
}

.hr-card__boton:hover {
    transform: translateY(-2px);
}

.hr-card__telefono {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(9, 82, 125, 0.10);
    color: #09527d;
    font-weight: 900;
}

.hr-card__telefono span {
    color: #64748b;
    font-weight: 700;
}

/* =========================
   CTA
========================= */

.hr-cta {
    width: min(1180px, 92%);
    margin: 0 auto 90px;
    border-radius: 38px;
    background:
        linear-gradient(135deg, rgba(9,82,125,0.96), rgba(6,50,78,0.98));
    color: #fff;
    overflow: hidden;
    position: relative;
}

.hr-cta::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    right: -150px;
    top: -150px;
    background: rgba(255,255,255,0.08);
}

.hr-cta::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    left: -120px;
    bottom: -120px;
    background: rgba(237, 28, 46, 0.22);
}

.hr-cta__contenido {
    position: relative;
    z-index: 1;
    padding: 55px;
    max-width: 760px;
}

.hr-cta__icono {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: #e72434;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 20px 45px rgba(237, 28, 46, 0.32);
}

.hr-cta h2 {
    margin: 24px 0 12px;
    font-size: clamp(1.8rem, 3.4vw, 3.1rem);
    line-height: 1.1;
}

.hr-cta p {
    margin: 0;
    color: rgba(255,255,255,0.82);
    line-height: 1.8;
}

/* =========================
   BOTÓN SUBIR
========================= */

.hr-subir {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 80;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: #e72434;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(237, 28, 46, 0.28);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.hr-subir.hr-subir--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* =========================
   ANIMACIONES
========================= */

[data-hr-animacion] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

[data-hr-animacion].hr-visible {
    opacity: 1;
    transform: translateY(0);
}

.hr-card.hr-card--entrada {
    animation: hrEntradaCard 0.55s ease both;
}

.hr-card.hr-card--oculta {
    display: none;
}

@keyframes hrPulsoHero {
    0%, 100% {
        transform: scale(1);
        opacity: 0.45;
    }

    50% {
        transform: scale(1.18);
        opacity: 0.12;
    }
}

@keyframes hrLatido {
    0%, 100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.08);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.05);
    }
}

@keyframes hrOndas {
    0% {
        transform: scale(0.82);
        opacity: 0.55;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@keyframes hrEcg {
    0% {
        transform: translate(-10%, -50%);
    }

    100% {
        transform: translate(60%, -50%);
    }
}

@keyframes hrEntradaCard {
    from {
        opacity: 0;
        transform: translateY(25px) rotateX(8deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {
    .hr-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hr-hero {
        padding: 70px 6% 60px;
    }

    .hr-hero__contenido h1 {
        letter-spacing: -1px;
    }

    .hr-resumen {
        grid-template-columns: 1fr;
        margin-top: -35px;
    }

    .hr-grid {
        grid-template-columns: 1fr;
    }

    .hr-panel-medico {
        padding: 26px;
    }

    .hr-cta__contenido {
        padding: 34px 26px;
    }

    .hr-card {
        padding: 22px;
    }

    .hr-card h3 {
        font-size: 1.45rem;
    }

    .hr-boton,
    .hr-card__boton {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hr-hero {
        padding-top: 55px;
    }

    .hr-buscador input {
        min-height: 58px;
        font-size: 0.92rem;
    }

    .hr-filtro {
        flex: 1 1 auto;
    }

    .hr-card__horarios li {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   AJUSTE CTA HORARIOS - ROJO PREDOMINANTE
========================================================= */

.hr-cta {
    background:
        linear-gradient(135deg, #e72434 0%, #c9182b 48%, #8f1020 100%);
    box-shadow: 0 28px 80px rgba(237, 28, 46, 0.28);
}

.hr-cta::before {
    background: rgba(255, 255, 255, 0.13);
}

.hr-cta::after {
    background: rgba(9, 82, 125, 0.22);
}

.hr-cta__icono {
    background: #ffffff;
    color: #e72434;
    box-shadow: 0 20px 45px rgba(120, 10, 24, 0.28);
}

.hr-cta h2 {
    color: #ffffff;
}

.hr-cta p {
    color: rgba(255, 255, 255, 0.88);
}

.hr-cta .hr-boton--principal {
    background: #ffffff;
    color: #e72434;
    box-shadow: 0 16px 38px rgba(120, 10, 24, 0.25);
}

.hr-cta .hr-boton--principal:hover {
    background: #09527d;
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(9, 82, 125, 0.28);
}

.hr-cta .hr-boton--secundario {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.42);
}

.hr-cta .hr-boton--secundario:hover {
    background: #ffffff;
    color: #e72434;
}
/* =========================================================
   PÁGINA SINACIG
   Prefijo: sin-
   Colores principales: blanco y rojo
========================================================= */

.pagina-sinacig {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(231, 36, 52, 0.12), transparent 32%),
        radial-gradient(circle at bottom right, rgba(231, 36, 52, 0.08), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #fff5f6 48%, #ffffff 100%);
    color: #151515;
    overflow: hidden;
}

/* =========================
   HERO
========================= */

.sin-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 46px;
    align-items: center;
    min-height: 620px;
    padding: 92px 8% 72px;
    isolation: isolate;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,245,246,0.94)),
        repeating-linear-gradient(
            45deg,
            rgba(231,36,52,0.035) 0,
            rgba(231,36,52,0.035) 12px,
            transparent 12px,
            transparent 26px
        );
}

.sin-hero::before {
    content: "";
    position: absolute;
    width: 570px;
    height: 570px;
    right: -230px;
    top: -230px;
    border-radius: 50%;
    background: rgba(231, 36, 52, 0.10);
    z-index: -2;
}

.sin-hero::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    left: -190px;
    bottom: -210px;
    border-radius: 50%;
    background: rgba(231, 36, 52, 0.08);
    z-index: -2;
}

.sin-hero__decoracion {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(231, 36, 52, 0.18);
    animation: sinPulsoDecoracion 4s ease-in-out infinite;
    z-index: -1;
}

.sin-hero__decoracion--uno {
    width: 210px;
    height: 210px;
    right: 12%;
    top: 18%;
}

.sin-hero__decoracion--dos {
    width: 140px;
    height: 140px;
    left: 7%;
    bottom: 16%;
    animation-delay: 1.5s;
}

.sin-etiqueta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 18px;
    border-radius: 999px;
    background: #e72434;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(231, 36, 52, 0.22);
}

.sin-etiqueta::before {
    content: "❤";
    font-size: 0.85rem;
}

.sin-etiqueta--clara {
    background: rgba(231, 36, 52, 0.10);
    color: #e72434;
    box-shadow: none;
}

.sin-hero__contenido h1 {
    margin: 20px 0 18px;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    line-height: 0.98;
    color: #111111;
    letter-spacing: -2.5px;
}

.sin-hero__contenido h1 span {
    color: #e72434;
}

.sin-hero__contenido p {
    max-width: 710px;
    margin: 0;
    color: #555555;
    font-size: 1.12rem;
    line-height: 1.85;
}

.sin-hero__acciones,
.sin-cta__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.sin-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border 0.25s ease;
}

.sin-boton--principal {
    background: #e72434;
    color: #ffffff;
    box-shadow: 0 16px 38px rgba(231, 36, 52, 0.28);
}

.sin-boton--principal:hover {
    transform: translateY(-3px);
    background: #c9182b;
    box-shadow: 0 20px 48px rgba(231, 36, 52, 0.36);
}

.sin-boton--secundario {
    background: #ffffff;
    color: #e72434;
    border: 1px solid rgba(231, 36, 52, 0.24);
    box-shadow: 0 14px 32px rgba(20, 20, 20, 0.06);
}

.sin-boton--secundario:hover {
    transform: translateY(-3px);
    background: #e72434;
    color: #ffffff;
}

/* =========================
   PANEL HERO
========================= */

.sin-hero__panel {
    position: relative;
}

.sin-panel {
    position: relative;
    padding: 34px;
    border-radius: 36px;
    background:
        linear-gradient(145deg, #ffffff, #fff0f2);
    box-shadow:
        0 30px 80px rgba(231, 36, 52, 0.13),
        inset 0 0 0 1px rgba(255,255,255,0.9);
    overflow: hidden;
}

.sin-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 25%, rgba(231,36,52,0.12), transparent 34%),
        radial-gradient(circle at 90% 90%, rgba(231,36,52,0.08), transparent 32%);
    pointer-events: none;
}

.sin-panel__superior {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(231, 36, 52, 0.14);
}

.sin-panel__superior span {
    color: #777777;
    font-weight: 800;
}

.sin-panel__superior strong {
    color: #e72434;
    font-size: 1.5rem;
}

.sin-panel__corazon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 156px;
    height: 156px;
    margin: 44px auto 30px;
    border-radius: 50%;
    background: #e72434;
    color: #ffffff;
    font-size: 4.4rem;
    box-shadow: 0 26px 55px rgba(231, 36, 52, 0.34);
    animation: sinLatido 1.6s ease-in-out infinite;
}

.sin-panel__corazon::before,
.sin-panel__corazon::after {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px solid rgba(231, 36, 52, 0.25);
    animation: sinOnda 2s ease-out infinite;
}

.sin-panel__corazon::after {
    animation-delay: 0.8s;
}

.sin-panel__linea {
    position: relative;
    z-index: 1;
    height: 60px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(231, 36, 52, 0.07);
}

.sin-panel__linea span {
    position: absolute;
    left: -120%;
    top: 50%;
    width: 220%;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            transparent 8%,
            #e72434 8%,
            #e72434 12%,
            transparent 12%,
            transparent 18%,
            #e72434 18%,
            #e72434 22%,
            transparent 22%,
            transparent 28%,
            #e72434 28%,
            #e72434 30%,
            transparent 30%,
            transparent 34%,
            #e72434 34%,
            #e72434 38%,
            transparent 38%,
            transparent 100%
        );
    transform: translateY(-50%);
    animation: sinLineaCardiaca 3s linear infinite;
}

.sin-panel p {
    position: relative;
    z-index: 1;
    margin: 22px 0 0;
    color: #555555;
    text-align: center;
    font-weight: 800;
}

/* =========================
   RESUMEN
========================= */

.sin-resumen {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: min(1180px, 92%);
    margin: -54px auto 72px;
}

.sin-resumen__tarjeta {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(231, 36, 52, 0.12);
    box-shadow: 0 22px 60px rgba(231, 36, 52, 0.10);
    backdrop-filter: blur(14px);
}

.sin-resumen__tarjeta span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(231, 36, 52, 0.10);
    color: #e72434;
    font-size: 1.45rem;
}

.sin-resumen__tarjeta strong {
    display: block;
    color: #e72434;
    font-size: 2.15rem;
    line-height: 1;
}

.sin-resumen__tarjeta p {
    margin: 8px 0 0;
    color: #666666;
    font-weight: 800;
}

/* =========================
   CONTROLES
========================= */

.sin-controles {
    width: min(1180px, 92%);
    margin: 0 auto 34px;
}

.sin-controles__titulo {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.sin-controles__titulo h2 {
    max-width: 820px;
    margin: 0;
    color: #111111;
    font-size: clamp(1.8rem, 3.5vw, 3.2rem);
    line-height: 1.08;
}

.sin-controles__titulo p {
    max-width: 760px;
    margin: 0;
    color: #666666;
    line-height: 1.7;
    font-weight: 700;
}

.sin-buscador {
    position: relative;
    margin-bottom: 18px;
}

.sin-buscador__icono {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #e72434;
    font-size: 1.4rem;
    font-weight: 900;
}

.sin-buscador input {
    width: 100%;
    min-height: 62px;
    padding: 0 22px 0 58px;
    border: 1px solid rgba(231, 36, 52, 0.20);
    border-radius: 22px;
    background: #ffffff;
    color: #171717;
    font-size: 1rem;
    font-weight: 800;
    outline: none;
    box-shadow: 0 18px 45px rgba(231, 36, 52, 0.07);
    transition:
        border 0.25s ease,
        box-shadow 0.25s ease;
}

.sin-buscador input:focus {
    border-color: rgba(231, 36, 52, 0.60);
    box-shadow: 0 22px 55px rgba(231, 36, 52, 0.16);
}

.sin-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sin-filtro {
    border: 0;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #e72434;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(231, 36, 52, 0.08);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.sin-filtro:hover {
    transform: translateY(-2px);
}

.sin-filtro--activo {
    background: #e72434;
    color: #ffffff;
}

.sin-resultados {
    margin: 18px 0 0;
    color: #666666;
    font-weight: 800;
}

/* =========================
   GRID Y TARJETAS
========================= */

.sin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: min(1180px, 92%);
    margin: 0 auto 80px;
    perspective: 1200px;
}

.sin-card {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: 30px;
    background:
        linear-gradient(145deg, #ffffff, #fff3f4);
    border: 1px solid rgba(231, 36, 52, 0.13);
    box-shadow: 0 22px 60px rgba(231, 36, 52, 0.10);
    overflow: hidden;
    transform-style: preserve-3d;
    animation: sinEntradaTarjeta 0.6s ease both;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}

.sin-card:hover {
    box-shadow: 0 32px 78px rgba(231, 36, 52, 0.18);
}

.sin-card--oculta {
    display: none;
}

.sin-card__brillo {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    background: rgba(231, 36, 52, 0.10);
    pointer-events: none;
}

.sin-card__superior {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 22px;
}

.sin-card__icono {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: #e72434;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 1000;
    box-shadow: 0 18px 38px rgba(231, 36, 52, 0.25);
}

.sin-card__categoria {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(231, 36, 52, 0.10);
    color: #e72434;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sin-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: #111111;
    font-size: 1.45rem;
    line-height: 1.15;
}

.sin-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 24px;
    color: #666666;
    line-height: 1.68;
    font-weight: 700;
}

.sin-card__acciones {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.sin-card__boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 11px 17px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 900;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.sin-card__boton--abrir {
    background: #e72434;
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(231, 36, 52, 0.24);
}

.sin-card__boton--abrir:hover {
    transform: translateY(-2px);
    background: #c9182b;
}

.sin-card__boton--copiar {
    background: #ffffff;
    color: #e72434;
    border: 1px solid rgba(231, 36, 52, 0.22);
}

.sin-card__boton--copiar:hover {
    transform: translateY(-2px);
    background: rgba(231, 36, 52, 0.08);
}

/* =========================
   BLOQUE INFORMATIVO
========================= */

.sin-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: start;
    width: min(1180px, 92%);
    margin: 0 auto 80px;
    padding: 34px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid rgba(231, 36, 52, 0.14);
    box-shadow: 0 24px 65px rgba(231, 36, 52, 0.10);
}

.sin-info__icono {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: #e72434;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 1000;
    font-family: Georgia, serif;
}

.sin-info h2 {
    margin: 0 0 10px;
    color: #111111;
    font-size: clamp(1.5rem, 2.8vw, 2.4rem);
}

.sin-info p {
    margin: 0;
    color: #666666;
    line-height: 1.75;
    font-weight: 700;
}

/* =========================
   CTA FINAL
========================= */

.sin-cta {
    position: relative;
    width: min(1180px, 92%);
    margin: 0 auto 90px;
    border-radius: 38px;
    overflow: hidden;
    background:
        linear-gradient(135deg, #e72434 0%, #c9182b 50%, #8f1020 100%);
    color: #ffffff;
    box-shadow: 0 30px 80px rgba(231, 36, 52, 0.26);
}

.sin-cta::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -150px;
    top: -150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.13);
}

.sin-cta::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    left: -110px;
    bottom: -110px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
}

.sin-cta__contenido {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 55px;
}

.sin-cta__icono {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: #ffffff;
    color: #e72434;
    font-size: 2.1rem;
    box-shadow: 0 20px 45px rgba(120, 10, 24, 0.25);
}

.sin-cta h2 {
    margin: 24px 0 12px;
    font-size: clamp(1.8rem, 3.4vw, 3.1rem);
    line-height: 1.08;
}

.sin-cta p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
}

.sin-cta .sin-boton--principal {
    background: #ffffff;
    color: #e72434;
}

.sin-cta .sin-boton--principal:hover {
    background: #111111;
    color: #ffffff;
}

.sin-cta .sin-boton--secundario {
    background: rgba(255,255,255,0.13);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.38);
}

.sin-cta .sin-boton--secundario:hover {
    background: #ffffff;
    color: #e72434;
}

/* =========================
   TOAST Y BOTÓN SUBIR
========================= */

.sin-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 120;
    padding: 14px 22px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 18px 44px rgba(0,0,0,0.18);
    opacity: 0;
    transform: translate(-50%, 18px);
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.sin-toast--visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.sin-subir {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 80;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: #e72434;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 1000;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(231, 36, 52, 0.28);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.sin-subir--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* =========================
   ANIMACIONES
========================= */

[data-sin-animacion] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

[data-sin-animacion].sin-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes sinPulsoDecoracion {
    0%, 100% {
        transform: scale(1);
        opacity: 0.45;
    }

    50% {
        transform: scale(1.18);
        opacity: 0.14;
    }
}

@keyframes sinLatido {
    0%, 100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.08);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.05);
    }
}

@keyframes sinOnda {
    0% {
        transform: scale(0.82);
        opacity: 0.55;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@keyframes sinLineaCardiaca {
    0% {
        transform: translate(-10%, -50%);
    }

    100% {
        transform: translate(62%, -50%);
    }
}

@keyframes sinEntradaTarjeta {
    from {
        opacity: 0;
        transform: translateY(24px) rotateX(8deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1120px) {
    .sin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sin-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .sin-hero {
        padding: 70px 6% 60px;
        min-height: auto;
    }

    .sin-hero__contenido h1 {
        letter-spacing: -1px;
    }

    .sin-resumen {
        grid-template-columns: 1fr;
        margin-top: -35px;
    }

    .sin-grid {
        grid-template-columns: 1fr;
    }

    .sin-panel {
        padding: 26px;
    }

    .sin-info {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .sin-cta__contenido {
        padding: 36px 26px;
    }

    .sin-boton,
    .sin-card__boton {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .sin-hero {
        padding-top: 54px;
    }

    .sin-buscador input {
        min-height: 58px;
        font-size: 0.92rem;
    }

    .sin-filtro {
        flex: 1 1 auto;
    }

    .sin-card {
        padding: 22px;
    }
}

/* =========================================================
   AJUSTE HEADER - LOGO MÁS VISIBLE SIN AGRANDAR HEADER
========================================================= */

.encabezado-principal {
    overflow: visible;
}

.contenedor-logo {
    position: relative;
    z-index: 20;
    overflow: visible;
    display: flex;
    align-items: center;
}

.logo {
    transform: scale(3.3);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

/* Ajuste para que el logo no se vuelva exagerado en tablet */
@media (max-width: 900px) {
    .logo {
        transform: scale(3);
    }
}

/* Ajuste para celular */
@media (max-width: 600px) {
    .logo {
        transform: scale(3);
    }
}
/* =========================================================
   INFORMACIÓN LGC - NUEVA VERSIÓN DRIVE
   JS reutilizado: js/informacion-lgc.js
   Colores principales: rojo y blanco
========================================================= */

.pagina-informacion-lgc {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(231, 36, 52, 0.12), transparent 34%),
        radial-gradient(circle at bottom right, rgba(231, 36, 52, 0.08), transparent 38%),
        linear-gradient(180deg, #ffffff 0%, #fff5f6 50%, #ffffff 100%);
    color: #161616;
    overflow: hidden;
}

/* =========================
   HERO
========================= */

.ilg-hero-nuevo {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 46px;
    align-items: center;
    min-height: 620px;
    padding: 92px 8% 72px;
    isolation: isolate;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,244,245,0.95)),
        repeating-linear-gradient(
            45deg,
            rgba(231, 36, 52, 0.035) 0,
            rgba(231, 36, 52, 0.035) 12px,
            transparent 12px,
            transparent 28px
        );
}

.ilg-hero-nuevo__onda {
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
        linear-gradient(90deg, transparent 0%, rgba(231,36,52,0.07) 52%, transparent 100%);
}

.ilg-hero-nuevo::before {
    content: "";
    position: absolute;
    width: 580px;
    height: 580px;
    right: -240px;
    top: -240px;
    border-radius: 50%;
    background: rgba(231, 36, 52, 0.10);
    z-index: -2;
}

.ilg-hero-nuevo::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -190px;
    bottom: -210px;
    border-radius: 50%;
    background: rgba(231, 36, 52, 0.08);
    z-index: -2;
}

.ilg-hero-nuevo__circulo {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(231, 36, 52, 0.18);
    animation: ilgPulsoNuevo 4s ease-in-out infinite;
    z-index: -1;
}

.ilg-hero-nuevo__circulo--uno {
    width: 210px;
    height: 210px;
    right: 12%;
    top: 18%;
}

.ilg-hero-nuevo__circulo--dos {
    width: 140px;
    height: 140px;
    left: 7%;
    bottom: 16%;
    animation-delay: 1.5s;
}

.ilg-etiqueta-nueva {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 18px;
    border-radius: 999px;
    background: #e72434;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(231, 36, 52, 0.24);
}

.ilg-etiqueta-nueva::before {
    content: "❤";
    font-size: 0.85rem;
}

.ilg-etiqueta-nueva--suave {
    background: rgba(231, 36, 52, 0.10);
    color: #e72434;
    box-shadow: none;
}

.ilg-hero-nuevo__contenido h1 {
    margin: 20px 0 18px;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    line-height: 0.98;
    color: #111111;
    letter-spacing: -2.5px;
}

.ilg-hero-nuevo__contenido h1 span {
    color: #e72434;
}

.ilg-hero-nuevo__contenido p {
    max-width: 720px;
    margin: 0;
    color: #555555;
    font-size: 1.12rem;
    line-height: 1.85;
}

.ilg-hero-nuevo__acciones,
.ilg-card__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.ilg-boton-nuevo,
.ilg-card__boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.ilg-boton-nuevo--principal,
.ilg-card__boton--principal {
    background: #e72434;
    color: #ffffff;
    box-shadow: 0 16px 38px rgba(231, 36, 52, 0.28);
}

.ilg-boton-nuevo--principal:hover,
.ilg-card__boton--principal:hover {
    transform: translateY(-3px);
    background: #c9182b;
}

.ilg-boton-nuevo--secundario,
.ilg-card__boton--secundario {
    background: #ffffff;
    color: #e72434;
    border: 1px solid rgba(231, 36, 52, 0.24);
    box-shadow: 0 14px 32px rgba(20, 20, 20, 0.06);
}

.ilg-boton-nuevo--secundario:hover,
.ilg-card__boton--secundario:hover {
    transform: translateY(-3px);
    background: #e72434;
    color: #ffffff;
}

/* =========================
   PANEL HERO
========================= */

.ilg-panel-nuevo {
    position: relative;
    padding: 34px;
    border-radius: 36px;
    background: linear-gradient(145deg, #ffffff, #fff0f2);
    box-shadow:
        0 30px 80px rgba(231, 36, 52, 0.14),
        inset 0 0 0 1px rgba(255,255,255,0.9);
    overflow: hidden;
}

.ilg-panel-nuevo__top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(231, 36, 52, 0.14);
}

.ilg-panel-nuevo__top span {
    color: #777777;
    font-weight: 800;
}

.ilg-panel-nuevo__top strong {
    color: #e72434;
    font-size: 1.35rem;
}

.ilg-panel-nuevo__corazon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 156px;
    height: 156px;
    margin: 44px auto 30px;
    border-radius: 50%;
    background: #e72434;
    color: #ffffff;
    font-size: 4.4rem;
    box-shadow: 0 26px 55px rgba(231, 36, 52, 0.34);
    animation: ilgLatidoNuevo 1.6s ease-in-out infinite;
}

.ilg-panel-nuevo__corazon::before,
.ilg-panel-nuevo__corazon::after {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px solid rgba(231, 36, 52, 0.25);
    animation: ilgOndaNueva 2s ease-out infinite;
}

.ilg-panel-nuevo__corazon::after {
    animation-delay: 0.8s;
}

.ilg-panel-nuevo__ecg {
    position: relative;
    z-index: 1;
    height: 60px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(231, 36, 52, 0.07);
}

.ilg-panel-nuevo__ecg span {
    position: absolute;
    left: -120%;
    top: 50%;
    width: 220%;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            transparent 8%,
            #e72434 8%,
            #e72434 12%,
            transparent 12%,
            transparent 18%,
            #e72434 18%,
            #e72434 22%,
            transparent 22%,
            transparent 28%,
            #e72434 28%,
            #e72434 30%,
            transparent 30%,
            transparent 34%,
            #e72434 34%,
            #e72434 38%,
            transparent 38%,
            transparent 100%
        );
    transform: translateY(-50%);
    animation: ilgLineaNueva 3s linear infinite;
}

.ilg-panel-nuevo p {
    position: relative;
    z-index: 1;
    margin: 22px 0 0;
    color: #555555;
    text-align: center;
    font-weight: 800;
}

/* =========================
   RESUMEN
========================= */

.ilg-resumen-nuevo {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: min(1180px, 92%);
    margin: -54px auto 72px;
}

.ilg-resumen-nuevo__card {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(231, 36, 52, 0.12);
    box-shadow: 0 22px 60px rgba(231, 36, 52, 0.10);
    backdrop-filter: blur(14px);
}

.ilg-resumen-nuevo__card span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(231, 36, 52, 0.10);
    color: #e72434;
    font-size: 1.45rem;
}

.ilg-resumen-nuevo__card strong {
    display: block;
    color: #e72434;
    font-size: 2.15rem;
    line-height: 1;
}

.ilg-resumen-nuevo__card p {
    margin: 8px 0 0;
    color: #666666;
    font-weight: 800;
}

/* =========================
   CONTROLES
========================= */

.ilg-controles-nuevo {
    width: min(1180px, 92%);
    margin: 0 auto 34px;
}

.ilg-controles-nuevo__titulo {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.ilg-controles-nuevo__titulo h2 {
    max-width: 820px;
    margin: 0;
    color: #111111;
    font-size: clamp(1.8rem, 3.5vw, 3.2rem);
    line-height: 1.08;
}

.ilg-controles-nuevo__titulo p {
    max-width: 760px;
    margin: 0;
    color: #666666;
    line-height: 1.7;
    font-weight: 700;
}

.ilg-buscador-nuevo {
    position: relative;
    margin-bottom: 18px;
}

.ilg-buscador-nuevo span {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #e72434;
    font-size: 1.4rem;
    font-weight: 900;
}

.ilg-buscador-nuevo input {
    width: 100%;
    min-height: 62px;
    padding: 0 22px 0 58px;
    border: 1px solid rgba(231, 36, 52, 0.20);
    border-radius: 22px;
    background: #ffffff;
    color: #171717;
    font-size: 1rem;
    font-weight: 800;
    outline: none;
    box-shadow: 0 18px 45px rgba(231, 36, 52, 0.07);
}

.ilg-buscador-nuevo input:focus {
    border-color: rgba(231, 36, 52, 0.60);
    box-shadow: 0 22px 55px rgba(231, 36, 52, 0.16);
}

.ilg-filtros-nuevo {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ilg-filtro {
    border: 0;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #e72434;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(231, 36, 52, 0.08);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.ilg-filtro:hover {
    transform: translateY(-2px);
}

.ilg-filtro.is-active {
    background: #e72434;
    color: #ffffff;
}

/* =========================
   TARJETA
========================= */

.ilg-grid-nuevo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(920px, 92%);
    margin: 0 auto 80px;
    perspective: 1200px;
}

.ilg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px;
    border-radius: 34px;
    background: linear-gradient(145deg, #ffffff, #fff3f4);
    border: 1px solid rgba(231, 36, 52, 0.13);
    box-shadow: 0 24px 70px rgba(231, 36, 52, 0.13);
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.ilg-card:hover,
.ilg-card.is-active {
    transform: translateY(-6px);
    box-shadow: 0 34px 88px rgba(231, 36, 52, 0.22);
    border-color: rgba(231, 36, 52, 0.34);
}

.ilg-card.is-hidden {
    display: none;
}

.ilg-card__brillo {
    position: absolute;
    width: 230px;
    height: 230px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: rgba(231, 36, 52, 0.11);
    pointer-events: none;
}

.ilg-card__encabezado {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 26px;
}

.ilg-card__icono {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 24px;
    background: #e72434;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 1000;
    box-shadow: 0 18px 38px rgba(231, 36, 52, 0.25);
}

.ilg-card__categoria {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(231, 36, 52, 0.10);
    color: #e72434;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ilg-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: #111111;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.1;
}

.ilg-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 24px;
    color: #666666;
    line-height: 1.72;
    font-weight: 700;
}

.ilg-card__chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ilg-card__chips span {
    display: inline-flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: #ffffff;
    color: #555555;
    font-size: 0.88rem;
    font-weight: 800;
    border: 1px solid rgba(231, 36, 52, 0.14);
}

/* =========================
   SIN RESULTADOS
========================= */

.ilg-sin-resultados {
    display: none;
    width: min(760px, 92%);
    margin: 0 auto 80px;
    text-align: center;
}

.ilg-sin-resultados.is-visible {
    display: block;
}

.ilg-sin-resultados div {
    padding: 36px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(231, 36, 52, 0.14);
    box-shadow: 0 22px 60px rgba(231, 36, 52, 0.10);
}

.ilg-sin-resultados span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 20px;
    background: rgba(231, 36, 52, 0.10);
    color: #e72434;
    font-size: 1.7rem;
    font-weight: 900;
}

.ilg-sin-resultados h3 {
    margin: 0 0 10px;
    color: #111111;
}

.ilg-sin-resultados p {
    margin: 0;
    color: #666666;
    line-height: 1.7;
}

/* =========================
   CTA
========================= */

.ilg-cta-nuevo {
    position: relative;
    width: min(1180px, 92%);
    margin: 0 auto 90px;
    border-radius: 38px;
    overflow: hidden;
    background:
        linear-gradient(135deg, #e72434 0%, #c9182b 50%, #8f1020 100%);
    color: #ffffff;
    box-shadow: 0 30px 80px rgba(231, 36, 52, 0.26);
}

.ilg-cta-nuevo::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -150px;
    top: -150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.13);
}

.ilg-cta-nuevo__contenido {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 55px;
}

.ilg-cta-nuevo__icono {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: #ffffff;
    color: #e72434;
    font-size: 2.1rem;
    box-shadow: 0 20px 45px rgba(120, 10, 24, 0.25);
}

.ilg-cta-nuevo h2 {
    margin: 24px 0 12px;
    font-size: clamp(1.8rem, 3.4vw, 3.1rem);
    line-height: 1.08;
}

.ilg-cta-nuevo p {
    margin: 0 0 30px;
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
}

/* =========================
   BOTÓN SUBIR Y ANIMACIONES
========================= */

.ilg-boton-subir {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 80;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: #e72434;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 1000;
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(231, 36, 52, 0.28);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.ilg-boton-subir.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

[data-ilg-animacion] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

[data-ilg-animacion].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes ilgPulsoNuevo {
    0%, 100% {
        transform: scale(1);
        opacity: 0.45;
    }

    50% {
        transform: scale(1.18);
        opacity: 0.14;
    }
}

@keyframes ilgLatidoNuevo {
    0%, 100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.08);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.05);
    }
}

@keyframes ilgOndaNueva {
    0% {
        transform: scale(0.82);
        opacity: 0.55;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@keyframes ilgLineaNueva {
    0% {
        transform: translate(-10%, -50%);
    }

    100% {
        transform: translate(62%, -50%);
    }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {
    .ilg-hero-nuevo {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .ilg-hero-nuevo {
        min-height: auto;
        padding: 70px 6% 60px;
    }

    .ilg-hero-nuevo__contenido h1 {
        letter-spacing: -1px;
    }

    .ilg-resumen-nuevo {
        grid-template-columns: 1fr;
        margin-top: -35px;
    }

    .ilg-panel-nuevo,
    .ilg-card {
        padding: 26px;
    }

    .ilg-card__encabezado {
        align-items: flex-start;
        flex-direction: column;
    }

    .ilg-card__acciones {
        display: grid;
    }

    .ilg-card__boton,
    .ilg-boton-nuevo {
        width: 100%;
    }

    .ilg-cta-nuevo__contenido {
        padding: 36px 26px;
    }
}

@media (max-width: 480px) {
    .ilg-hero-nuevo {
        padding-top: 54px;
    }

    .ilg-buscador-nuevo input {
        min-height: 58px;
        font-size: 0.92rem;
    }

    .ilg-card {
        padding: 22px;
    }
}
/* =========================================================
   INFORMACIÓN PÚBLICA - GRID REUTILIZANDO ESTILO ILG
========================================================= */

.ilg-grid-publica {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    width: min(1180px, 92%);
    margin: 0 auto 80px;
    perspective: 1200px;
}

@media (max-width: 850px) {
    .ilg-grid-publica {
        grid-template-columns: 1fr;
    }
}