/* ============================================================
   STYLE.CSS (COMPLETO Y REDISEÑADO)
   ============================================================ */

/* --- 1. Variables de Color y Globales --- */
:root {
    --color-verde: #486F36;
    --color-amarillo: #f3b60e;
    --color-texto: #333333;
    --color-texto-secundario: #555555;
    --color-blanco: #ffffff;
    --color-fondo-claro: #f7f7f7;
    --font-titulos: 'Poppins', sans-serif;
    --font-cuerpo: 'Roboto', sans-serif;
    --form-border-color: #8c8c8c;
    --form-bg-color: #fcfcfc;
    --form-label-color: #333333;
    --nav-height: 75px; /* Variable para la altura del nav */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-cuerpo);
    color: var(--color-texto);
    line-height: 1.6;
    background-color: var(--color-blanco);
    padding-top: var(--nav-height); 
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 5rem 0; overflow-x: hidden; } 

h1, h2, h3, h4 {
    font-family: var(--font-titulos);
    font-weight: 700;
    color: var(--color-verde);
    line-height: 1.3;
    margin-bottom: 1.25rem;
}
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1rem; color: var(--color-texto-secundario); }

/* Estilo para títulos de sección con línea */
.section-heading-with-line {
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 3rem;
}
.section-heading-with-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; 
    height: 4px; 
    background-color: var(--color-amarillo); 
    border-radius: 2px;
}


/* --- 2. Botones (CTA) --- */
.cta-button {
    display: inline-block;
    font-family: var(--font-titulos);
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid transparent;
}
.cta-primary {
    background-color: var(--color-amarillo);
    color: var(--color-texto);
    border-color: var(--color-amarillo);
}
.cta-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.cta-secondary {
    background-color: transparent;
    color: var(--color-blanco);
    border-color: var(--color-blanco);
}
.cta-secondary:hover {
    background-color: var(--color-blanco);
    color: var(--color-texto);
}

/* --- 3. Barra de Navegación (Centrada) --- */
#main-nav {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-blanco); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}
#main-nav .nav-container {
    display: flex;
    justify-content: center; 
    align-items: center;
    height: var(--nav-height); 
    position: relative; 
}
#main-nav .nav-links { 
    display: flex; 
    list-style: none; 
    align-items: center; 
}
#main-nav .nav-links li { margin: 0 1.25rem; }
#main-nav .nav-links a {
    text-decoration: none;
    font-family: var(--font-titulos);
    font-weight: 600;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    color: var(--color-texto); 
    text-shadow: none; 
}
#main-nav .nav-links a:hover {
    color: var(--color-verde);
    border-bottom-color: var(--color-verde);
}
#main-nav .cta-button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
}
.menu-toggle {
    display: none; 
    position: absolute; 
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002; 
}
.menu-toggle .bar {
    width: 100%;
    height: 3px;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-verde); 
}

/* --- 4. NUEVA BARRA DE LOGO --- */
#logo-branding-bar {
    padding: 2rem 0;
    background-color: var(--color-blanco);
    text-align: center;
    border-bottom: 1px solid #eee;
}
.main-header-logo {
    max-width: 600px; 
    width: 90%;
    height: auto;
}

/* --- 4B. Sección Héroe (Rediseñada) --- */
#hero {
    position: relative;
    height: 70vh; 
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-blanco);
    padding-top: 0; 
}
#hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 60, 20, 0.6);
    z-index: -1;
}
.hero-content { 
    max-width: 900px;
    padding: 0 20px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}
.hero-content p {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-blanco);
    opacity: 0.95;
    margin-top: 0; 
    margin-bottom: 2.5rem;
    line-height: 1.5;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap; 
    justify-content: center;
}
.hero-slogan-image {
    max-width: 600px; 
    width: 90%;
    height: auto;
    margin-bottom: 2.5rem; 
}


/* --- 5. Sección Soluciones (Simplificada) --- */
#soluciones { 
    padding: 5rem 0;
    background-color: var(--color-blanco);
}
.segmentos-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
}
.segmento-card {
    background-color: var(--color-fondo-claro);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex; 
    flex-direction: column; 
}
.segmento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.segmento-card-content { 
    padding: 2rem; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}
.segmento-card-content h3 {
    color: var(--color-verde);
}
.segmento-card video, .segmento-card-img { 
    width: 100%;
    height: 250px; 
    object-fit: cover;
    display: block;
}
.segmento-card-content p {
    flex-grow: 1; 
}
.segmento-card-content .cta-button {
    background-color: var(--color-amarillo);
    color: var(--color-texto); 
    border-color: var(--color-amarillo);
    margin-top: 1rem; 
}
.segmento-card-content .cta-button:hover {
    background-color: #e0a800; 
    border-color: #e0a800;
    color: var(--color-texto);
}

/* --- 6. Sección Beneficios --- */
#beneficios {
    background-color: var(--color-fondo-claro);
}
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.beneficio-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-blanco);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
}
.beneficio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.beneficio-item i {
    font-size: 3rem;
    color: var(--color-amarillo);
    margin-bottom: 1.5rem;
}

/* --- 7. Sección Partners (Logos) --- */
#partners {
    background-color: var(--color-blanco); 
    padding: 5rem 0;
}
.tech-text .brand-logo {
    height: auto;
    max-width: 350px; /* <-- CAMBIO AQUÍ (Logo más grande) */
    max-height: 90px; /* <-- CAMBIO AQUÍ (Logo más grande) */
    margin-bottom: 1.5rem;
}
/* Estilos para las imágenes de producto de las marcas */
#partners .tech-img {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9; /* Fondo suave para la imagen */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
#partners .tech-img img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain; /* <-- CAMBIO AQUÍ (Muestra la imagen completa) */
    padding: 1rem; /* Espacio para que la imagen respire */
}


/* --- 8. Sección Productos (CON ONDAS) --- */
#tecnologia {
    position: relative;
    background-color: #f8f9fa; 
    z-index: 1;
    overflow-x: hidden; 
}
#tecnologia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/wave-pattern.png'); 
    background-repeat: repeat;
    opacity: 0.5;
    z-index: -1;
}
.tech-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}
.tech-item:last-child {
    margin-bottom: 0;
}
.tech-item.reverse { grid-template-columns: 1fr 1fr; }
.tech-item .tech-text { 
    grid-column: 2; 
    grid-row: 1;
    background: var(--color-blanco); 
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.tech-item .tech-img { 
    grid-column: 1; 
    grid-row: 1;
}
.tech-item.reverse .tech-text { 
    grid-column: 1; 
    grid-row: 1;
}
.tech-item.reverse .tech-img { 
    grid-column: 2; 
    grid-row: 1; 
}
#tecnologia .tech-img { /* Selector específico para esta sección */
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: var(--color-blanco); /* Fondo blanco por si la imagen no carga */
}
.tech-img.paneles {
    background-image: url('images/panelespremium.jpg'); 
}
.tech-img.baterias {
    background-image: url('images/baterias.jpg'); 
}
.tech-img.dabbsson {
    background-image: url('images/DABBSSONapartemento.jpg'); 
}

/* --- 9. Sección Cómo Funciona --- */
#como-funciona { background-color: var(--color-fondo-claro); text-align: center; }
#como-funciona > .container > p {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}
.pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
.paso-item {
    background-color: var(--color-blanco);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease-in-out; 
}
.paso-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.paso-item .paso-numero {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-amarillo);
    color: var(--color-texto);
    font-family: var(--font-titulos);
    font-weight: 700;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* --- 10. Sección Instalación --- */
#instalacion {
    text-align: center;
}
#instalacion > .container > p {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

/* --- 11. Sección Propuesta de Valor --- */
#propuesta-valor {
    background-color: var(--color-fondo-claro);
}
#propuesta-valor h2 {
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-texto-secundario);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}
.valor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.valor-card {
    background-color: var(--color-blanco);
    padding: 2.5rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.valor-card i {
    font-size: 3rem;
    color: var(--color-amarillo);
    margin-bottom: 1.5rem;
}
.valor-card h3 {
    color: var(--color-verde);
    font-size: 1.5rem;
}
.valor-card p {
    margin-bottom: 0;
}

/* --- 12. SECCIÓN DE OFERTAS/PRECIOS --- */
#ofertas-especiales {
    background-color: var(--color-blanco);
    text-align: center;
}
.ofertas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 0 auto;
}
.oferta-card {
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.oferta-card:hover {
    transform: translateY(-10px);
}
.oferta-card.oferta-amarilla {
    background-color: var(--color-amarillo);
    color: var(--color-texto);
}
.oferta-card.oferta-verde {
    background-color: var(--color-verde);
    color: var(--color-blanco);
}
.oferta-card .oferta-desde {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
}
.oferta-card .oferta-precio {
    font-size: 4.5rem;
    font-weight: 700;
    display: block;
    line-height: 1.1;
    margin: 0.5rem 0;
}
.oferta-card .oferta-tipo {
    font-size: 1.3rem;
    font-weight: 600;
    display: block;
}

/* --- 13. Sección FAQ --- */
#faq {
    background-color: var(--color-fondo-claro);
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.faq-item {
    background-color: var(--color-blanco); 
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.faq-item h4 {
    color: var(--color-verde);
    margin-bottom: 0.75rem;
}
.faq-item p {
    margin-bottom: 0;
}

/* --- 14. NUEVA SECCIÓN CTA "TRABAJA CON NOSOTROS" --- */
#cta-trabajo-promo {
    background-color: var(--color-verde); 
    padding: 4rem 0;
}
.cta-trabajo-card {
    background-color: var(--color-blanco);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.cta-trabajo-card h2 {
    color: var(--color-verde);
    margin-bottom: 1rem;
}
.cta-trabajo-card p {
    font-size: 1.1rem;
    color: var(--color-texto-secundario);
    margin-bottom: 2rem;
}
.cta-trabajo-card .cta-button {
    background-color: var(--color-amarillo);
    color: var(--color-texto);
    border-color: var(--color-amarillo);
}
.cta-trabajo-card .cta-button:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

/* --- 15. Sección Final CTA --- */
#final-cta {
    background-color: var(--color-verde);
    color: var(--color-blanco);
    text-align: center;
}
#final-cta h2 { color: var(--color-blanco); }
#final-cta p {
    color: var(--color-blanco);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}
#final-cta .cta-primary { margin-right: 1rem; }
#final-cta .cta-secondary:hover { color: var(--color-verde); }

/* --- 16. Pie de Página (Footer) - ARREGLADO --- */
footer {
    background-color: var(--color-texto);
    color: #a0a0a0;
    padding-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}
.footer-logo img { height: 50px; margin-bottom: 1rem; }

.footer-col-1 p {
    color: #ccc; 
    font-weight: 500;
}
.footer-col-1 p a {
    color: inherit; 
    text-decoration: none; 
}
.footer-col-1 p a:hover {
    color: var(--color-blanco); 
}

footer h4 {
    font-size: 1.2rem;
    color: var(--color-blanco);
    margin-bottom: 1rem;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer ul li a {
    text-decoration: none;
    color: #a0a0a0;
    transition: color 0.3s ease;
}
footer ul li a:hover { color: var(--color-blanco); }
.social-links a {
    color: var(--color-blanco);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}
.social-links a:hover { color: var(--color-amarillo); }
.footer-copyright {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #444;
}

/* --- 17. Estilos de Formularios (Rediseñados) --- */
#formulario-cotiza {
    padding: 5rem 0; 
    background-color: var(--color-verde); 
    min-height: auto; 
}
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-blanco);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden; 
}

.form-header {
    text-align: center;
    padding: 2.5rem 2rem 1rem 2rem;
}
.form-header img {
    max-width: 250px; 
    width: 70%;
    height: auto;
}

.form-footer {
    text-align: center;
    padding: 1rem 2rem 2rem 2rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 2rem;
}
.form-footer img {
    max-width: 300px;
    width: 80%;
    height: auto;
}
form {
    padding: 0 3rem; 
}
.form-title {
    text-align: center;
    margin-bottom: 0.5rem;
    padding-top: 0; 
}
.form-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-texto-secundario);
    margin-bottom: 2.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-titulos);
    font-weight: 600;
    color: var(--form-label-color);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--form-border-color);
    border-radius: 5px;
    font-family: var(--font-cuerpo);
    font-size: 1rem;
    background-color: var(--form-bg-color);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input[type="file"] {
    padding: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-texto-secundario);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-verde);
    box-shadow: 0 0 5px rgba(72, 111, 54, 0.3);
}
.form-group textarea {
    resize: vertical;
}
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.checkbox-group label {
    font-weight: 400;
    color: var(--color-texto-secundario);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
    width: 1.25em;
    height: 1.25em;
    cursor: pointer;
}
.form-instruccion {
    background-color: #f4f4f4;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--color-amarillo);
}
.form-instruccion p { 
    margin-bottom: 0; 
    color: var(--color-texto-secundario);
}
.form-instruccion a {
    color: var(--color-verde);
    font-weight: 600;
}
.form-group .cta-button {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.85rem;
    border: none;
    cursor: pointer;
}


/* --- 18. ESTILOS DE PÁGINA DE PRODUCTOS --- */
#portafolio {
    padding: 5rem 0;
    background-color: var(--color-fondo-claro);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.product-card {
    background: var(--color-blanco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.product-image-placeholder {
    width: 100%;
    height: 250px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: var(--font-titulos);
    font-size: 1.2rem;
    background-size: cover;
    background-position: center;
}
.product-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-content {
    padding: 2rem;
}
.product-content h3 {
    color: var(--color-verde);
    margin-bottom: 1rem;
}
.product-content p {
    margin-bottom: 1.5rem;
}
.product-content .cta-button {
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
    background-color: var(--color-verde);
    color: var(--color-blanco);
    border-color: var(--color-verde);
}
.product-content .cta-button:hover {
    background-color: #3a5a2a;
    border-color: #3a5a2a;
}


/* --- 19. Animaciones de Scroll --- */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}
.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- 20. Responsive (Móvil) --- */
@media (max-width: 992px) { 
    .beneficios-grid {
        grid-template-columns: 1fr 1fr;
    }
    .valor-grid {
        grid-template-columns: 1fr;
    }
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .tech-item, .tech-item.reverse {
        grid-template-columns: 1fr;
    }
    .tech-item .tech-text, .tech-item.reverse .tech-text { 
        grid-column: 1; 
        grid-row: 2; 
    }
    .tech-item .tech-img, .tech-item.reverse .tech-img { 
        grid-column: 1; 
        grid-row: 1; 
    }
    
    .cta-trabajo-grid {
        grid-template-columns: 1fr;
    }
    .cta-trabajo-img {
        min-height: 250px;
    }
    
    .ofertas-grid {
        grid-template-columns: 1fr;
    }

    .segmentos-grid { 
        grid-template-columns: 1fr 1fr; 
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    section { padding: 3rem 0; }

    /* Lógica del Menú Móvil */
    #main-nav .nav-container {
        justify-content: flex-end; 
    }
    #main-nav .nav-links {
        display: none; 
        position: fixed;
        top: 0; 
        left: 0;
        width: 100%;
        height: 100vh; 
        background-color: var(--color-blanco);
        flex-direction: column;
        align-items: center;
        justify-content: center; 
        padding-top: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    #main-nav .nav-links.active {
        display: flex; 
        transform: translateX(0);
    }
    #main-nav .cta-button { 
        display: none; 
    }
    .menu-toggle {
        display: flex; 
        position: static; 
        transform: none;
        margin-left: 1.5rem; 
    }
    
    #main-nav .nav-links li {
        margin-left: 0;
        margin-bottom: 2rem;
        width: 100%;
        text-align: center;
    }

    #main-nav .nav-links a {
        font-size: 1.5rem;
        color: var(--color-verde); 
        text-shadow: none;
    }
    
    .menu-toggle.active .bar {
        background-color: var(--color-verde); 
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Ajustes Héroe */
    #hero {
        height: auto;
        min-height: 500px;
        padding-top: 2rem; 
        padding-bottom: 2rem;
    }
    .hero-slogan-image {
        max-width: 80%; 
    }
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    .hero-buttons {
        flex-direction: column; 
        gap: 0.8rem;
    }

    /* Ajuste Logo Bar */
    #logo-branding-bar {
        padding: 1.5rem 0;
    }
    .main-header-logo {
        max-width: 350px; 
    }

    /* AJUSTES RESPONSIVE DE LA SECCIÓN DE INTRO */
    .intro-soluciones-grid {
        grid-template-columns: 1fr; 
        gap: 2rem;
    }
    .intro-logo-container {
        text-align: center; 
    }
    .intro-logo-container img {
        max-width: 300px;
    }
    .intro-text-container h2 {
        text-align: center; 
        font-size: 2.2rem;
    }
    .intro-text-container p {
        text-align: center; 
    }
    .intro-text-container .line {
        margin: 1.5rem auto 0 auto; 
    }
    #soluciones {
        padding-top: 4rem; 
    }

    /* Ajustes de Grids */
    .segmentos-grid { grid-template-columns: 1fr; } 
    .beneficios-grid { grid-template-columns: 1fr; } 
    
    .tech-item .tech-img { height: 250px; }
    
    .pasos-grid { grid-template-columns: 1fr; }
    .valor-grid { grid-template-columns: 1fr; }

    /* Ajuste de Portafolio */
    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid { grid-template-columns: 1fr; }
    
    /* Ajuste CTA Trabajo */
    .cta-trabajo-card {
        padding: 2.5rem 1.5rem;
    }
    #cta-trabajo-promo h2 {
        font-size: 1.8rem;
    }
    
    /* Ajuste Formularios */
    #formulario-cotiza {
        padding: 3rem 0; 
    }
    form {
        padding: 0 1.5rem; 
    }
    .form-container { 
        padding: 0; 
    }
    .form-header {
        padding: 2rem 1.5rem 1rem 1.5rem;
    }
    .form-header img {
        max-width: 200px; 
    }
    .form-title {
        padding-top: 0; 
    }
    .form-footer {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
    }
}