/* =====================================================================
   Per-lander style overrides — joint-pain.qckaz.com
   The full design system lives in /lander-shared/base.css. That file is
   NOT edited here; this sheet loads after it and carries only this
   lander's intentional deviations.

   VARIANT: "design-v2" — warmer + more human than the base skin.
     · warm off-white neutrals instead of cool slate greys
     · soft Light Green (#8DC63F) tint bands at very low opacity,
       never a saturated green fill
     · noticeably rounder cards, softer shadows
     · Kinetix Green (#39B54A) reserved for CTAs, icons and accents
     · a different section-band rhythm than the base alternation
   New classes introduced here are prefixed `lpv-`.
   ===================================================================== */

/* ───────────────────────── TOKENS ───────────────────────── */
:root {
    /* Warm neutral ramp — replaces the base's cool slate greys */
    --qck-text: #221c17;
    --qck-text-2: #4e463e;
    --qck-text-muted: #7d736a;

    --qck-bg: #ffffff;
    --qck-bg-soft: #f8f5f0;
    --qck-bg-card: #ffffff;
    --qck-bg-dark: #131a14;

    --qck-border: #ebe4da;
    --qck-border-2: #d9d0c3;

    /* Rounder everything */
    --qck-radius: 20px;
    --qck-radius-sm: 14px;

    /* Softer, warmer shadows */
    --qck-shadow-sm: 0 1px 3px rgba(52, 40, 28, 0.05), 0 1px 2px rgba(52, 40, 28, 0.04);
    --qck-shadow-md: 0 10px 30px rgba(52, 40, 28, 0.08), 0 2px 8px rgba(52, 40, 28, 0.04);
    --qck-shadow-lg: 0 24px 64px rgba(52, 40, 28, 0.14), 0 8px 20px rgba(52, 40, 28, 0.07);

    /* Variant-only tokens */
    --lpv-light-green: #8DC63F;
    --lpv-tint-1: rgba(141, 198, 63, 0.055);   /* faintest band wash        */
    --lpv-tint-2: rgba(141, 198, 63, 0.10);    /* card / chip fill          */
    --lpv-tint-3: rgba(141, 198, 63, 0.20);    /* hairline borders          */
    --lpv-cream: #faf6ef;                      /* warm paper band           */
    --lpv-cream-line: #efe6d7;
    --lpv-radius-lg: 26px;
    --lpv-ease: cubic-bezier(0.22, 0.9, 0.3, 1);
}

/* ───────────────────────── HEADER ───────────────────────── */
.lp-header {
    border-bottom: 1px solid var(--qck-border);
    box-shadow: 0 1px 0 rgba(141, 198, 63, 0.18);
}

.lp-header-phone { border-radius: 999px; }

/* ───────────────────────── HERO ───────────────────────── */
/* Warm paper ground with a low green wash bleeding in from the corners —
   the tint is the mood, the green stays on the buttons. */
.lp-hero {
    background:
        radial-gradient(120% 90% at 6% 0%, rgba(141, 198, 63, 0.13) 0%, transparent 55%),
        radial-gradient(90% 80% at 100% 8%, rgba(57, 181, 74, 0.07) 0%, transparent 60%),
        linear-gradient(180deg, var(--lpv-cream) 0%, #ffffff 78%);
    padding: 40px 0 56px;
}

.lp-hero-figure {
    border-radius: var(--lpv-radius-lg);
    box-shadow: 0 20px 44px rgba(52, 40, 28, 0.14);
    /* Warm inner hairline so the photo sits on the cream rather than on it */
    outline: 6px solid rgba(255, 255, 255, 0.85);
    outline-offset: -6px;
}

.lp-hero-h1 {
    letter-spacing: -0.8px;
    line-height: 1.08;
}

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

.lp-hero-cta { border-radius: 999px; }

/* Micro-trust reads as a soft chip strip rather than a grey caption */
.lp-hero-microtrust {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--lpv-tint-3);
    border-radius: 999px;
    padding: 9px 16px;
    width: fit-content;
    max-width: 100%;
    color: var(--qck-text-2);
}

/* ───────────────────────── FORM CARD ───────────────────────── */
.lp-form-card {
    border-radius: var(--lpv-radius-lg);
    border-color: var(--qck-border);
    padding: 30px;
}

.lp-form-card::before {
    height: 5px;
    background: linear-gradient(90deg, var(--qck-green) 0%, var(--lpv-light-green) 100%);
    border-top-left-radius: var(--lpv-radius-lg);
    border-top-right-radius: var(--lpv-radius-lg);
}

.lp-form-card-eyebrow { letter-spacing: 1.8px; }

.lp-input.form-control,
.lp-input.form-select {
    border-radius: 12px;
    background: #fffdfa;
}

.lp-input.form-control:focus,
.lp-input.form-select:focus {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(57, 181, 74, 0.14);
}

.lp-zip-result { border-radius: 10px; }

/* ───────────────────────── BUTTONS ───────────────────────── */
/* Pill CTAs — the single loudest "this lander is different" cue, and the
   only place Kinetix Green is allowed to sit at full strength. */
.lp-btn {
    border-radius: 999px;
    letter-spacing: 0.2px;
}

.lp-btn-primary {
    box-shadow: 0 6px 18px rgba(57, 181, 74, 0.22);
}

.lp-btn-primary:hover {
    box-shadow: 0 10px 26px rgba(57, 181, 74, 0.30);
    transform: translateY(-1px);
}

.lp-btn-primary:active { transform: translateY(1px); }

.lp-btn-ghost { border-radius: 999px; }

/* ───────────────────────── TRUST STRIP ───────────────────────── */
/* Base renders a flat grey band; here it becomes a row of rounded chips
   floating on the faintest green wash. */
.lp-trust-strip {
    background: linear-gradient(180deg, #ffffff 0%, var(--lpv-tint-1) 100%);
    border-top: 1px solid var(--lpv-tint-3);
    border-bottom: 1px solid var(--lpv-tint-3);
    padding: 22px 0;
}

.lp-trust-item {
    background: #fff;
    border: 1px solid var(--qck-border);
    border-radius: 999px;
    padding: 12px 16px;
    box-shadow: var(--qck-shadow-sm);
    min-height: 52px;
    text-align: left;
}

/* ───────────────────────── SECTION BANDS ───────────────────────── */
/* Rhythm here is deliberately NOT the base's light/white alternation.
   Order down the page: mint → white → cream → white → mint → (frozen
   testimonials, white) → (frozen locations, warm soft) → white → dark. */
.lp-section { padding: 76px 0; }

.lp-section-light {
    background: var(--qck-bg-soft);
}

.lp-section-white { background: #fff; }

.lpv-band-plain { background: #fff; }

.lpv-band-mint {
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(141, 198, 63, 0.10) 0%, transparent 70%),
        var(--lpv-tint-1);
    border-top: 1px solid var(--lpv-tint-3);
    border-bottom: 1px solid var(--lpv-tint-3);
}

.lpv-band-cream {
    background: var(--lpv-cream);
    border-top: 1px solid var(--lpv-cream-line);
    border-bottom: 1px solid var(--lpv-cream-line);
}

.lp-section-dark {
    background:
        radial-gradient(70% 120% at 50% 0%, rgba(57, 181, 74, 0.18) 0%, transparent 62%),
        linear-gradient(150deg, #131a14 0%, #1d2a1f 100%);
}

.lp-section-head { max-width: 760px; margin-bottom: 46px; }

/* Eyebrow becomes a soft-tint pill instead of bare green caps */
.lp-section-eyebrow {
    display: inline-block;
    background: var(--lpv-tint-2);
    border-radius: 999px;
    padding: 6px 14px;
    letter-spacing: 1.6px;
    margin-bottom: 14px;
}

.lp-section-dark .lp-section-eyebrow {
    background: rgba(255, 255, 255, 0.10);
    color: #b8e08a;
}

.lp-section-h2 { letter-spacing: -0.7px; }

/* ─────────────── SIGNATURE: AREAS WE HELP WITH ─────────────── */
.lpv-areas-grid { margin-top: 4px; }

.lpv-area-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    height: 100%;
    padding: 24px 22px 20px;
    background: #fff;
    border: 1px solid var(--qck-border);
    border-radius: var(--lpv-radius-lg);
    box-shadow: var(--qck-shadow-sm);
    color: var(--qck-text);
    text-decoration: none;
    overflow: hidden;
    -webkit-tap-highlight-color: rgba(57, 181, 74, 0.12);
    transition:
        transform 0.22s var(--lpv-ease),
        box-shadow 0.22s var(--lpv-ease),
        border-color 0.22s var(--lpv-ease);
}

/* Tint wash that swells from the bottom on hover/tap — gives the card a
   "pressed a real button" feel without a saturated green fill. */
.lpv-area-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
    background: linear-gradient(180deg, transparent 0%, var(--lpv-tint-2) 100%);
    transition: height 0.28s var(--lpv-ease);
    pointer-events: none;
}

.lpv-area-card:hover,
.lpv-area-card:focus-visible {
    color: var(--qck-text);
    border-color: rgba(57, 181, 74, 0.55);
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(52, 40, 28, 0.12);
}

.lpv-area-card:hover::after,
.lpv-area-card:focus-visible::after { height: 72%; }

.lpv-area-card:focus-visible {
    outline: 3px solid rgba(57, 181, 74, 0.45);
    outline-offset: 3px;
}

.lpv-area-card:active { transform: translateY(-1px) scale(0.99); }

.lpv-area-icon {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--lpv-tint-2);
    color: var(--qck-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    transition: background 0.22s var(--lpv-ease), color 0.22s var(--lpv-ease);
}

.lpv-area-card:hover .lpv-area-icon,
.lpv-area-card:focus-visible .lpv-area-icon {
    background: var(--qck-green);
    color: #fff;
}

.lpv-area-name {
    position: relative;
    z-index: 1;
    font-size: 19px;
    font-weight: 800;
    margin: 0;
    color: var(--qck-text);
    line-height: 1.25;
}

/* Two-class selector on purpose: base.css sets `.lp-section p` (0,1,1),
   which would otherwise beat a bare `.lpv-area-line` (0,1,0). */
.lpv-area-card .lpv-area-line {
    position: relative;
    z-index: 1;
    color: var(--qck-text-2);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.lpv-area-go {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    color: var(--qck-green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.lpv-area-go i {
    font-size: 11px;
    transition: transform 0.22s var(--lpv-ease);
}

.lpv-area-card:hover .lpv-area-go i,
.lpv-area-card:focus-visible .lpv-area-go i { transform: translateX(4px); }

/* Closing note under the grid — carries the arthritis-soreness framing */
.lpv-area-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 32px auto 0;
    max-width: 760px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--lpv-tint-3);
    border-radius: var(--qck-radius);
    box-shadow: var(--qck-shadow-sm);
}

.lpv-area-note i {
    color: var(--qck-green);
    font-size: 19px;
    line-height: 1.5;
    flex-shrink: 0;
}

/* Ties `.lp-section p` on specificity (0,1,1) and wins by load order. */
.lpv-area-note p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--qck-text-2);
}

.lpv-areas-cta { margin-top: 30px; }

/* ───────────────────────── STEPS ───────────────────────── */
.lp-step {
    background: #fff;
    border: 1px solid var(--qck-border);
    border-radius: var(--lpv-radius-lg);
    padding: 32px 26px;
    box-shadow: var(--qck-shadow-sm);
    text-align: left;
}

.lpv-band-plain .lp-step,
.lp-section-white .lp-step {
    background: var(--lpv-cream);
    border-color: var(--lpv-cream-line);
    box-shadow: none;
}

.lp-step-num {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--lpv-tint-2);
    color: var(--qck-green);
    font-size: 19px;
    margin: 0 0 18px;
}

.lp-step h3 { font-size: 18px; }

/* ───────────────────────── JOINT PRESERVATION ───────────────────────── */
.lp-why-img {
    border-radius: var(--lpv-radius-lg);
    box-shadow: 0 20px 44px rgba(52, 40, 28, 0.14);
    outline: 6px solid rgba(255, 255, 255, 0.85);
    outline-offset: -6px;
}

/* ───────────────────────── TESTIMONIALS ───────────────────────── */
/* Structure is frozen; only the skin changes. */
.lp-testimonial {
    background: var(--lpv-cream);
    border: 1px solid var(--lpv-cream-line);
    border-radius: var(--lpv-radius-lg);
    padding: 28px;
}

.lp-testimonial-photo {
    border: 3px solid #fff;
    box-shadow: var(--qck-shadow-sm);
}

.lp-testimonial-quote { font-style: normal; }

/* ───────────────────────── LOCATIONS ───────────────────────── */
.lp-location-card {
    border-radius: var(--lpv-radius-lg);
    box-shadow: var(--qck-shadow-sm);
}

.lp-location-card:hover {
    box-shadow: 0 18px 38px rgba(52, 40, 28, 0.12);
    transform: translateY(-3px);
}

.lp-location-maps { border-radius: 999px; }

/* ───────────────────────── FAQ ───────────────────────── */
.lp-accordion .lp-faq-item {
    border-radius: var(--qck-radius) !important;
    border-color: var(--qck-border);
    margin-bottom: 12px;
    box-shadow: var(--qck-shadow-sm);
}

.lp-accordion .lp-faq-btn {
    border-radius: var(--qck-radius) !important;
    padding: 20px 24px;
}

.lp-accordion .lp-faq-btn:not(.collapsed) {
    background: var(--lpv-tint-2);
    color: var(--qck-text);
}

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

/* ───────────────────────── FOOTER / STICKY ───────────────────────── */
.lp-footer { background: var(--qck-bg-dark); }

.lp-sticky-bar {
    background: rgba(255, 253, 250, 0.97);
    border-top: 1px solid var(--lpv-tint-3);
}

.lp-sticky-btn { border-radius: 999px; }

/* ───────────────────────── RESPONSIVE ───────────────────────── */
@media (min-width: 1200px) {
    .lp-hero { padding: 60px 0 78px; }
}

@media (max-width: 991.98px) {
    .lp-section { padding: 58px 0; }
    .lp-hero { padding: 34px 0 40px; }
    .lp-form-card { padding: 26px; }
    .lp-trust-item { padding: 10px 14px; }
    .lpv-area-card { padding: 22px 18px 18px; }
}

@media (max-width: 767.98px) {
    .lp-hero {
        padding: 18px 0 32px;
        background:
            radial-gradient(110% 70% at 100% 0%, rgba(141, 198, 63, 0.14) 0%, transparent 58%),
            linear-gradient(180deg, var(--lpv-cream) 0%, #ffffff 70%);
    }

    .lp-hero-microtrust {
        padding: 8px 12px;
        border-radius: 16px;
    }

    .lp-section { padding: 44px 0; }
    .lp-section-head { margin-bottom: 30px; }
    .lp-section-eyebrow { padding: 5px 12px; letter-spacing: 1.2px; }

    .lp-trust-strip { padding: 16px 0; }
    .lp-trust-item { min-height: 48px; padding: 9px 12px; }

    /* Body-area grid stays 2-up on phones — the whole point is a fast,
       tappable "point at your joint" surface above the fold-and-a-half. */
    .lpv-area-card {
        padding: 18px 14px 16px;
        gap: 8px;
        border-radius: 20px;
    }
    .lpv-area-icon {
        width: 46px;
        height: 46px;
        font-size: 19px;
        border-radius: 14px;
    }
    .lpv-area-name { font-size: 16px; }
    .lpv-area-line { font-size: 13px; line-height: 1.5; }
    .lpv-area-go { font-size: 12px; }

    .lpv-area-note {
        margin-top: 22px;
        padding: 14px 16px;
        gap: 11px;
    }
    .lpv-area-note p { font-size: 13.5px; }

    .lp-step { padding: 24px 20px; border-radius: 20px; }
    .lp-step-num { width: 38px; height: 38px; font-size: 17px; margin-bottom: 14px; }

    .lp-testimonial { padding: 22px 18px; border-radius: 20px; }
    .lp-location-card { border-radius: 20px; }
    .lp-accordion .lp-faq-btn { padding: 16px 18px; }
}

@media (max-width: 380px) {
    .lpv-area-name { font-size: 15px; }
    .lpv-area-line { display: none; }
    .lpv-area-go { font-size: 11.5px; }
}

/* ───────────────────────── REDUCED MOTION ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .lpv-area-card,
    .lpv-area-card::after,
    .lpv-area-icon,
    .lpv-area-go i,
    .lp-location-card,
    .lp-btn-primary {
        transition: none;
    }
    .lpv-area-card:hover,
    .lpv-area-card:focus-visible,
    .lp-btn-primary:hover,
    .lp-location-card:hover { transform: none; }
}
