@import url("https://fonts.googleapis.com/css?family=Montserrat|Montserrat+Alternates|Poppins&display=swap");

 body{
    font-family: Poppins;
    margin: 0;
    background-color: #faf8f8;
    color: #000000;
}

header{
   width: 1200px;
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 50px;
    justify-content: center;
    align-items: center;
    position: fixed; /* Cambiar de relative a fixed */
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* Centrar horizontalmente */
    z-index: 1000; /* Asegurar que esté por encima de todo */ 
    backdrop-filter: blur(10px); /* Efecto de desenfoque */
    border-radius: 0 0 15px 15px; /* Bordes redondeados abajo */
    padding: 10px 20px; /* Padding adicional */
    box-shadow: 0 2px 20px rgba(255, 255, 255, 0.945); /* Sombra sutil */
    transition: all 0.3s ease; /* Transición suave */
}
header .logo{
    font-weight: bold;
}
header .menu{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: 500;
}

.menu li{
    transition: all 0.5s ease;
    width: 120px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.menu li:hover{
    background: rgb(0, 0, 0);
    color: #fff3f3;
    transform: scale(1.1);
}

a{
    all: unset;
}

.logo{
    width: 50px;
}

.icon-menu{
    cursor: pointer;
    width: 40px;
    transition: all 0.5s ease;
}

.icon-menu:hover{
    transform: scale(1.2) rotate(50deg);
}

/* Estilos para enlaces activos */
.menu li a.nav-active {
    color: #0a0b52;
    transform: scale(1.05);
}

.sidebar-menu a.nav-active {
    background: rgba(0, 212, 255, 0.2);
    border-color: #ffffff;
    color: #000000;
    transform: translateX(10px);
}

/* Scroll suave para toda la página */
html {
    scroll-behavior: smooth;
}

/* Mejora visual: transición suave para los enlaces activos */
.menu li a,
.sidebar-menu a {
    transition: all 0.3s ease;
}

/* css slider */

.slider{
    height: 100vh;
    margin-top: -50px;
    position: relative;
}
.slider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}
.slider .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(
        to top, #f0ebeb 10%, transparent
    );
}
.slider .list .item .content{
    position: absolute;
    left: 10%;
    top: 20%;
    width: 500px;
    max-width: 80%;
    z-index: 1;
}
.slider .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
}
.slider .list .item .content h2{
    font-size: 100px;
    margin: 0;
}
.slider .list .item.active{
    opacity: 1;
    z-index: 10;
}
@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}
.arrows{
    position: absolute;
    top: 30%;
    right: 50px;
    z-index: 100;
}
.arrows button{
    background-color: rgb(255, 255, 255);
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #000000;
    transition: .5s;
}
.arrows button:hover{
    background-color: #0a0a0a;
    color: black;
}

/* Menú lateral */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px; /* Oculto inicialmente */
    width: 300px;
    height: 100vh;
    background: rgba(151, 150, 150, 0.95);
    backdrop-filter: blur(1px);
    border-left: 2px solid rgba(17, 17, 17, 0.3);
    z-index: 200;
    transition: right 0.4s ease;
    padding: 80px 30px 30px;
    box-sizing: border-box;
}

.sidebar.active {
    right: 0; /* Mostrar cuando tenga la clase active */
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
}

.sidebar.active .sidebar-menu li {
    opacity: 1;
    transform: translateX(0);
}

.sidebar.active .sidebar-menu li:nth-child(1) { transition-delay: 0.1s; }
.sidebar.active .sidebar-menu li:nth-child(2) { transition-delay: 0.2s; }
.sidebar.active .sidebar-menu li:nth-child(3) { transition-delay: 0.3s; }
.sidebar.active .sidebar-menu li:nth-child(4) { transition-delay: 0.4s; }

.sidebar-menu a {
    display: block;
    color: #222121;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sidebar-menu a:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(70, 78, 80, 0.5);
    color: #000000;
    transform: translateX(10px);
}

.close-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-sidebar:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #798e92;
    transform: rotate(90deg);
}

/* Overlay para cerrar el menú */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animación del ícono del menú */
.icon-menu.active {
    transform: rotate(90deg);
}
/* Secciones de nosotros */

.servicios .info-card {
    background: rgba(240, 238, 238, 0.945);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.servicios .info-card img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: all 0.4s ease;
    z-index: 2;
}

.card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    border-radius: 20px;
}

.info-card:hover .card-content {
    opacity: 1;
    transform: translateY(0);
}

.info-card:hover img {
    opacity: 0.2;
    transform: scale(0.8);
}

.card-title {
    font-size: 1.8rem;
    color: #333333;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 25px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.card-features li {
    padding: 8px 0;
    color: #777777;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #666666;
    font-weight: bold;
}


.nosotros, .servicios{
    padding: 80px 0;
    background: rgb(238, 238, 238);
    position: relative;
    overflow: hidden;
}

.nosotros servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 0, 0, 0.03) 0%,  );
    pointer-events: none;
}

.nosotros .container .servicios {
    max-width: 1200px;
   
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.nosotros, .servicios h1 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 60px;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    font-weight: 700;
}

.servicios .nosotros h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4c4f50, #0f1111);
    border-radius: 2px;
}

.content-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.info-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(5, 5, 5, 0.2);
    border-color: rgba(109, 109, 109, 0.3);
}

.info-card h3 {
    font-size: 2rem;
    color: #333333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666666;
    margin: 0;
}

.valores-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.valores-list li {
    font-size: 1.1rem;
    color: #000000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 15, 15, 0.1);
    position: relative;
    padding-left: 25px;
    transition: all 0.3s ease;
}

.valores-list li:last-child {
    border-bottom: none;
}

.valores-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #000000;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.valores-list li:hover {
    color: #000000;
    padding-left: 35px;
}

.valores-list li:hover::before {
    transform: translateX(5px);
}

.servicios img{
    width: 50vh;

}

/* Agregar al final del archivo style.css */

/* Animaciones de scroll */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.reveal-left {
    transform: translateX(-50px);
}

.scroll-reveal.reveal-right {
    transform: translateX(50px);
}

.scroll-reveal.reveal-up {
    transform: translateY(-50px);
}

.scroll-reveal.reveal-scale {
    transform: scale(0.8);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Animación específica para títulos */
.title-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.title-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Animación stagger para elementos en grupo */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stagger-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Delays para efecto stagger */
.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }

/* Animación para formulario */
.form-reveal {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.form-reveal.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Animación para información de contacto */
.contact-info-reveal {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.contact-info-reveal.revealed {
    opacity: 1;
    transform: translateX(0);
}


.contacto {
            padding: 80px 0;
             background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            position: relative;
            overflow: hidden;
            min-height: 100vh;
        }
        
        .contacto::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 70% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
            pointer-events: none;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }
        
        .contacto h1 {
            text-align: center;
            font-size: 3.5rem;
            margin-bottom: 60px;
            color: #333333;
            text-transform: uppercase;
            letter-spacing: 3px;
            position: relative;
            font-weight: 700;
        }
        
        .contacto h1::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, #656666, #101111);
            border-radius: 2px;
        }
        
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            margin-top: 60px;
        }
        
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        .info-item {
            background: rgba(255, 255, 255, 0.9);
            padding: 30px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }
        
        .info-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.6s ease;
        }
        
        .info-item:hover::before {
            left: 100%;
        }
        
        .info-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(73, 73, 73, 0.2);
            border-color: rgba(13, 15, 15, 0.3);
        }
        
        .info-item-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .info-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #5f5f5f, #0a0c0c);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: white;
        }
        
        .info-item h3 {
            font-size: 1.5rem;
            color: #333333;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }
        
        .info-item p {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #666666;
        }
        
        .contact-form {
            background: rgba(255, 255, 255, 0.95);
            padding: 40px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        .contact-form::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            border-radius: 20px;
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .contact-form:hover::before {
            opacity: 0.3;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #19191a;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            color: #fff;
            font-size: 1rem;
            font-family: Poppins, sans-serif;
            transition: all 0.3s ease;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #abb0b1;
            box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
            background: rgba(255, 255, 255, 0.15);
        }
        
        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #999;
        }
        
        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }
        
        .submit-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #141414, #616769);
            border: none;
            border-radius: 10px;
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.6s ease;
        }
        
        .submit-btn:hover::before {
            left: 100%;
        }
        
        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        }
        
        .submit-btn:active {
            transform: translateY(0);
        }
    
/* Media Queries para hacer la página responsiva */

/* Tablets grandes y pantallas medianas (hasta 1024px) */
@media screen and (max-width: 1024px) {
    header {
        width: 95%;
        grid-template-columns: 45px 1fr 45px;
        padding: 8px 15px;
    }
    
    .menu {
        gap: 15px;
    }
    
    .menu li {
        width: 100px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .slider .list .item .content {
        left: 5%;
        width: 450px;
        max-width: 90%;
    }
    
    .slider .list .item .content h2 {
        font-size: 80px;
    }
    
    .arrows {
        right: 30px;
    }
    
    .nosotros h1, .servicios h1, .contacto h1 {
        font-size: 3rem;
    }
    
    .content-info {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .contact-content {
        gap: 40px;
    }
}

/* Tablets (hasta 768px) */
@media screen and (max-width: 768px) {
    header {
        width: 100%;
        padding: 10px 20px;
        grid-template-columns: 40px 1fr 40px;
    }
    
    .menu {
        display: none; /* Ocultar menú desktop en tablets */
    }
    
    .slider .list .item .content {
        left: 5%;
        top: 25%;
        width: 90%;
    }
    
    .slider .list .item .content h2 {
        font-size: 60px;
    }
    
    .slider .list .item .content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .arrows {
        top: 20%;
        right: 20px;
    }
    
    .arrows button {
        width: 35px;
        height: 35px;
        font-size: large;
    }
    
    .nosotros h1, .servicios h1, .contacto h1 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .content-info {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .info-card {
        padding: 30px 25px;
    }
    
    .info-card h3 {
        font-size: 1.5rem;
    }
    
    .servicios img {
        width: 40vh;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .sidebar {
        width: 280px;
        padding: 70px 25px 25px;
    }
}


/* Móviles grandes (hasta 678px) */
@media screen and (max-width: 678px) {
    header {
        padding: 8px 15px;
        border-radius: 0 0 10px 10px;
    }
    
    .logo {
        width: 35px;
    }
    
    .icon-menu {
        width: 35px;
    }

    .menu li{
        display: none;
        visibility: hidden;
    }
    
    .slider .list .item .content {
        top: 30%;
        left: 5%;
        width: 90%;
    }
    
    .slider .list .item .content h2 {
        font-size: 45px;
        line-height: 1.1;
    }
    
    .slider .list .item .content p {
        font-size: 0.85rem;
        margin-top: 15px;
    }
    
    .arrows {
        top: 15%;
        right: 15px;
    }
    
    .nosotros, .servicios, .contacto {
        padding: 60px 0;
    }
    
    .nosotros h1, .servicios h1, .contacto h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .info-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .info-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .info-card p {
        font-size: 1rem;
    }
    
    .servicios img {
        width: 35vh;
        max-width: 100%;
    }
    
    .info-item {
        padding: 20px;
    }
    
    .info-item h3 {
        font-size: 1.2rem;
    }
    
    .info-item p {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 1rem;
    }
    
    .sidebar {
        width: 250px;
        padding: 60px 20px 20px;
    }
    
    .sidebar-menu a {
        font-size: 1.1rem;
        padding: 12px 15px;
    }
}

/* Móviles pequeños (hasta 480px) */
@media screen and (max-width: 480px) {
    header {
        padding: 5px 10px;
        grid-template-columns: 30px 1fr 30px;
    }
    
    .logo {
        width: 30px;
    }
    
    .icon-menu {
        width: 30px;
    }

    .menu li{
        display: none;
        visibility: hidden;
    }
    
    .slider .list .item .content {
        top: 35%;
        left: 3%;
        width: 94%;
    }
    
    .slider .list .item .content h2 {
        font-size: 35px;
    }
    
    .slider .list .item .content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .arrows {
        top: 12%;
        right: 10px;
    }
    
    .arrows button {
        width: 30px;
        height: 30px;
        font-size: medium;
    }
    
    .nosotros h1, .servicios h1, .contacto h1 {
        font-size: 1.8rem;
        margin-bottom: 25px;
        letter-spacing: 1px;
    }
    
    .nosotros h1::after, .servicios h1::after, .contacto h1::after {
        width: 60px;
        height: 3px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .info-card {
        padding: 20px 15px;
    }
    
    .info-card h3 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .info-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .servicios img {
        width: 30vh;
        max-width: 90%;
    }
    
    .info-item {
        padding: 15px;
    }
    
    .info-item-header {
        gap: 10px;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .info-item h3 {
        font-size: 1.1rem;
    }
    
    .info-item p {
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    
    .sidebar {
        width: 220px;
        padding: 50px 15px 15px;
    }
    
    .close-sidebar {
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
    
    .sidebar-menu a {
        font-size: 1rem;
        padding: 10px 12px;
    }
}

/* Móviles muy pequeños (hasta 360px) */
@media screen and (max-width: 360px) {
    .slider .list .item .content h2 {
        font-size: 28px;
    }
    
    .slider .list .item .content p {
        font-size: 0.75rem;
    }
    
    .nosotros h1, .servicios h1, .contacto h1 {
        font-size: 1.6rem;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
    }
    
    .servicios img {
        width: 25vh;
    }

    .menu li{
        display: none;
        visibility: hidden;
    }
    
    .sidebar {
        width: 200px;
    }
}

/* Orientación landscape para móviles */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .slider .list .item .content {
        top: 15%;
        left: 5%;
    }
    
    .slider .list .item .content h2 {
        font-size: 40px;
    }
    
    .arrows {
        top: 20%;
    }
    
    .nosotros, .servicios, .contacto {
        padding: 40px 0;
    }
}

/* Ajustes específicos para el menú sidebar en diferentes tamaños */
@media screen and (max-width: 768px) {
    .sidebar-overlay.active {
        backdrop-filter: blur(5px);
    }
}

/* Mejoras adicionales para muy pantallas grandes */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .slider .list .item .content h2 {
        font-size: 120px;
    }
    
    .nosotros h1, .servicios h1, .contacto h1 {
        font-size: 4rem;
    }
}