:root {
    --germove-green: #2E7D32; /* Verde corporativo serio */
    --germove-green-light: #E8F5E9;
    --germove-dark: #1A202C;
    --germove-gray: #4A5568;
    --accent-ev: #00B0FF; /* Electricidad */
    --accent-glp: #FF9800; /* GLP */
    --accent-gas: #795548; /* Gas */
    --accent-h2: #29B6F6; /* Hidrógeno */
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--germove-dark);
    background-color: #F8F9FA;
    overflow-x: hidden !important;
}

p {
    font-size: 18px;
    line-height: 1.4;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 800;
    color: var(--germove-green) !important;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-brand img {
    width: 200px;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: white;
    padding: 160px 0 100px;
    overflow: hidden;
}

/* El video ocupa todo el fondo */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Mantiene el overlay oscuro como antes */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 32, 44, 0.7);
    z-index: -1;
}

h1.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2.hero-title {
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* Cards / Bento Grid Style (Estilo Boceto) */
.service-card {
    background: white;
    border: none;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Colores específicos para las tarjetas (imitando bloques visuales) */
.card-ev:hover { border-bottom-color: var(--accent-ev); }
.card-glp:hover { border-bottom-color: var(--accent-glp); }
.card-gas:hover { border-bottom-color: var(--accent-gas); }
.card-h2:hover { border-bottom-color: var(--accent-h2); }

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background-color: var(--germove-green-light);
    color: var(--germove-green);
}

/* Philosophy Section */
.bg-light-green {
    background-color: var(--germove-green-light);
}

/* Contact Section */
.contact-section {
    background-color: white;
    position: relative;
}

.form-control {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    background-color: #F8F9FA;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
    border-color: var(--germove-green);
}

.btn-germove {
    background-color: var(--germove-green);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.btn-germove:hover {
    background-color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
    color: #fff;
}

/* Floating Whatsapp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    color: white;
}

/* Typography Utilities */
.text-justify-custom {
    text-align: justify;
}

.badge-pill {
    background-color: var(--germove-green-light);
    color: var(--germove-green);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.ecobox {
    width: 80px;
    height: 80px;
    background-color: #e9f8ee; /* Verde muy claro ecológico */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 128, 0, 0.1);
}

img.logo-footer {
    width: 240px;
}

/* AJUSTES ESPECÍFICOS PARA EL MENÚ HAMBURGUESA (pantallas menores a 992px) */
@media (max-width: 991.98px) {
    /* 1. Centrar los ítems de la lista y añadir padding superior para separarlo del logo */
    .navbar-nav {
        text-align: center;
        padding-top: 20px; /* Gran separación para el primer elemento respecto al logo */
        padding-bottom: 10px;
    }
    
    /* 2. Mayor separación vertical entre cada ítem del menú */
    .navbar-nav .nav-item {
        margin-bottom: 20px; /* Separación entre ítems */
    }
    
    /* 3. Asegurar que el botón de "Hablemos" se centre correctamente */
    .navbar-nav .btn-germove {
        display: block; /* Ocupa todo el ancho disponible */
        width: 180px; /* Limita el ancho del botón para que no se vea exagerado */
        margin: 0 auto 20px auto !important; /* Centra el botón y añade margen inferior */
    }

    /* 4. Restaurar el padding horizontal para el texto del link */
    .navbar-nav .nav-link {
        padding-left: 0;
        padding-right: 0;
    }
}

/* AJUSTES ESPECÍFICOS PARA MÓVILES (pantallas menores a 768px) */
@media (max-width: 767.98px) {
    .fs-3 {
        font-size: 2rem !important;
    }
    .navbar-toggler:focus,
    .navbar-toggler:active,
    .navbar-toggler {
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
    }
    
    /* Titulares de la sección Hero */
    h1.hero-title {
        font-size: 2.4rem; /* Reducción de 3.5rem a 2.4rem */
    }

    h2.hero-title {
        font-size: 1.7rem; /* Reducción de 2.5rem a 1.7rem */
        margin-bottom: 2rem !important; /* Espaciado más compacto */
    }

    /* Padding de la sección Hero */
    .hero-section {
        padding: 120px 0 60px;
        height: 100vh;
    }

    /* Títulos de las secciones (p.ej. #servicios) */
    .display-6 {
        font-size: 1.8rem !important;
    }
}