
body {
    font-family: 'Arial', sans-serif;
} 
.animate-on-scroll,
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ------------ CONTENEDOR GENERAL ------------ */

.section-container {
    text-align: center;
    margin-top: 5%;
}

.containers {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
    box-sizing: border-box;
    margin-right: auto;
    margin-left: auto;
    max-width: 1400px;
}

/* ------------ LOCATIONS (TABS CON MAPAS) ------------ */

.locations-container {
    width: 100%;
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.locations-title {
    font-size: 22px;
    margin-bottom: 30px;
    color: #222;
    text-align: center;
}

.maps {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
}

.location-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.location-item h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #222;
    font-weight: 600;
    text-align: center;
}

.map-city {
    border-radius: 20px;
    margin-bottom: 10px;
    height: 300px;
}

.maps p {
    font-size: 22px!important;
    color: #555;
    
}

.location-item iframe {
    border-radius: 8px;
    margin-bottom: 15px;
}

.location-item p {
    font-size: 1.8vh;
    font-weight: bold;
    margin: 8px 0;
    text-align: center;
}

.location-item a {
    color: #C70C00;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.location-item a:hover {
    color: #9f0b01;
    text-decoration: underline;
}

.location-item a:visited {
    color: #C70C00;
}

/* ------------ FORMULARIO DE COTIZACIÓN ------------ */

.quotes-form {
    width: 100%;
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
}

input, select, textarea {
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fdfdfd;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    border-color: #999;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

textarea {
    resize: vertical;
}

.form-row.form-message {
    margin-bottom: 0;
}

.form-row.form-message .form-group {
    flex: 1;
    margin: 0;
}

/* ------------ BOTÓN DE ENVÍO ------------ */


.btn-send {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 20px;
    margin-right: 20%;
}

.btn-send button {
    padding: 12px 24px;
    background: #C70C00;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-send button:hover {
    background: #9f0b01;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
    .containers {
        padding: 20px;
        gap: 30px;
    }

    .locations-container {
        padding: 20px;
    }

    .maps {
        flex-direction: column;
        gap: 25px;
    }

    .location-item {
        width: 100%;
    }

    .location-item h2 {
        font-size: 20px;
    }

    .location-item p {
        font-size: 2vh;
    }

    .quotes-form {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .containers > a > button {
        width: 100%;
    }
}
