
        *{
            margin:0;
            padding:0;
            box-sizing:border-box;
            font-family: 'Segoe UI', sans-serif;
        }

        body{
            background:#0075c9;
        }

        /* HEADER */
        header{
            background:#ff6c0c;
            color:white;
            position:fixed;
            width:100%;
            top:0;
            z-index:1000;
            box-shadow:0 2px 5px rgba(0,0,0,0.3);
        }

        .nav{
            display:flex;
            justify-content:space-between;
            align-items:center;
            padding:15px 50px;
        }

        .logo{
            font-size:24px;
            font-weight:bold;
            color:#00c3ff;
        }
        .logo img{
            
            height: 50px;
            width: auto;

        }

        .menu a{
            color:white;
            text-decoration:none;
            margin-left:25px;
            font-weight:500;
            transition:0.3s;
        }

        .menu a:hover{
            color:#00c3ff;
        }

        /* HERO */
        .hero{
            height:100vh;
            background:linear-gradient(rgba(0, 117, 201, 0.7), rgba(255, 108, 12, 0.7)),
            url('https://images.unsplash.com/photo-1581091870627-3f89c8b1eaf0');
            background-size:cover;
            background-position:center;
            display:flex;
            align-items:center;
            justify-content:center;
            text-align:center;
            color:white;
            padding-top:80px;
        }

        .hero h1{
            font-size:50px;
        }

        .hero p{
            margin-top:15px;
            font-size:20px;
        }

        .btn{
            margin-top:20px;
            padding:12px 25px;
            background:#00c3ff;
            border:none;
            color:white;
            font-size:16px;
            cursor:pointer;
            border-radius:5px;
        }

        /* SECCIONES */
        section{
            padding:80px 50px;
        }

        .title{
            text-align:center;
            margin-bottom:40px;
        }

        .title h2{
            font-size:32px;
            color:#f9fbfc;
        }

        /* SERVICIOS */
        .cards{
            display:grid;
            grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
            gap:20px;
        }

        .card{
            background:white;
            padding:25px;
            border-radius:10px;
            box-shadow:0 5px 15px rgba(0,0,0,0.1);
            transition:0.3s;
        }
        .card img{
            width: 60px;
            height: 60px;
            

        }

        .card:hover{
            transform:translateY(-5px);
        }

    /* apartado de nosotros */
.nosotros{
    background:#0075c9;
    padding:100px 50px;
}

.container{
    max-width:1200px;
    margin:auto;
}

.nosotros-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
    flex-wrap:wrap;
}

.nosotros-text{
    flex:1;
}

.nosotros-text h2{
    font-size:38px;
    color:#cbced4;
    margin-bottom:20px;
}

.nosotros-text p{
    font-size:18px;
    color:#fafafa;
    line-height:1.6;
    margin-bottom:15px;
}

.nosotros-img{
    flex:1;
    display:flex;
    justify-content:center;
}

.nosotros-img img{
    width:100%;
    max-width:450px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

/* ANIMACIÓN */
.hidden{
    opacity:0;
    transform:translateY(60px);
    transition:all 1s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

        /* CONTACTO */
        .contact{
            text-align:center;
        }

        input, textarea{
            width:100%;
            max-width:500px;
            padding:10px;
            margin:10px 0;
            border-radius:5px;
            border:1px solid #ccc;
        }

        footer{
            background:#0075c9;
            color:white;
            text-align:center;
            padding:20px;
        }
    
    /* seccion hero  */
    .hero{
    height:100vh;
    position:relative;
    overflow:hidden;
}

.carousel{
    width:100%;
    height:100%;
    position:relative;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    opacity:0;
    transform:scale(1.1);
    transition:opacity 1.5s ease, transform 6s ease;
}

.slide.active{
    opacity:1;
    transform:scale(1);
}

.overlay{
    background:rgba(10,31,68,0.6);
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding-top:80px;
}

.overlay h1{
    font-size:50px;
}

.overlay p{
    margin-top:15px;
    font-size:20px;
}

/* seccion de partners */
.partners{
    background:#0075c9;
    padding:60px 0;
}

.logos-container{
    overflow:hidden;
    width:100%;
    position:relative;
}

.logos-track{
    display:flex;
    width:max-content;
    animation:scroll 20s linear infinite;
}

.logos-track img{
    width:150px;
    margin:0 40px;
    filter:grayscale(100%);
    opacity:0.7;
    transition:0.3s;
}

.logos-track img:hover{
    filter:grayscale(0%);
    opacity:1;
    transform:scale(1.1);
}

/* ANIMACIÓN */
@keyframes scroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* secciones nuevas, servicio, contacto mas */
/* Mejora en el título */
.title p {
    color: #0e0d0d;
    font-size: 18px;
    margin-top: 10px;
}

/* Iconos en las tarjetas de servicios */
.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* Grid de sucursales ####################################### */

/* Sección de Sucursales */
#sucursales {
    background: #0075c9;
    padding: 80px 50px;
}

.sucursales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.sucursal-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sucursal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.sucursal-mapa {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.sucursal-mapa iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.sucursal-info {
    padding: 20px;
}

.sucursal-info h3 {
    font-size: 22px;
    color: #0a1f44;
    margin-bottom: 15px;
    border-left: 4px solid #ee5904;
    padding-left: 12px;
}

.info-detalle {
    margin-bottom: 20px;
}

.detalle-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.detalle-icono {
    font-size: 18px;
    min-width: 28px;
    color: #ee5904;
}

.detalle-item p {
    margin: 0;
    color: #4a5568;
    line-height: 1.4;
    font-size: 14px;
}

.btn-sucursal {
    display: inline-block;
    background: #ee5904;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.btn-sucursal:hover {
    background: #c44700;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    #sucursales {
        padding: 50px 20px;
    }
    
    .sucursales-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .sucursal-mapa {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .sucursal-info h3 {
        font-size: 20px;
    }
    
    .detalle-item p {
        font-size: 13px;
    }
}

/* Contacto rediseñado */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 28px;
    background: #ee5904;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    color: #0a1f44;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    line-height: 1.4;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ee5904;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .products-grid {
        gap: 20px;
    }
    
    .card-icon {
        font-size: 36px;
    }
}

/* ===== MENU HAMBURGUESA ===== */

.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
    .menu {
    transform: translateY(-20px);
    opacity: 0;
}

.menu.active {
    transform: translateY(0);
    opacity: 1;
}

    .nav {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
        color: white;
    }

    .menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #b84e11;

        display: flex;
        flex-direction: column;
        align-items: center;

        max-height: 0;
        overflow: hidden;
        transition: 0.4s ease;
    }

    .menu a {
        margin: 15px 0;
        font-size: 18px;
    }

    .menu.active {
        max-height: 300px;
    }
}

/* ===== RESPONSIVE GENERAL ===== */

@media (max-width: 768px) {

    /* HERO */
    .overlay h1 {
        font-size: 28px;
    }

    .overlay p {
        font-size: 16px;
    }

    /* SECCIONES */
    section {
        padding: 60px 20px;
    }

    /* NOSOTROS */
    .nosotros-content {
        flex-direction: column;
        text-align: center;
    }

    .nosotros-text h2 {
        font-size: 28px;
    }

    .nosotros-text p {
        font-size: 16px;
    }

    /* CARDS */
    .cards {
        grid-template-columns: 1fr;
    }

    /* LOGOS */
    .logos-track img {
        width: 100px;
        margin: 0 20px;
    }
}
/* animacion al abrir el menu */
