/* ==========================================================================
   BASE STYLES - RESPONSIVE
   ========================================================================== */
:root {
    /* Colors */
    --primary-color: #0a2540;
    --primary-dark: #072138;
    --primary-light: #0d3861;
    --secondary-color: #00a0e9;
    --secondary-dark: #0085c4;
    --secondary-light: #00b8ff;
    --white: #ffffff;
    --light-gray: #f6f9fc;
    --medium-gray: #e6e9ed;
    --dark-gray: #6b7c93;
    --black: #1a1a1a;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --base-font-size: 16px;
    --h1-size: 3.052rem;
    --h2-size: 2.441rem;
    --h3-size: 1.953rem;
    --h4-size: 1.563rem;
    --h5-size: 1.25rem;
    --text-size: 1rem;
    --small-text: 0.8rem;
    
    /* Spacing */
    --space-unit: 1rem;
    --space-xxs: calc(0.25 * var(--space-unit));
    --space-xs: calc(0.5 * var(--space-unit));
    --space-sm: calc(0.75 * var(--space-unit));
    --space-md: calc(1.25 * var(--space-unit));
    --space-lg: calc(2 * var(--space-unit));
    --space-xl: calc(3.25 * var(--space-unit));
    --space-xxl: calc(5.25 * var(--space-unit));
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-rounded: 50%;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.45s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: var(--base-font-size);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: 70px; /* Para compensar el header fijo */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--primary-color);
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }
h5 { font-size: var(--h5-size); }

p {
    margin-bottom: var(--space-sm);
    font-size: var(--text-size);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-dark);
    text-decoration: underline;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    display: block;
    font-size: var(--h5-size);
    color: var(--secondary-color);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.section-description {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-size);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    gap: var(--space-xs);
    white-space: nowrap;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-lg {
    padding: var(--space-sm) var(--space-lg);
    font-size: 1.1rem;
}

.btn-sm {
    padding: var(--space-xxs) var(--space-sm);
    font-size: var(--small-text);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-tech {
    background-color: #00f0ff;
    color: var(--primary-color);
}

.btn-tech:hover {
    background-color: #00d4e0;
    color: var(--primary-color);
    text-decoration: none;
}

.btn-hr {
    background-color: #2ecc71;
    color: var(--white);
}

.btn-hr:hover {
    background-color: #27ae60;
    color: var(--white);
    text-decoration: none;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gradient {
    background: linear-gradient(10deg, #00f0ff 0%, #00f0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hidden-mobile {
    display: block;
}

.visible-mobile {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    margin-top: -70px; /* Compensa el header fijo */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 37, 64, 0.2) 0%,
       
        rgba(255, 255, 255, 0.9) 60%, /* El blanco termina después */
        rgba(10, 37, 64, 0.9) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding-top: var(--space-xxl);
}

.hero-logos {
    margin-bottom: var(--space-lg);
}

.hero-logos .main-logo {
    margin-bottom: var(--space-sm);
    max-width: 100%;
    height: auto;
}

.division-logos {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-md);
}

.hero-title1 {
    font-size: 3.3rem;
    margin-bottom: var(--space-sm);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle1 {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

/* Hero Section */
/* ... otros estilos del hero ... */

.hero-scroll-indicator {
    position: absolute;
    top:50%;
    right: var(--space-md); /* Lo movemos a la derecha usando 'right' */
    left: auto; /* Anulamos la propiedad 'left' */
    transform: translateX(0); /* Ajustamos el transform para que no desplace desde el centro */
    display: flex;
    flex-direction: column;
    align-items: center; /* Mantenemos la alineación de los elementos internos */
    color: skyblue;
    opacity: 0.9;
    animation: bounce-right 2s infinite; /* Cambiamos el nombre de la animación */

}

.hero-scroll-indicator span {
    font-size: var(--small-text);
    margin-bottom: var(--space-xxs);
    letter-spacing: 1px;
}

@keyframes bounce-right { /* Nueva animación para el lado derecho */
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(0); /* El translateX ahora es 0 */
    }
    40% {
        transform: translateY(-20px) translateX(0);
    }
    60% {
        transform: translateY(-10px) translateX(0);
    }
}

/* Services Overview */
.services-overview {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.tech-service::after {
    background: linear-gradient(90deg, #00f0ff 0%, #00a0e9 100%);
}

.hr-service::after {
    background: linear-gradient(90deg, #2ecc71 0%, #27ae60 100%);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-rounded);
    margin-bottom: var(--space-md);
}

.tech-service .service-icon {
    background-color: rgba(0, 240, 255, 0.1);
    color: #00f0ff;
}

.hr-service .service-icon {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.service-card h3 {
    font-size: var(--h4-size);
    margin-bottom: var(--space-sm);
}

.service-description {
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.service-features li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: var(--space-xs);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.tech-service .service-features li::before {
    background-color: #00f0ff;
}

.hr-service .service-features li::before {
    background-color: #2ecc71;
}

/* Integrated Solutions */
.integrated-solutions {
    background-color: var(--primary-color);
    color: var(--white);
}

.integrated-solutions .section-title,
.integrated-solutions .section-subtitle,
.integrated-solutions .section-description {
    color: var(--white);
}

.integrated-solutions .section-title::after {
    background: var(--secondary-color);
}

.integrated-solutions .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.solution-content {
    max-width: 500px;
}

.solution-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.solution-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.solution-image:hover img {
    transform: scale(1.03);
}

.solution-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.stat-item {
    text-align: center;
    padding: var(--space-sm);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xxs);
    color: var(--secondary-color);
    font-family: var(--font-primary);
}

.stat-label {
    font-size: var(--small-text);
    opacity: 0.8;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--light-gray);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    margin: var(--space-md);
}

.testimonial-content {
    position: relative;
    margin-bottom: var(--space-md);
}

.testimonial-quote {
    position: absolute;
    top: -10px;
    left: -10px;
    opacity: 0.1;
    z-index: 0;
}

.testimonial-quote svg {
    width: 60px;
    height: 60px;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-rounded);
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-family: var(--font-primary);
}

.author-position {
    font-size: var(--small-text);
    color: var(--dark-gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--space-xxl) 0;
}

.cta-title {
    font-size: var(--h2-size);
    margin-bottom: var(--space-sm);
    color: var(--white);
}

.cta-description {
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--space-sm) 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    z-index: 1000;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cookie-content p {
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
}

@media (min-width: 768px) {
    .cookie-content p {
        margin-bottom: 0;
        margin-right: var(--space-md);
    }
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    :root {
        --h1-size: 2.8rem;
        --h2-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    :root {
        --h1-size: 2.441rem;
        --h2-size: 1.953rem;
        --h3-size: 1.563rem;
        --h4-size: 1.25rem;
    }
    
    .integrated-solutions .container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .solution-content {
        max-width: 100%;
        order: 2;
    }
    
    .solution-image {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hidden-mobile {
        display: none;
    }
    
    .visible-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px; /* Ajuste para header más pequeño */
    }
    
    .hero-section {
        min-height: 600px;
        margin-top: -60px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: var(--space-md);
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .solution-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card {
        padding: var(--space-md);
        margin: var(--space-sm);
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .cta-section {
        padding: var(--space-xl) 0;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    :root {
        --space-unit: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .division-logos {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .solution-stats {
        grid-template-columns: 1fr;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: var(--space-sm);
        right: var(--space-sm);
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding-top: var(--space-lg);
    }
    
    .section-header {
        margin-bottom: var(--space-lg);
    }
}


 /*Estilos responsivos integrados */
   
        /* Estilos responsivos para Hero Section */
        @media (max-width: 992px) {
            .hero-section {
                min-height: 600px;
                padding-top: 70px; /* Ajuste para el header fijo */
            }
            
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.2rem;
            }
            
            .hero-logos .main-logo {
                width: 90%;
                max-width: 400px;
               
            }
        }

     

        @media (max-width: 576px) {
            .hero-title {
                font-size: 1.8rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .hero-content {
                padding-top: var(--space-lg);
            }
        }

        /* Estilos responsivos para Services Section */
        @media (max-width: 992px) {
            .services-grid {
                grid-template-columns: 1fr;
                gap: var(--space-md);
            }
            
            .service-card {
                padding: var(--space-md);
            }
        }

        /* Estilos responsivos para Integrated Solutions */
        @media (max-width: 992px) {
            .integrated-solutions .container {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .solution-content {
                max-width: 100%;
                margin-bottom: var(--space-lg);
            }
            
            .solution-image {
                order: -1;
                margin: 0 auto;
                max-width: 500px;
            }
            
            .solution-stats {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .solution-stats {
                grid-template-columns: 1fr;
            }
        }

        /* Estilos responsivos para Testimonials */
        @media (max-width: 768px) {
            .testimonial-card {
                padding: var(--space-md);
                margin: var(--space-sm);
            }
            
            .testimonial-text {
                font-size: 1rem;
            }
        }

        /* Estilos responsivos para CTA Section */
        @media (max-width: 768px) {
            .cta-section {
                padding: var(--space-xl) 0;
            }
            
            .cta-title {
                font-size: 1.8rem;
            }
            
            .cta-description {
                font-size: 1rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                gap: var(--space-sm);
            }
            
            .cta-buttons .btn {
                width: 100%;
            }
        }
  

/*ajustes section 1 por resolucion de pantalla*/
@media (max-height: 900px) {
    .hero-content {
        transform: scale(0.85);
        transform-origin: top center; /* Aseguramos que la escala se haga desde la parte superior central */
        padding-top: calc(var(--space-xxl) * 0.85); /* Escalar el padding del contenido */
        margin-top: 200px;
    }

    /* Ajustar el margen superior del body */
    body {
        padding-top: 0px; /* Reducimos el padding-top proporcionalmente */
    }

    .hero-cta {
        margin-top: calc(var(--space-lg) * 0.85); /* Escalar el margen de los botones */
    }

    .hero-scroll-indicator {
        bottom: calc(var(--space-lg) * 0.85); /* Escalar la posición del indicador de scroll */
    }

    /* Es posible que necesites ajustar la posición del .hero-content para que siga centrado */
    .hero-section {
        display: flex;
        justify-content: center; /* Centrar horizontalmente el contenido escalado */
        align-items: center; /* Centrar verticalmente el contenido escalado */
        height: 100vh; /* Mantener la altura original */
        min-height: 800px; /* Mantener la altura mínima original */
        max-height: 1200px; /* Mantener la altura máxima original */
    }
    
     .hero-title1 {
    font-size: 3rem; /* Reduce el tamaño del título */
    margin-bottom: var(--space-sm);
    line-height: 1.3; /* Mejora la legibilidad en varias líneas */
      
  }

  .hero-subtitle1 {
    font-size: 1.2rem; /* Reduce el tamaño del subtítulo */
    margin: 0 auto var(--space-md); /* Centra y añade margen inferior */
    max-width: 90%; /* El subtítulo ocupa más ancho */
  }
}

/* Ajustes de tamaño de fuente (opcional) - ahora también aplicados a .hero-content */
@media (max-height: 900px) {
    .hero-content .hero-title { /* Especificamos el título dentro de .hero-content */
        font-size: calc(3.5rem * 0.85);
    }

    .hero-content .hero-subtitle { /* Especificamos el subtítulo dentro de .hero-content */
        font-size: calc(1.5rem * 0.85);
        max-width: 700px * 0.85;
    }

    .hero-content .hero-cta { /* Especificamos el contenedor de botones dentro de .hero-content */
        /* Los estilos de margen ya están arriba */
        display: flex;
        justify-content: center;
        gap: var(--space-md);
        flex-direction: row; /* Asegurarse de que los botones estén en fila si así lo prefieres */
    }

    .hero-content .hero-cta .btn-lg { /* Especificamos los botones dentro de .hero-content */
        padding: calc(var(--space-sm) * 0.85) calc(var(--space-lg) * 0.85);
        font-size: calc(1.1rem * 0.85);
    }

    .hero-content .hero-logos { /* Especificamos los logos dentro de .hero-content */
        margin-bottom: calc(var(--space-lg) * 0.85);
    }
}


/*ajustes section 1 por resolucion de pantalla moviles*/
/* Responsive Styles for Hero Section - Mobile */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto; /* Ajusta la altura automáticamente */
    padding-top: 0px; /* Considera el header fijo más pequeño */

    
    display: flex;
    flex-direction: column; /* Apila los elementos verticalmente */
    justify-content: flex-start; /* Alinea el contenido al inicio */
    align-items: center; /* Centra los elementos horizontalmente */
    text-align: center; /* Centra el texto dentro del contenedor */
    margin-top: -90px;  
  }

  .hero-content {
    padding-top: var(--space-lg); /* Reduce el padding superior */
    padding-bottom: var(--space-lg); /* Añade padding inferior */
  }

  .hero-logos {
    margin-bottom: var(--space-md); /* Reduce el margen inferior */
  }

  .hero-logos .main-logo {
    width: 90%; /* El logo principal ocupa más ancho */
    max-width: 400px; /* Limita el ancho máximo del logo */
    height: auto;
  }

  .division-logos {
    flex-direction: row; /* Mantiene los logos en fila */
    gap: var(--space-sm); /* Reduce el espacio entre los logos */
    margin-top: var(--space-sm); /* Reduce el margen superior */
  }

  .division-logos img {
    width: 100px; /* Reduce el tamaño de los logos de división */
    height: auto;
  }

  .hero-title1 {
    font-size: 1.5rem; /* Reduce el tamaño del título */
    margin-bottom: var(--space-sm);
    line-height: 1.3; /* Mejora la legibilidad en varias líneas */
      
  }

  .hero-subtitle1 {
    font-size: 1.1rem; /* Reduce el tamaño del subtítulo */
    margin: 0 auto var(--space-md); /* Centra y añade margen inferior */
    max-width: 90%; /* El subtítulo ocupa más ancho */
  }

  .hero-cta {
    flex-direction: column; /* Apila los botones */
    gap: var(--space-sm); /* Reduce el espacio entre los botones */
    margin-top: var(--space-md);
    width: 100%; /* Los botones ocupan más ancho */
  }

  .hero-cta .btn-lg {
    font-size: 1rem; /* Reduce el tamaño de la fuente de los botones */
    padding: var(--space-sm) var(--space-md); /* Reduce el padding de los botones */
    width: 100%; /* Los botones ocupan todo el ancho */
  }

  .hero-scroll-indicator {
    top:30%;  
  }

  .hero-video {
    /* Puedes ajustar la altura del video si es necesario */
    height: auto;
  }

  .hero-video-overlay {
    /* Asegúrate de que el overlay siga cubriendo el video */
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 1rem; /* Reduce aún más el título en pantallas muy pequeñas */
  }

  .division-logos img {
    width: 80px; /* Reduce aún más los logos de división */
  }
}


.value-proposition-section {
    padding: var(--space-xl) 0;
    background-color: var(--light-gray);
}

.value-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.value-point {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.value-point svg {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
}

.value-point h3 {
    font-size: var(--h4-size);
    margin-bottom: var(--space-sm);
    color: var(--primary-color);
}

.value-point p {
    color: var(--dark-gray);
}



.our-methodology-section {
    padding: var(--space-xl) 0;
    background-color: var(--primary-color); /* Fondo azul primario */
    color: var(--white); /* Texto en color blanco para contraste */
}

.our-methodology-section .section-header .section-subtitle,
.our-methodology-section .section-header .section-title,
.our-methodology-section .section-header .section-description {
    color: var(--white); /* Asegurar que el texto del encabezado sea blanco */
}

.methodology-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.methodology-step {
    background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco semi-transparente para las tarjetas */
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    color: var(--dark-gray); /* Texto de los pasos en gris oscuro */
}

.step-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-md);
}

.step-icon svg {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-sm);
    /* Puedes ajustar el color de los iconos para que destaquen sobre el fondo blanco */
}

.step-icon span {
    font-size: var(--body-small);
    color: var(--secondary-color);
    font-weight: var(--font-weight-bold);
}

.methodology-step h3 {
    font-size: var(--h5-size);
    margin-bottom: var(--space-sm);
    color: var(--primary-color); /* Título del paso en azul primario */
}

.methodology-step p {
    color: var(--dark-gray);
}
.guarantee-section {
    padding: var(--space-xl) 0;
    background-color: var(--light-gray); /* Similar al fondo de "Nuestro compromiso" */
}

.guarantee-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.guarantee-point {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.guarantee-point svg {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
}

.guarantee-point h3 {
    font-size: var(--h4-size);
    margin-bottom: var(--space-sm);
    color: var(--primary-color);
}

.guarantee-point p {
    color: var(--dark-gray);
}




/* Estilo para los botones CTA */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-buttons .btn {
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Estilo específico para WhatsApp */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-width: 180px;
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}
/* Estilos para el enlace de teléfono */
.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Mostrar texto en desktop */
.phone-text {
    display: inline;
}

/* Ocultar texto en móviles */
@media (max-width: 767px) {
    .phone-text {
        display: none;
    }
    
    .phone-link {
        padding: 12px 15px; /* Ajuste para solo icono */
    }
}

/* Opcional: Mostrar "Llamar" en móviles si prefieres */
@media (max-width: 767px) {
    .phone-text.phone-label {
        display: inline;
        content: "Llamar";
    }
}