/* =========================================
   1. FUENTES Y VARIABLES RAÍZ
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Pacifico&display=swap');

:root {
    /* Paleta Esmeralda Chiapas */
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-dark: #064e3b;
    
    /* Neutros y UI */
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --white: #ffffff;
    --bg-cream: #fafafa;
}

/* =========================================
   2. RESET Y ESTILOS BASE
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-900);
    background-color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   3. NAVEGACIÓN Y LOGO
   ========================================= */
.glass-nav {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--emerald-100);
    padding: 0.8rem 0;
}

.logo-img {
    height: 85px; /* Tamaño optimizado para Navbar */
    width: auto;
    object-fit: contain;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700) !important;
}

.nav-link:hover {
    color: var(--emerald-600) !important;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    min-height: 90vh;
    background: linear-gradient(to right, rgba(255,255,255,1) 1%, rgba(255,255,255,0.2)), 
                url('img/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.badge-mexico {
    background-color: var(--emerald-600);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* =========================================
   5. TARJETAS (Beneficios y Productos)
   ========================================= */
.benefit-card, .product-card {
    border: 1px solid #f1f5f1;
    border-radius: 30px; /* Bordes suaves según tu imagen */
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    height: 100%;
}

.benefit-card:hover, .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.08);
}

.benefit-icon-container {
    width: 60px;
    height: 60px;
    background: var(--emerald-600);
    color: var(--white);
    border-radius: 18px; /* Estilo Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
}

/* Botón de Agregar Estilo Imagen */
.btn-add {
    background: var(--emerald-600);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-add:hover {
    background: var(--emerald-dark);
}

/* =========================================
   6. BANNERS Y LISTAS MÉDICAS (NUEVO)
   ========================================= */
.investment-banner {
    background: var(--emerald-dark);
    border-radius: 40px;
    color: var(--white);
    overflow: hidden;
}

.science-banner {
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-dark));
    border-radius: 40px;
    color: var(--white);
}

.bg-light-emerald {
    background-color: var(--emerald-soft);
}

.border-md-start {
    border-left: 1px solid rgba(255,255,255,0.1);
}

/* --- CLASE NUEVA PARA LOS BENEFICIOS DEL VOLANTE --- */
.custom-list {
    padding: 0;
}

.custom-list li {
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-list li i {
    font-size: 1.3rem;
}

/* =========================================
   7. TESTIMONIOS (Imagen Circular Enmarcada)
   ========================================= */
.testimonial-image-container {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.testimonial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Imagen circular */
    border: 4px solid var(--emerald-100); /* Marco enmarcado solicitado */
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.1);
}

.text-warning { 
    color: #f59e0b !important; /* Estrellas doradas */
}

/* =========================================
   8. SECCIÓN NOSOTROS Y FOOTER
   ========================================= */
.about-badge {
    background: var(--emerald-soft);
    color: var(--emerald-dark);
    padding: 5px 15px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
}

.highlight-box {
    background: var(--emerald-soft);
    border-left: 6px solid var(--emerald-600);
    padding: 25px;
    border-radius: 15px;
}

.floating-stat {
    position: absolute;
    bottom: 30px;
    right: 30px;
    min-width: 150px;
    background: var(--white);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* FOOTER */
.logo-img-footer {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.social-icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-circle:hover {
    background: var(--emerald-primary);
    color: white;
    transform: translateY(-5px);
}

/* =========================================
   9. ANIMACIONES Y UTILIDADES
   ========================================= */
.leaf-float {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.pulse {
    animation: shadowPulse 2s infinite;
}

@keyframes shadowPulse {
    0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(5, 150, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.x-small { font-size: 0.75rem; }
.max-w-700 { max-width: 700px; }
.pointer { cursor: pointer; }

/* =========================================
   10. ADAPTACIONES MÓVILES
   ========================================= */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        background: var(--white);
        min-height: auto;
        padding: 60px 0;
    }
    
    .investment-banner {
        padding: 20px !important;
    }
    
    .border-md-start {
        border-left: none !important;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .floating-stat {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 20px auto 0;
    }
    
    .benefit-card, .product-card {
        padding: 20px;
    }
}