*,
*::before,
*::after{

    box-sizing:border-box;

}

.btn-contacto {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* ==========================================
   CONTENEDOR PRINCIPAL
   ========================================== */
.ubicacion {
    width: min(1400px, 92vw);
    min-height: 100vh;

    display: grid;
    grid-template-columns: minmax(320px, 520px) minmax(360px, 580px);
    justify-content: center;
    align-items: center;
    gap: 70px;

    padding: 80px 0;
    max-width: none;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ==========================================
   SECCIÓN DE INFORMACIÓN
   ========================================== */
.info {
    width: 100%;
    min-width: 0;
}

.info h1 {
    font-size: clamp(36px, 5vw, 60px); /* Tamaño fluido que se adapta al zoom */
    font-weight: 700;
    margin-bottom: 20px;
    line-height:1.1;
    margin-top: 10px;
}

.info h1 span {
    color: #ff0000;
}

.info p {
    color: #b8b8b8;
    font-size: 18px; /* Un tamaño más estándar y legible */
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ==========================================
   DATOS DE CONTACTO
   ========================================== */
.dato {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.dato h3 {
    color: red;
    font-size: 12px;
    margin-bottom: 4px;
}

.dato span {
    color: #ececec;
    font-size: clamp(16px, 2vw, 24px); /* Evita que el texto gigante rompa el contenedor */
    font-weight: 300;
}

.icono {
    width:clamp(40px,4vw,55px);
    height:clamp(40px,4vw,55px);
    border: 1px solid red;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
    font-size:clamp(18px,2vw,24px);
    flex-shrink: 0;
}
/* ==========================================
   BOTÓN
   ========================================== */
.btn-contacto {
    margin-top: 22px;
    width: 100%;
    max-width: 290px; /* No se deformará al escalar */
    height:clamp(55px,5vw,65px);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size:clamp(16px,1.4vw,20px);
    color: white;
    background: linear-gradient(90deg, #860000, #b60000);
    transition: .3s;
    box-shadow: 0 0 20px rgba(255,0,.15);
}

.btn-contacto:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255,0,.4);
}

/* ==========================================
   MAPA
   ========================================== */
.mapa {
    width: 100%;
    max-width: 580px;
    height: clamp(260px, 24vw, 360px);

    justify-self: center;

    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    background: #202020;
    position: relative;
}

.mapa iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================
   SELECTOR SUCURSAL
   ========================================== */
.selector-sucursal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.selector-sucursal h2 {
    min-width: 220px;
    text-align: center;
    font-size: 23px;
    color: #ff0000;
    font-weight: 600;
}

.flecha {
    width: 45px;
    height: 45px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #222;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
}

.flecha:hover {
    background: #b60000;
    transform: scale(1.08);
}

/* ==========================================
   INDICADORES
   ========================================== */
.indicadores {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.punto {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #666;
    cursor: pointer;
    transition: .3s;
}

.punto:hover {
    transform: scale(1.25);
}

.punto.activo {
    background: #ff0000;
}


/* ==========================================
   RESPONSIVE / MEDIA QUERIES
   ========================================== */
/* =========================================================
   UBICACIÓN - ESCRITORIO GRANDE
   1600px en adelante
========================================================= */

@media (min-width: 1600px) {

    .ubicacion {
        width: min(94vw, 1700px);
        min-height: calc(100svh - 96px);

        grid-template-columns: minmax(560px, 0.82fr) minmax(780px, 1.18fr);
        gap: clamp(80px, 5vw, 130px);

        padding: 80px 0;
    }

    .info h1 {
        font-size: clamp(68px, 3.6vw, 84px);
        line-height: 1.04;
        letter-spacing: -1.6px;
        margin-bottom: 28px;
    }

    .info p {
        font-size: clamp(20px, 1vw, 24px);
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .selector-sucursal {
        gap: 24px;
        margin-bottom: 28px;
    }

    .selector-sucursal h2 {
        min-width: 300px;
        font-size: 30px;
    }

    .flecha {
        width: 56px;
        height: 56px;
        font-size: 27px;
    }

    .dato {
        gap: 28px;
        margin-bottom: 30px;
    }

    .dato h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .dato span {
        font-size: clamp(20px, 1.1vw, 26px);
        line-height: 1.35;
    }

    .icono {
        width: 64px;
        height: 64px;
        font-size: 27px;
    }

    .btn-contacto {
        max-width: 350px;
        height: 72px;

        margin-top: 30px;

        font-size: 22px;
        border-radius: 14px;
    }

    .mapa {
        width: 100%;
        max-width: none;
        height: 560px;

        border-radius: 34px;
    }

    .indicadores {
        bottom: 26px;
        gap: 16px;
    }

    .punto {
        width: 18px;
        height: 18px;
    }
}


/* =========================================================
   UBICACIÓN - ESCRITORIO EXTRA GRANDE
   2100px en adelante / 2560x1440
========================================================= */

@media (min-width: 2100px) {

    .ubicacion {
        width: min(94vw, 2200px);
        min-height: calc(100svh - 108px);

        grid-template-columns: minmax(760px, 0.82fr) minmax(1120px, 1.18fr);
        gap: clamp(110px, 5vw, 170px);

        padding: 100px 0;
    }

    .info h1 {
        font-size: clamp(94px, 3.8vw, 118px);
        line-height: 1.02;
        letter-spacing: -2.5px;
        margin-bottom: 36px;
    }

    .info p {
        font-size: clamp(27px, 1.1vw, 34px);
        line-height: 1.5;
        margin-bottom: 38px;
    }

    .selector-sucursal {
        gap: 34px;
        margin-bottom: 38px;
    }

    .selector-sucursal h2 {
        min-width: 420px;
        font-size: 42px;
    }

    .flecha {
        width: 72px;
        height: 72px;
        font-size: 34px;
    }

    .dato {
        gap: 38px;
        margin-bottom: 40px;
    }

    .dato h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .dato span {
        font-size: clamp(28px, 1.15vw, 36px);
        line-height: 1.3;
    }

    .icono {
        width: 82px;
        height: 82px;
        font-size: 35px;
    }

    .btn-contacto {
        max-width: 460px;
        height: 92px;

        margin-top: 44px;

        font-size: 30px;
        border-radius: 18px;
    }

    .mapa {
        width: 100%;
        max-width: none;
        height: 760px;

        border-radius: 44px;
    }

    .indicadores {
        bottom: 36px;
        gap: 22px;
    }

    .punto {
        width: 24px;
        height: 24px;
    }
}

   @media (max-width: 1100px) {
    .ubicacion {
        display: flex;
        flex-direction: column;
        gap: 50px;
        padding: 60px 5%;
    }

    .info,
    .mapa {
        width: 100%;
    }

    .mapa {
        max-width: 100%;
        height: 450px;
    }
}

@media (max-width: 700px) {
    .ubicacion {
        padding: 40px 20px;
    }
    .info p {
        font-size: 16px;
        line-height: 28px;
    }
    .dato{

    gap:15px;

}
    .btn-contacto {  
        max-width: 100%;
    }
    .selector-sucursal {
        justify-content: center;
        flex-wrap:wrap;

    gap:15px;
    }
}
@media (max-width:420px){

.ubicacion{

    padding:30px 15px;

}

.info{

    min-width:100%;

}

.info h1{

    font-size:32px;

}

.info p{

    font-size:15px;

}

.dato{

    gap:12px;

}

.dato span{

    font-size:16px;

}

.selector-sucursal h2{

    min-width:auto;

    font-size:18px;

}

.flecha{

    width:40px;
    height:40px;
    font-size:18px;

}

.mapa{

    height:320px;

}

.punto{

    width:10px;
    height:10px;

}

}