/* ============================================================
   LOCATIONS SECTION
   mirrors contact-section structure exactly
============================================================ */

.locations {
    position: relative;
}

/* ---- Container (twin with .contact-container) ---- */
.locations-container {
    margin: 0 auto;
    padding: 0.5rem clamp(0.8em, 4vw, 1.2em);
    width: 100%;
    box-sizing: border-box;
}



/* ---- Info card (twin with .contact-info) ---- */
.locations-info {
    display: flex;
    flex-direction: column;
    padding: 0.8rem;
    height: 100%;
    border-radius: clamp(0.8rem, 3vw, 1.5rem);
}

/* ---- Header (twin with .contact-section-header) ---- */
.locations-section-header {
    text-align: center;
}

/* ---- Title (twin with .contact-section-title) ---- */
.locations-title {
    display: inline-block;
    font-size: clamp(1.1rem, 4.5vw, 1.6rem);
    font-weight: 700;
    /* margin-block: clamp(0.6rem, 2vw, 1rem); */
    position: relative;
}

.locations-title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: clamp(0.18rem, 0.4vw, 0.32rem);
    border-radius: clamp(1rem, 3vw, 1.5rem);
    bottom: -10%;
    left: 0;
}

.locations-subtitle {
    font-size: clamp(0.85rem, 3vw, 1rem);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    text-align: center;
}

/* ---- Boxes grid ---- */
.location-boxes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.6rem, 2.5vw, 1rem);
    margin-top: clamp(0.5rem, 2vw, 1rem);
}

/* ---- Box ---- */
.location-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.4rem, 1.5vw, 0.7rem);
    padding: clamp(0.7rem, 2.5vw, 1.1rem);
    border-radius: clamp(0.6rem, 2vw, 1rem);
    text-decoration: none;
    font-size: clamp(0.85rem, 3vw, 1rem);
    border: clamp(0.05rem, 0.12vw, 0.08rem) solid;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.location-box i {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    transition: color 0.3s ease;
}


/* ============================================================
   BREAKPOINTS — same values as contact-container exactly
============================================================ */

/* Small Tablet — 481px+ */
@media (min-width: 481px) {
    .locations-container {
        max-width: clamp(17rem, 80vw, 71.25rem);
    }

    .location-boxes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .location-box {
        font-size: clamp(0.9rem, 2.5vw, 1.05rem);
        padding: clamp(0.8rem, 2vw, 1.2rem);
    }
}

/* Medium Tablet — 601px+ */
@media (min-width: 601px) {
    .location-boxes-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .location-box {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
    }
}

/* Large Tablet — 769px+ */
@media (min-width: 769px) {
    /* .locations-container {
        padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 2rem);
    } */

    .location-boxes-grid {
        gap: clamp(0.8rem, 2vw, 1.3rem);
    }
}

/* Small Desktop — 1025px+ */
@media (min-width: 1025px) {
    /* .locations-container {
        padding: clamp(1.5rem, 2.5vw, 2.5rem) clamp(1.2rem, 2vw, 2rem);
    } */

    .locations-info {
        border-radius: clamp(0.8rem, 1.5vw, 1.3rem);
    }

    .location-boxes-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: clamp(0.8rem, 1.5vw, 1.3rem);
    }

    .location-box {
        font-size: clamp(0.95rem, 1.2vw, 1.1rem);
        padding: clamp(0.8rem, 1.5vw, 1.2rem);
    }

    .location-box i {
        font-size: clamp(1rem, 1.5vw, 1.4rem);
    }
}

/* Medium Desktop — 1281px+ */
@media (min-width: 1281px) {
    /* .locations-container {
        padding: clamp(1.5rem, 2.5vw, 2.5rem) clamp(1.2rem, 2vw, 2rem);
    } */

    .location-boxes-grid {
        gap: clamp(1rem, 1.5vw, 1.5rem);
    }
}

/* Large Desktop — 1441px+ */
@media (min-width: 1441px) {
    .location-box {
        font-size: clamp(1rem, 1.1vw, 1.2rem);
        padding: clamp(0.9rem, 1.2vw, 1.3rem);
    }
}

/* Extra Large — 1921px+ */
@media (min-width: 1921px) {
    .locations-container {
        max-width: clamp(71rem, 75vw, 90rem);
    }
}


/* ============================================================
   THEME CLASSES — mirrors contact themes exactly
============================================================ */

/* ---- WHITE THEME ---- */
.white-locations {
    background-color: var(--white);
   
}

.white-locations .locations-title {
    color: var(--white);
}

.white-locations .locations-title::after {
    background-image: linear-gradient(90deg, var(--white) 0%, var(--white) 100%);
}

.white-locations .locations-subtitle {
    color: var(--white);
}

.white-locations .locations-info {
    background-color: var(--lightHelper);
    border: 2px solid var(--lightHelper);
}

.white-locations .location-box {
    background-color: var(--white);
    color: var(--lightHelper);
    border-color: var(--lightHelper);
}

.white-locations .location-box i {
    color: var(--helperColor);
}



/* .white-locations .location-box:hover {
    background-color: var(--helperColor);
    color: var(--white);
    border-color: var(--white);
}
.white-locations .location-box:hover i {
    color: var(--white);
} */


/* ---- BLUE THEME ---- */
.blue-locations {
    background-color: var(--lightHelper);
}

.blue-locations .locations-title {
    color: var(--lightHelper);
}

.blue-locations .locations-title::after {
    background-image: linear-gradient(90deg, var(--white) 0%, var(--white) 100%);
}

.blue-locations .locations-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.blue-locations .locations-info {
    background-color: var(--white);
    border: 2px solid var(--white);
}

.blue-locations .location-box {
    background-color: var(--lightHelper);
    color: var(--white);
    border-color: var(--white);
}

.blue-locations .location-box i {
    color: var(--white);
}

@media (min-width: 1025px) {
    .blue-locations .locations-info {
        box-shadow: 0 clamp(0.3em, 0.8vw, 0.6em) clamp(0.8em, 2vw, 1.4em) rgba(0, 0, 0, 0.2);
    }
}

/* .blue-locations .location-box:hover {
    background-color: var(--white);
    color: var(--lightHelper);
    border-color: var(--lightHelper);
}
.blue-locations .location-box:hover i {
    color: var(--lightHelper);
} */