/* ==========================================================================
   Pakistan location page - Get a Quote section (#enquiry)
   Loaded only on templates/pakistan.php
   ========================================================================== */

.pk-quote {
    background: #f3f6fb;
    scroll-margin-top: 110px;
}

/* --- Top row: label + steps strip ------------------------------------- */
.pk-quote__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.pk-quote__label {
    margin: 0;
}

.pk-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 0;
}

.pk-steps__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000d55;
    white-space: nowrap;
}

.pk-steps__item + .pk-steps__item::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 18px;
    border-top: 2px solid #ff9400;
    border-right: 2px solid #ff9400;
    transform: rotate(45deg);
    opacity: .8;
}

[dir="rtl"] .pk-steps__item + .pk-steps__item::before {
    transform: rotate(-135deg);
}

.pk-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ff9400;
    color: #000d55;
    font-size: 12px;
    font-weight: 700;
    flex: 0 0 auto;
}

/* --- Card: form + contact aside --------------------------------------- */
.pk-quote__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 13, 85, .08);
    overflow: hidden;
}

.pk-quote__form {
    padding: 44px 48px 48px;
}

.pk-quote__heading {
    margin: 0 0 28px;
}

/* Form layout (CF7 markup: .custom-row > .form-group) */
.pk-quote-form {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.pk-quote-form .form-group {
    padding: 0 10px;
    margin-bottom: 18px;
    width: 50%;
}

.pk-quote-form .form-group.col_12 {
    width: 100%;
}

.pk-quote-form .form-group.col_lg_6 {
    width: 50%;
}

.pk-quote-form label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #000d55;
    margin-bottom: 7px;
}

.pk-quote-form label .req {
    color: #ff9400;
}

.pk-quote-form .wpcf7-form-control-wrap {
    display: block;
}

.pk-quote-form .form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #000d55;
    background: #fff;
    border: 1px solid #d9dfe8;
    border-radius: 6px;
    box-shadow: none;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}

.pk-quote-form .form-control::placeholder {
    color: #9aa3b5;
    opacity: 1;
}

.pk-quote-form .form-control:focus {
    border-color: #000d55;
    box-shadow: 0 0 0 3px rgba(0, 13, 85, .10);
}

.pk-quote-form select.form-control {
    padding-right: 40px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000d55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
}

[dir="rtl"] .pk-quote-form select.form-control {
    padding-right: 14px;
    padding-left: 40px;
    background-position: left 14px center;
}

/* Consent */
.pk-quote-form .pk-consent {
    width: 100%;
    margin: 4px 0 20px;
}

.pk-quote-form .pk-consent .wpcf7-list-item {
    margin: 0;
}

.pk-quote-form .pk-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    font-weight: 400;
    color: #4a5268;
    cursor: pointer;
    margin: 0;
}

.pk-quote-form .pk-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: #ff9400;
    cursor: pointer;
}

/* Turnstile + submit */
.pk-quote-form .cf7-simple-turnstile,
.pk-quote-form .cf-turnstile {
    width: 100%;
    margin-bottom: 18px;
}

.pk-quote-form .form-group.pk-submit {
    width: 100%;
    margin-bottom: 0;
}

/* Validation / response messages */
.pk-quote-form .wpcf7-not-valid {
    border-color: #dc3232;
}

.pk-quote-form .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #dc3232;
    margin-top: 5px;
}

.pk-quote .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
}

.pk-quote .wpcf7 form.sent .wpcf7-response-output {
    border-color: #2e9e5b;
    background: #edf8f1;
    color: #1d6b3d;
}

.pk-quote .wpcf7 form.invalid .wpcf7-response-output,
.pk-quote .wpcf7 form.failed .wpcf7-response-output {
    border-color: #dc3232;
    background: #fdf0f0;
    color: #a12525;
}

/* --- Contact aside ---------------------------------------------------- */
.pk-quote__contact {
    background: #000d55;
    color: #fff;
    padding: 44px 36px 0;
    display: flex;
    flex-direction: column;
}

.pk-quote__contact-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 24px;
}

.pk-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pk-contact-list__item {
    display: flex;
    gap: 14px;
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.pk-contact-list__item:last-child {
    border-bottom: 0;
    margin-bottom: 8px;
}

.pk-contact-list__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 148, 0, .16);
    color: #ff9400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pk-contact-list__icon svg {
    width: 20px;
    height: 20px;
}

.pk-contact-list__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.pk-contact-list__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

.pk-contact-list__value,
.pk-contact-list__value:visited {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    text-decoration: none;
    word-break: normal;
    overflow-wrap: break-word; /* email breaks at the <wbr> after "@", not mid-domain */
}

a.pk-contact-list__value:hover {
    color: #ff9400;
}

.pk-contact-list__sub,
.pk-contact-list__sub:visited {
    font-size: 12px;
    font-weight: 600;
    color: #ff9400;
    text-decoration: none;
}

.pk-contact-list__sub:hover {
    text-decoration: underline;
    color: #ff9400;
}

.pk-quote__map {
    margin: auto -36px 0;
    height: 210px;
    background: #0a1a6b;
}

.pk-quote__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Responsive ------------------------------------------------------- */
@media (max-width: 1199px) {
    .pk-quote__card {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .pk-quote__form {
        padding: 36px 32px 40px;
    }

    .pk-quote__contact {
        padding: 36px 28px 0;
    }

    .pk-quote__map {
        margin-left: -28px;
        margin-right: -28px;
    }
}

@media (max-width: 991px) {
    .pk-quote__card {
        grid-template-columns: 1fr;
    }

    .pk-quote__contact {
        padding: 32px 28px 0;
    }

    .pk-quote__map {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .pk-quote {
        scroll-margin-top: 80px;
    }

    .pk-quote__top {
        margin-bottom: 24px;
    }

    .pk-steps {
        width: 100%;
        gap: 12px 0;
    }

    .pk-steps__item {
        width: 50%;
        font-size: 13px;
        white-space: normal;
    }

    .pk-steps__item + .pk-steps__item::before {
        display: none;
    }

    .pk-quote__form {
        padding: 28px 20px 32px;
    }

    .pk-quote__heading {
        margin-bottom: 20px;
    }

    .pk-quote-form .form-group,
    .pk-quote-form .form-group.col_lg_6 {
        width: 100%;
    }

    .pk-quote__contact {
        padding: 28px 20px 0;
    }

    .pk-quote__map {
        margin-left: -20px;
        margin-right: -20px;
        height: 200px;
    }
}

/* Contact icons (URL-encoded data URIs to avoid WAF false-positive on inline SVG) */
.pk-contact-list__icon { position: relative; }
.pk-contact-list__icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}
.pk-icon--phone::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ff9400%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.9v3a2%202%200%200%201-2.2%202%2019.8%2019.8%200%200%201-8.6-3.1%2019.5%2019.5%200%200%201-6-6A19.8%2019.8%200%200%201%202.1%204.2%202%202%200%200%201%204.1%202h3a2%202%200%200%201%202%201.7c.1.9.4%201.8.7%202.7a2%202%200%200%201-.5%202.1L8%209.8a16%2016%200%200%200%206.2%206.2l1.3-1.3a2%202%200%200%201%202.1-.5c.9.3%201.8.6%202.7.7a2%202%200%200%201%201.7%202z%22%2F%3E%3C%2Fsvg%3E"); }
.pk-icon--email::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ff9400%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%207%209%206%209-6%22%2F%3E%3C%2Fsvg%3E"); }
.pk-icon--address::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ff9400%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%206-8%2012-8%2012S4%2016%204%2010a8%208%200%200%201%2016%200z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E"); }

.pk-quote__contact-heading { word-spacing: normal; letter-spacing: normal; }

/* ==========================================================================
   Pakistan location page - Careers section (#careers)
   Redesign 2026-11-22: text + photo with LinkedIn card, then "How to apply" steps.
   ========================================================================== */
.pk-careers {
    background: #000d55;
    color: #fff;
    scroll-margin-top: 110px;
    position: relative;
    overflow: hidden;
}

.pk-careers::before {
    content: '';
    position: absolute;
    left: -160px;
    bottom: -200px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 148, 0, .16) 0%, rgba(255, 148, 0, 0) 70%);
    pointer-events: none;
}

.pk-careers .container {
    position: relative;
}

.pk-careers__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px 64px;
    align-items: center;
}

.pk-careers .sub-title .bullet-title,
.pk-careers .sub-title .h2 {
    color: #fff;
}

.pk-careers__heading span {
    color: #ff9400;
}

.pk-careers__text {
    color: rgba(255, 255, 255, .82);
    margin: 16px 0 0;
    max-width: 560px;
}

.pk-careers__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-top: 30px;
}

.pk-careers__follow,
.pk-careers__follow:visited {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.pk-careers__follow:hover {
    color: #ff9400;
}

.pk-careers__li,
.pk-careers__card-logo {
    display: inline-flex;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23ffffff%22%3E%3Cpath%20d%3D%22M20.45%2020.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.85%200-2.14%201.45-2.14%202.94v5.67H9.36V9h3.41v1.56h.05c.47-.9%201.63-1.85%203.36-1.85%203.6%200%204.27%202.37%204.27%205.45v6.29zM5.34%207.43a2.06%202.06%200%201%201%200-4.12%202.06%202.06%200%200%201%200%204.12zM7.12%2020.45H3.56V9h3.56v11.45zM22.22%200H1.77C.79%200%200%20.77%200%201.73v20.54C0%2023.23.79%2024%201.77%2024h20.45c.98%200%201.78-.77%201.78-1.73V1.73C24%20.77%2023.2%200%2022.22%200z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    transition: background-color .2s, border-color .2s;
}

.pk-careers__follow:hover .pk-careers__li {
    background-color: rgba(255, 148, 0, .18);
    border-color: rgba(255, 148, 0, .6);
}

.pk-careers__note {
    margin: 22px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .62);
}

.pk-careers__note a,
.pk-careers__note a:visited {
    color: #ff9400;
    font-weight: 600;
    text-decoration: none;
}

.pk-careers__note a:hover {
    text-decoration: underline;
}

/* Photo + LinkedIn card */
.pk-careers__media {
    position: relative;
    padding: 0 0 34px 34px;
}

.pk-careers__media::before {
    content: '';
    position: absolute;
    top: 34px;
    right: 34px;
    bottom: 0;
    left: 0;
    border: 2px solid rgba(255, 148, 0, .55);
    border-radius: 20px;
    pointer-events: none;
}

.pk-careers__img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: 70% 40%;
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}

.pk-careers__card,
.pk-careers__card:visited {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(380px, calc(100% - 34px));
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff;
    color: #000d55;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
    transition: transform .25s, box-shadow .25s;
}

.pk-careers__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .34);
}

.pk-careers__card .pk-careers__card-logo {
    width: 42px;
    height: 42px;
    border: 0;
    background-color: #0a66c2;
    background-size: 20px 20px;
}

.pk-careers__card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.pk-careers__card-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: normal;
    color: #000d55;
}

.pk-careers__card-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #596591;
}

.pk-careers__card-cta {
    flex: 0 0 auto;
    padding: 7px 14px;
    border: 1px solid #ff9400;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #000d55;
    white-space: nowrap;
    transition: background-color .2s, color .2s;
}

.pk-careers__card:hover .pk-careers__card-cta {
    background: #ff9400;
    color: #fff;
}

/* No photo: the LinkedIn card sits on its own */
.pk-careers__media--noimg {
    padding: 0;
}

.pk-careers__media--noimg::before {
    content: none;
}

.pk-careers__media--noimg .pk-careers__card {
    position: relative;
    width: 100%;
}

/* "How to apply" steps */
.pk-careers__steps {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.pk-careers .pk-careers__steps-title {
    margin: 0 0 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: normal;
    word-spacing: normal;
    color: #fff;
}

.pk-careers__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--pk-steps, 3), minmax(0, 1fr));
    gap: 20px;
}

.pk-careers__point {
    position: relative;
    margin: 0;
    padding: 26px 24px 24px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: background-color .25s, border-color .25s, transform .25s;
}

.pk-careers__point::before {
    content: none;
}

.pk-careers__point:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 148, 0, .55);
    transform: translateY(-3px);
}

.pk-careers__point-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #ff9400;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.pk-careers .pk-careers__point-title {
    margin: 0 0 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: normal;
    word-spacing: normal;
    color: #fff;
}

.pk-careers__point-text {
    color: rgba(255, 255, 255, .72);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1199px) {
    .pk-careers__grid {
        gap: 36px 48px;
    }
}

@media (max-width: 991px) {
    .pk-careers__grid {
        grid-template-columns: 1fr;
    }

    .pk-careers__media {
        max-width: 560px;
    }

    .pk-careers__points {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pk-careers__point {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 16px;
        align-items: start;
    }

    .pk-careers__point-num {
        grid-row: 1 / span 2;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .pk-careers {
        scroll-margin-top: 80px;
    }

    .pk-careers__actions {
        margin-top: 22px;
    }

    .pk-careers__media {
        padding: 0 0 26px 18px;
    }

    .pk-careers__media::before {
        top: 22px;
        right: 22px;
    }

    .pk-careers__card,
    .pk-careers__card:visited {
        width: calc(100% - 18px);
        padding: 12px 14px;
        gap: 12px;
    }

    .pk-careers__card-name {
        font-size: 14px;
    }

    .pk-careers__steps {
        margin-top: 44px;
        padding-top: 30px;
    }

    .pk-careers__point {
        padding: 18px 16px;
    }
}

/* ==========================================================================
   Client review round 1 (Nov 2026): enquiry intro, per-service questions,
   careers single column
   ========================================================================== */
.pk-quote__intro {
    margin: -14px 0 26px;
    color: rgba(0, 13, 85, .75);
}

/* Per-service question groups: children join the form's flex row; hidden until that service is selected */
.pk-quote-form .pk-svc-group {
    display: contents;
}

.pk-quote-form .pk-svc-group[hidden] {
    display: none;
}

.pk-quote-form .pk-svc-group__title {
    width: 100%;
    padding: 4px 10px 0;
    margin: 0 0 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ff9400;
}

.pk-quote-form textarea.form-control {
    height: 120px;
    padding: 12px 14px;
    line-height: 1.5;
    resize: vertical;
}

.pk-careers__grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
}

/* ==========================================================================
   Pakistan presence (#pakistan-presence): map of Pakistan with city pins
   ========================================================================== */
.pk-presence {
    scroll-margin-top: 110px;
}

.pk-presence__grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 40px 64px;
    align-items: center;
}

.pk-presence__heading {
    margin: 0 0 16px;
}

.pk-presence__text {
    margin: 0 0 26px;
    color: rgba(0, 13, 85, .75);
}

.pk-presence__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.pk-presence__city {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e3e7ef;
    border-left: 3px solid transparent;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

.pk-presence__city:hover,
.pk-presence__city.is-active {
    border-color: #e3e7ef;
    border-left-color: #ff9400;
    box-shadow: 0 6px 18px rgba(0, 13, 85, .08);
}

.pk-presence__city:focus-visible {
    outline: 2px solid #000d55;
    outline-offset: 2px;
}

.pk-presence__city-name {
    font-size: 15px;
    font-weight: 600;
    color: #000d55;
}

.pk-presence__city-detail {
    font-size: 12px;
    color: rgba(0, 13, 85, .6);
    white-space: nowrap;
}

.pk-map {
    position: relative;
    max-width: 674px;
    margin: 0 auto;
}

.pk-map__img {
    display: block;
    width: 100%;
    height: auto;
}

.pk-pin {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    z-index: 1;
}

.pk-pin.is-active {
    z-index: 3;
}

.pk-pin__dot {
    position: absolute;
    left: -9px;
    top: -9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff9400;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 13, 85, .2), 0 4px 10px rgba(0, 13, 85, .25);
    transition: background-color .2s;
}

.pk-pin__dot::after {
    content: '';
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 2px solid rgba(255, 148, 0, .55);
    animation: pk-pin-pulse 2.2s ease-out infinite;
}

.pk-pin.is-active .pk-pin__dot {
    background: #000d55;
}

.pk-pin:focus-visible .pk-pin__dot {
    outline: 2px solid #000d55;
    outline-offset: 3px;
}

@keyframes pk-pin-pulse {
    from { transform: scale(.6); opacity: 1; }
    to   { transform: scale(1.6); opacity: 0; }
}

/* Label + round city photo, shown for the active pin (like the Home footprint map) */
.pk-pin__card {
    position: absolute;
    left: 0;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s, transform .25s, visibility .25s;
}

.pk-pin.is-active .pk-pin__card {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.pk-pin__label {
    position: relative;
    padding: 6px 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 13, 85, .15);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: #1b1b1b;
    white-space: nowrap;
}

.pk-pin__label::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 10px;
    height: 10px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
}

.pk-pin__photo {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    background: #000d55;
    box-shadow: 0 8px 20px rgba(0, 13, 85, .25);
}

.pk-pin__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pins near the top edge open downwards */
.pk-pin--below .pk-pin__card {
    bottom: auto;
    top: 16px;
    flex-direction: column-reverse;
    transform: translate(-50%, -8px);
}

.pk-pin--below.is-active .pk-pin__card {
    transform: translate(-50%, 0);
}

.pk-pin--below .pk-pin__label::after {
    bottom: auto;
    top: -5px;
}

/* Site detail in the pin label, on a second line (e.g. "Lahore" / "Multan Road") */
.pk-pin__label-detail {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(0, 13, 85, .65);
}

/* Two pins close together (the 2 Lahore sites; classes set by the presence.php script):
   both cards open to the east (the empty side of the map next to Lahore), the upper pin's card
   upwards and the lower pin's card downwards, so neither card covers the other pin or Islamabad /
   Rahim Yar Khan. */
.pk-pin--east .pk-pin__card {
    align-items: flex-start;
    transform: translate(-8px, 8px);
}

.pk-pin--below.pk-pin--east .pk-pin__card {
    transform: translate(-8px, -8px);
}

.pk-pin--east.is-active .pk-pin__card {
    transform: translate(-8px, 0);
}

.pk-pin--east .pk-pin__label {
    text-align: left;
}

.pk-pin--east .pk-pin__label::after {
    left: 8px;
    transform: rotate(45deg);
}

@media (max-width: 991px) {
    .pk-presence__grid {
        grid-template-columns: 1fr;
    }

    .pk-presence__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .pk-presence__list {
        grid-template-columns: 1fr;
    }

    .pk-pin__photo {
        width: 56px;
        height: 56px;
        border-width: 3px;
    }

    .pk-pin__label {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pk-pin__dot::after {
        animation: none;
        opacity: 0;
    }

    .pk-pin__card {
        transition: none;
    }
}

/* ==========================================================================
   Services slider (#pakistan-services) - more than 4 services
   (5th tab "Value Added Services", added 2026-11-17). The theme's home styles
   assume 4 tabs; .pk-services--many is set by services.php when there are 5+.
   ========================================================================== */

/* colour bands 5+ continue the theme's navy / orange / light-blue cycle */
#pakistan-services .background-before .before-color:nth-child(3n+5) {
    background: linear-gradient(#ffa420 0, #d16f00 100%);
}

#pakistan-services .background-before .before-color:nth-child(3n+6) {
    background: linear-gradient(#008cc4 0, #00629d 100%);
}

#pakistan-services .background-before .before-color:nth-child(3n+7) {
    background: linear-gradient(#003980 0, #00629d 100%);
}

/* desktop: tighter tab spacing so 5 tabs fit on one row (theme gap is 8.125em) */
@media (min-width: 1200px) {
    #pakistan-services.pk-services--many .solution-thumbSlider .swiper-wrapper {
        gap: 4em;
    }
}

/* tablets: the tabs don't fit on one row, so let them wrap to a second row;
   the section grows by one row (4em) and the image moves up by the same amount */
@media (min-width: 768px) and (max-width: 1199.98px) {
    #pakistan-services.solutions-products {
        height: 52em;
    }

    #pakistan-services .slider-wrapper {
        bottom: 12em;
    }

    #pakistan-services .solution-thumbSlider {
        width: 100%;
    }

    #pakistan-services .solution-thumbSlider .swiper-wrapper {
        flex-wrap: wrap;
        column-gap: 2.5em;
        row-gap: 0.25em;
        transform: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    #pakistan-services.solutions-products {
        height: 44em;
    }
}
