* {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #15abe3;
    transition: all 0.2s ease;
}

span {
    color: #15abe3;
    padding-left: 8px;
    padding-right: 8px;
    transition: all 0.2s ease;
    border-bottom: 4px solid #15abe3;
}

span:hover {
    text-shadow: 0px 3px 7px rgba(0, 187, 253, 0.30);
}

a:hover {
    color: #2857a7;
}

input{
    height: 4vh;
    margin-right: 20px;
    border-radius: 10px;
    font-size: 15px;
    color: rgb(0, 0, 0);
    text-align: center;
}

/* ============ BOTÓN HOME FLOTANTE ============ */
#home-btn {
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 1rem;
    left: 2vw;
    width: clamp(60px, 7vw, 160px);
    height: auto;
    z-index: 9999;
}

#home-btn > a {
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

#home-btn img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

#home-btn > a:hover {
    transform: translateY(-5px);
}

/* ============ BANNER RESPONSIVO ============ */
#banner {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    line-height: 0;
    box-shadow: 10px 10px 24px 0px rgba(0,0,0,0.6);
}

#banner img {
    width: 100%;
    height: auto;
    display: block;
    
    object-fit: cover;
}

/* ============ TEXTO PRINCIPAL ============ */
#main-text {
    margin: 0;
    text-align: center;
    padding: 8vh 8vw;
    transition: all 0.3s ease;
}

#main-text:hover {
    background-color: #15abe3;
}

#mit-logo {
    background-image: url('img/w.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 30vh;
    margin-bottom: 5vh;
    transition: all 0.3s ease;
}

#main-text:hover #mit-logo,
#mit-logo:hover {
    background-image: url('img/bb.png');
}

#main-text:hover h1,
#main-text:hover h3,
#main-text:hover h5,
#main-text:hover p {
    color: #ffffff;
}

#main-text:hover span {
    color: #ffffff;
}

#main-text:hover a {
    color: #ffffff;
}

#main-text h1,
#main-text p {
    color: #0a0a0a;
}

#main-text h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
}

#main-text p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
}

.cta-principal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-whatsapp-grande {
    display: grid;
    background: #25D366;
    color: white;
    padding: 14px 32px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-whatsapp-grande:hover {
    transform: scale(1.03);
    background: #ffffff;
    color: #068bbb;
}

.btn-secundario {
    background: transparent;
    color: #15abe3;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    border: 2px solid #15abe3;
    transition: all 0.3s ease;
}

.btn-secundario:hover {
    background: #15abe3;
    color: white;
}

/* ============ CARRUSEL ============ */
#carrusel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    background-color: #15abe3;
    padding: 20px 0;
    padding-right: 10vw;
    padding-left: 10vw;
    padding-bottom: 10vh;
    text-align: center;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
}


#imp{
    max-width: 10vw;
    height: auto;
}


#carrusel-wrapper {
    display: flex;
    gap: 20px;
    padding: 2vw;
    background-color: #068bbb;
    border-radius: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    margin-top: 2vh;
}

#carrusel-wrapper::-webkit-scrollbar {
    height: 6px;
}

#carrusel-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

#carrusel-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

#carrusel > img {
    padding-top: 2vh;
    height: 20vh;
    width: auto;
    transition: all 0.3s ease;
}

#carrusel>h3{
    padding-top: 1vh;
    font-size: 25px;
    color: white;
    transition: all 0.3s ease;
}

#carrusel>h5{

    font-size: 15px;
    color: white;
    transition: all 0.3s ease;
}

#carrusel:hover>h3,
#carrusel:hover>h5,
#carrusel:hover>img{
    transform: translateY(-10px);
} 

.car {
    display: flex;
    flex-direction: column;
    min-width: 280px;
    max-width: 320px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.car:hover {
    transform: translateY(-5px);
}

.car img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.car h4 {
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    margin: 10px 0 5px 0;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.5);
}

.car p {
    text-align: center;
    color: #ffcc00;
    font-size: 0.85rem;
    margin: 5px 0;
    font-weight: bold;
}

.modelos-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    max-height: 250px;
    overflow-y: auto;
}

.modelos-wrapper h3 {
    background-color: #068bbb;
    border: 1px solid white;
    border-radius: 20px;
    padding: 4px 10px;
    margin: 0;
    font-size: 0.75rem;
    font-weight: normal;
    color: white;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.modelos-wrapper h3:hover {
    background-color: #ffcc00;
    color: #0a0a0a;
    border-color: #ffcc00;
}

.modelos-wrapper::-webkit-scrollbar {
    width: 4px;
}

.modelos-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.modelos-wrapper::-webkit-scrollbar-thumb {
    background: #068bbb;
    border-radius: 10px;
}

.beneficios-b2b {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
    padding: 0 5vw;
}

.beneficio {
    text-align: center;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.beneficio:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.beneficio-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.beneficio h4 {
    color: #1a1a1a;
    margin-bottom: 10px;
}

.beneficio p {
    color: #555;
    font-size: 0.85rem;
}

/* ============ FOOTER MITSUBOSHI ============ */
.footer-mitsuboshi {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    width: 100%;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 5vw 40px;
}

.footer-grid h4 {
    color: #15abe3;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-grid p {
    color: #cccccc;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-grid a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-grid a:hover {
    color: #15abe3;
    transform: translateX(3px);
}

/* Logo en footer */
.footer-grid img {
    margin-bottom: 15px;
    max-height: 50px;
    width: auto;
}

/* Redes sociales en footer */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(21, 171, 227, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #15abe3;
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* Línea divisoria */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #15abe3, transparent);
    width: 100%;
    margin: 0 auto;
}

/* Bottom footer */
.footer-bottom {
    text-align: center;
    padding: 25px 5vw 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #888888;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    margin: 5px 0;
}

.footer-bottom a {
    color: #15abe3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* ============ RESPONSIVE FOOTER ============ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 40px 5vw 30px;
    }

    .footer-grid h4 {
        margin-bottom: 15px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        padding: 20px 5vw 25px;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        gap: 25px;
        padding: 30px 5vw 25px;
    }

    .footer-bottom p {
        font-size: 0.65rem;
    }
}


@media (max-width: 768px) {
    .beneficios-b2b {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* ============ RESPONSIVE TABLETS ============ */
@media (max-width: 1024px) and (min-width: 769px) {
    #carrusel-wrapper {
        display: flex;
        gap: 10px;
    }

    .car {
        min-width: 260px;
        max-width: 300px;
    }

    .car img {
        height: 200px;
    }

    #home-btn {
        width: clamp(40px, 7vw, 100px);
        top: 0.8rem;
        left: 1.5vw;
    }
}

/* ============ RESPONSIVE MÓVILES ============ */
@media (max-width: 768px) {
    #banner img {
        height: 7vh;
        object-fit: cover;
        object-position: left;
    }

    #main-text {
        padding: 4vh 4vw;
    }

    #carrusel-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        padding: 10px 15px;
    }

    .car {
        min-width: 400px;
        max-width: 420px;
    }

    .car img {
        height: 250px;
    }

    .car h4 {
        font-size: 0.9rem;
    }

    .car p {
        font-size: 0.8rem;
    }

    #home-btn {
        width: clamp(35px, 12vw, 70px);
        top: 0.2rem;
        left: 2rem;
    }

    #home-btn>a>img {
        width:20vw;
    }

    .modelos-wrapper {
        max-height: 200px;
    }

    .modelos-wrapper h3 {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

/* ============ RESPONSIVE MÓVILES PEQUEÑOS ============ */
@media (max-width: 480px) {
    #main-text {
        padding: 3vh 3vw;
    }

    #carrusel-wrapper {
        gap: 12px;
        padding: 8px 12px;
    }

    .car {
        min-width: 240px;
        max-width: 260px;
    }

    .car img {
        height: 160px;
    }

    .car h4 {
        font-size: 0.85rem;
    }

    #home-btn {
        width: clamp(35px, 25vw, 55px);
        top: 0.5rem;
        left: 0.8rem;
    }

    #home-btn>a>img{
        width: 30vw;
    }

    .modelos-wrapper {
        max-height: 180px;
    }
}

/* ============ PANTALLAS GRANDES ============ */
@media (min-width: 1400px) {
    #banner {
        max-height: 40vh;
    }

    #banner img {
        object-fit: cover;
    }

    .car {
        min-width: 320px;
        max-width: 350px;
    }

    .car img {
        height: 240px;
    }

    #home-btn {
        width: clamp(80px, 6vw, 160px);
        left: 3vw;
    }
}