/* Service Future of Search — white, centered header + 2-col body, sticky flip card on right */
.service-future-search {
    padding: var(--section-padding-mobile);
    background: var(--color-bg);
    width: 100%;
    position: relative;
}
@media (min-width: 992px) {
    .service-future-search { padding: var(--section-padding); }
}

/* ── Header: centered, eyebrow + H2 only ─────────────── */
.service-future-search__header {
    text-align: center;
    margin-bottom: 48px;
}
.service-future-search__headline {
    font-size: var(--font-size-h2);
    font-weight: 800;
    color: var(--color-text-dark);
    letter-spacing: -0.02em;
    line-height: var(--line-height-heading);
    margin: 0 auto;
    max-width: 820px;
}

/* ── Body: 2-col grid. Right column MUST stretch to match the row
   height so the sticky flip card has room to slide within it. ─── */
.service-future-search__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    /* align-items defaults to stretch — leave it alone so the right
       column fills the full row height (required for sticky). */
}
@media (min-width: 992px) {
    .service-future-search__body {
        grid-template-columns: 1.05fr 1fr;
        gap: 64px;
    }
}

.service-future-search__left {
    display: flex;
    flex-direction: column;
}

/* Intros sit at the top of the left column */
.service-future-search__intro {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text);
    margin: 0 0 16px;
}
.service-future-search__intro + .service-future-search__intro {
    margin-bottom: 28px;
}

/* Bullets */
.service-future-search__subheading {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0 0 16px;
}
.service-future-search__bullets {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}
.service-future-search__bullet {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
    color: var(--color-text);
    line-height: 1.7;
}
.service-future-search__bullets li:first-child {
    border-top: 1px solid var(--color-border);
}
.service-future-search__dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--color-secondary);
    margin-top: 6px;
    flex-shrink: 0;
}

/* CTA — sit left, don't stretch to card width */
.service-future-search__cta {
    align-self: flex-start;
}

/* ── Right column: wrapper for sticky flip card ──────── */
.service-future-search__right {
    /* On desktop this column stretches to match the left column's
       height (grid default). The flip card inside uses position:sticky
       against this stretched container — that's what gives it room
       to stay pinned while the left column scrolls. */
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-future-search__flip {
    width: 100%;
    height: 300px;           /* Mobile default */
    perspective: 1000px;
    cursor: pointer;
}

/* Desktop: taller card, pinned in view while the left column scrolls */
@media (min-width: 992px) {
    .service-future-search__flip {
        height: 440px;
        position: sticky;
        top: 100px;          /* Clears sticky site header if present */
    }
}

.service-future-search__flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}
.service-future-search__flip:hover .service-future-search__flip-inner,
.service-future-search__flip.is-flipped .service-future-search__flip-inner,
.service-future-search__flip:focus-visible .service-future-search__flip-inner {
    transform: rotateY(180deg);
}
.service-future-search__flip-front,
.service-future-search__flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-future-search__flip-front {
    background: var(--color-dark);
}
.service-future-search__flip-back {
    background: var(--color-secondary);
    transform: rotateY(180deg);
}
.service-future-search__flip-label {
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}
.service-future-search__flip-text {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    color: var(--color-text-light);
    line-height: 1.4;
}
.service-future-search__flip-hint {
    font-size: var(--font-size-xs);
    color: rgba(255,255,255,0.35);
    margin-top: 24px;
    letter-spacing: 0.05em;
}

/* ── Accessibility: respect reduced motion ───────────── */
@media (prefers-reduced-motion: reduce) {
    .service-future-search__flip-inner {
        transition: none;
    }
}
