﻿/* ==========================================================================
   CONFIGURACIÓN GLOBAL Y CUERPO (Fondo Clínico Menta Suave)
   ========================================================================== */
body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    /* Gradiente sutil que transmite frescura, limpieza y bienestar intestinal */
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f8fafc 100%) !important;
    color: #1e293b;
}

/* ==========================================================================
   SECCIÓN HERO (Presentación Principal)
   ========================================================================== */
.hero {
    /* Eliminamos el azul oscuro e inyectamos un degradado menta translúcido */
    background: radial-gradient(circle at top, rgba(220, 252, 231, 0.4), transparent);
    padding: 100px 5%;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.hero-text {
    max-width: 500px;
}

    .hero-text h1 {
        font-size: 48px;
        /* Verde bosque profundo: Transmite máxima autoridad médica y salud orgánica */
        color: #064e3b;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .hero-text p {
        /* Gris pizarra oscuro para garantizar una lectura médica descansada */
        color: #475569;
        margin-bottom: 30px;
        font-size: 16px;
        line-height: 1.6;
    }

/* ==========================================================================
   BOTONES PREMIUM
   ========================================================================== */
.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    padding: 14px 30px;
    border-radius: 12px;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}

    .btn-primary:hover {
        transform: scale(1.05) translateY(-1px);
        box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
    }

/* ==========================================================================
   ILUSTRACIÓN CENTRAL DIGESTIVA
   ========================================================================== */
.hero-image img {
    width: 420px;
    border-radius: 20px;
    /* Sombra más suave y realista, acorde a fondos claros */
    box-shadow: 0 20px 50px rgba(6, 78, 59, 0.15);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

    .hero-image img:hover {
        transform: rotate(0deg) scale(1.02);
    }

/* ==========================================================================
   SECCIÓN FEATURES / CARACTERÍSTICAS (Soft Glassmorphic Claro)
   ========================================================================== */
.features {
    padding: 100px 5%;
    background: linear-gradient(to bottom, transparent, rgba(204, 251, 241, 0.2));
    text-align: center;
}

.section-title {
    color: #064e3b; /* Ajustado a verde bosque */
    font-size: 32px;
    margin-bottom: 60px;
    font-weight: 700;
}

.features-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Tarjeta Estilo Premium Light (Efecto Clínico Limpio) */
.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 30px;
    width: 280px;
    color: #1e293b; /* Texto legible */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.04);
}

    .feature-card img {
        width: 80px;
        margin-bottom: 20px;
    }

    .feature-card h3 {
        margin-bottom: 10px;
        font-size: 20px;
        color: #064e3b; /* Título interno en verde médico */
    }

    .feature-card p {
        font-size: 14px;
        color: #475569;
        opacity: 0.9;
    }

    .feature-card:hover {
        transform: translateY(-12px);
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(34, 197, 94, 0.3);
        box-shadow: 0 20px 40px rgba(6, 78, 59, 0.08);
    }

/* ==========================================================================
   SECCIÓN TESTIMONIALES (Contraste Armónico)
   ========================================================================== */
.testimonials-section {
    padding: 80px 20px;
    /* Cambiado de azul espacial a una base verde menta profunda y elegante */
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
    color: white;
    text-align: center;
    box-shadow: inset 0 20px 40px rgba(0,0,0,0.05);
}

.testimonial-carousel {
    position: relative;
    height: 120px;
}

.testimonial {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

    .testimonial.active {
        opacity: 1;
        transform: scale(1);
    }

    .testimonial p {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 15px;
        color: #f1f5f9;
    }

    .testimonial h4 {
        font-weight: 600;
        color: #58ece5; /* Cian suave medicinal para resaltar nombres */
    }

    /*************************SECTION FOOTER*/
    /*************************************************************************/
/* Estilos Generales del Footer */
/* Contenedor Principal: Bordes Redondeados y Separación */
.footer {
    background-color: #0c0c0c;
    padding: 25px 20px; /* Altura ultra reducida */
    margin: 60px auto 30px auto; /* Separa el footer de la sección verde */
    max-width: 950px; /* Lo hace más estrecho y estilizado */
    border-radius: 16px; /* Bordes redondeados elegantes */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Sombra suave para dar profundidad */
}

/* Contenedor Interno */
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; /* Espacio mínimo entre líneas */
}

/* Enlaces Horizontales */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

    .footer-links li a {
        color: #888888;
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        transition: color 0.2s ease;
    }

        .footer-links li a:hover {
            color: #00b4d8; /* Cambio de color suave al pasar el cursor */
        }

/* Bloque de Contacto */
.footer-info {
    color: #666666;
    font-size: 12.5px;
    display: flex;
    gap: 12px;
    align-items: center;
}

    .footer-info .separator {
        color: #222222;
        user-select: none;
    }

/* Copyright Ajustado */
.footer-bottom p {
    margin: 0;
    font-size: 11px;
    color: #444444;
    letter-spacing: 0.3px;
}

/* Responsivo para Dispositivos Móviles */
@media (max-width: 600px) {
    .footer {
        margin: 40px 15px 20px 15px; /* Ajusta márgenes en pantallas pequeñas */
        border-radius: 12px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-info {
        flex-direction: column;
        gap: 5px;
    }

        .footer-info .separator {
            display: none;
        }
}

/******END FOOTER*******/


/* ==========================================================================
   PANTALLA DE CARGA / LOADING ANIMADO
   ========================================================================== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 5s ease forwards;
}

.loading-content {
    text-align: center;
    animation: fadeIn 0.8s ease;
}

.logo-container {
    width: 90px;
    height: 90px;
    margin: auto;
    animation: pulse 2s infinite ease-in-out;
}

.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 10px rgba(34, 197, 94, 0.2));
}

.app-title {
    color: #064e3b;
    margin-top: 20px;
    font-weight: 600;
}

.loading-text {
    color: #64748b;
    font-size: 14px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 10px;
    margin: 20px auto 0;
    overflow: hidden;
    position: relative;
}

    .loading-bar::after {
        content: "";
        position: absolute;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, #22c55e, transparent);
        animation: loadingMove 1.2s infinite;
    }

/* ==========================================================================
   MÓDULO LOGIN Y REGISTRO (Limpieza Visual Premium)
   ========================================================================== */
.login-container, .register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-card, .register-card {
    width: 350px;
    padding: 35px;
    border-radius: 20px;
    background: #ffffff; /* Fondo blanco puro */
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(6, 78, 59, 0.05);
    text-align: center;
}

    .login-card h2, .register-card h2 {
        color: #16a34a;
        margin-bottom: 5px;
        font-weight: 700;
    }

    .login-card p, .register-card .subtitle {
        color: #64748b;
        font-size: 13px;
        margin-bottom: 25px;
    }

.input-group, .form-group {
    position: relative;
    margin-bottom: 18px;
}

    .input-group input, .form-group input {
        width: 100%;
        padding: 14px 45px 14px 15px;
        border-radius: 30px;
        border: 1px solid #cbd5e1;
        background: #f8fafc; /* Fondo de input sutil */
        color: #1e293b;
        font-size: 14px;
        outline: none;
        transition: all 0.3s;
        box-sizing: border-box;
    }

        .input-group input:focus, .form-group input:focus {
            border-color: #22c55e;
            background: #ffffff;
            box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
        }

.toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
}

.error-msg {
    color: #dc2626;
    font-size: 11px;
    text-align: left;
    margin-top: 4px;
    margin-bottom: 10px;
}

.login-btn, .btn-register {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

    .login-btn:hover, .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3);
    }

.login-links {
    margin-top: 15px;
    font-size: 13px;
}

    .login-links a {
        color: #0284c7; /* Azul cielo corporativo seguro */
        text-decoration: none;
        font-weight: 500;
    }

        .login-links a:hover {
            text-decoration: underline;
        }

/* ==========================================================================
   ANIMACIONES CORE
   ========================================================================== */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

@keyframes loadingMove {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}


/* Contenedor Principal de Descargas */
.downloads-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Encabezado Localizado */
.section-header-downloads {
    text-align: center;
    margin-bottom: 50px;
}

.downloads-badge {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
    border: 1px solid rgba(22, 163, 74, 0.15);
}

.section-header-downloads h2 {
    color: #064e3b; /* Verde bosque profundo legible */
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.section-header-downloads p {
    color: #475569; /* Gris oscuro nítido */
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de Descargas Responsiva */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
}

/* Tarjetas Premium Estilo Light Glassmorphism */
.download-item-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

    .download-item-card:hover {
        transform: translateY(-5px);
        background: #ffffff;
        box-shadow: 0 15px 35px rgba(6, 78, 59, 0.07);
        border-color: rgba(34, 197, 94, 0.2);
    }

    /* Resaltado sutil para el documento Premium de Pago */
    .download-item-card.premium-highlight {
        border-left: 4px solid #16a34a;
    }

/* Contenedor del Icono e Insignias */
.doc-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.doc-icon {
    width: 55px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.06));
}

.badge-doc {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

    .badge-doc.gratuito {
        background: rgba(16, 185, 129, 0.15);
        color: #10b981;
    }

    .badge-doc.premium {
        background: rgba(2, 132, 199, 0.15);
        color: #0284c7;
    }

    .badge-doc.control {
        background: rgba(100, 116, 139, 0.15);
        color: #64748b;
    }

/* Detalles del Texto */
.doc-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .doc-details h3 {
        color: #064e3b;
        font-size: 19px;
        font-weight: 600;
        margin: 0 0 8px 0;
    }

    .doc-details p {
        color: #475569;
        font-size: 14px;
        line-height: 1.5;
        margin: 0 0 18px 0;
    }

/* Botones de Descarga Estilizados */
.btn-download-action {
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: fit-content;
}

    .btn-download-action.free {
        background: #16a34a;
        color: white;
    }

        .btn-download-action.free:hover {
            background: #15803d;
        }

    .btn-download-action.premium {
        background: #0f172a;
        color: white;
    }

        .btn-download-action.premium:hover {
            background: #1e293b;
        }

    .btn-download-action.tool {
        background: #f1f5f9;
        color: #334155;
        border: 1px solid #cbd5e1;
    }

        .btn-download-action.tool:hover {
            background: #e2e8f0;
        }



/*******************CARD SECTION PREMIUM PRODUCTOS*****************************************************/
/* Contenedor General */
.premium-products-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Encabezado con Contraste Corregido */
.section-header-products {
    text-align: center;
    margin-bottom: 45px;
}

    .section-header-products h2 {
        color: #064e3b !important; /* 🔥 Verde bosque legible en fondos claros */
        font-size: 32px;
        font-weight: 700;
        margin: 15px 0 10px 0;
    }

    .section-header-products p {
        color: #475569 !important; /* 🔥 Gris pizarra oscuro nítido */
        font-size: 16px;
        max-width: 600px;
        margin: 0 auto;
    }

/* Insignia Colombia */
.colombia-exclusive-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(6, 78, 59, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(6, 78, 59, 0.03);
}

.badge-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #334155;
}

/* Cuadrícula */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

/* Tarjeta Premium Estilo Claro (Glassmorphic Light) */
.product-card-premium {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

    .product-card-premium:hover {
        transform: translateY(-6px);
        background: #ffffff !important;
        border-color: rgba(34, 197, 94, 0.2) !important;
        box-shadow: 0 15px 35px rgba(6, 78, 59, 0.08);
    }

/* Contenedor Imagen y Etiqueta */
/* 1. Ajustamos el contenedor para darle el espacio vertical proporcional que necesita un frasco */
.product-image-container {
    position: relative;
    width: 100%;
    height: 320px; /* 🔥 Aumentado de 220px a 320px para que quepa el frasco alto completo */
    background: #ffffff; /* Cambiado a fondo blanco puro para integrarse con la imagen */
    padding: 15px; /* Pequeño margen interno para que el diseño respire y no pegue a los bordes */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2. Cambiamos la propiedad de escalado para forzar que el navegador muestre el 100% de la foto */
.product-image {
    width: 100%;
    height: 100%;
    /* 🔥 LA CLAVE: 'contain' obliga a la imagen a encajar completa sin recortar absolutamente nada */
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efecto hover premium sutil que no deforma la imagen */
.product-card-premium:hover .product-image {
    transform: scale(1.03);
}}

.price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #0f172a;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}

/* Detalles de Información */
.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-origin {
    font-size: 11px;
    text-transform: uppercase;
    color: #16a34a;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-info h3 {
    color: #064e3b;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.product-info p {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 15px 0;
    flex: 1;
}

/* Metadatos */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 12px;
    font-size: 12px;
}

.stock-status {
    color: #16a34a;
    font-weight: 600;
}

.shipping-info {
    color: #94a3b8;
}

/* Botón de Compra Unificado */
.btn-primary-product {
    width: 100%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    padding: 12px;
    border-radius: 10px;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

    .btn-primary-product:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
    }





/* ==========================================================================
   MÓDULO DE PRODUCTOS RESPONSIVO Y ESTILIZADO (Cards más Pequeñas)
   ========================================================================== */

/* 1. Modificamos la Grid para forzar a que las tarjetas sean más compactas (Cambiado minmax de 300px a 240px) */
.products-grid {
    display: grid;
    /* Reducimos el tamaño base para albergar más tarjetas por fila de forma elegante */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px; /* Separación simétrica */
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* 2. Tarjeta base con máscara de desborde obligatoria */
.product-card-premium-infografia {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(6, 78, 59, 0.1);
    border-radius: 16px;
    /* 🔥 CRUCIAL: Corta cualquier parte de la imagen que se salga al hacer zoom */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(6, 78, 59, 0.03);
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

    /* Al pasar el mouse, la tarjeta NO crece hacia afuera, solo gana sombra fina */
    .product-card-premium-infografia:hover {
        box-shadow: 0 15px 35px rgba(6, 78, 59, 0.08);
        border-color: rgba(34, 197, 94, 0.25);
    }

/* 3. Caja contenedora con proporción de afiche limpia */
.product-poster-container {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 2.9;
    overflow: hidden; /* Doble seguro para el zoom */
}

/* 4. 🔥 EFECTO ZOOM CONTROLADO DE LA IMAGEN */
.product-poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Suaviza la animación del movimiento del zoom al entrar y salir */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Al acercar el mouse (hover), la imagen aumenta de tamaño DENTRO de la tarjeta */
.product-card-premium-infografia:hover .product-poster-image {
    transform: scale(1.08); /* Incrementa un 8% su tamaño controlado */
}

/* 5. Capa inferior con transparencia integrada para los botones */
.poster-overlay-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.75) 60%, transparent 100%);
    padding: 25px 15px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    z-index: 2;
}

.poster-price {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}




/* ==========================================================================
   SECCIÓN TESTIMONIALES PREMIUM
   ========================================================================== */
.testimonials-section {
    padding: 100px 5%;
    /* Gradiente verde bosque profundo clínico, elegante y calmante */
    background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Encabezado y Título con Contraste Corregido */
.testimonials-header {
    margin-bottom: 50px;
}

.testimonials-mini-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80; /* Verde brillante nítido */
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(34, 197, 94, 0.2);
    display: inline-block;
    margin-bottom: 15px;
}

.testimonials-main-title {
    color: #ffffff !important; /* 🔥 CORRECCIÓN: Forzamos el blanco puro para romper la invisibilidad */
    font-size: 34px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Contenedor del Carrusel */
.testimonial-carousel {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tarjeta Glassmorphic Oscura Elegante */
.testimonial-card-premium {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 45px 60px;
    position: relative;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

    .testimonial-card-premium:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(74, 222, 128, 0.3); /* Resplandor verde al pasar el mouse */
        box-shadow: 0 30px 60px -12px rgba(34, 197, 94, 0.15);
        transform: translateY(-4px);
    }

/* Comillas Editoriales Decorativas */
.quote-mark {
    position: absolute;
    font-size: 120px;
    font-family: 'Georgia', serif;
    color: rgba(34, 197, 94, 0.15); /* Color esmeralda translúcido gigante */
    line-height: 1;
    user-select: none;
}

    .quote-mark.open {
        top: -10px;
        left: 25px;
    }

    .quote-mark.close {
        bottom: -60px;
        right: 25px;
    }

/* Texto Interno del Testimonio */
.testimonial-text {
    font-size: 20px;
    line-height: 1.6;
    color: #f1f5f9; /* Blanco nítido suave */
    font-style: italic;
    margin: 0 0 25px 0;
    font-weight: 400;
}

/* Zona del Paciente / Autoría */
.patient-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.patient-name {
    font-size: 16px;
    font-weight: 600;
    color: #58ece5 !important; /* Cian médico brillante para destacar el nombre */
    margin: 0;
    letter-spacing: 0.5px;
}

/* Bandera SVG */
.patient-flag {
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ve-flag {
    display: block;
}

.testimonial-card-premium:hover .patient-flag {
    transform: scale(1.08);
}

/******************************************/
/*************CONTACT AND LOCATION**************************/
/* Sección General: Ahora es transparente para heredar el fondo real de tu página */
/* Sección General: Mantiene el espaciado correcto */
.contacto-section {
    background-color: transparent;
    padding: 40px 20px 80px 20px;
    margin-top: 100px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    clear: both;
}

/* Contenedor en Grid */
.contacto-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Tarjetas Claras: Usan un blanco traslúcido elegante que absorbe el fondo */
.contacto-form-box, .contacto-map-box {
    background-color: rgba(255, 255, 255, 0.65); /* Fondo tipo cristal claro */
    backdrop-filter: blur(10px); /* Efecto difuminado premium */
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 78, 59, 0.08); /* Sombra verde muy sutil */
}

/* Ajustes de Textos para Fondo Claro */
.badge-contacto {
    background-color: rgba(6, 78, 59, 0.1); /* Tono verde oscuro sutil */
    color: #064e3b;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contacto-header h2, .map-info h3 {
    color: #064e3b; /* Texto verde oscuro a juego con tu paleta */
    font-size: 26px;
    margin: 15px 0 10px 0;
    font-weight: 700;
}

.contacto-header p, .map-info p {
    color: #4a5568; /* Gris oscuro legible */
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Estilos de los Inputs del Formulario */
.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #ffffff; /* Inputs totalmente limpios */
    border: 1px solid #cbd5e1; /* Borde gris suave */
    border-radius: 8px;
    color: #1a202c;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

    /* Marcadores de texto (Placeholder) más visibles */
    .input-group input::placeholder, .input-group textarea::placeholder {
        color: #94a3b8;
    }

    .input-group input:focus, .input-group textarea:focus {
        outline: none;
        border-color: #064e3b; /* El foco cambia al color verde de tu identidad */
        box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
    }

/* Botón de Envío adaptado */
.btn-enviar {
    background-color: #064e3b; /* Botón verde para máxima coherencia visual */
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .btn-enviar:hover {
        background-color: #04392b;
        transform: translateY(-2px);
    }

/* Bloque del Mapa Integrado */
.contacto-map-box {
    display: flex;
    flex-direction: column;
}

.map-embed {
    flex-grow: 1;
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/************END CONTACT AND LOCATION************/