
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;
    justify-content: space-between;
    gap: 40px;
    padding: 40px;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

/* ------------ LOCATIONS (TABS CON MAPAS) ------------ */

.locations {
    width: 48%;
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.locations h1 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #222;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 16px;
    border: none;
    background-color: #FDFDFD;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: 500;
}

.tab-button:hover {
    background-color: #C70C00;
    color: #FDFDFD;
    transform: translateY(-1px);
}

.tab-button.active {
    background-color: #555;
    color: white;
}

.tab-button.active:hover {
    background-color: #373737;
    color: white;
}

.maps > div {
    display: none;
}

.maps > div.active {
    display: block;
}

.map-city {
    border-radius: 20px;
    margin-bottom: 10px;
    height: 300px;
}

.maps p {
    font-size: 22px!important;
    color: #555;
    
}

.nog p, .hmo p, .gys p {
    font-size: 2.5vh;
    font-weight: bold;
}

/* ------------ FORMULARIO DE COTIZACIÓN ------------ */

.quotes-form {
    width: 48%;
    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 {
        flex-direction: column;
        padding: 20px;
    }

    .locations, .quotes-form {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .containers > a > button {
        width: 100%;
    }
}
