/* =========================================
   1. VARIABLES Y CONFIGURACIÓN BASE
   ========================================= */
:root {
    --primary-color: #2ecc71;      /* Verde Marca */
    --secondary-color: #219150;    /* Verde Oscuro */
    --dark-bg: #1a1a1a;            /* Fondo Oscuro */
    --text-color: #333;            /* Texto Principal */
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    font-size: 18px;
    background-color: #fdfdfd;
}

a { text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. BARRA DE NAVEGACIÓN (NAVBAR)
   ========================================= */
.navbar {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- ESTILOS DEL LOGO (TEXTO) --- */
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-bg);
    letter-spacing: -1px;
    cursor: default;
}
.logo span { color: var(--primary-color); }

.nav-links { display: flex; gap: 25px; }
.nav-links a { 
    color: var(--text-color); 
    font-weight: 600; 
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary-color); }

.nav-links .btn-nav {
    background: var(--primary-color);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 50px;
    transition: transform 0.3s;
}
.nav-links .btn-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* =========================================
   3. SECCIÓN HERO (PORTADA)
   ========================================= */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.hero-content { max-width: 800px; padding: 20px; }

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 1rem; 
    font-weight: 700;
    line-height: 1.2;
}
.hero p { font-size: 1.3rem; margin-bottom: 2rem; opacity: 0.95; }

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    margin: 0 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { background: var(--secondary-color); transform: translateY(-3px); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--dark-bg); }

/* =========================================
   4. SECCIÓN SOBRE MÍ
   ========================================= */
section { padding: 80px 0; }

.section-title { 
    text-align: center; 
    margin-bottom: 50px; 
    font-size: 2.8rem; 
    font-weight: 700;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; font-size: 1.1rem; color: #555; }

/* Insignia de Embajador */
.verified-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #c8e6c9;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.check-icon { margin-right: 8px; }

/* Foto de Perfil */
.profile-pic {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 15px 15px 0px var(--primary-color);
    transition: transform 0.3s;
}
.profile-pic:hover { transform: scale(1.02); }

/* =========================================
   5. PRODUCTOS (ALINEACIÓN PERFECTA)
   ========================================= */
.products { background: #f4f4f4; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-10px); }

.card-header {
    padding: 40px 0;
    color: #fff;
    font-weight: 800;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-image-container {
    padding: 20px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.product-image {
    max-width: 90%;
    max-height: 100%;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.card:hover .product-image { transform: scale(1.05); }

/* Colores de Producto */
.color-renova { background: linear-gradient(135deg, #d63031, #e84393); } 
.color-omega { background: linear-gradient(135deg, #0984e3, #74b9ff); } 
.color-liv { background: linear-gradient(135deg, #00b894, #55efc4); }
.color-eboost { background: linear-gradient(135deg, #FF512F, #DD2476); }

/* Cuerpo de la tarjeta */
.card-body { 
    padding: 25px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}

.card-body h3 { 
    margin-bottom: 10px; 
    font-size: 1.4rem; 
    color: #333;
    min-height: 60px; 
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.card-body p { 
    margin-bottom: 20px; 
    font-size: 0.95rem; 
    color: #666; 
    flex-grow: 1;
}

.btn-card {
    background: #25D366;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: auto; 
}
.btn-card:hover { background: #1ebc57; }

/* =========================================
   6. NEGOCIO Y FOOTER
   ========================================= */
.business {
    background: var(--dark-bg);
    color: #fff;
    text-align: center;
}
.business h2 { font-size: 2.8rem; margin-bottom: 20px; color: #fff; }
.benefits-list { 
    margin: 40px 0; 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap; 
}
.benefits-list li { 
    font-size: 1.2rem; 
    background: rgba(255,255,255,0.1); 
    padding: 10px 20px; 
    border-radius: 50px; 
}

footer {
    background: #000;
    color: #888;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}
.ambassador-code {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 10px 0;
    letter-spacing: 1px;
}

/* Botón Flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    font-size: 35px;
    z-index: 2000;
    border: 2px solid #fff;
    transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* =========================================
   7. RESPONSIVE (CELULAR)
   ========================================= */
@media (max-width: 900px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    
    .about-grid { grid-template-columns: 1fr; }
    
    .product-grid { grid-template-columns: 1fr; } 
    
    .profile-pic { height: 300px; box-shadow: none; }
    
    .hero-buttons { display: flex; flex-direction: column; gap: 15px; }
    .btn { width: 100%; margin: 0; }
    
    .benefits-list { flex-direction: column; gap: 10px; }
}