/* RESET DE ESTILOS Y VARIABLES MÁSTRICAS */
:root {
    --primary-green: #22c55e;       /* Verde vibrante premium */
    --primary-green-hover: #16a34a; /* Verde hover */
    --dark-bg: #070a12;             /* Fondo oscuro premium para el navbar */
    --light-bg: #f8fafc;            /* Fondo general claro de la web */
    --card-bg: #ffffff;             /* Fondo de tarjetas */
    --text-main: #0f172a;           /* Azul/Gris muy oscuro para legibilidad profesional */
    --text-muted: #475569;          /* Gris intermedio para subtítulos */
    --gold-accent: #d4af37;         /* Toque dorado sutil de división */
    --font-titles: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* NAVBAR - Elegante, espacioso y oscuro para resaltar el Oro */
.navbar {
    background-color: var(--dark-bg);
    padding: 20px 0;
    border-bottom: 2px solid var(--gold-accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO - Tamaño imponente y nítido */
.logo-container .main-logo {
    height: 100px; /* Tamaño perfecto de visualización */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-container .main-logo:hover {
    transform: scale(1.02);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-green);
}

/* BOTÓN PRINCIPAL */
.btn-primary {
    background-color: var(--primary-green);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

/* HERO SECTION - Claro, espacioso, balanceado */
.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    padding: 90px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-info {
        text-align: center;
    }
    .hero-features-list {
        display: inline-block;
        text-align: left;
    }
}

.trust-pill {
    background-color: #e2e8f0;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-info h1 {
    font-family: var(--font-titles);
    font-size: 3.2rem;
    font-weight: 800;
    color: #020617;
    line-height: 1.15;
    margin-bottom: 20px;
}

.gradient-text {
    color: var(--primary-green);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 580px;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-main);
}

.bullet-icon {
    background-color: rgba(34, 197, 94, 0.15);
    color: var(--primary-green-hover);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* TARGETA DE SIMULADOR / FORMULARIO */
.simulator-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    border: 1px solid #e2e8f0;
}

.simulator-card h3 {
    font-family: var(--font-titles);
    font-size: 1.6rem;
    color: #020617;
    margin-bottom: 8px;
}

.simulator-lead {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.input-wrapper {
    margin-bottom: 20px;
}

.input-wrapper label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field i {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 1rem;
}

.input-field input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.input-field input:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.info-box {
    background-color: #f0fdf4;
    border-left: 4px solid var(--primary-green);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.info-box i {
    color: var(--primary-green-hover);
    margin-top: 3px;
}

.info-box span {
    font-size: 0.85rem;
    color: #166534;
    font-weight: 500;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 16px;
    font-family: var(--font-titles);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.btn-submit:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

/* SECCIÓN BENEFICIOS */
.benefits-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-family: var(--font-titles);
    font-size: 2.2rem;
    color: #020617;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: #f8fafc;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background-color: #ffffff;
    box-shadow: var(--shadow-premium);
    border-color: rgba(34, 197, 94, 0.2);
}

.icon-box-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

/* Variaciones de color sutiles para iconos */
.color-1 { background-color: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.color-2 { background-color: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.color-3 { background-color: rgba(16, 185, 129, 0.1); color: #10b981; }
.color-4 { background-color: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.benefit-card h3 {
    font-family: var(--font-titles);
    font-size: 1.25rem;
    color: #020617;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* SECCIÓN BARRA INFORMATIVA INFERIOR */
.bar-info-section {
    background-color: var(--dark-bg);
    color: #ffffff;
    padding: 50px 0;
    border-top: 1px solid #1e293b;
}

.bar-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bar-icon {
    font-size: 2.2rem;
    color: var(--primary-green);
}

.bar-text h4 {
    font-family: var(--font-titles);
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.bar-text p {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* BOTÓN FLOTANTE DE WHATSAPP CON EFECTO DE PULSO */
.whatsapp-floating-button {
    position: fixed;
    bottom: 35px;
    right: 35px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-floating-button:hover {
    transform: scale(1.08);
    background-color: #20ba5a;
}

/* Animación de onda de pulso integrada */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: whatsappPulse 2s infinite;
    z-index: -1;
    opacity: 0.7;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* PIE DE PÁGINA */
.main-footer {
    background-color: #020617;
    color: #64748b;
    padding: 35px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #0f172a;
}

.footer-tagline {
    margin-top: 8px;
    color: #475569;
    font-size: 0.85rem;
}