:root {
    --black-matte: #1C1C1C;
    --green-light: #7ed957;
    --white: #ffffff;
    --gray: #545454;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px; 
}

body {
    background-color: var(--black-matte);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: rgba(28, 28, 28, 0.98);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo img { height: 50px; width: auto; }

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav ul li a { color: white; text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: 0.3s; }
nav ul li a:hover { color: var(--green-light); }

.btn-whatsapp-nav {
    background-color: #25D366;
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(28, 28, 28, 0.7), rgba(28, 28, 28, 0.7)), url('../img/background.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

.hero-content h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; line-height: 1.1; }
.hero-content p { font-size: 1.1rem; max-width: 800px; margin: 0 auto 40px; }

/* BLOQUE DE BOTONES UNIFICADO */
.hero-buttons-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 650px; /* Ancho total del grupo de botones */
    margin: 0 auto;
}

.hero-buttons-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    padding: 18px 20px; 
    border-radius: 8px; 
    font-weight: 800; 
    text-decoration: none !important; 
    transition: 0.3s; 
    border: none; 
    font-size: 1rem;
    flex: 1; /* Esto hace que todos midan lo mismo en la fila */
    text-align: center;
    cursor: pointer;
}

.btn-primary, .btn-tertiary { 
    background-color: var(--green-light) !important; 
    color: var(--black-matte) !important; 
}

.btn-secondary { 
    border: 2px solid white; 
    color: white !important; 
    background: transparent;
    padding: 16px 20px; /* Ajuste por borde */
}

/* Forzar que el botón de abajo sea igual a los de arriba */
.btn-tertiary {
    width: 100%;
    flex: 1;
}

.btn:hover { transform: scale(1.03); filter: brightness(1.1); }

.hero-stats { margin-top: 50px; display: flex; justify-content: center; gap: 30px; font-weight: 600; font-size: 0.9rem; flex-wrap: wrap; }
.hero-stats i { color: var(--green-light); margin-right: 5px; }

/* Secciones generales */
.solutions, .why-choose-us { padding: 80px 0; background: white; color: var(--black-matte); text-align: center; }
.why-choose-us { background: var(--black-matte); color: white; }
h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 40px; }
.green-text { color: var(--green-light); }

.solutions-grid, .benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.solution-item, .benefit-item { padding: 30px; border-radius: 10px; background: var(--black-matte); color: white; transition: 0.3s; }
.benefit-item { background: #2a2a2a; }
.icon { font-size: 2.5rem; color: var(--green-light); margin-bottom: 20px; }

/* Formulario */
.contact-form-section { padding: 80px 0; background: #f4f4f4; }
.form-card { max-width: 450px; margin: 0 auto; background: white; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center; color: var(--black-matte); }
input { width: 100%; padding: 12px; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; }
.form-submit-btn { width: 100%; cursor: pointer; }

/* Footer */
.footer { padding: 50px 0; background: var(--black-matte); border-top: 1px solid #333; text-align: center; }
.footer-logo img { height: 80px; margin-bottom: 20px; }
.footer-social { display: flex; justify-content: center; gap: 30px; margin-bottom: 25px; }
.footer-social a { font-size: 2.2rem; transition: 0.3s; text-decoration: none; }
.fb { color: #1877F2; }
.ig { color: #E4405F; }
.tk { color: #ffffff; }

/* WhatsApp Fijo */
.whatsapp-fixed-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1001;
}

/* MEDIA QUERIES PARA CELULAR */
@media (max-width: 768px) {
    .navbar { padding: 10px 15px; flex-direction: column; height: auto; }
    .logo img { height: 70px; margin-bottom: 10px; }
    nav ul { margin-bottom: 10px; gap: 10px; }
    nav ul li { margin: 0 5px; }
    nav ul li a { font-size: 0.75rem; }
    .btn-whatsapp-nav { font-size: 0.75rem; padding: 6px 12px; }

    .hero { padding-top: 160px; height: auto; min-height: 100vh; }
    .hero-content h1 { font-size: 1.8rem; padding: 0 10px; }
    .hero-content p { font-size: 0.9rem; padding: 0 15px; }

    .hero-buttons-wrapper { width: 100%; padding: 0 20px; }
    .hero-buttons-row { flex-direction: column; gap: 10px; }
    
    .btn { 
        width: 100% !important; 
        max-width: none !important;
        flex: none;
        font-size: 0.9rem !important;
    }
}