/*
 * Website 2.0 "Our Locations" section (template-parts/w2-locations.php).
 * Shared by Contact Us, Philippines and Colombia, so it carries its own tokens,
 * container, title and gradient text instead of relying on w2-contact.css.
 */

section.w2-locations {
    --w2c-bg: #0a0a0a;
    --w2c-rainbow: linear-gradient(134deg, #e35246 17.01%, #ea7331 18.92%, #f1931d, #f6a90f, #f9b706, #fbbc04 30.33%, #f7bb05 32.23%, #eeba09 35.09%, #deb90f 36.04%, #c7b618, #a9b324 39.84%, #85b032 40.79%, #5aab43 42.69%, #34a853 43.65%, #4285f4 57.91%, #956697 71.23%, #ff7d95 83.59% 88.35%, #ff7d95 92.15%, #fbe9ec 95.96%, #fff 96.91%);
}

section.w2-locations *,
section.w2-locations *::before,
section.w2-locations *::after {
    box-sizing: border-box;
}

section.w2-locations .w2c-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1241px;
    margin: 0 auto;
}

section.w2-locations .w2c-section-title {
    margin: 0;
    color: #fff;
    text-align: center;
    font-family: Oswald, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: none;
}

section.w2-locations .w2c-grad-green-blue {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

section.w2-locations {
    position: relative;
    padding: 90px 20px;
    background: var(--w2c-bg);
    overflow: hidden;
}

section.w2-locations .w2c-locations-glow {
    position: absolute;
    top: 63px;
    left: -214px;
    width: 527px;
    max-width: none;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

section.w2-locations .w2c-grad-green-blue {
    background-image: linear-gradient(177.26deg, #49dc6f 1.38%, #11aaff 77.24%);
}

section.w2-locations .w2c-location-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px 31px;
    max-width: 1241px;
    margin: 60px auto 0;
}

section.w2-locations .w2c-location {
    display: flex;
    flex-direction: column;
    width: 393px;
    padding: 30px;
    border: 2px solid transparent;
    border-radius: 20px;
    background: linear-gradient(var(--w2c-bg), var(--w2c-bg)) padding-box, var(--w2c-rainbow) border-box;
}

section.w2-locations .w2c-map {
    position: relative;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    background: #1f2128;
}

section.w2-locations .w2c-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
}

section.w2-locations .w2c-map-flag {
    position: absolute;
    top: 7px;
    right: 6px;
    width: 45.88px;
    height: 30px;
    pointer-events: none;
}

section.w2-locations .w2c-location-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 30px;
}

section.w2-locations .w2c-location-country {
    margin: 0;
    color: #fff;
    font-family: Oswald, sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.1;
}

section.w2-locations .w2c-location-line {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    color: #fff;
    font-family: "Work Sans", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.3;
}

section.w2-locations .w2c-location-phone {
    align-items: center;
}

section.w2-locations .w2c-location-line img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

section.w2-locations .w2c-location-line a {
    color: #fff;
    text-decoration: none;
}

section.w2-locations .w2c-location-line a:hover {
    text-decoration: underline;
}

@media (max-width: 1033px) {
    section.w2-locations {
        padding: 40px 18px 60px;
    }

    section.w2-locations .w2c-locations-glow {
        top: 300px;
        left: -260px;
    }

    section.w2-locations .w2c-location-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
        max-width: 404px;
        margin-top: 40px;
    }

    section.w2-locations .w2c-location {
        width: 100%;
    }

    section.w2-locations .w2c-map {
        height: auto;
        aspect-ratio: 340 / 204;
    }
}

@media (max-width: 400px) {
    section.w2-locations .w2c-section-title {
        font-size: 34px;
    }
}
