/* =====================================================================
   PRP lander — visual override skin  ("clinical-warm")
   ---------------------------------------------------------------------
   Loads AFTER /lander-shared/base.css. Base is the design system and is
   never edited from here — this file only carries the PRP lander's
   deviations. All new classes are prefixed `lpv-`.

   Direction
     • Brand Blue #142950 becomes the structural accent (eyebrows, step
       numerals, icon chips, band fills, rules).
     • Kinetix Green #39B54A is reserved for CTAs and key highlights only
       — never a large background fill (brand guide p. 46).
     • Warm ivory replaces the cool grey band so the page reads clinical
       but human, and the band rhythm is broken out of plain alternation:
       warm hero → blue rule strip → white → ivory → DEEP BLUE → ivory →
       white → ivory → white → deep blue.
   ===================================================================== */

:root {
    /* Brand Blue + tints */
    --lpv-blue: #142950;
    --lpv-blue-2: #1d3a6d;
    --lpv-blue-soft: rgba(20, 41, 80, 0.07);
    --lpv-blue-soft-2: rgba(20, 41, 80, 0.14);
    --lpv-blue-line: rgba(20, 41, 80, 0.18);

    /* Warm neutrals — replaces the base's cool #f5f7fa band */
    --lpv-warm: #f8f5f0;
    --lpv-warm-2: #f2ede5;
    --lpv-warm-line: #e7e0d5;

    /* Slightly warmer body text than the base's blue-grey */
    --lpv-text: #16233a;
    --lpv-text-2: #46536b;

    --lpv-radius-lg: 16px;
}

body {
    color: var(--lpv-text);
    letter-spacing: 0.1px;
}

/* ───────────────────────── HEADER ─────────────────────────
   Structure/ids untouched — a hairline brand rule under the bar and a
   blue phone glyph tie the header into the new accent system. */
.lp-header {
    border-bottom: 1px solid var(--lpv-warm-line);
    box-shadow: 0 1px 0 rgba(20, 41, 80, 0.04);
}

.lp-header::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 3px;
    background: linear-gradient(90deg, var(--lpv-blue) 0%, var(--lpv-blue-2) 55%, var(--qck-green) 100%);
    opacity: 0.9;
}

.lp-header-phone i { color: var(--lpv-blue); }
.lp-header-phone:hover { background: var(--lpv-blue-soft); }

/* ───────────────────────── HERO ─────────────────────────
   Warm ivory wash instead of the cool grey→white gradient. */
.lp-hero {
    background:
        radial-gradient(circle at 8% 0%, rgba(20, 41, 80, 0.06) 0%, transparent 42%),
        radial-gradient(circle at 100% 92%, rgba(57, 181, 74, 0.07) 0%, transparent 46%),
        linear-gradient(180deg, var(--lpv-warm) 0%, #ffffff 78%);
    padding-top: 44px;
}

/* Framed hero figure: thin blue keyline + a green rule along the bottom
   edge so the imagery picks up both brand colors without a green fill. */
.lp-hero-figure {
    border-radius: var(--lpv-radius-lg);
    border: 1px solid var(--lpv-blue-line);
    box-shadow: 0 18px 44px rgba(20, 41, 80, 0.14);
    position: relative;
}

.lp-hero-figure::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--qck-green) 0%, var(--lpv-blue) 100%);
}

.lp-hero-h1 {
    color: var(--lpv-blue);
    letter-spacing: -0.8px;
}

.lp-hero-sub { color: var(--lpv-text-2); }

.lp-hero-microtrust .lp-dot { color: var(--lpv-blue-line); }

/* ───────────────────────── FORM CARD (styling only) ───────────────────────── */
.lp-form-card {
    border-radius: var(--lpv-radius-lg);
    border-color: var(--lpv-warm-line);
    box-shadow: 0 26px 70px rgba(20, 41, 80, 0.18), 0 6px 16px rgba(20, 41, 80, 0.07);
}

.lp-form-card::before {
    border-top-left-radius: var(--lpv-radius-lg);
    border-top-right-radius: var(--lpv-radius-lg);
}

.lp-form-card-h2 { color: var(--lpv-blue); }

.lp-input.form-control,
.lp-input.form-select { border-radius: 10px; }

/* ───────────────────────── TRUST STRIP → deep blue rule bar ─────────────────────────
   The base renders this as a pale grey band. Here it becomes the page's
   first hard break: a compact Brand Blue bar with white text. */
.lp-trust-strip {
    background: linear-gradient(100deg, var(--lpv-blue) 0%, var(--lpv-blue-2) 100%);
    border-top: none;
    border-bottom: none;
    padding: 22px 0;
}

.lp-trust-item {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.lp-trust-item i { color: #8DC63F; }

/* ───────────────────────── SECTION SYSTEM ─────────────────────────
   Left-aligned, rule-led section heads instead of the base's centered
   block — more editorial, and it gives the eyebrow somewhere to live. */
.lp-section-light {
    background: var(--lpv-warm);
    border-top: 1px solid var(--lpv-warm-line);
    border-bottom: 1px solid var(--lpv-warm-line);
}

.lp-section-head {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 760px;
}

.lp-section-eyebrow {
    color: var(--lpv-blue);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 2px;
}

.lp-section-eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--qck-green);
    flex: 0 0 26px;
}

.lp-section-h2 {
    color: var(--lpv-blue);
    letter-spacing: -0.7px;
}

/* Re-assert the light variant: this file loads after base.css, so the rule
   above would otherwise win the specificity tie on the dark CTA band. */
.lp-section-h2.lp-section-h2-light { color: #ffffff; }

.lp-section-sub { color: var(--lpv-text-2); }
.lp-section p { color: var(--lpv-text-2); }

.lp-cta-row { text-align: left; }

/* ── Deep band: applied to "How It Works" so the rhythm isn't a plain
      light/white alternation. White text on Brand Blue. ── */
.lpv-band-deep {
    background: linear-gradient(160deg, var(--lpv-blue) 0%, #0d1c37 100%);
    border-top: none;
    border-bottom: none;
}

.lpv-band-deep .lp-section-h2,
.lpv-band-deep .lp-step h3 { color: #ffffff; }

.lpv-band-deep .lp-section-eyebrow { color: #8DC63F; }
.lpv-band-deep .lp-section-eyebrow::before { background: #8DC63F; }

.lpv-band-deep .lp-section-sub,
.lpv-band-deep .lp-step p,
.lpv-band-deep p { color: rgba(255, 255, 255, 0.78); }

.lpv-band-deep .lp-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--lpv-radius-lg);
    text-align: left;
    padding: 28px 24px 26px;
}

.lpv-band-deep .lp-step-num {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    margin: 0 0 16px;
    font-size: 20px;
}

/* ── Alternate warm band for the locations section (id is frozen, so it
      is targeted by id — no HTML change). ── */
#locations.lp-section-light {
    background: linear-gradient(180deg, var(--lpv-warm-2) 0%, var(--lpv-warm) 100%);
}

/* ───────────────────────── AREA / TREATMENT CARDS ───────────────────────── */
.lp-treat-card {
    border-radius: var(--lpv-radius-lg);
    border-color: var(--lpv-warm-line);
    text-align: left;
    align-items: flex-start;
    padding: 26px 22px;
}

.lp-treat-card:hover {
    border-color: var(--lpv-blue);
    box-shadow: 0 14px 34px rgba(20, 41, 80, 0.12);
}

.lp-treat-icon {
    background: var(--lpv-blue-soft);
    color: var(--lpv-blue);
    border-radius: 12px;
}

.lp-treat-card:hover .lp-treat-icon {
    background: var(--lpv-blue);
    color: #ffffff;
}

.lp-treat-card h3 { color: var(--lpv-blue); }
.lp-treat-card p { color: var(--lpv-text-2); }

/* =====================================================================
   SIGNATURE SECTION — "How PRP is prepared" process flow
   A four-stop horizontal strip on desktop, a vertical rail on mobile.
   Pure CSS: numbered blue markers on a connecting rule that warms from
   blue to green as it moves toward the treatment plan.
   ===================================================================== */
.lpv-flow-section {
    background: #ffffff;
    padding: 72px 0;
}

.lpv-flow {
    position: relative;
    margin-top: 8px;
}

.lpv-flow-track {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    position: relative;
}

/* The connecting rule. Sits behind the markers, inset so it starts and
   ends inside the first/last marker rather than running off the edge. */
.lpv-flow-track::before {
    content: '';
    position: absolute;
    top: 29px;
    left: 30px;
    right: calc(25% - 48px); /* stops at the centre of the 4th marker (4 cols, 24px gap) */
    height: 2px;
    background: linear-gradient(90deg,
        var(--lpv-blue-line) 0%,
        rgba(20, 41, 80, 0.45) 45%,
        rgba(57, 181, 74, 0.55) 100%);
    z-index: 0;
}

.lpv-step {
    position: relative;
    z-index: 1;
    padding-right: 8px;
}

.lpv-step-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--lpv-blue);
    color: var(--lpv-blue);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 0 0 6px #ffffff, 0 6px 18px rgba(20, 41, 80, 0.10);
}

/* Final stop picks up the green accent — the handoff to care. */
.lpv-step:last-child .lpv-step-marker {
    border-color: var(--qck-green);
    color: var(--qck-green);
}

.lpv-step-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--lpv-blue-2);
    opacity: 0.7;
    margin-bottom: 6px;
}

.lpv-step-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--lpv-blue);
    margin: 0 0 8px;
    line-height: 1.25;
}

.lpv-step-copy {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--lpv-text-2);
    margin: 0;
}

.lpv-flow-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 44px;
    padding: 22px 24px;
    border: 1px solid var(--lpv-warm-line);
    border-left: 4px solid var(--qck-green);
    border-radius: var(--lpv-radius-lg);
    background: var(--lpv-warm);
}

.lpv-flow-foot-copy {
    flex: 1 1 320px;
    margin: 0 !important;
    font-size: 15px;
    line-height: 1.6;
    color: var(--lpv-text-2);
}

.lpv-flow-foot-copy strong { color: var(--lpv-blue); }

/* ───────────────────────── WHY / EDITORIAL BLOCK ───────────────────────── */
.lp-why-img {
    border-radius: var(--lpv-radius-lg);
    border: 1px solid var(--lpv-blue-line);
    box-shadow: 0 18px 44px rgba(20, 41, 80, 0.14);
}

/* ───────────────────────── TESTIMONIALS (styling only) ───────────────────────── */
.lp-testimonial {
    background: #ffffff;
    border-color: var(--lpv-warm-line);
    border-radius: var(--lpv-radius-lg);
    border-top: 3px solid var(--lpv-blue);
    box-shadow: 0 8px 26px rgba(20, 41, 80, 0.07);
}

.lp-testimonial-photo {
    border: 2px solid var(--lpv-blue-soft-2);
}

.lp-testimonial-quote {
    color: var(--lpv-text);
    font-style: normal;
}

.lp-testimonial-meta strong { color: var(--lpv-blue); }

/* ───────────────────────── LOCATIONS (styling only) ───────────────────────── */
.lp-location-card {
    border-radius: var(--lpv-radius-lg);
    border-color: var(--lpv-warm-line);
}

.lp-location-card:hover {
    box-shadow: 0 16px 38px rgba(20, 41, 80, 0.12);
}

.lp-location-body h3 { color: var(--lpv-blue); }

.lp-location-maps:hover {
    color: var(--lpv-blue);
    border-color: var(--lpv-blue);
    background: var(--lpv-blue-soft);
}

/* ───────────────────────── FAQ ───────────────────────── */
.lp-accordion .lp-faq-item {
    border-color: var(--lpv-warm-line);
    border-radius: 12px !important;
}

.lp-accordion .lp-faq-btn { color: var(--lpv-blue); }

.lp-accordion .lp-faq-btn:not(.collapsed) {
    background: var(--lpv-blue-soft);
    color: var(--lpv-blue);
}

.lp-accordion .lp-faq-btn:not(.collapsed)::after { color: var(--lpv-blue); }

.lp-accordion .lp-faq-body { color: var(--lpv-text-2); }

/* ───────────────────────── FINAL CTA + FOOTER ───────────────────────── */
.lp-section-dark {
    background: linear-gradient(150deg, var(--lpv-blue) 0%, #0b1a33 100%);
}

.lp-section-dark .lp-section-head { text-align: center; }

/* Same cascade guard as the light H2 — `.lp-section p` above is more
   specific than the base's `.lp-final-sub`, so restate it on dark. */
.lp-section.lp-section-dark p,
.lp-section.lp-section-dark .lp-final-sub,
.lp-section.lp-section-dark .lp-section-sub { color: rgba(255, 255, 255, 0.82); }

.lp-footer { background: #0b1526; }

/* ───────────────────────── STICKY BAR (styling only) ───────────────────────── */
.lp-sticky-bar { border-top: 1px solid var(--lpv-warm-line); }
.lp-sticky-call { color: var(--lpv-blue) !important; border-color: var(--lpv-blue); }
.lp-sticky-call:hover { background: var(--lpv-blue-soft); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* Tablet: the four-stop strip becomes two rows of two. */
@media (max-width: 991.98px) {
    .lpv-flow-section { padding: 52px 0; }

    .lpv-flow-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }
    .lpv-flow-track::before { display: none; }

    .lp-hero { padding-top: 28px; }
    .lp-hero-h1 { letter-spacing: -0.5px; }
}

/* Phones: vertical rail — the connector moves to a left-hand line so the
   numbered sequence still reads as one continuous flow. */
@media (max-width: 767.98px) {
    .lpv-flow-section { padding: 40px 0; }

    .lpv-flow-track {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lpv-step {
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 16px;
        padding: 0 0 22px 0;
        position: relative;
    }

    /* Left rail between markers */
    .lpv-step::before {
        content: '';
        position: absolute;
        left: 21px;
        top: 46px;
        bottom: 0;
        width: 2px;
        background: var(--lpv-blue-line);
    }

    .lpv-step:last-child { padding-bottom: 0; }
    .lpv-step:last-child::before { display: none; }

    .lpv-step-marker {
        width: 44px;
        height: 44px;
        font-size: 16px;
        margin-bottom: 0;
        grid-row: 1 / span 3;
        box-shadow: 0 0 0 4px #ffffff;
    }

    .lpv-step-label { grid-column: 2; margin-bottom: 2px; }
    .lpv-step-title { grid-column: 2; font-size: 16.5px; margin-bottom: 6px; }
    .lpv-step-copy { grid-column: 2; font-size: 14px; }

    .lpv-flow-foot {
        margin-top: 28px;
        padding: 18px 18px;
    }
    .lpv-flow-foot .lp-btn { width: 100%; }

    .lp-trust-strip { padding: 16px 0; }
    .lp-trust-item { color: #ffffff; }

    .lpv-band-deep .lp-step { padding: 22px 18px; }

    .lp-section-head { max-width: none; }
}

/* Very small: keep the area cards readable now that they're left-aligned. */
@media (max-width: 380px) {
    .lp-treat-card { padding: 18px 16px; }
    .lpv-step-title { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-treat-card,
    .lp-treat-icon,
    .lp-location-card { transition: none; }
}
