/* =========================================================
   PROP-KEYS — POPULAR CITIES
   Bootstrap 5 + HTML text/icons + responsive background image
   ========================================================= */

:root {
    --pk-gold: #f4b83f;
    --pk-white: #ffffff;
    --pk-navy: #001b35;
    --pk-line: rgba(244,184,63,.82);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #00182d;
}

.pk-cities-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    color: var(--pk-white);
}

.pk-cities-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url("../images/popular-cities-desktop.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
}

/* Hides the text/icons that are already present in the supplied reference artwork.
   The visible replacement text/icons are real HTML elements above this layer. */
.pk-cities-shade {
    position: absolute;
    z-index: -2;
    pointer-events: none;
    left: 0;
    top: 0;
    width: 51%;
    height: 100%;
 
}

.pk-desktop-content {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 33.3984375vw;
}

.pk-copy {
    position: absolute;
    left: 4.15%;
    top: 5.5%;
    width: 50%;
}

.pk-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    color: var(--pk-white);
    font-size: clamp(10px, 1vw, 17px);
    letter-spacing: 4px;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
}

.pk-eyebrow span:first-child,
.pk-eyebrow span:last-child {
    display: block;
    width: 28px;
    height: 2px;
    flex: 0 0 28px;
    background: var(--pk-gold);
}

.pk-eyebrow b { color: var(--pk-gold); font-weight: 600; }

.pk-title,
.pk-mobile-title {
    margin: 0;
    color: var(--pk-white);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: -1.8px;
    line-height: .98;
    text-shadow: 0 2px 10px rgba(0,0,0,.22);
}

.pk-title {
    font-size: clamp(40px, 5.05vw, 104px);
}

.pk-title span,
.pk-mobile-title span { color: var(--pk-gold); }

.pk-description {
    margin: 15px 0 0;
    color: #fff;
    font-size: clamp(13px, 1.45vw, 29px);
    line-height: 1.34;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0,0,0,.35);
}

.pk-features-desktop {
    position: absolute;
    left: 4.15%;
    bottom: 14.5%;
    width: 49%;
}

.pk-feature {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.05vw, 22px);
    min-height: 76px;
    padding-right: 15px;
}

.pk-icon {
    width: clamp(52px, 4vw, 82px);
    height: clamp(52px, 4vw, 82px);
    flex: 0 0 clamp(52px, 4vw, 82px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--pk-gold);
    border-radius: 50%;
    color: var(--pk-gold);
    font-size: clamp(22px, 2vw, 40px);
    background: rgba(0,23,45,.20);
    box-shadow: 0 0 12px rgba(244,184,63,.12);
}

.pk-feature-text {
    color: #fff;
    font-size: clamp(11px, 1.15vw, 23px);
    line-height: 1.18;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0,0,0,.45);
}

.pk-mobile-content { display: none; }

/* Tablet */
@media (max-width: 991.98px) and (min-width: 576px) {
    .pk-cities-bg {
        background-size: cover;
        background-position: center center;
    }

    .pk-desktop-content { min-height: 50vw; }
    .pk-copy { width: 58%; }
    .pk-title { font-size: clamp(42px, 6vw, 68px); }
    .pk-description { font-size: clamp(14px, 1.8vw, 20px); }
    .pk-features-desktop { width: 62%; bottom: 9%; }
    .pk-feature-text { font-size: 14px; }
}

/* Mobile */
@media (max-width: 575.98px) {
    .pk-cities-section {
        aspect-ratio: 1024 / 1536;
        min-height: 0;
    }

    .pk-cities-bg {
        background-image: url("../images/popular-cities-mobile.png");
        background-size: 100% 100%;
        background-position: center center;
    }

    /* Replace the embedded reference artwork's text/card with HTML. */
    .pk-cities-shade {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background:
            linear-gradient(180deg,
                rgba(0,21,44,.94) 0%,
                rgba(0,29,58,.88) 24%,
                rgba(0,29,58,.08) 39%,
                rgba(0,20,39,.02) 67%,
                rgba(0,20,39,.90) 73%,
                rgba(0,18,35,.96) 100%);
    }

    .pk-desktop-content { display: none; }
    .pk-mobile-content {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        min-height: 100%;
    }

    .pk-mobile-copy {
        position: absolute;
        top: 5.1%;
        left: 5.2%;
        width: 89%;
    }

    .pk-eyebrow-mobile {
        gap: 7px;
        margin-bottom: 8px;
        font-size: clamp(8px, 2.35vw, 14px);
        letter-spacing: 2.4px;
    }

    .pk-eyebrow-mobile span:first-child {
        width: 22px;
        flex-basis: 22px;
    }

    .pk-eyebrow-mobile .pk-eyebrow-text { white-space: nowrap; }
    .pk-eyebrow-mobile span:last-child { display: none; }

    .pk-mobile-title {
        font-size: clamp(31px, 8.2vw, 54px);
        letter-spacing: -1px;
        line-height: .98;
    }

    .pk-mobile-description {
        margin: 13px 0 0;
        max-width: 95%;
        color: #fff;
        font-size: clamp(13px, 3.6vw, 22px);
        line-height: 1.38;
        font-weight: 400;
        text-shadow: 0 1px 5px rgba(0,0,0,.5);
    }

    .pk-mobile-features {
        position: absolute;
        left: 4%;
        bottom: 9.4%;
        width: 92%;
        padding: 3.5% 2% 2.7%;
        border: 1px solid rgba(244,184,63,.38);
        border-radius: 24px;
        background: linear-gradient(145deg, rgba(0,26,49,.96), rgba(0,14,29,.96));
        box-shadow: 0 0 22px rgba(244,184,63,.14), inset 0 1px 0 rgba(255,255,255,.08);
    }

    .pk-mobile-feature {
        min-height: 115px;
        padding: 0 5px 9px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #fff;
        font-size: clamp(11px, 3.1vw, 18px);
        line-height: 1.18;
        font-weight: 500;
    }

    .pk-mobile-features .col-6:nth-child(1),
    .pk-mobile-features .col-6:nth-child(3) {
        border-right: 1px solid rgba(255,255,255,.18);
    }

    .pk-mobile-features .col-6:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,.18);
    }

    .pk-mobile-icon {
        width: clamp(56px, 14vw, 88px);
        height: clamp(56px, 14vw, 88px);
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--pk-gold);
        border-radius: 50%;
        color: var(--pk-gold);
        font-size: clamp(24px, 6.5vw, 40px);
        background: rgba(0,19,38,.55);
    }

    .pk-mobile-bottom-line {
        position: absolute;
        left: 10%;
        bottom: 3.1%;
        width: 80%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: #fff;
        font-size: clamp(7px, 2vw, 12px);
        letter-spacing: 3px;
        white-space: nowrap;
    }

    .pk-mobile-bottom-line span {
        width: 35px;
        height: 1px;
        background: var(--pk-gold);
        flex: 0 0 35px;
    }

    .pk-mobile-bottom-line em { font-style: normal; }
}

@media (max-width: 380px) {
    .pk-mobile-copy { top: 4.5%; }
    .pk-mobile-description { font-size: 12.8px; }
    .pk-mobile-features { bottom: 8.5%; border-radius: 20px; }
    .pk-mobile-feature { min-height: 102px; font-size: 11px; }
    .pk-mobile-icon { width: 52px; height: 52px; font-size: 22px; }
}
