/* ============================================================
   Our Locations / Global Presence
   Mirrors https://www.zazz.io/about-us/our-locations 1:1 (Poppins, Elementor metrics).
   Everything is scoped under .zloc.
   ============================================================ */

.zloc,
.zloc *,
.zloc *::before,
.zloc *::after { box-sizing: border-box; }

.zloc {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 26.4px;
    color: #000;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.zloc img { max-width: 100%; height: auto; display: block; }
.zloc a { text-decoration: none; }
.zloc p { margin: 0; }
.zloc h1, .zloc h2, .zloc h3, .zloc h4 { margin: 0; letter-spacing: normal; }
.zloc ul { margin: 0; padding: 0; list-style: none; }

.zloc .zloc-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* ===================== HERO ===================== */

.zloc .zloc-hero {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 527px;
    padding: 65px;
    background-color: #1a1246;
    background-image: url("https://dahqbtk1vlskk.cloudfront.net/wp-content/uploads/2025/05/18072722/33e4a91ea85db70ea163ac92f2f9c1b87e66c6c0-scaled.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Production layers a second image over the cityscape (Elementor background
   overlay, opacity .98). Without it the hero reads far lighter than live. */
.zloc .zloc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://dahqbtk1vlskk.cloudfront.net/wp-content/uploads/2025/05/18072721/Rectangle-240648560.png");
    background-position: center left;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .98;
}

.zloc .zloc-hero > * { position: relative; z-index: 1; }

.zloc .zloc-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    margin: 0 0 50px;
    margin-inline: -5.5px;
    font-size: 16px;
    line-height: 26.4px;
}

.zloc .zloc-crumb li {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-inline: 5.5px;
}

.zloc .zloc-crumb a,
.zloc .zloc-crumb .zloc-crumb-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #fff;
    transition: color .3s;
}

.zloc .zloc-crumb a:hover { color: #dadada; }
.zloc .zloc-crumb a:hover .zloc-dot svg { fill: #dadada; }

.zloc .zloc-dot {
    display: flex;
    align-items: center;
    padding-inline-end: 4px;
}

.zloc .zloc-dot svg {
    width: 7px;
    height: 7px;
    margin-inline-end: 1.75px;
    fill: #fff;
    transition: fill .3s;
}

.zloc .zloc-crumb-label { padding-inline-start: 5px; }
.zloc .zloc-crumb .is-current { color: rgba(255, 255, 255, .75); }

.zloc .zloc-hero-row {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
}

.zloc .zloc-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    flex: 1 1 50%;
    min-width: 0;
}

.zloc .zloc-hero-copy h1 {
    font-size: 51px;
    font-weight: 500;
    line-height: 65px;
    color: #fff;
}

.zloc .zloc-hero-copy h1 b { font-weight: 700; }

.zloc .zloc-hero-text {
    margin-bottom: -25px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #fff;
}

.zloc .zloc-hero-text p { margin: 0 0 25.6px; }

/* Empty right half so the cityscape shows through. */
.zloc .zloc-hero-spacer { flex: 1 1 50%; }

/* ===================== LOCATIONS ===================== */

.zloc .zloc-locations {
    display: flex;
    flex-direction: column;
    padding: 65px;
    background: #e6ebf5;
}

.zloc .zloc-h2 {
    font-size: 47px;
    font-weight: 600;
    line-height: 65px;
    color: #000;
    margin-bottom: 30px;
}

.zloc .zloc-tabs { margin-top: 15px; }

.zloc .zloc-tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.zloc .zloc-tab {
    padding: 15px 35px;
    border: 0;
    border-bottom: 3px solid rgba(0, 0, 0, .23);
    background: transparent;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: rgba(0, 0, 0, .71);
    cursor: pointer;
    transition: color .3s, border-color .3s;
}

.zloc .zloc-tab.is-active {
    color: #000;
    border-bottom-color: #0161ff;
}

.zloc .zloc-panel { display: none; }
.zloc .zloc-panel.is-active { display: block; }

.zloc .zloc-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
}

.zloc .zloc-card {
    display: flex;
    flex-direction: row;
    /* Three per row on desktop (48px = two 24px gaps). 9 North America cards
       fall as a clean 3x3. Narrower breakpoints step down to 2 / 1. */
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    min-height: 278px;
}

/* A panel with a single office (Middle East, Asia Pacific) keeps the original
   425px card instead of shrinking to a fifth of the row. */
.zloc .zloc-card:only-child {
    flex: 0 0 425px;
    max-width: 425px;
}

.zloc .zloc-card-img {
    flex: 0 0 170px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.zloc .zloc-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding: 20px 15px;
    background: #fff;
}

.zloc .zloc-card-body h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 32px;
    color: #141414;
}

.zloc .zloc-card-addr {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #5e5e5e;
}

.zloc .zloc-card-rule {
    height: 1px;
    margin: 12px 0;
    background: #d3d7e0;
}

.zloc .zloc-card-desc {
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: #000;
}

/* ===================== WHY IT MATTERS ===================== */

.zloc .zloc-why {
    display: flex;
    flex-direction: column;
    padding: 65px;
    background: #000;
}

.zloc .zloc-why .zloc-h2 { color: #fff; }

.zloc .zloc-why-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.zloc .zloc-why-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    min-height: 230px;
    padding: 20px 12px 12px;
    background: rgba(255, 255, 255, .12);
}

.zloc .zloc-why-card img {
    width: 68px;
    height: 68px;
    margin-bottom: 30px;
}

.zloc .zloc-why-card h4 {
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
    color: #fff;
}

/* ===================== CTA ===================== */

.zloc .zloc-cta {
    display: flex;
    flex-direction: row;
    padding: 60px 100px;
    background: #431bf7;
}

.zloc .zloc-cta-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    width: 70%;
}

.zloc .zloc-cta-brand img {
    width: auto;
    height: 44px;
    filter: brightness(0) invert(1);
}

.zloc .zloc-cta-copy p {
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    color: #fff;
}

.zloc .zloc-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 45%;
}

.zloc .zloc-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    align-self: flex-end;
    width: 60%;
    max-width: 60%;
    padding: 16px 32px;
    border: 1px solid #0161ff;
    border-radius: 0;
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    color: #000;
    text-align: center;
}

.zloc .zloc-cta-btn svg { flex: 0 0 8px; width: 8px; height: 12px; }
.zloc .zloc-cta-btn svg path { stroke: currentColor; }

.zloc .zloc-cta-btn.is-ghost {
    border-color: #fff;
    background: rgba(255, 255, 255, 0);
    font-weight: 500;
    color: #fff;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1200px) {
    .zloc .zloc-hero { padding: 50px; }
    .zloc .zloc-hero-copy { flex-basis: 60%; }
    .zloc .zloc-hero-spacer { flex-basis: 40%; }
    .zloc .zloc-hero-copy h1 { font-size: 44px; line-height: 54px; }
    .zloc .zloc-locations { padding: 50px; }
    .zloc .zloc-h2 { font-size: 40px; line-height: 52px; }
    .zloc .zloc-card { flex-basis: calc((100% - 24px) / 2); max-width: calc((100% - 24px) / 2); }
    .zloc .zloc-why { padding: 50px; }
    .zloc .zloc-why-card { flex-basis: calc((100% - 10px) / 2); }
}

@media (max-width: 1024px) {
    .zloc .zloc-hero { padding: 40px; min-height: 460px; }
    .zloc .zloc-hero-copy h1 { font-size: 36px; line-height: 46px; }
    .zloc .zloc-locations { padding: 30px; }
    .zloc .zloc-h2 { font-size: 36px; line-height: 46px; }
    .zloc .zloc-why { padding: 30px; }
}

@media (max-width: 880px) {
    .zloc .zloc-hero-copy h1 { font-size: 34px; line-height: 44px; }
    .zloc .zloc-h2 { font-size: 34px; line-height: 44px; }
}

@media (max-width: 767px) {
    .zloc .zloc-hero { padding: 40px 30px; }
    .zloc .zloc-hero-row { flex-direction: column; }
    .zloc .zloc-hero-copy { flex-basis: auto; width: 100%; }
    .zloc .zloc-hero-spacer { display: none; }
    .zloc .zloc-crumb { margin-bottom: 30px; font-size: 12px; }
    .zloc .zloc-hero-copy h1 { font-size: 31px; line-height: 41px; }
    .zloc .zloc-locations { padding: 50px 10px; }
    .zloc .zloc-h2 { font-size: 31px; line-height: 41px; }
    .zloc .zloc-tablist { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .zloc .zloc-tablist::-webkit-scrollbar { display: none; }
    .zloc .zloc-tab { padding: 15px 20px; white-space: nowrap; }
    .zloc .zloc-card { flex-basis: 100%; max-width: 100%; }
    .zloc .zloc-why { padding: 50px 10px; }
    .zloc .zloc-why-card { flex-basis: 100%; }
    .zloc .zloc-cta { flex-wrap: wrap; padding: 40px; }
    .zloc .zloc-cta-copy { width: 100%; margin-bottom: 40px; }
    .zloc .zloc-cta-actions { width: 100%; }
    .zloc .zloc-cta-btn { align-self: center; }
}

/* ===================== INTERACTIVE MAP ===================== */

/* .zloc-locations is a flex column; use order to place the map BELOW the
   region tabs/cards without reordering the markup. */
.zloc .zloc-locations > .zloc-h2       { order: 0; }
.zloc .zloc-locations > .zloc-tabs     { order: 1; }
.zloc .zloc-locations > .zloc-map-wrap { order: 2; margin-top: 40px; }

/* Card wrapper: lifts the map off the flat section background. */
.zloc .zloc-map-wrap {
    background: #fff;
    border: 1px solid #dfe4ee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(20, 20, 43, .08);
}

/* Stat strip above the map. */
.zloc .zloc-map-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 22px 28px;
    border-bottom: 1px solid #eef1f6;
}
.zloc .zloc-map-stats > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #5e5e5e;
}
.zloc .zloc-stat-num {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #0161ff;
}
.zloc .zloc-map-hint {
    margin: 0 0 0 auto;
    font-size: 13px;
    color: #8a8f9c;
}

/* Leaflet + OpenStreetMap map. One marker per office; popup shows address. */
.zloc .zloc-map {
    width: 100%;
    height: 420px;
    background: #eaeef5;
    z-index: 0; /* keep tiles/controls under the fixed header */
}
.zloc .leaflet-control-zoom {
    border: 0 !important;
    box-shadow: 0 2px 10px rgba(20, 20, 43, .18);
    border-radius: 8px;
    overflow: hidden;
}
.zloc .leaflet-control-zoom a {
    border: 0;
    color: #14142b;
    font-weight: 600;
}
.zloc .leaflet-control-zoom a:hover { background: #f2f5fb; color: #0161ff; }
.zloc .leaflet-popup-content-wrapper { border-radius: 8px; }
.zloc .zloc-marker { background: none; border: 0; }
.zloc .zloc-marker svg {
    width: 26px;
    height: 37px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .28));
}
.zloc .leaflet-popup-content { font-family: "Poppins", sans-serif; font-size: 14px; line-height: 20px; }
.zloc .leaflet-popup-content strong { font-size: 15px; }

/* Always-on English city labels next to each marker — clean, borderless
   pill so the group reads as designed rather than default tooltips. */
.zloc .zloc-tt.leaflet-tooltip {
    background: #14142b;
    border: 0;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(20, 20, 43, .28);
    padding: 3px 8px;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
}
.zloc .zloc-tt.leaflet-tooltip-right::before { border-right-color: #14142b; }
.zloc .zloc-tt.leaflet-tooltip-left::before { border-left-color: #14142b; }
.zloc .zloc-tt.leaflet-tooltip-top::before { border-top-color: #14142b; }
.zloc .zloc-tt.leaflet-tooltip-bottom::before { border-bottom-color: #14142b; }

@media (max-width: 767px) {
    .zloc .zloc-map { height: 320px; }
    .zloc .zloc-tt.leaflet-tooltip { font-size: 11px; padding: 1px 5px; }
    .zloc .zloc-map-stats { gap: 18px 24px; padding: 18px 20px; }
    .zloc .zloc-stat-num { font-size: 20px; }
    .zloc .zloc-map-hint { margin: 0; width: 100%; }
}

/* Phone: production stacks the card — full-width 300px image above the text
   block — and lets the "why" tiles shrink to their content. */
@media (max-width: 767px) {
    .zloc .zloc-card { flex-wrap: wrap; min-height: 0; }
    .zloc .zloc-card-img { flex: 0 0 100%; height: 300px; }
    .zloc .zloc-card-body { flex: 1 1 100%; }
    .zloc .zloc-why-card { min-height: 0; }
}
