/* ─── Map Integration Block ──────────────────────────────────────────────── */

/* ── Section wrapper ─────────────────────────────────────────────────────── */
.pp-map-integration {
    position: relative;
    padding: 60px 0 0;
    background-color: var(--bgcreame);
    overflow: hidden;
}

/* ── Optional text header (centered, inside container) ───────────────────── */
.pp-map-integration__header {
    text-align: center;
    margin-bottom: 40px;
}

.pp-map-integration__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--global-font-family);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
    position: relative;
}

.pp-map-integration__label::before,
.pp-map-integration__label::after {
    content: '';
    flex: 1;
    height: 2px;
    width: 40px;
    background: var(--orange);
    border-radius: 8px;
    display: inline-block;
}

.pp-map-integration__heading {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
    font-family: var(--global-font-family);
    margin: 0 0 14px;
}

.pp-map-integration__subtext {
    font-size: 1rem;
    color: var(--grey);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Full-width map+card wrapper ─────────────────────────────────────────── */
.pp-map-integration__wrap {
    position: relative;
    width: 100%;
}

/* ── Map iframe container ────────────────────────────────────────────────── */
.pp-map-integration__map {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.pp-map-integration__map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    filter: saturate(0.9) contrast(1.05);
    transition: filter 0.4s ease;
}

.pp-map-integration__map:hover iframe {
    filter: saturate(1) contrast(1);
}

/* ── Overlay info card ───────────────────────────────────────────────────── */
.pp-map-card {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
    z-index: 10;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: pp-card-fadein 0.5s ease both;
}

@keyframes pp-card-fadein {
    from { opacity: 0; transform: translateY(calc(-50% + 20px)); }
    to   { opacity: 1; transform: translateY(-50%); }
}

/* Card position variants */
.pp-map-card-left  .pp-map-card { left:  clamp(20px, 5vw, 80px); }
.pp-map-card-right .pp-map-card { right: clamp(20px, 5vw, 80px); }

/* ── Card title ──────────────────────────────────────────────────────────── */
.pp-map-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
    font-family: var(--global-font-family);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f2ede6;
}

/* ── Contact item list ───────────────────────────────────────────────────── */
.pp-map-card__list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pp-map-card__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pp-map-card__item > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pp-map-card__item strong {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    font-family: var(--global-font-family);
}

.pp-map-card__item p {
    margin: 0;
    font-size: 14px;
    color: var(--grey);
    line-height: 1.5;
    font-family: var(--global-body-font-family);
}

.pp-map-card__item p a {
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pp-map-card__item p a:hover {
    color: var(--orange);
}

/* ── Icon badge ──────────────────────────────────────────────────────────── */
.pp-map-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #feece0;
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-map-card__icon svg {
    width: 20px;
    height: 20px;
}

/* ── CTA button ──────────────────────────────────────────────────────────── */
.pp-map-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 28px;
    background: var(--orange);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--global-font-family);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 20px rgba(232, 132, 92, 0.3);
}

.pp-map-card__cta:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    color: #fff;
}

.pp-map-card__cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.pp-map-card__cta:hover svg {
    transform: translateX(4px);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

/* Tablet: card slides below the map */
@media (max-width: 1024px) {
    .pp-map-integration {
        padding-bottom: 0;
    }

    .pp-map-integration__wrap {
        display: flex;
        flex-direction: column;
    }

    .pp-map-card {
        position: relative;
        top: auto;
        left: auto !important;
        right: auto !important;
        transform: none;
        width: 100%;
        border-radius: 0;
        box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.10);
        animation: none;
        padding: 30px 24px;
    }

    .pp-map-integration__map {
        height: 400px !important;
    }

    .pp-map-integration__map iframe {
        height: 400px !important;
    }
}

@media (max-width: 767px) {
    .pp-map-integration {
        padding-top: 40px;
    }

    .pp-map-integration__map {
        height: 300px !important;
    }

    .pp-map-integration__map iframe {
        height: 300px !important;
    }

    .pp-map-card {
        padding: 24px 18px;
    }

    .pp-map-card__title {
        font-size: 1.05rem;
    }
}
