/* =============================================================================
   PREVENSALUD — HERO
   main.css · Senior Frontend · v3.0
   Arquitectura: BEM + CSS Custom Properties + clamp()
   ============================================================================= */

/* --- ESTILOS PRELOADER --- */
#ps-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #003366;
    /* Azul corporativo profundo */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    /* Por encima de TODO, incluido el header */
    overflow: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.preloader-logo {
    max-width: 380px;
    height: auto;
    filter: brightness(0) invert(1);
    /* Fuerza el logo a blanco */
}

/* Barra de carga estilo minimalista */
.preloader-bar-container {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.preloader-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #00c896;
    /* Verde corporativo brillante */
    box-shadow: 0 0 15px rgba(0, 200, 150, 0.6);
}

.preloader-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
}


/* ==========================================================================
   HERO COMPONENT: PREVENSALUD STARTUP STYLE
   ========================================================================== */

.ps-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Ocupa todo el alto de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #ffffff;
}

/* --- CONTENEDOR DEL FONDO --- */
.ps-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#grainient-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.ps-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Aclarado sutil para que el diseño se vea limpio y médico */
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

/* --- CONTENIDO --- */
.ps-hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 0 5%;
    text-align: center;
}

/* Título Grueso y Profesional (Estilo Apple/Startup) */
.ps-hero-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(2.8rem, 8vw, 6rem);
    /* Responsivo automático */
    font-weight: 800;
    /* Tipografía muy gruesa */
    line-height: 1.1;
    color: #003366;
    /* Azul profundo para contraste máximo */
    letter-spacing: -0.04em;
    margin-bottom: 25px;
}

/* Estado inicial para el efecto Blur Text de React Bits */
.ps-hero-title span {
    display: inline-block;
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px);
    will-change: filter, opacity, transform;
}

/* Subtítulo */
.ps-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #445566;
    max-width: 850px;
    margin: 0 auto 45px auto;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0;
    /* Lo animaremos con JS */
}

/* --- BOTONES --- */
.ps-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    /* Ajuste para móviles */
    opacity: 0;
    /* Lo animaremos con JS */
}

.ps-btn {
    padding: 18px 42px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.ps-btn-primary {
    background-color: #003366;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.2);
}

.ps-btn-primary:hover {
    background-color: #00c896;
    /* Verde médico al hover */
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 200, 150, 0.3);
}

.ps-btn-secondary {
    background-color: transparent;
    color: #003366 !important;
    border: 2px solid #003366;
}

.ps-btn-secondary:hover {
    background-color: rgba(0, 51, 102, 0.05);
    transform: translateY(-4px);
}

/* --- AJUSTES MÓVILES --- */
@media (max-width: 768px) {
    .ps-hero-section {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px 0;
    }

    .ps-hero-title {
        letter-spacing: -0.02em;
    }

    .ps-btn {
        width: 100%;
        /* Botones de ancho completo en móvil */
        max-width: 320px;
    }
}

/* ==========================================================================
   DIVISOR DINÁMICO: INFINITE TICKER MARQUEE
   ========================================================================== */

.ps-ticker-wrapper {
    position: relative;
    width: 100%;
    background-color: #003366;
    /* Tu azul corporativo profundo */
    padding: 0;
    /* Barra gruesa */
    overflow: hidden;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 20;
    /* Asegura que esté sobre el fondo del Hero */
}

.ps-ticker-track {
    display: flex;
    width: max-content;
    animation: ps-marquee-scroll 35s linear infinite;
    /* Movimiento constante */
    will-change: transform;
}

.ps-ticker-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-right: 20px;
    /* Ajuste para que no haya saltos */
}

.ps-ticker-item span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    /* Texto grande y responsivo */
    font-weight: 900;
    /* Tipografía muy gruesa */
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 30px;
}

/* Estilo para el punto divisor */
.ps-ticker-dot {
    color: #00c896 !important;
    /* Tu verde corporativo para resaltar */
    font-size: 4rem !important;
    line-height: 1;
}

/* --- ANIMACIÓN DE LOOP INFINITO --- */
@keyframes ps-marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Se mueve exactamente la mitad (un bloque completo) */
    }
}

/* Optimización para móviles: texto un poco más pequeño */
@media (max-width: 768px) {
    .ps-ticker-wrapper {
        padding: 20px 0;
    }

    .ps-ticker-track {
        animation-duration: 20s;
        /* Más rápido en móvil por ser menos recorrido */
    }
}

/* ==========================================================================
   SECCIÓN: ¿QUIÉNES SOMOS? - MODERN BENTO GRID
   ========================================================================== */

.ps-about-grid-section {
    padding: 100px 0 20px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.ps-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- ENCABEZADO --- */
.ps-section-header {
    margin-bottom: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ps-section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #003366;
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.ps-section-line {
    width: 80px;
    height: 6px;
    background: #00c896;
    border-radius: 10px;
}

/* --- GRID LAYOUT --- */
.ps-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 25px;
}

/* --- TARJETAS BASE --- */
.ps-grid-card {
    position: relative;
    padding: 45px;
    border-radius: 35px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ps-grid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.1);
}

/* --- VARIACIONES DE TAMAÑO Y COLOR --- */
.ps-card-featured {
    grid-column: span 2;
    /* Ocupa 2 columnas */
    min-height: 400px;
}

.card-green {
    background: linear-gradient(135deg, #00c896 0%, #00b084 100%);
    color: #ffffff;
}

.card-blue {
    background: #003366;
    color: #ffffff;
}

.card-green-light {
    background: #e6f9f4;
    color: #003366;
    border: 1px solid rgba(0, 200, 150, 0.2);
}

.card-blue-cta {
    background: #002244;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* --- CONTENIDO INTERNO --- */
.ps-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
    opacity: 0.7;
}

.ps-grid-card h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.ps-grid-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* --- BOTÓN CTA DENTRO DE GRID --- */
.ps-btn-cta-grid {
    margin-top: 25px;
    padding: 15px 30px;
    background: #00c896;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
}

.ps-btn-cta-grid:hover {
    background: #ffffff;
    color: #003366 !important;
    transform: scale(1.05);
}

/* --- RESPONSIVE (SMARTPHONE Y TABLET) --- */
@media (max-width: 991px) {
    .ps-about-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 columnas en tablet */
    }

    .ps-card-featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .ps-about-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 30px;

        /* Full Bleed */
        width: 100vw;
        position: relative;
        left: 50%;
        margin-left: -50vw;
        padding-left: 5vw;
        padding-right: 5vw;

        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .ps-about-grid::-webkit-scrollbar {
        display: none;
    }

    .ps-card-featured {
        grid-column: span 1;
        min-height: auto;
    }

    .ps-section-title {
        text-align: center;
    }

    .ps-section-line {
        margin: 0 auto;
    }

    .ps-grid-card {
        flex: 0 0 85vw;
        scroll-snap-align: center;
        padding: 40px 25px;
        min-height: 420px;
        justify-content: center;
        align-items: center;
    }

    /* Centrado exclusivo de tarjetas en Carrusel Móvil */
    .ps-grid-card .ps-card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        margin: auto 0;
    }

    .ps-grid-card .ps-card-visual {
        margin: 25px auto 0 auto;
    }

    /* Centrado firme intra-botón para la flecha */
    .ps-grid-card .ps-card-content .ps-btn-cta-grid {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
}

/* Estilo para la flecha del botón */
.ps-btn-arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

/* Animación de la flecha al hacer hover en el botón */
.ps-btn-cta-grid:hover .ps-btn-arrow {
    transform: translateX(5px);
}

/* Ajuste de color para la tarjeta de historia */
.card-blue-cta h3 {
    color: #ffffff;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    /* Un poco más pequeña para que quepa bien el texto largo */
    margin-bottom: 15px;
}

.titulo-cards-ps {
    color: #ffffff;
}

/* ==========================================================================
   SEPARADOR SCROLL REVEAL (TEXTO GIGANTE)
   ========================================================================== */

.ps-reveal-divider-section {
    padding: 180px 0 40px 0;
    /* Espaciado generoso para que el scroll se sienta */
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ps-reveal-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.ps-reveal-title {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    /* Tamaño similar al Hero */
    line-height: 1.1;
    font-weight: 700;
    color: #003366;
    /* Azul Prevensalud */
    margin: 0;
    letter-spacing: -2px;
}

/* Estado inicial "Apagado" para todas las palabras */
.reveal-item {
    display: inline-block;
    opacity: 0.1;
    /* Casi invisible al inicio */
    filter: blur(8px);
    /* Un toque de desenfoque para suavizar la entrada */
    transition: filter 0.3s ease;
    margin-right: 12px;
    /* Espaciado entre palabras manual */
}

/* Palabras en Negrita (Highlight) */
.bold-highlight {
    font-weight: 900;
    /* Extra Bold como el Hero */
    color: #003366;
    opacity: 0.1;
    /* También inicia apagado */
}

/* Estilo opcional: Resaltar ligeramente el verde médico en el reveal */
.bold-highlight.active-reveal {
    color: #00c896;
    /* Cambia a verde cuando se activa (opcional) */
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .ps-reveal-divider-section {
        padding: 40px 0;
        min-height: auto;
    }

    .ps-reveal-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        letter-spacing: -1px;
        line-height: 1.35;
    }

    .reveal-item,
    .bold-highlight {
        filter: none !important;
        opacity: 0.3;
    }
}

/* ==========================================================================
   CARRUSEL INFINITO: PRODUCTOS PREVENSALUD
   ========================================================================== */

.ps-infinite-carousel-section {
    width: 100%;
    padding: 20px 0 80px 0;
    background-color: #ffffff;
    /* Fondo Blanco */
    overflow: hidden;
    position: relative;
}

.ps-carousel-viewport {
    width: 100%;
    overflow: hidden;
    cursor: grab;
}

.ps-carousel-viewport:active {
    cursor: grabbing;
}

.ps-carousel-track {
    display: flex;
    width: max-content;
    /* Permite que la tira se extienda horizontalmente */
    will-change: transform;
}

/* --- TARJETA DE PRODUCTO --- */
.ps-carousel-item {
    flex: 0 0 320px;
    /* Ancho fijo para cada producto */
    padding: 20px;
    user-select: none;
}

.ps-product-box {
    text-align: center;
    transition: transform 0.3s ease;
}

.ps-img-container {
    width: 100%;
    height: 350px;
    /* Altura controlada para los PNG */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ps-product-img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    /* Sombra inteligente para PNG */
    filter: drop-shadow(0 10px 15px rgba(0, 51, 102, 0.1));
}

.ps-product-title {
    font-size: 14px;
    font-weight: 800;
    color: #003366;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

/* --- FOOTER Y BOTONES --- */
.ps-carousel-footer {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.ps-actions {
    display: flex;
    gap: 20px;
}

.ps-btn-car {
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ps-btn-outline {
    border: 2px solid #003366;
    color: #003366;
}

.ps-btn-solid {
    background-color: #003366;
    color: #ffffff;
}

.ps-btn-car:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 51, 102, 0.15);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .ps-carousel-item {
        flex: 0 0 260px;
        /* Un poco más pequeño en celular */
    }

    .ps-img-container {
        height: 280px;
    }

    .ps-actions {
        flex-direction: column;
        width: 85%;
    }

    .ps-btn-car {
        text-align: center;
    }
}

/* ==========================================================================
   TESTIMONIOS PREMIUM: DARK FOCUS & CONTINUOUS LOOP
   ========================================================================== */

.ps-testimonials-dark {
    padding: 140px 0;
    background-color: #003366;
    /* Azul solicitado */
    overflow: hidden;
    position: relative;
}

.ps-marquee-header {
    text-align: center;
    margin-bottom: 50px;
}

.ps-marquee-title {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -2px;
    margin-bottom: 20px !important;
}

.ps-marquee-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* --- MÁSCARA DE ENFOQUE CENTRAL --- */
.ps-marquee-wrapper-centered {
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: relative;
    /* Cerramos el degradado: 25% de cada lado es transparente/difuso */
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 25%,
            black 75%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 25%,
            black 75%,
            transparent 100%);
}

.ps-marquee-row {
    display: flex;
    width: 100%;
}

.ps-marquee-content {
    display: flex;
    gap: 30px;
    white-space: nowrap;
}

/* --- ANIMACIONES PERPETUAS (SIN PAUSA) --- */
.ps-row-to-right .ps-marquee-content {
    animation: marquee-right 55s linear infinite;
}

.ps-row-to-left .ps-marquee-content {
    animation: marquee-left 55s linear infinite;
}

/* Garantizamos que no se pause con el hover */
.ps-marquee-wrapper-centered:hover .ps-marquee-content {
    animation-play-state: running !important;
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* --- TARJETA PREMIUM (ESTILO DARK GLASS) --- */
.ps-testi-card-premium {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px;
    border-radius: 28px;
    min-width: 360px;
    max-width: 360px;
    white-space: normal;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ps-testi-card-premium:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.ps-testi-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.ps-testi-avatar img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.ps-testi-name {
    display: block;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.05rem;
}

.ps-testi-handle {
    font-size: 0.85rem;
    color: #307499;
    /* El azul claro resalta sobre el oscuro */
    font-weight: 600;
}

.ps-testi-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .ps-marquee-wrapper-centered {
        /* En móvil abrimos un poco más el foco para aprovechar espacio */
        mask-image: linear-gradient(to right,
                transparent 0%,
                black 10%,
                black 90%,
                transparent 100%);
    }

    .ps-testi-card-premium {
        min-width: 290px;
        padding: 25px;
    }
}

/* ==========================================================================
   FAQ: CARDS INDEPENDIENTES Y MODERNAS
   ========================================================================== */

.ps-faq-cards-section {
    padding: 100px 0;
    background-color: #ffffff;
    /* Fondo claro */
}

.ps-faq-intro {
    text-align: center;
    margin-bottom: 60px;
}

.ps-faq-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #003366;
    letter-spacing: -2px;
}

.ps-faq-desc {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
}

/* --- GRID DE TARJETAS --- */
.ps-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Única columna */
    gap: 15px;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

.ps-faq-card-item {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: fit-content;
    opacity: 0;
    /* Lo manejaremos con el JS de aparición */
    transform: translateY(30px);
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.02);
}

/* --- ESTADO ACTIVO --- */
.ps-faq-card-item.is-active {
    border-color: #003366;
    box-shadow: 0 25px 50px rgba(0, 51, 102, 0.15);
    background: #003366; /* Inversión de fondo a azul oscuro */
}

/* --- CONTENIDO DE LA CARD --- */
.ps-faq-card-trigger {
    width: 100%;
    padding: 30px 35px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    text-align: left;
    outline: none !important;
    box-shadow: none !important;
    /* Optimización táctil */
    -webkit-tap-highlight-color: transparent;
}

/* Neutralización activa contra hover no deseado del tema global */
.ps-faq-card-item:hover,
.ps-faq-card-item:focus-within {
    background: #ffffff !important;
    border-color: #f1f5f9 !important;
    transform: translateY(0) !important;
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.02) !important;
}

/* Solo permitimos que gane el .is-active */
.ps-faq-card-item.is-active,
.ps-faq-card-item.is-active:hover {
    border-color: #003366 !important;
    box-shadow: 0 25px 50px rgba(0, 51, 102, 0.15) !important;
    background: #003366 !important; /* Inversión de fondo a azul oscuro */
    transform: translateY(0) !important;
}

.ps-faq-card-trigger:hover,
.ps-faq-card-trigger:focus,
.ps-faq-card-trigger:active {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Prevenir conflicto de pointer-events en elementos internos */
.ps-faq-card-trigger > * {
    pointer-events: none;
}

.ps-faq-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #94a3b8; /* Gris minimalista */
    min-width: 28px;
    margin-top: 2px;
    transition: color 0.4s ease;
}

.ps-faq-q-text {
    flex: 1;
    font-size: 1.35rem;
    font-weight: 900; /* Peso 900 */
    color: #003366;
    margin: 0;
    line-height: 1.3;
    transition: color 0.4s ease;
}

/* INVERSIÓN DE COLOR AL ESTAR ACTIVO */
.ps-faq-card-item.is-active .ps-faq-q-text,
.ps-faq-card-item.is-active .ps-faq-number {
    color: #ffffff;
}

/* --- ICONO PLUS ANIMADO --- */
.ps-faq-plus {
    position: relative;
    width: 24px;
    height: 24px;
    margin-top: 3px;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex-shrink: 0;
}

.ps-plus-line {
    position: absolute;
    background-color: #003366;
    border-radius: 4px;
    transition: background-color 0.4s ease;
}

.ps-plus-line:nth-child(1) {
    width: 100%;
    height: 3px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.ps-plus-line:nth-child(2) {
    width: 3px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Transformación a (x) al abrir rotando el contenedor */
.is-active .ps-faq-plus {
    transform: rotate(45deg);
}

.ps-faq-card-item.is-active .ps-plus-line {
    background-color: #ffffff;
}

/* --- RESPUESTA --- */
.ps-faq-card-answer {
    height: 0; /* Sustituido max-height: 0 por height: 0 para permitir GSAP auto */
    overflow: hidden;
    /* La animación se encarga el JS */
}

.ps-faq-answer-wrap {
    padding: 0 35px 35px 83px; /* Espaciado alineado con la pregunta considerando el nuevo gap del num */
}

.ps-faq-answer-wrap p {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
    transition: color 0.4s ease;
}

.ps-faq-card-item.is-active .ps-faq-answer-wrap p {
    color: rgba(255, 255, 255, 0.85); /* Respuesta legible sobre azul oscuro */
}

/* --- RESPONSIVE --- */
/* ==========================================================================
   CAMPAIGN SECTION — Campaña de Salud Preventiva (centrado)
   ========================================================================== */

.ps-campaign-section {
    background: #ffffff;
    padding: clamp(48px, 8vw, 96px) 0;
}

.ps-campaign-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
}

/* Card principal */
.ps-campaign-card {
    width: 100%;
    background: linear-gradient(135deg, #003d80 0%, #003366 55%, #001f4d 100%);
    border-radius: 28px;
    padding: clamp(40px, 7vw, 80px) clamp(24px, 5vw, 64px);
    box-shadow:
        0 4px 6px rgba(0, 51, 102, 0.08),
        0 20px 48px rgba(0, 51, 102, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.08);
    overflow: hidden;
    position: relative;
}

.ps-campaign-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,200,150,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.ps-campaign-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.ps-campaign-card-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ps-campaign-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #00c896;
    margin: 0 0 18px 0;
}

.ps-campaign-headline {
    font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
    font-size: clamp(2.6rem, 6.5vw, 4.4rem);
    font-weight: 900;
    line-height: 1.02;
    color: #ffffff;
    margin: 0 0 24px 0;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.ps-campaign-highlight {
    color: #00c896;
}

.ps-campaign-body {
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 32px 0;
    max-width: 620px;
}

.ps-campaign-body strong {
    color: #ffffff;
    font-weight: 700;
}

/* Lista de beneficios centrada */
.ps-campaign-benefits {
    list-style: none;
    margin: 0 0 44px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.ps-campaign-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.78);
}

.ps-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 200, 150, 0.2);
    color: #00c896;
    font-size: 0.75rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* Wrapper del CTA */
.ps-campaign-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ps-campaign-disclaimer {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ————————————————————————————
   BOTÓN con pulsos de onda
   ———————————————————————————— */
.ps-campaign-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 100px;
    padding: 22px 48px;
    min-width: 260px;
    cursor: pointer;
    background: linear-gradient(160deg, #00e0a8 0%, #00c896 45%, #00a87a 100%);
    box-shadow: 0 10px 28px rgba(0, 200, 150, 0.35);
    transition: filter 0.2s ease, box-shadow 0.2s ease;
    z-index: 1;
}

/* Pulsos de onda emanando del botón */
.ps-campaign-btn-pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #00c896;
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
    animation: ps-btn-ripple 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.ps-campaign-btn-pulse--delay {
    animation-delay: 1.2s;
}

@keyframes ps-btn-ripple {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.ps-campaign-btn-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.18rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 51, 102, 0.35);
    white-space: nowrap;
}

.ps-campaign-btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #ffffff;
}

.ps-campaign-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 14px 34px rgba(0, 200, 150, 0.45);
}

.ps-campaign-btn:active {
    filter: brightness(0.96);
    box-shadow: 0 6px 18px rgba(0, 200, 150, 0.3);
}

/* ==========================================================================
   CAMPAIGN SECTION — Responsive
   ========================================================================== */

@media (max-width: 600px) {
    .ps-campaign-card {
        border-radius: 22px;
        padding: 44px 24px;
    }

    .ps-campaign-headline {
        font-size: 2rem;
    }

    .ps-campaign-benefits li {
        font-size: 0.9rem;
        text-align: left;
    }

    .ps-campaign-btn {
        min-width: unset;
        width: 100%;
        padding: 20px 28px;
    }

    .ps-campaign-btn-text {
        font-size: 1.05rem;
    }
}

/* ==========================================================================
   FAQ — Responsive (continuación preexistente)
   ========================================================================== */

@media (max-width: 768px) {
    .ps-faq-card-trigger {
        padding: 25px 20px;
        gap: 15px;
    }

    .ps-faq-answer-wrap {
        padding: 0 20px 25px 63px;
    }

    .ps-faq-q-text {
        font-size: 1.15rem;
    }

    .ps-faq-number {
        font-size: 1rem;
        min-width: 24px;
    }
}

/* ==========================================================================
   GOOGLE REVIEWS SECTION
   ========================================================================== */

.ps-greviews-section {
    background: #ffffff;
    padding: clamp(56px, 9vw, 104px) 0;
}

.ps-greviews-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
}

/* Header */
.ps-greviews-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 48px;
}

.ps-greviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f1f3f4;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.ps-greviews-google-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ps-greviews-badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3c4043;
    letter-spacing: 0.01em;
}

.ps-greviews-title {
    font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    color: #003366;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

.ps-greviews-rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.ps-greviews-score {
    font-size: 2.2rem;
    font-weight: 800;
    color: #003366;
    line-height: 1;
}

.ps-greviews-stars-large {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.ps-greviews-stars-large svg {
    width: 24px;
    height: 24px;
}

.ps-greviews-count {
    font-size: 0.92rem;
    color: #5f6368;
    width: 100%;
    margin-top: 4px;
}

/* Grid de cards */
.ps-greviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

/* Card individual */
.ps-greview-card {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 16px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ps-greview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 51, 102, 0.10);
    border-color: rgba(0, 51, 102, 0.18);
}

.ps-greview-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ps-greview-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

.ps-greview-author {
    flex: 1;
    min-width: 0;
}

.ps-greview-name {
    font-size: 1rem;
    font-weight: 600;
    color: #202124;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ps-greview-time {
    font-size: 0.82rem;
    color: #5f6368;
}

.ps-greview-source {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.85;
}

.ps-greview-stars {
    display: inline-flex;
    gap: 2px;
}

.ps-greview-stars svg {
    width: 16px;
    height: 16px;
}

.ps-greview-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #3c4043;
    margin: 0;
}

/* Footer CTA */
.ps-greviews-footer {
    display: flex;
    justify-content: center;
}

.ps-greviews-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #003366;
    border: 2px solid #003366;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ps-greviews-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.ps-greviews-cta:hover {
    background: #003366;
    color: #ffffff;
}

.ps-greviews-cta:hover svg {
    transform: translate(2px, -2px);
}

@media (max-width: 768px) {
    /* Carrusel horizontal en móvil con scroll-snap nativo */
    .ps-greviews-grid {
        display: flex;
        grid-template-columns: none;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding: 20px;
        padding: 8px 20px 24px 20px;
        margin: 0 calc(-1 * clamp(20px, 5vw, 48px)) 32px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .ps-greviews-grid::-webkit-scrollbar {
        display: none;
    }

    .ps-greview-card {
        flex: 0 0 85%;
        max-width: 340px;
        scroll-snap-align: center;
        padding: 22px 20px;
    }

    .ps-greview-card:hover {
        transform: none;
        box-shadow: none;
        border-color: #e8eaed;
    }

    .ps-greviews-score {
        font-size: 1.8rem;
    }

    .ps-greviews-stars-large svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    /* Indicador visual de "swipe" */
    .ps-greviews-grid::after {
        content: '';
        flex: 0 0 4px;
    }
}