/* =========================================================
   1. VARIABLES GLOBALES (CAMBIA COLORES Y FUENTES AQUÍ)
   ========================================================= */
:root {
    /* --- COLORES ACTUALIZADOS PARA COMBINAR CON EL LOGO --- */
    --color-primary: #0066B3;       /* Azul del logo (confianza, corporativo) */
    --color-primary-dark: #004A80;  /* Azul más oscuro para hovers */
    --color-accent: #00B14F;        /* Verde del logo (crecimiento, energía) */
    --color-accent-hover: #009140;  /* Verde más oscuro para hovers */
    
    /* El resto se mantiene igual */
    --color-text-main: #1f2937;
    --color-text-light: #6b7280;
    --color-bg-light: #f9fafb;
    --color-white: #ffffff;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --fs-xl: clamp(2.5rem, 5vw, 4rem);
    --fs-lg: clamp(1.75rem, 3vw, 2.5rem);
    --fs-md: 1.125rem;
    --fs-base: 1rem;

    --border-radius: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

/* =========================================================
   2. RESET Y ESTILOS BASE
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Desplazamiento suave al hacer clic en enlaces */
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-white);
}

/* --- CAMBIA EL ESTILO DE LOS TÍTULOS AQUÍ --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-primary);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Contenedor centralizado con ancho máximo */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0; /* --- CAMBIA EL ESPACIADO ENTRE SECCIONES AQUÍ --- */
}

.text-accent {
    color: var(--color-accent);
}

/* =========================================================
   3. COMPONENTES (BOTONES, ENCABEZADOS DE SECCIÓN)
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* --- CAMBIA LOS COLORES DE LOS BOTONES AQUÍ --- */
.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-block {
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-title {
    font-size: var(--fs-lg);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: var(--fs-md);
    color: var(--color-text-light);
}

/* =========================================================
   4. HEADER Y NAVEGACIÓN (Sticky, Logo Centrado)
   ========================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: center; /* Logo centrado */
    align-items: center;
    position: relative;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    /* --- CAMBIA EL ANCHO DEL LOGO AQUÍ --- */
    width: 180px;
    height: auto;
    transition: var(--transition);
}

.logo-link:hover .logo-img {
    opacity: 0.85;
    transform: scale(1.02);
}

/* Menú de escritorio (oculto en móviles) */
.nav-desktop {
    display: none; /* Oculto por defecto en móviles */
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-main);
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--color-accent);
}

/* Botón "Cotizar Ahora" */
.btn-nav {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 0.6rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.btn-nav:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white) !important;
}

/* =========================================================
   ESCRITORIO: Mostrar menú completo
   ========================================================= */
@media screen and (min-width: 992px) {
    .header-container {
        justify-content: space-between; /* Logo a la izquierda, menú a la derecha */
    }
    
    .logo-link {
        margin-right: auto; /* Empuja el logo a la izquierda */
    }
    
    .nav-desktop {
        display: block; /* Muestra el menú en escritorio */
    }
    
    .nav-list {
        gap: 2.5rem;
    }
}

/* =========================================================
   MÓVILES Y TABLETS: Solo logo centrado, sin menú
   ========================================================= */
@media screen and (max-width: 991px) {
    .header-container {
        justify-content: center; /* Logo centrado */
    }
    
    .nav-desktop {
        display: none; /* Oculta el menú completamente */
    }
    
    .logo-img {
        width: 160px; /* Logo un poco más pequeño en móviles */
    }
    
    /* Ajuste del Hero para compensar el header más compacto */
    .hero {
        padding-top: 80px;
    }
}

/* =========================================================
   5. SECCIÓN HERO (CON VIDEO Y OPTIMIZACIÓN MÓVIL)
   ========================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--color-white);
    margin-top: 0;
    overflow: hidden; /* Evita que el video se salga de los bordes */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* --- IMAGEN DE RESPALDO (Se muestra mientras carga el video o en móviles) --- */
.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Nivel más bajo */
}

/* --- VIDEO DE FONDO --- */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Se coloca encima de la imagen */
}

/* --- CAPA OSCURA (OVERLAY) --- */
/* --- CAMBIA LA OPACIDAD DEL OVERLAY AQUÍ SI EL VIDEO ES MUY CLARO --- */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 102, 179, 0.45), rgba(0, 102, 179, 0.20)); 
    z-index: 2; /* Encima del video */
}

/* El contenido (texto y botones) debe estar por encima de todo */
.hero-content {
    position: relative;
    z-index: 3; /* Nivel más alto para que los botones sean clickeables */
    max-width: 700px;
}

.hero-title {
    font-size: var(--fs-xl);
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: var(--fs-md);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================================
   OPTIMIZACIÓN MÓVIL: Ocultar video en celulares
   ========================================================= */
/* En pantallas menores a 768px, ocultamos el video y mostramos la imagen estática.
   Esto mejora la velocidad de carga y ahorra datos móviles al usuario. */
@media screen and (max-width: 768px) {
    .hero-video {
        display: none; /* Oculta el video en móviles */
    }
    .hero-img {
        z-index: 1; /* La imagen pasa a ser el fondo principal */
    }
    .hero-overlay {
        z-index: 2;
    }
    .hero-content {
        z-index: 3;
    }
    
    /* Ajuste de texto para móviles (si no lo tenías ya en tus media queries) */
    .hero-title {
        font-size: 2.5rem;
    }
}

/* =========================================================
   SECCIÓN DE SERVICIOS (Diseño Llamativo y SEO-Friendly)
   ========================================================= */
.services {
    /* --- CAMBIA EL COLOR DE FONDO DE LA SECCIÓN AQUÍ --- */
    background-color: var(--color-white); 
}

.services-grid {
    display: grid;
    /* --- CAMBIA EL TAMAÑO MÍNIMO DE LAS COLUMNAS AQUÍ (ej: 280px para tarjetas más estrechas) --- */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Efecto llamativo al pasar el mouse (Hover) */
.service-card:hover {
    background-color: var(--color-white);
    border-color: var(--color-accent); /* Borde del color de acento al hacer hover */
    transform: translateY(-8px); /* La tarjeta "flota" hacia arriba */
    box-shadow: var(--shadow-lg);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    /* --- CAMBIA EL COLOR DE FONDO DEL CÍRCULO DEL ICONO AQUÍ --- */
    background-color: rgba(249, 115, 22, 0.1); /* Naranja muy suave (10% de opacidad) */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    /* --- CAMBIA EL COLOR DEL ICONO AL HACER HOVER AQUÍ --- */
    background-color: var(--color-accent);
}

.service-icon {
    font-size: 1.75rem;
    /* --- CAMBIA EL COLOR BASE DEL ICONO AQUÍ --- */
    color: var(--color-accent);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--color-white); /* El icono se vuelve blanco al hacer hover */
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ajuste Responsive para móviles */
@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Una sola columna en móviles */
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}
/* =========================================================
   6. SECCIÓN BENEFICIOS
   ========================================================= */
.benefits {
    background-color: var(--color-bg-light);
}

.benefits-grid {
    display: grid;
    /* --- CAMBIA EL NÚMERO DE COLUMNAS DEL GRID AQUÍ (ej: repeat(2, 1fr) para 2 columnas) --- */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* --- CAMBIA EL TAMAÑO DEL ICONO AQUÍ --- */
.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.benefit-text {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ajuste Responsive para móviles */
@media screen and (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr; /* Una sola columna en móviles */
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
}

/* =========================================================
   7. SECCIÓN PORTAFOLIO
   ========================================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.portfolio-img {
    width: 100%;
    height: 300px; /* --- CAMBIA LA ALTURA DE LAS IMÁGENES DEL PORTAFOLIO AQUÍ --- */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-white);
}

.portfolio-tag {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    color: var(--color-white);
    font-size: 1.25rem;
}

/* =========================================================
   SECCIÓN GALERÍA (Mosaico / Bento Grid)
   ========================================================= */
.gallery {
    background-color: var(--color-bg-light);
}

.gallery-grid {
    display: grid;
    /* --- CAMBIA EL ESPACIADO ENTRE FOTOS AQUÍ --- */
    gap: 1rem; 
    /* En escritorio: 3 columnas. Las filas se ajustan solas */
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px; /* --- CAMBIA LA ALTURA BASE DE LAS FILAS AQUÍ --- */
}

/* Clase para hacer que una foto ocupe 2 columnas y 2 filas (Efecto Mosaico) */
.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; /* Efecto zoom suave */
}

/* Efecto al pasar el mouse sobre la foto */
.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* Capa oscura con texto que aparece al hacer hover */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0; /* Oculto por defecto */
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1; /* Visible al hacer hover */
}

.gallery-title {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-title {
    transform: translateY(0);
}

.gallery-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transform: translateY(10px);
    transition: transform 0.3s ease 0.1s; /* Retraso ligero para efecto cascada */
}

.gallery-item:hover .gallery-desc {
    transform: translateY(0);
}

/* =========================================================
   LIGHTBOX (Ventana Modal)
   ========================================================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

/* Clase que se añade con JS para mostrar el lightbox */
.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-accent);
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
}

/* =========================================================
   RESPONSIVE: Ajustes para Tablets y Móviles
   ========================================================= */
@media screen and (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
        grid-auto-rows: 200px;
    }
    .item-large {
        grid-column: span 2; /* La foto grande ocupa todo el ancho */
        grid-row: span 1;
    }
}

@media screen and (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 columna en móviles */
        grid-auto-rows: 250px;
    }
    .item-large {
        grid-column: span 1;
        grid-row: span 1;
    }
    /* En móviles, mostramos el texto siempre, no solo en hover, para mejor UX */
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    }
    .gallery-title, .gallery-desc {
        transform: translateY(0);
    }
}

/* =========================================================
   8. SECCIÓN CONTACTO Y CONTRATACIONES (Diseño Apilado)
   ========================================================= */
.contact {
    background-color: var(--color-bg-light);
}

/* Contenedor principal: apila el formulario y la info uno debajo del otro */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 4rem; /* Espacio entre el formulario y la info de contacto */
    align-items: center;
}

/* Limita el ancho del formulario para que no se vea estirado en pantallas grandes */
.form-wrapper {
    width: 100%;
    max-width: 700px; /* --- CAMBIA EL ANCHO MÁXIMO DEL FORMULARIO AQUÍ --- */
}

/* Ajuste para que los títulos del formulario se vean bien a la izquierda */
.form-wrapper .section-header {
    text-align: left;
    margin: 0 0 2rem 0;
    max-width: 100%;
}

/* Estilos del formulario (se mantienen igual de limpios) */
.contact-form {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--color-white);
    color: var(--color-text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.1);
}

/* --- ESTILOS DE LA INFORMACIÓN DE CONTACTO (ABAJO) --- */
.contact-info {
    text-align: center;
    max-width: 600px;
}

.contact-info-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.contact-info .contact-text {
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

/* Centrar los ítems de contacto */
.contact-info .contact-item {
    display: flex;
    align-items: center;
    justify-content: center; /* Centra el ícono y el texto */
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.contact-link {
    font-weight: 500;
    color: var(--color-text-main);
    transition: var(--transition);
    font-size: 1.1rem;
}

.contact-link:hover {
    color: var(--color-accent);
}

/* =========================================================
   RESPONSIVE: Ajustes para móviles
   ========================================================= */
@media screen and (max-width: 768px) {
    .contact-container {
        gap: 3rem;
    }
    
    .contact-form {
        padding: 1.5rem; /* Menos padding en móviles */
    }
    
    .contact-info .contact-item {
        flex-direction: column; /* En móviles, ícono arriba, texto abajo */
        gap: 0.5rem;
    }
}

/* =========================================================
   9. FOOTER Y WHATSAPP FLOTANTE
   ========================================================= */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 2rem 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    font-size: 1.5rem;
    color: var(--color-white);
    opacity: 0.8;
    transition: var(--transition);
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* --- CAMBIA EL COLOR Y POSICIÓN DEL BOTÓN DE WHATSAPP AQUÍ --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* =========================================================
   10. MEDIA QUERIES (RESPONSIVE PARA MÓVILES) - CORREGIDO
   ========================================================= */
@media screen and (max-width: 768px) {
    /* Contenedor del menú móvil */
    .nav {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 5rem 2rem 3rem 2rem; /* Espacio arriba para no tapar el logo */
        box-shadow: var(--shadow-lg);
        transition: top 0.4s ease;
        z-index: 999;
    }

    /* Cuando el menú está activo (se muestra) */
    .nav.show-menu {
        top: 0;
    }

    /* Lista de enlaces */
    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem; /* Espacio entre cada enlace */
        align-items: flex-start; /* Alineados a la izquierda */
    }

    /* Cada enlace del menú */
    .nav-link {
        font-size: 1.125rem;
        font-weight: 500;
        color: var(--color-text-main);
        padding: 0.5rem 0;
        width: 100%;
        display: block;
    }

    .nav-link:hover {
        color: var(--color-accent);
    }

    /* Botón "Cotizar Ahora" en el menú */
    .btn-nav {
        background-color: var(--color-primary);
        color: var(--color-white) !important;
        padding: 0.875rem 1.5rem;
        border-radius: var(--border-radius);
        text-align: center;
        width: 100%;
        display: inline-block;
        margin-top: 1rem;
    }

    .btn-nav:hover {
        background-color: var(--color-primary-dark);
        color: var(--color-white) !important;
    }

    /* Botón de cerrar (X) */
    .nav-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.75rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--color-text-main);
    }

    /* Botón hamburguesa */
    .nav-toggle {
        display: block;
        font-size: 1.75rem;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--color-primary);
    }

    /* Ajustes del Hero en móviles */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    /* Ajustes del formulario de contacto en móviles */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding-bottom: 6rem; /* Espacio para el botón de WhatsApp */
    }

    /* Footer en móviles */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    /* Botón de WhatsApp más pequeño en móviles */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}