*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#f5f5f5;
    color:#333;
}

header{
    background-color: white;
    height: 85px;

    position: fixed;
    top:0;
    left:0;

    width:100%;
    z-index:1000;

    display:flex;
    align-items:center;
}

.header-container{
    width:100%;
    max-width:1200px;
    margin:auto;
    margin-top: -15px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 20px;
}

.logo{

    height:120px;
    width:auto;
}

.logo-link{
    display:flex;
    align-items:center;
    gap:15px;

    color:black;
    text-decoration:none;
    font-weight:bold;
}

nav a{
    color:black;
    text-decoration:none;
    margin-left:25px;
    font-weight:500;
}

#inicio{
    margin-top:80px;
    height:45vh;


    background:
    linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.45)
    ),
    url("imgTransporte/turismo.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-texto{
    color:white;
}

.hero-texto h1{
    font-size:4rem;
}

.hero-texto p{
    margin-top:15px;
    font-size:1.2rem;
}

.contenido{
    max-width:1200px;
    margin:auto;
    padding:60px 20px;
}

.contenido p{
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.tarjeta{
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

h2{
    color:rgb(189,69,69);
    margin-bottom:20px;
}

#presentacion{
    max-width:1200px;
    margin:auto;
    padding:60px 20px;

    display:grid;
    grid-template-columns:350px 1fr;
    gap:50px;
}

.video video{
    width: 80%;
    border-radius:20px;
}

.mision{
    background:white;
    padding:40px;
    border-radius:20px;
}

.mision p{
    font-size: 1.2rem;
}

.vehiculos{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.vehiculo{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.vehiculo img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.vehiculo h3{
    padding:20px 20px 5px;
    color:rgb(189,69,69);
}

.vehiculo p{
    padding:0 20px 20px;
}



.certificaciones{
    max-width:1100px;
    margin:60px auto;

    padding:40px;

    background:#fafafa;

    border-right:6px solid rgb(189,69,69);

    border-radius:15px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.06);
}

.certificaciones h2{
    color:rgb(189,69,69);
    margin-bottom:20px;
}

.certificaciones p{
    font-size:1.05rem;
    line-height:1.8;
    margin-bottom:15px;
}



.lugares-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.lugar{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.lugar img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.lugar h4{
    padding:15px;
    text-align:center;
}

.redes{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:15px;
}

.red{
    display:flex;
    align-items:center;
    gap:12px;

    background:white;

    padding:14px 18px;

    border-radius:12px;

    text-decoration:none;

    color:#333;

    box-shadow:
    0 4px 12px rgba(0,0,0,.08);

    transition:all .3s ease;
}

.red img{
    width:28px;
    height:28px;
    object-fit:contain;
}

.red span{
    font-size:1rem;
}

.red:hover{
    background:rgb(189,69,69);

    color:white;

    transform:
        translateY(-4px);

    box-shadow:
    0 10px 20px rgba(189,69,69,.25);
}

.red:hover img{
    transform:scale(1.1);
}

.red img{
    transition:transform .3s ease;
}

.mapa{
    padding:60px 20px;
    text-align:center;
}

.mapa iframe{
    width:90%;
    max-width:1000px;
    height:450px;
    border:none;
    border-radius:20px;
}

.footer{
    background:rgb(189,69,69);
    color:white;
    margin-top:80px;
}
.footer-top{
    max-width:1400px;
    margin:auto;
    padding:60px 40px;

    display:grid;
    grid-template-columns:300px 1fr;
    gap:60px;
}
.footer-brand{
    text-align:center;
}

.footer-brand img{
    width:180px;
    margin-bottom:20px;
}

.footer-brand h3{
    margin-bottom:10px;
    font-size:1.5rem;
}
.footer-brand p{
    opacity:.9;
    line-height:1.8;
}
.footer-info{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.footer-card{
    background:rgba(255,255,255,.08);

    padding:25px;

    border-radius:15px;

    backdrop-filter:blur(4px);
}

.footer-card h4{
    margin-bottom:15px;
    font-size:1.1rem;
}

.footer-card p{
    line-height:1.8;
    opacity:.95;
}
.footer-bottom{
    text-align:center;

    padding:20px;

    border-top:1px solid rgba(255,255,255,.2);

    font-size:.95rem;
}

@media(max-width:1023px){

    .hero-texto h1{
        font-size:2.8rem;
    }

    #presentacion{
        grid-template-columns:1fr;
    }

    .logo{
        height:75px;
    }

    .logo-link span{
        display:none;
    }

    .video video{
        margin-left: 25%;
        width: 50%;

    }

    .header-container{
        margin-top: 0.5%;
    }

    .contenido p, h2{
        margin: 25px;
    }

    .footer-top{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-info{
        grid-template-columns:1fr;
    }
}