/* =====================================================================
   Country Intro Block — second content section for US cluster country pages
   ===================================================================== */

.cp-intro {
    position: relative;
    z-index: 1;
    padding: 20px 0 64px;
}

.cp-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cp-intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(17, 18, 20, 0.55));
    pointer-events: none;
    z-index: 0;
}

.cp-intro__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Section eyebrow label ───────────────────────────────────────── */
.cp-intro__eyebrow {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #FF6A00;
    margin-bottom: 16px;
}

/* ── Headings ────────────────────────────────────────────────────── */
.cp-intro__h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #111214;
    line-height: 1.1;
    margin: 0 0 20px;
    letter-spacing: -0.015em;
}

.cp-intro__h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #3a3a3a;
    line-height: 1.6;
    max-width: 780px;
    margin: 0 0 52px;
    padding-left: 18px;
    border-left: 3px solid #FF6A00;
}

/* ── Two-column layout: title+copy on left, photo on right ──────── */
.cp-intro__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: stretch;
    margin-bottom: 56px;
}

/* ── Body copy ───────────────────────────────────────────────────── */
.cp-intro__text {
    height: 90%;
    margin-top: 10%;
    backdrop-filter: blur(5px) saturate(100%);
    border-radius: 86px;
    padding: 32px 36px;
    isolation: isolate;
    will-change: transform;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cp-intro__text .cp-intro__eyebrow {
    color: #FF6A00;
}

.cp-intro__text .cp-intro__h2 {
    color: #111214;
}

.cp-intro__text .cp-intro__h3 {
    color: #3a3a3a;
    border-left-color: #FF6A00;
}

.cp-intro__text p {
    font-size: 1rem;
    line-height: 1.75;
    color: #111214;
    font-weight: 400;
    margin: 0 0 18px;
}

.cp-intro__text p:last-child {
    margin-bottom: 0;
}

/* ── Photo / Gallery slider ─────────────────────────────────────── */
.cp-intro__photo-wrap {
    position: relative;
    border-radius: 14px;
    height: 90%;
    margin-top: 10%;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #111214;
}

.cp-intro__slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.cp-intro__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.cp-intro__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.cp-intro__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Arrow buttons */
.cp-intro__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(237, 227, 213, 0.25);
    background: rgba(17, 18, 20, 0.55);
    color: #EDE3D5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    transition: background 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(4px);
}

.cp-intro__arrow:hover {
    background: #FF6A00;
    border-color: #FF6A00;
}

.cp-intro__arrow--prev { left: 10px; }
.cp-intro__arrow--next { right: 10px; }

/* Dot indicators */
.cp-intro__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.cp-intro__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(237, 227, 213, 0.40);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.cp-intro__dot.is-active {
    background: #FF6A00;
    transform: scale(1.3);
}

/* ── Badge: key number + label (top-right corner) ────────────────── */
.cp-intro__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #FF6A00;
    color: #fff;
    padding: 10px 16px 8px;
    border-radius: 2px;
    text-align: center;
    line-height: 1;
    min-width: 80px;
}

.cp-intro__badge-value {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.cp-intro__badge-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-top: 5px;
    opacity: 0.88;
}

/* ── Route tag (bottom strip on photo) ───────────────────────────── */
.cp-intro__route-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(17, 18, 20, 0.80);
    color: #EDE3D5;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.cp-intro__route-tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #FF6A00;
    flex-shrink: 0;
}

/* ── Quick Stats strip (3 metrics) ──────────────────────────────── */
.cp-intro__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #444;
    border: 1px solid #444;
    border-radius: 3px;
    overflow: hidden;
}

.cp-intro__stat {
    background: #111214;
    padding: 30px 24px 26px;
    text-align: center;
}

.cp-intro__stat-value {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: #EDE3D5;
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
}

.cp-intro__stat-label {
    display: block;
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #777;
}

/* ── No bottom fade (continent pages) ───────────────────────────── */
.cp-intro--no-fade::after {
    display: none;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .cp-intro {
        padding: 52px 0 44px;
    }

    .cp-intro__inner {
        padding: 0 24px;
    }

    .cp-intro__h2 {
        font-size: 2rem;
    }

    .cp-intro__body {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cp-intro__photo-wrap {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 640px) {
    .cp-intro {
        padding: 40px 0 36px;
    }

    .cp-intro__inner {
        padding: 0 16px;
    }

    .cp-intro__h2 {
        font-size: 1.75rem;
    }

    .cp-intro__h3 {
        margin-bottom: 32px;
    }

    .cp-intro__stats {
        grid-template-columns: 1fr;
    }

    .cp-intro__stat-value {
        font-size: 2rem;
    }
}
