:root {
    --primary-color: #333;
    --transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* index.html */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-content {
    transition: filter 0.3s ease;
}

body.sidebar-active .main-content {
    filter: blur(5px);
}

/* Estilos para el banner de anuncio */
.announcement-banner {
    background-color: #2e2e2e !important; /* Fondo blanco */
    color: #ffffff; /* Color del texto */
    padding: 10px 20px; /* Espaciado interno */
    display: flex; /* Usar flexbox para alinear elementos */
    justify-content: space-between; /* Espacio entre el correo y el contenido */
    align-items: center; /* Centrar verticalmente */
    height: 50px;
    border: none; /* Borde rojo */
}

.announcement-banner .contact-info {
    font-size: 1rem; /* Tamaño de fuente */
    color: #ffffff; /* Color del texto de contacto */
    margin-top: 0px;
    margin-left: 20px;
}

.banner-content {
    display: flex; /* Usar flexbox para alinear el texto y el botón */
    align-items: center; /* Centrar verticalmente */
}

.banner-content span {
    margin-right: 20px; /* Espacio entre el texto y el botón */
    font-size: 1rem; /* Tamaño de fuente */
    color: #ffffff;
}

.banner-content .boton-cotizar {
    background: none; /* Color de fondo del botón */
    color: #fff; /* Color del texto del botón */
    margin: 15px;
    padding: 5px 20px; /* Espaciado interno del botón */
    border: 1.2px solid #d82724;
    border-radius: 5px; /* Bordes redondeados */
    text-decoration: none; /* Sin subrayado */
    font-size: 0.95rem;
    font-weight: bold; /* Texto en negrita */
    transition: background-color 0.3s; /* Transición suave */
}

.banner-content .boton-cotizar:hover {
    background-color: #d82724 !important; /* Sin fondo al pasar el mouse */
    color: #ffffff; /* Color del texto al pasar el mouse */
}

/* Header Base */
.header-area {
    position: fixed;
    width: 100%;
    height: 80px;
    background: transparent;
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center; /* Centrar verticalmente */
    justify-content: space-between; /* Espacio entre el botón y el logo */
    padding: 0 2rem; /* Espaciado lateral */
}

.header-area.scrolled {
    margin-top: -54px !important;
    height: 70px !important;
    background: #ffffff !important; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Logo */
.logo {
    margin-right: 120px;
    flex: 1; /* Permitir que el logo ocupe el espacio restante */
    display: flex;
    justify-content: center; /* Centrar el logo */
}

.logo img {
    height: 45px;
    transition: var(--transition);
}

/* Botón del menú */
.menu-btn {
    background: none;
    color: #fff;
    border: none;
    font-size: 0.9rem; /* Tamaño de fuente más pequeño */
    padding: 0.5rem 1rem; /* Espaciado reducido */
    cursor: pointer;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
    margin-left: -8px;
    display: flex; /* Usar flexbox para alinear el ícono y el texto */
    align-items: center; /* Centrar verticalmente */
}

.menu-btn i {
    margin-right: 5px; /* Espaciado entre el ícono y el texto */
}

.menu-btn:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Cambio de color cuando el header está scrolled */
.header-area.scrolled .menu-btn {
    color: #333;
}

.header-area.scrolled .menu-btn:hover {
    background: #333;
    color: #fff;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%; /* Mover la sidebar a la izquierda */
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1); /* Sombra a la derecha */
    transition: var(--transition);
    z-index: 1001;
    overflow-y: auto;
}

.sidebar.active {
    left: 0; /* Mostrar la sidebar */
}


/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    backdrop-filter: blur(3px);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Navegación */
.sidebar-nav {
    padding: 2rem;
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
}

.close-btn:hover {
    transform: rotate(90deg);
}

.main-content {
    transition: filter 0.3s ease; /* Transición suave para el blur */
}

.nav-list {
    list-style: none;
    margin-top: 4rem;
}

.nav-list li {
    margin: 1.5rem 0;
}

.nav-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover {
    transform: translateX(10px);
}

.nav-list a:hover::after {
    width: 50%;
}

/* Media Queries */
@media (max-width: 768px) {
    .header-area {
        height: 70px;
    }
    
    .main-header {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .menu-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .nav-list {
        margin-top: 3rem;
    }
    
    .nav-list a {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .nav-list a:hover {
        transform: translateX(0);
        color: #007bff;
    }
}

@media (max-width: 480px) {
    .header-area {
        height: 60px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .menu-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Estilos para la nueva sección Sobre Nosotros */
.about-section {
    padding: 100px 0;
}

.about-content {
    padding-right: 30px;
}

.about-features {
    margin-top: 30px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    color: #d82724;
    font-size: 24px;
    margin-right: 15px;
}

.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background-color: #d82724;
    color: #fff;
    padding: 15px;
    border-radius: 50%;
    text-align: center;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.experience-badge .years {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
}

/* Estilos para la sección de Servicios Destacados */
.services-section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 500px;
    width: calc(33.333% - 10px);
    min-width: 410px;
    flex: 1;
    transition: transform 0.3s ease;
}

.service-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: all 0.3s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.service-content {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    color: #fff;
}

.service-content h3 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1px; /* Añadido para hacer las letras más juntas */
    text-align: left;
}

.service-image img:hover {
    transition: all 0.3s ease;
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .services-grid {
        flex-wrap: wrap;
    }
    
    .service-item {
        width: calc(50% - 10px);
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .service-item {
        width: 100%;
    }
}

/* Estilos para la sección de Testimonios */
.trusted-companies {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.trusted-companies .company-logos {
    display: flex;
    justify-content: center;
    gap: 150px; /* Espacio entre las imágenes */
}

.trusted-companies .company-item {
    flex: 0 0 auto; /* Asegura que las imágenes no se estiren */
    max-width: 150px; /* Ajusta el tamaño máximo de las imágenes */
}

.company-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease;
}

.company-item {
    flex: 0 0 33.333%; /* This makes each item take up 1/3 of the container */
    padding: 20px;
    text-align: center;
}

.company-item img {
    max-width: 200px;
    margin-bottom: 20px;
}

.company-description {
    font-size: 16px;
    color: #000;
    max-width: 300px;
    margin: 0 auto;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carrosel-button:focus {
    outline: none;
    border: none !important;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-button i {
    line-height: 40px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #d82724;
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #d82724;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(216, 39, 36, 0.5);
}

/* Ajustes generales */
.section-title {
    margin-bottom: 50px;
    font-weight: 700;
    color: #000;
    font-size: 2.5rem;
    text-align: left;
    margin-left: -20px !important;
}

.empresas-confiaron {
    margin-left: -45px !important;
}

.img-fluid {
    border-radius: 15px;
}

.btn-primary {
    background-color: #d82724;
    border-color: #d82724;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #fff;
    border-color: #fff;
    color: #d82724;
    transform: translateY(-3px);
}

/* Estilos del preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.preloader-logo {
    width: 150px;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Estilos responsivos para dispositivos móviles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-content {
        margin-left: 5%;
        max-width: 90%;
    }

    .about-section .row {
        flex-direction: column-reverse;
    }

    .about-content {
        padding-right: 0;
        margin-top: 30px;
    }

    .experience-badge {
        bottom: 10px;
        left: 10px;
        width: 100px;
        height: 100px;
    }

    .experience-badge .years {
        font-size: 28px;
    }

    .experience-badge .text {
        font-size: 12px;
    }

    .service-card {
        margin-bottom: 30px;
    }

    .stat-item {
        margin-bottom: 30px;
    }

    .testimonial-item {
        margin: 15px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 2rem;
    }
}

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/overlay.png');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Añade esta línea */
    height: 100vh;
}

.hero-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 5;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    background: #fff;
    transform: scale(1.2);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}
.hero-subtitle.active {
    display: block; /* Mostrar el texto activo */
    opacity: 1; /* Hacer visible el texto */
}

.hero-title, .hero-subtitle {
    transition: opacity 0.5s ease-in-out;
}

.hero-content .cta-button {
    background-color: #d82724;
    color: #fff;
    font-size: 16px;
    padding: 10px 25px;
    border-radius: 25px;
    display: inline-block;
    width: auto;
    min-width: 120px;
    max-width: 250px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.3s ease;
    text-overflow: ellipsis;
    margin-top: 20px; /* Añade esta línea para dar un poco de espacio arriba del botón */
}

.hero-content .cta-button:hover {
    text-decoration: none;
    background-color: #fff;
    color: #d82724;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


/* banner con CTA */
.cta-banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: contain;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.parallax-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    filter: brightness(0.6);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 800px;
}

.cta-box {
    background-color: #ffffff;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

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

.cta-icon {
    font-size: 3rem;
    color: #d82724;
    margin-bottom: 20px;
}

.cta-box h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-highlight {
    font-size: 1.5rem;
    color: #d82724;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.cta-box p {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: none; /* Sin fondo */
    color: #fff !important; /* Color del texto */
    background: none !important;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border: none; /* Sin borde */
    position: relative; /* Para el uso del pseudo-elemento */
    transition: all 0.3s ease;
}

.cta-button::after {
    content: ''; /* Pseudo-elemento */
    position: absolute; /* Posicionamiento absoluto */
    left: 50%; /* Centra el borde */
    bottom: 0; /* Posición en la parte inferior del botón */
    width: 50%; /* Ancho del borde inferior */
    height: 2px; /* Grosor del borde */
    background: #fff; /* Color del borde */
    transform: translateX(-50%); /* Centra el borde */
}

.cta-button:hover {
    text-decoration: none;
    background-color: transparent; /* Sin fondo al pasar el mouse */
    box-shadow: none !important;
    color: #d82724; /* Color del texto al pasar el mouse */
}

.cta-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Estilos para la sección Sobre Nosotros */
.full-banner-nosotros {
    background-image: url('../img/gallery/banner_quienes_somos.jpg'); /* Cambia esta línea si es necesario */
    background-size: cover;
    background-position: center;
    height: 100vh; /* Asegúrate de que la altura sea suficiente */
    display: flex;
    align-items: center;
    position: relative;
}

.full-banner-nosotros::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0; /* Asegúrate de que esté detrás del contenido */
}

.banner-content-nosotros {
    max-width: 600px;
    margin-left: 20px;
    position: relative;
    z-index: 1; /* Asegúrate de que esté por encima del overlay */
    color: #000; /* Cambia el color del texto a negro para mejor contraste */
    padding: 20px; /* Añade un poco de espaciado */
}

.banner-content-nosotros h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.banner-content-nosotros p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.banner-content-nosotros .btn {
    margin-top: 1rem;
    background: none;
    color: #000;
    padding: 12px 30px;
    border: none;
    margin-left: -30px !important;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.banner-content-nosotros .btn::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 50%;
    height: 2px;
    background: #000; /* Color inicial del borde */
    transform: translateX(-50%);
    transition: background-color 0.3s ease; /* Transición suave para el color del borde */
}

.banner-content-nosotros .btn:hover {
    background: none;
    color: #000;
}

.banner-content-nosotros .btn:hover::after {
    background-color: #d82724; /* Nuevo color del borde al hacer hover (puedes cambiarlo según tus preferencias) */
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .cta-highlight {
        font-size: 1.2rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 12px 24px;
    }
}


/* services.html */
.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.8rem;
}

/* contact.html */
.topbar {
    background-color: #323232; /* Color azul */
    color: white; /* Texto en blanco */
    padding: 10px 50px; /* Espaciado horizontal */
    display: flex; /* Usar flexbox para alinear elementos */
    justify-content: space-between; /* Espacio entre contacto y redes sociales */
    align-items: center; /* Centrar verticalmente */
    font-size: 14px; /* Tamaño de fuente */
    height: 30px; /* Altura de la topbar */
}

.contact-info {
    margin-right: auto; /* Alinear a la izquierda */
    margin-top: 25px;
    font-size: 12px; /* Tamaño de fuente más pequeño */
    white-space: nowrap; /* Evitar que el texto se divida en varias líneas */
}

.social-icons {
    display: flex; /* Usar flexbox para los íconos */
    align-items: center; /* Centrar verticalmente los íconos */
}

.social-icons a {
    color: white; /* Color de los íconos */
    margin-left: 15px; /* Espaciado entre íconos */
    font-size: 16px; /* Tamaño de los íconos */
}

.social-icons a:hover {
    color: #a41d1b; /* Color al pasar el mouse */
}

.header-area {
    position: fixed;
    width: 100%;
    height: 80px;
    background: transparent;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.header-area.scrolled {
    background: rgba(255, 255, 255, 0.9);
    height: 60px;
}

/* reviews */
    .reviews-section {
        padding: 40px 0;
        background-color: #f8f8f8;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .reviews-header {
        max-width: 1300px;
        width: 90%;
        margin: 0 auto 40px auto;
    }

    .reviews-title-small {
        color: #333;
        font-size: 1.5rem;
        font-weight: 300;
        margin-bottom: 8px;
        margin-left: -20px !important;
    }

    .reviews-container {
        display: flex;
        justify-content: center;
        gap: 15px;
        max-width: 1300px;
        width: 90%;
        margin: 0 auto;
    }

    .review-card {
        background: white;
        border-radius: 16px;
        padding: 24px;
        width: calc(33.333% - 10px);
        min-width: 410px;
        position: relative;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        flex: 1;
    }

    .review-avatar {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        position: absolute;
        top: -32px;
        left: 24px;
        object-fit: cover;
    }

    .review-stars {
        color: #FFD700;
        font-size: 24px;
        margin: 16px 0;
        text-align: right;
    }

    .review-text {
        color: #333;
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .review-author {
        color: #000;
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 4px;
    }

    .review-position {
        color: #666;
        font-size: 14px;
    }

    .review-position span {
        color: #0066cc;
    }

    @media (max-width: 1200px) {
        .reviews-container {
            width: 95%;
            gap: 10px;
        }
        
        .review-card {
            min-width: 350px;
        }
    }

    @media (max-width: 992px) {
        .reviews-container {
            flex-direction: column;
            width: 90%;
        }
        
        .review-card {
            width: 100%;
            min-width: unset;
            margin-bottom: 40px;
        }
    }

    @media (max-width: 768px) {
        .reviews-section {
            padding: 50px 0;
        }

        .reviews-container {
            width: 95%;
            gap: 40px;
        }
        
        .reviews-header {
            text-align: center;
            margin-bottom: 60px;
        }
    }

    @media (max-width: 480px) {
        .reviews-container {
            width: 100%;
            padding: 0 10px;
        }

        .review-card {
            padding: 20px;
        }

        .reviews-title-small {
            font-size: 1.2rem;
        }
    }

/* footer styles */
.footer {
    background-color: #000; /* Fondo sólido */
    color: #fff;
    padding: 70px 0 20px;
    position: relative; /* Añadido para posicionar la imagen */
    overflow: hidden; /* Para asegurar que la imagen no se salga del footer */
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/gallery/imagen_footer.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Ajusta la opacidad según sea necesario */
    z-index: 1; /* Asegura que la imagen esté por encima del fondo pero debajo del contenido */
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 50px;
    justify-content: center;
}

/* Columna izquierda - alineada a la izquierda */
.footer-column:first-child {
    text-align: left;
    margin-left: -35px;
}

.footer-column:first-child .footer-logo {
    justify-content: flex-start;
}

.footer-column:first-child .footer-description {
    text-align: left;
}

.footer-column:first-child .social-links {
    justify-content: flex-start;
}

/* Columna central - centrada */
.footer-column:nth-child(2) {
    text-align: left;
    margin-left: 15px;
}

.footer-column:nth-child(2) .footer-links a {
    justify-content: flex-start;
}

/* Columna derecha - alineada a la derecha */
.footer-column:last-child {
    text-align: left;
    margin-right: -50px;
}

.footer-column:last-child .contact-info li {
    justify-content: flex-start;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    font-weight: 600;
}

/* Estilo base del after */
.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: #d82724;
    border-radius: 2px;
}

/* Columna izquierda - línea alineada a la izquierda */
.footer-column:first-child h3::after {
    left: 0;
    transform: none;
}

/* Columna central - línea alineada a la izquierda */
.footer-column:nth-child(2) h3::after {
    left: 0;
    transform: none;
}

/* Columna derecha - línea alineada a la izquierda */
.footer-column:last-child h3::after {
    left: 0;
    transform: none;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-description {
    line-height: 1.6;
    font-size: 13px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #d82724;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #d82724;
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    font-size: 15px;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    margin-right: 10px;
    color: #d82724;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 12px;
}

/* Ajustes responsivos */
@media (max-width: 992px) {
    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        padding: 0 15px;
    }

    /* En móvil, todo centrado */
    .footer-column,
    .footer-column:first-child,
    .footer-column:last-child {
        text-align: center;
    }

    .footer-column:first-child .footer-logo,
    .footer-column:first-child .social-links,
    .footer-column:last-child .contact-info li {
        justify-content: center;
    }

    .footer-column:first-child .footer-description {
        text-align: center;
    }
}

.contact-section {
    background-color: #ffffff;
}

.contact-section .section-title {
    margin-top: -20px !important;
    margin-bottom: -10px !important;
    margin-left: 30px !important;
}

.contact-form .form-control {
    border-radius: 5px;
    transition: border-color 0.3s;
}

.contact-form .form-control:focus {
    border-color: #000;
    outline: none;
}

.boton-contacto {
    background: none; /* Sin fondo */
    border: none; /* Sin borde */
    color: #000; /* Color del texto */
    float: right !important;
    padding: 10px 20px; /* Espaciado interno */
    font-weight: 500; /* Peso de la fuente */
    position: relative; /* Para el uso del pseudo-elemento */
    transition: all 0.3s ease; /* Transición suave */
}

.boton-contacto::after {
    content: ''; /* Pseudo-elemento */
    position: absolute; /* Posicionamiento absoluto */
    left: 50%; /* Centra el borde */
    bottom: 0; /* Posición en la parte inferior del botón */
    width: 50%; /* Ancho del borde inferior */
    height: 2px; /* Grosor del borde */
    background: #000; /* Color del borde */
    transform: translateX(-50%); /* Centra el borde */
}

.boton-contacto:hover::after {
    transition: all 0.3s ease-in-out;
    background: #0066cc;
}

.boton-contacto:hover {
    background: none;
    color: #000;
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-grid {
        gap: 30px;
    }
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #d82724;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

#back-to-top:hover {
    background: #333;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.rotating-text {
    position: relative;
    z-index: 2;
    animation: fade 12s infinite; /* Animación de rotación */
}
/* Animación de rotación */
@keyframes fade {
    0%, 20% { opacity: 0; }
    25%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.contact-section {
    background-color: #f7f7f7 !important;
}

/* Estilos responsivos generales */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Header responsivo */
@media (max-width: 768px) {
    .header-area {
        height: 60px;
        padding: 0 1rem;
    }

    .header-area.scrolled {
        height: 60px;
        margin-top: -1px !important;
    }

    .logo {
        margin-left: 20px !important;
    }

    .logo img {
        height: 35px;
    }

    .menu-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Banner de anuncio responsivo */
@media (max-width: 576px) {
    .announcement-banner {
        display: none;
    }
}

/* Hero section responsivo */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-content {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-content .cta-button {
        font-size: 14px;
        padding: 8px 20px;
    }
}

/* Sección Sobre Nosotros responsiva */
@media (max-width: 992px) {
    .full-banner {
        height: auto;
        min-height: 100vh;
    }

    .banner-content {
        margin-left: 5%;
        margin-right: 5%;
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .banner-content h2 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 0.9rem;
    }
}

/* Sección de Servicios Destacados responsiva */
@media (max-width: 1200px) {
    .services-grid {
        gap: 20px;
    }

    .service-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .service-item {
        width: 100%;
    }
}

/* Banner CTA responsivo */
@media (max-width: 768px) {
    .cta-banner {
        height: auto;
        min-height: 100vh;
    }

    .cta-box {
        padding: 30px;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 12px 24px;
    }
}

/* Sección de contacto responsiva */
@media (max-width: 992px) {
    .contact-section .row {
        flex-direction: column;
    }

    #map {
        height: 300px;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 20px;
    }
}

/* Footer responsivo */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
}

/* Estilos responsivos para la sección de testimonios */
@media (max-width: 1200px) {
    .company-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .trusted-companies {
        padding: 50px 0;
    }

    .company-item {
        flex: 0 0 100%;
    }

    .company-item img {
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .trusted-companies {
        padding: 30px 0;
    }

    .company-item {
        padding: 10px;
    }

    .company-item img {
        max-width: 120px;
    }

    .company-description {
        font-size: 14px;
    }
}

/* Ajustes para los botones del carrusel en móviles */
@media (max-width: 576px) {
    .carousel-button {
        font-size: 20px;
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
}

/* Ajustes adicionales para dispositivos muy pequeños */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.5rem;
    }

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

    .section-title {
        font-size: 1.5rem;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* Media queries actualizados para responsividad */
@media (max-width: 1200px) {
    .services-grid {
        width: 95%;
        gap: 10px;
    }
    
    .service-item {
        min-width: 350px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        flex-direction: column;
        width: 90%;
    }
    
    .service-item {
        width: 100%;
        min-width: unset;
        height: 400px; /* Altura reducida para móviles */
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 50px 0;
    }

    .services-grid {
        width: 95%;
        gap: 20px;
    }
    
    .service-item {
        height: 350px; /* Altura aún más reducida para móviles pequeños */
    }

    .service-content h3 {
        font-size: 1.8rem; /* Texto más pequeño para móviles */
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        width: 100%;
        padding: 0 10px;
    }

    .service-item {
        height: 300px;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }
}

#contact-map {
    margin-left: -45px !important; 
}

/* Media queries para responsividad */
@media (max-width: 992px) {
    .contact-section .row {
        flex-direction: column !important;
        gap: 40px;
    }

    .contact-section .col-lg-7,
    .contact-section .col-lg-5 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    #contact-map {
        height: 400px;
    }

    .section-title,
    .reviews-title-small,
    .empresas-confiaron {
        margin-left: 0 !important;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 50px 0;
    }

    .contact-section .container {
        width: 95%;
    }

    #contact-map {
        height: 350px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-section .section-title {
        text-align: center;
        font-size: 2rem;
    }

    .contact-section .section-title span {
        font-size: 1.2rem;
    }

    .form-control {
        font-size: 14px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .contact-section .container {
        width: 100%;
        padding: 0 15px;
    }

    #contact-map {
        height: 300px;
        margin-left: 0px !important;
    }

    .contact-form {
        padding: 15px;
    }

    .form-control {
        padding: 10px;
        margin-bottom: 15px !important;
    }

    .boton-contacto {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Agregar estos estilos para los controles del mapa */
.leaflet-control-container .leaflet-top {
    z-index: 999 !important; /* Menor que el z-index del header que es 1000 */
}

.leaflet-control-zoom {
    z-index: 999 !important;
}

/* Asegurar que el header mantenga su z-index alto */
.header-area {
    z-index: 1000;
}

/* Ocultar la atribución de Leaflet */
.leaflet-control-attribution {
    display: none !important;
}

/* Estilos para la sección de equipo/socios */
.team-section {
    min-height: 100vh !important;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1600px; /* Aumentado para cards más anchas */
    margin: 0 auto;
    padding: 0 20px;
}

.team-card {
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: calc(33.333% - 20px);
    min-width: 400px; /* Aumentado el ancho mínimo */
    flex: 1;
}

.team-image {
    width: 100%;
    height: 400px; /* Aumentada la altura de la imagen */
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-info {
    padding: 35px; /* Aumentado el padding */
    text-align: left;
}

.team-role {
    display: block;
    color: #000;
    font-size: 1.1rem; /* Aumentado el tamaño de fuente */
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.team-name {
    font-size: 1.8rem; /* Aumentado el tamaño de fuente */
    color: #000;
    font-weight: bold;
    margin-bottom: 20px;
}

.team-description {
    color: #666;
    font-size: 1.1rem; /* Aumentado el tamaño de fuente */
    line-height: 1.6;
}

/* Media queries actualizados */
@media (max-width: 1400px) {
    .team-grid {
        max-width: 1300px;
    }
}

@media (max-width: 992px) {
    .team-grid {
        flex-direction: column;
    }
    
    .team-card {
        width: 100%;
        max-width: 600px; /* Ancho máximo en tablets */
        min-width: unset;
    }
}

@media (max-width: 768px) {
    .team-card {
        max-width: 100%;
    }
    
    .team-image {
        height: 350px;
    }
    
    .team-info {
        padding: 25px;
    }
}

/* Estilos para la sección de valores */
.values-section {
    background-color: #f8f8f8;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.values-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 50px;
}

.values-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1600px; /* Aumentado para cards más anchas */
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

.value-item {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: calc(33.333% - 20px);
    min-width: 400px; /* Aumentado el ancho mínimo */
    flex: 1;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.value-icon-wrapper {
    background-color: #f0f4f8;
    width: 100px; /* Aumentado el tamaño */
    height: 100px; /* Aumentado el tamaño */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon-wrapper {
    background-color: #1e3c72;
}

.value-icon {
    font-size: 3rem; /* Aumentado el tamaño */
    color: #2a8ebb;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    color: #ffffff;
}

.value-item h3 {
    font-size: 1.8rem; /* Aumentado el tamaño */
    color: #1e3c72;
    margin-bottom: 20px;
}

.value-item p {
    color: #666;
    font-size: 1.1rem; /* Aumentado el tamaño */
    line-height: 1.6;
}

/* Media queries actualizados */
@media (max-width: 1400px) {
    .values-grid {
        max-width: 1300px;
    }
}

@media (max-width: 992px) {
    .values-grid {
        flex-direction: column;
    }
    
    .value-item {
        width: 100%;
        max-width: 600px;
        min-width: unset;
    }
}

@media (max-width: 768px) {
    .values-section {
        padding: 50px 0;
    }

    .value-item {
        max-width: 100%;
        padding: 30px 20px;
    }
    
    .values-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

/* Estilos para el banner parallax */
.parallax-banner {
    position: relative;
    min-height: 100vh;
    background-image: url('assets/img/gallery/fondo_parallax.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}

.parallax-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.parallax-content {
    position: relative;
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    z-index: 2;
}

.parallax-text {
    max-width: 600px;
    color: #fff;
    margin-left: -5%;
    padding: 40px;
}

.parallax-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.parallax-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.parallax-button {
    display: inline-block;
    padding: 15px 30px;
    background: none;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.parallax-button::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 50%;
    height: 2px;
    background: #fff;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.parallax-button:hover::after {
    width: 70%;
    background: #d82724;
}

/* Media queries para el banner parallax */
@media (max-width: 768px) {
    .parallax-banner {
        background-attachment: scroll;
    }

    .parallax-text {
        margin: 0 auto;
        text-align: center;
        padding: 20px;
    }

    .parallax-text h2 {
        font-size: 2rem;
    }

    .parallax-text p {
        font-size: 1rem;
    }
}

/* Estilos para el banner del sistema */
.system-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: none; /* Eliminar cualquier fondo */
}

.system-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinear contenido a la izquierda */
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.945);
    z-index: 2;
}

/* Actualizar el overlay para hacerlo más oscuro */
.system-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.986); /* Overlay más oscuro */
    z-index: 2;
}

/* Asegurar que el texto tenga buen contraste */
.system-banner .system-text {
    position: relative;
    z-index: 3;
    text-align: right; /* Cambiar a alineación derecha */
    color: #fff;
    max-width: 600px;
    padding: 0 40px;
    margin-left: auto; /* Quitar margin-left */
    margin-right: 5%; /* Agregar margin-right */
    text-shadow: 0 1px 3px rgba(0,0,0,0.3); /* Sombra sutil para mejor legibilidad */
}

.system-text {
    position: relative;
    z-index: 3;
    text-align: left;
    color: #fff;
    max-width: 600px;
    padding: 0 40px;
    margin-left: 5%;
}

.system-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.system-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.system-button {
    display: inline-block;
    padding: 15px 30px;
    background: none !important;
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.system-button:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.system-button::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 50%;
    height: 2px;
    background: #fff;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.system-button:hover::after {
    width: 70%;
    background: #d82724;
}

@media (max-width: 768px) {
    .system-text {
        text-align: center;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .system-text h2 {
        font-size: 2rem;
    }

    .system-text p {
        font-size: 1rem;
    }
}

/* Media queries para pantallas de escritorio */

/* Pantallas grandes (1400px y superiores) */
@media (min-width: 1400px) {
    /* Contenedores */
    .container {
        max-width: 1320px;
        margin: 0 auto;
    }

    /* Hero section */
    .hero-title {
        font-size: 4rem;
    }

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

    /* Servicios */
    .services-grid {
        max-width: 1400px;
        gap: 30px;
    }

    .service-item {
        min-width: 450px;
        height: 600px;
    }

    .service-content h3 {
        font-size: 2.5rem;
    }

    /* Sección de equipo */
    .team-grid {
        max-width: 1400px;
        gap: 40px;
    }

    .team-card {
        min-width: 450px;
    }

    .team-image {
        height: 450px;
    }

    /* Sección de valores */
    .values-grid {
        max-width: 1400px;
        gap: 40px;
    }

    .value-item {
        min-width: 450px;
        padding: 50px 40px;
    }

    /* Sección de contacto */
    #contact-map {
        height: 600px;
    }

    .contact-form {
        padding: 40px;
    }
}

/* Pantallas extra grandes (1600px y superiores) */
@media (min-width: 1600px) {
    .container {
        max-width: 1520px;
    }

    /* Header */
    .header-area {
        height: 100px;
        padding: 0 4rem;
    }

    .logo img {
        height: 55px;
    }

    /* Hero section */
    .hero-title {
        font-size: 4.5rem;
    }

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

    /* Servicios */
    .services-grid {
        max-width: 1600px;
    }

    .service-item {
        min-width: 500px;
        height: 700px;
    }

    /* Reviews */
    .reviews-container {
        max-width: 1600px;
    }

    .review-card {
        min-width: 500px;
        padding: 35px;
    }

    /* Sección de equipo */
    .team-grid {
        max-width: 1600px;
    }

    .team-card {
        min-width: 500px;
    }

    .team-image {
        height: 500px;
    }

    /* Sección de valores */
    .values-grid {
        max-width: 1600px;
    }

    .value-item {
        min-width: 500px;
    }

    /* Footer */
    .footer-content {
        max-width: 1520px;
    }

    .footer-grid {
        gap: 60px;
    }
}

/* Pantallas ultra anchas (1920px y superiores) */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }

    /* Hero section */
    .hero-title {
        font-size: 5rem;
    }

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

    /* Servicios */
    .services-grid {
        max-width: 1800px;
    }

    .service-item {
        min-width: 580px;
        height: 800px;
    }

    .service-content h3 {
        font-size: 3rem;
    }

    /* Reviews */
    .reviews-container {
        max-width: 1800px;
    }

    .review-card {
        min-width: 580px;
        padding: 40px;
    }

    /* Sección de equipo */
    .team-grid {
        max-width: 1800px;
    }

    .team-card {
        min-width: 580px;
    }

    .team-image {
        height: 580px;
    }

    /* Sección de valores */
    .values-grid {
        max-width: 1800px;
    }

    .value-item {
        min-width: 580px;
        padding: 60px 50px;
    }

    /* Sección de contacto */
    #contact-map {
        height: 700px;
    }

    .contact-form {
        padding: 50px;
    }

    /* Footer */
    .footer-content {
        max-width: 1800px;
    }
}

/* Ajustes específicos para monitores de alta resolución */
@media (min-width: 2560px) {
    .container {
        max-width: 2200px;
    }

    /* Hero section */
    .hero-title {
        font-size: 6rem;
    }

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

    /* Servicios */
    .services-grid {
        max-width: 2200px;
        gap: 50px;
    }

    .service-item {
        min-width: 700px;
        height: 900px;
    }

    /* Reviews */
    .reviews-container {
        max-width: 2200px;
    }

    .review-card {
        min-width: 700px;
        padding: 50px;
    }

    /* Sección de equipo */
    .team-grid {
        max-width: 2200px;
        gap: 50px;
    }

    .team-card {
        min-width: 700px;
    }

    .team-image {
        height: 700px;
    }

    /* Sección de valores */
    .values-grid {
        max-width: 2200px;
        gap: 50px;
    }

    .value-item {
        min-width: 700px;
        padding: 70px 60px;
    }

    /* Footer */
    .footer-content {
        max-width: 2200px;
    }

    .footer-grid {
        gap: 80px;
    }
}

/* Ajustes para proporciones de pantalla específicas */
@media (min-width: 1400px) and (min-height: 1000px) {
    .hero-section,
    .full-banner-nosotros,
    .services-section,
    .team-section,
    .values-section {
        min-height: 80vh;
    }
}

/* Ajustes para monitores ultrawide */
@media (min-width: 2560px) and (max-height: 1440px) {
    .hero-section,
    .full-banner-nosotros,
    .services-section,
    .team-section,
    .values-section {
        min-height: 100vh;
    }

    .container {
        padding: 0 100px;
    }
}


