/* Colores principales */
:root {
    --primary-color: #ffc107; /* Amarillo solar */
    --secondary-color: #4CAF50; /* Verde energía */
    --accent-color: #2196F3; /* Azul cielo */
    --dark-color: #333333;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
}

/* Hero section */
#hero.hero-banner {
    height: 600px;
    min-height: unset;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') center center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    padding-top: 80px;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    #hero.hero-banner {
        height: 400px;
        padding-top: 60px;
    }
}

@media (max-width: 576px) {
    #hero.hero-banner {
        height: 300px;
        padding-top: 50px;
    }
}


#hero .container, #hero .row, #hero .col-lg-8, #hero .col-lg-12 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#hero h1, #hero p, #hero .btn {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}


@media (max-width: 992px) {
    #hero.hero-banner {
        padding-top: 60px; /* Ajuste para headers más pequeños en móvil */
    }
}


.hero-overlay {
    background: rgba(0,0,0,0.55);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero .container {
    z-index: 2;
}

#hero h1, #hero p {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

#hero .btn-warning {
    background: var(--primary-color);
    color: #222;
    font-weight: 700;
    border-radius: 40px;
    padding: 16px 48px;
    font-size: 1.3rem;
    border: none;
    box-shadow: 0 6px 24px rgba(255,193,7,0.2);
    transition: all 0.2s;
}
#hero .btn-warning:hover {
    background: #ffd740;
    color: #111;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(255,193,7,0.25);
}

@media (max-width: 992px) {
    #hero.hero-banner {
        min-height: 60vh;
        background-position: right center;
    }
    #hero h1 {
        font-size: 2.2rem;
    }
}
@media (max-width: 600px) {
    #hero.hero-banner {
        min-height: 40vh;
        padding: 40px 0;
    }
    #hero h1 {
        font-size: 1.3rem;
    }
    #hero p {
        font-size: 1rem;
    }
    #hero .btn-warning {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

#hero h1 {
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    border-radius: 0.5rem;
    border: 1px solid var(--accent-color);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s;
    outline: none;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255,193,7,.25);
}

#hero .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#hero .btn-primary:hover {
    background-color: #3d8b40;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Beneficios */
.card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}



.card-body {
    padding: 30px 20px;
}

/* Iconos */
.fa-3x {
    margin-bottom: 20px;
    color: var(--primary-color);
}
.container h3,.container h2, .container h1 {
    position: relative;
    color: #212529;
}



/* Secciones */
section {
    padding: 80px 0;
}

.my_accordion_design button, .accordion {
   
    font-family: 'Roboto', sans-serif; 
    
}



/* Testimonios */
#testimonios .card {
    border-radius: 15px;
}

#testimonios .lead {
    font-style: italic;
    font-size: 1.1rem;
}

/* FAQs estilo landing */
#faqs .accordion-button {
    background-color: #fff;
    color: #212529;
    border: none;
    box-shadow: none;
    transition: background-color 0.2s;
}
#faqs .accordion-button:not(.collapsed) {
    background-color: #ffc107;
    color: #212529;
    box-shadow: none;
}
#faqs .accordion-button:focus {
    box-shadow: none;
}

/* Pasos */
#como-funciona .bg-primary {
    background-color: var(--primary-color) !important;
}

/* Calculadora */
#calculadora .card {
    border-radius: 15px;
}


/* Formulario */
#cotizacion .card {
    border-radius: 20px;
}

#cotizacion .form-control {
    padding: 12px;
    border-radius: 10px;
}

#cotizacion .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

#cotizacion .btn-primary:hover {
    background-color: #3d8b40;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* CTA Final */
#cta-final {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff9800 100%);
}



#cta-final .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* WhatsApp flotante */
.btn-success {
    background-color: #25D366;
    border-color: #25D366;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Animaciones */
.wow {
    visibility: hidden;
}

@media only screen and (max-width: 767px) {
    #page {
        
    }

    
        .main-menu.navbar-fixed-top {
            
            position: fixed!important;
        }
    
}


/* Responsive */
@media (max-width: 768px) {
    .main-menu .container {
        flex-direction: column !important;
        align-items: center !important;
    }
    .navbar-brand {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 16px 0 0 0;
    }
    .navbar-brand img {
        max-width: 180px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    .main-menu nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    #hero {
        padding: 50px 0;
        text-align: center;
    }
    
    #hero img {
        margin-top: 30px;
    }
    
    section {
        padding: 50px 0;
    }
}
