/* Fuente Roboto y Reset */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

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

body {
    font-family: 'Roboto', sans-serif;
}

/* ---------- Header ---------- */
header {
    background-color: #3d6d8d;
    color: white;
}

.img-banner {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* ---------- Navbar ---------- */
.navbar-dark .nav-link {
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-dark .nav-link:hover {
    color: #dce8f0;
}

/* ---------- Títulos de Sección ---------- */
.barra-seccion {
    background-color: #3d6d8d;
    padding: 12px 0;
    text-align: center;
    margin-bottom: 20px;
}

.barra-seccion h2 {
    color: white;
    font-size: 28px;
    margin: 0;
}

/* ---------- Representante Oficial ---------- */
.logo-xcmg {
    width: 400px;
    height: auto;
    display: block;
    margin: 40px auto;
}

/* ---------- Ubicación ---------- */
.ubicacion {
    text-align: center;
    padding: 40px 0;
    background-color: #f2f2f2;
}

.mapas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.mapas iframe {
    width: 400px;
    height: 300px;
    border: none;
    border-radius: 8px;
}

/* ---------- Secciones con texto e imagen ---------- */
.nosotros {
    padding: 40px;
}

.contenido-nosotros {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.contenido-nosotros p {
    max-width: 500px;
    font-size: 17px;
    line-height: 1.6;
    text-align: left;
}

.img-nosotros {
    width: 300px;
    height: auto;
    border-radius: 8px;
}

.img-alquiler {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
}

.img-contacto {
    max-width: 180px;
    height: auto;
    margin-top: -10px;
}

img-seccion {
    max-width: 180px;
    height: auto;
    margin-top: -10px;
}


/* ---------- Tarjetas de productos ---------- */
.tarjetas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    padding: 30px;
    justify-items: center;
}

.tarjeta {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    width: 260px;
}

.tarjeta img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.tarjeta h4 {
    color: #3d6d8d;
    font-size: 20px;
    margin-bottom: 8px;
}

.tarjeta p {
    font-size: 14px;
    color: #444;
    line-height: 1.4;
}

/* ---------- Botón dentro de tarjetas ---------- */
.btn-enviar {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #3d6d8d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-enviar:hover {
    background-color: #345b74;
}

/* ---------- Footer ---------- */
.footer {
    background-color: #3d6d8d;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    color: white;
}

.footer-redes a {
    color: white;
    transition: color 0.3s ease;
}

.footer-redes a:hover {
    color: #dce8f0;
}

.footer-redes i {
    font-size: 10rem;
    margin: 0 10px;
}

.footer-texto {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 10px;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 768px) {
    .contenido-nosotros {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mapas {
        flex-direction: column;
    }

    .img-nosotros {
        margin-top: 20px;
    }
}
/* ---------- Imágenes de la sección venta ---------- */
.img-venta {
    width: 300px;
    height: auto;
    border-radius: 8px;
}