/* =====================================================================
   QC KINETIX PHOENIX — Joint Pain Relief Lander
   Conversion-focused single-page lander
   ===================================================================== */

:root {
    --qck-green: #39B54A;
    --qck-green-hover: #009444;
    --qck-green-soft: rgba(57, 181, 74, 0.10);
    --qck-green-soft-2: rgba(57, 181, 74, 0.18);

    --qck-text: #1a2331;
    --qck-text-2: #475063;
    --qck-text-muted: #6b7686;

    --qck-bg: #ffffff;
    --qck-bg-soft: #f5f7fa;
    --qck-bg-card: #ffffff;
    --qck-bg-dark: #0e151b;

    --qck-border: #e3e7ee;
    --qck-border-2: #cdd4dc;

    --qck-radius: 12px;
    --qck-radius-sm: 8px;

    --qck-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --qck-shadow-md: 0 6px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    --qck-shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.18), 0 6px 16px rgba(15, 23, 42, 0.08);

    --qck-sticky-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--qck-text);
    background: var(--qck-bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--qck-green); text-decoration: none; }
a:hover { color: var(--qck-green-hover); }

/* ───────────────────────────── HEADER ───────────────────────────── */
.lp-header {
    background: #fff;
    border-bottom: 1px solid var(--qck-border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.lp-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lp-header-logo img {
    height: 40px;
    width: auto;
}

.lp-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--qck-text);
    font-weight: 700;
    font-size: 16px;
    padding: 10px 14px;
    border-radius: var(--qck-radius-sm);
    transition: background 0.15s, color 0.15s;
    min-height: 44px;
}

.lp-header-phone i {
    color: var(--qck-green);
}

.lp-header-phone:hover {
    background: var(--qck-green-soft);
    color: var(--qck-text);
}

/* ───────────────────────────── HERO ───────────────────────────── */
.lp-hero {
    background:
        radial-gradient(circle at 0% 0%, rgba(57, 181, 74, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(57, 181, 74, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 36px 0 48px;
    position: relative;
}

/* Hero figure: lifestyle image. Lives in the left column on desktop above
   the H1; on mobile it's the first thing under the sticky header. */
.lp-hero-figure {
    margin: 0 0 24px;
    border-radius: var(--qck-radius);
    overflow: hidden;
    box-shadow: var(--qck-shadow-md);
    background: var(--qck-bg-soft);
}

.lp-hero-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
}

.lp-hero-h1 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
    color: var(--qck-text);
    margin: 0 0 16px;
}

.lp-hero-sub {
    font-size: 18px;
    line-height: 1.55;
    color: var(--qck-text-2);
    margin: 0 0 24px;
    max-width: 560px;
}

/* CTA inside the hero copy. Mobile-first surface — primary path to the
   form when the form is one scroll below. Hidden on desktop where the
   form is already visible in the right column. */
.lp-hero-cta {
    margin: 0 0 14px;
    max-width: 480px;
}

/* Micro-trust row: ★★★★★ Phoenix patients · 4 locations · No surgery… */
.lp-hero-microtrust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    color: var(--qck-text-muted);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    max-width: 560px;
}

.lp-hero-microtrust .lp-stars {
    color: #f5b400;
    letter-spacing: 1px;
    font-size: 14px;
    margin-right: 2px;
}

.lp-hero-microtrust .lp-dot {
    color: var(--qck-border-2);
    font-weight: 700;
}

.lp-hero-microtrust .lp-microtrust-text {
    white-space: nowrap;
}

/* Hide the hero CTA on desktop — the form sits visible to the right.
   Showing it would create a redundant tap target and split the eye. */
@media (min-width: 992px) {
    .lp-hero-cta { display: none; }
}

/* ───────────────────────────── FORM CARD ───────────────────────────── */
.lp-form-card {
    background: var(--qck-bg-card);
    border: 1px solid var(--qck-border);
    border-radius: var(--qck-radius);
    padding: 28px;
    box-shadow: var(--qck-shadow-lg);
    position: relative;
}

.lp-form-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 4px;
    background: linear-gradient(90deg, var(--qck-green), #8DC63F);
    border-top-left-radius: var(--qck-radius);
    border-top-right-radius: var(--qck-radius);
}

.lp-form-card-head { margin-bottom: 18px; }

.lp-form-card-eyebrow {
    color: var(--qck-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.lp-form-card-h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--qck-text);
    line-height: 1.2;
    margin: 0 0 8px;
}

.lp-form-card-sub {
    color: var(--qck-text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.lp-form { display: flex; flex-direction: column; gap: 14px; }

.lp-form-row { display: flex; flex-direction: column; gap: 6px; }

.lp-form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) {
    .lp-form-grid-2 { grid-template-columns: 1fr; gap: 14px; }
}

.lp-form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--qck-text);
    margin: 0;
}

.lp-form-optional {
    color: var(--qck-text-muted);
    font-weight: 500;
}

.lp-input.form-control,
.lp-input.form-select {
    height: 50px;
    border: 1px solid var(--qck-border-2);
    border-radius: var(--qck-radius-sm);
    padding: 0 14px;
    font-family: inherit;
    font-size: 16px;
    color: var(--qck-text);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.lp-input.form-control::placeholder { color: #9aa4b3; }

.lp-input.form-control:focus,
.lp-input.form-select:focus {
    outline: none;
    border-color: var(--qck-green);
    box-shadow: 0 0 0 3px var(--qck-green-soft);
}

.lp-input.form-control.is-invalid,
.lp-input.form-select.is-invalid {
    border-color: #d93025;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.12);
}

.lp-form-error {
    background: #fdf1f0;
    border: 1px solid #f3c2bf;
    color: #b71c1c;
    border-radius: var(--qck-radius-sm);
    padding: 10px 14px;
    font-size: 14px;
}

/* ZIP "closest clinic" inline result. Sits directly under the ZIP input,
   gentle fade-in so the layout doesn't jolt when the value flips. */
.lp-zip-result {
    font-size: 13px;
    line-height: 1.4;
    margin-top: 2px;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--qck-green-soft);
    color: var(--qck-green);
    font-weight: 600;
    animation: lp-zip-fade-in 0.18s ease-out;
}

.lp-zip-result[hidden] { display: none; }

.lp-zip-result strong {
    font-weight: 800;
}

.lp-zip-result.lp-zip-result-muted {
    background: var(--qck-bg-soft);
    color: var(--qck-text-muted);
    font-weight: 500;
}

@keyframes lp-zip-fade-in {
    from { opacity: 0; transform: translateY(-2px); }
    to { opacity: 1; transform: translateY(0); }
}

.lp-form-callfallback {
    text-align: center;
    color: var(--qck-text-muted);
    font-size: 13px;
    margin: 4px 0 0;
}

.lp-form-callfallback a {
    color: var(--qck-green);
    font-weight: 700;
}

.lp-form-disclaimer {
    text-align: center;
    color: var(--qck-text-muted);
    font-size: 11px;
    line-height: 1.45;
    margin: 4px 0 0;
}

/* ───────────────────────────── BUTTONS ───────────────────────────── */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--qck-green);
    color: #fff !important;
    font-family: inherit;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 26px;
    border: none;
    border-radius: var(--qck-radius-sm);
    cursor: pointer;
    transition: background 0.15s, transform 0.05s, box-shadow 0.15s;
    text-decoration: none;
    line-height: 1.2;
    min-height: 50px;
    letter-spacing: 0.1px;
}

.lp-btn-primary { background: var(--qck-green); }
.lp-btn-primary:hover {
    background: var(--qck-green-hover);
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(57, 181, 74, 0.25);
}

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

.lp-btn-block { width: 100%; }

.lp-btn-lg {
    padding: 16px 30px;
    font-size: 17px;
    min-height: 56px;
}

.lp-btn-ghost {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.lp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff !important;
}

.lp-btn[disabled],
.lp-btn[aria-busy="true"] {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.lp-btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    animation: lp-spin 0.7s linear infinite;
}

.lp-btn[aria-busy="true"] .lp-btn-spinner { display: inline-block; }
.lp-btn[aria-busy="true"] .lp-btn-label { opacity: 0.85; }

@keyframes lp-spin { to { transform: rotate(360deg); } }

/* ───────────────────────────── FORM SUCCESS ───────────────────────────── */
.lp-form-success {
    text-align: center;
    padding: 12px 0 0;
}

.lp-form-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--qck-green-soft);
    color: var(--qck-green);
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-form-success h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--qck-text);
    margin: 0 0 8px;
}

.lp-form-success p {
    color: var(--qck-text-2);
    font-size: 15px;
    margin: 0 0 12px;
}

.lp-form-success-callout a { font-weight: 700; }

/* ───────────────────────────── TRUST STRIP ───────────────────────────── */
.lp-trust-strip {
    background: var(--qck-bg-soft);
    border-top: 1px solid var(--qck-border);
    border-bottom: 1px solid var(--qck-border);
    padding: 18px 0;
}

.lp-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
}

.lp-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--qck-text);
    font-size: 14px;
    font-weight: 600;
}

.lp-trust-item i {
    color: var(--qck-green);
    font-size: 18px;
}

/* ───────────────────────────── SECTIONS ───────────────────────────── */
.lp-section {
    padding: 64px 0;
}

.lp-section-light { background: var(--qck-bg-soft); }
.lp-section-white { background: #fff; }
.lp-section-dark {
    background: linear-gradient(135deg, #0e151b 0%, #172028 100%);
    color: #fff;
}

.lp-section-head {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 720px;
}

.lp-section-eyebrow {
    color: var(--qck-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.lp-section-h2 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--qck-text);
    margin: 0 0 12px;
    letter-spacing: -0.4px;
}

.lp-section-h2-light { color: #fff; }

.lp-section-sub {
    font-size: 17px;
    color: var(--qck-text-2);
    margin: 0;
    line-height: 1.55;
}

.lp-section-dark .lp-section-sub { color: rgba(255,255,255,0.75); }

.lp-cta-row {
    text-align: center;
    margin-top: 36px;
}

/* ───────────────────────────── TREATMENTS GRID ───────────────────────────── */
.lp-treat-card {
    width: 100%;
    background: #fff;
    border: 1px solid var(--qck-border);
    border-radius: var(--qck-radius);
    padding: 24px 18px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
    font-family: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.lp-treat-card:hover {
    border-color: var(--qck-green);
    transform: translateY(-2px);
    box-shadow: var(--qck-shadow-md);
}

.lp-treat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--qck-green-soft);
    color: var(--qck-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 4px;
}

.lp-treat-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--qck-text);
    margin: 0;
}

.lp-treat-card p {
    color: var(--qck-text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* ───────────────────────────── HOW IT WORKS ───────────────────────────── */
.lp-step {
    background: var(--qck-bg-soft);
    border: 1px solid var(--qck-border);
    border-radius: var(--qck-radius);
    padding: 28px 24px;
    height: 100%;
    text-align: center;
}

.lp-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--qck-green);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.lp-step h3 {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--qck-text);
}

.lp-step p {
    color: var(--qck-text-2);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

/* ───────────────────────────── WHY NO SURGERY ───────────────────────────── */
.lp-why-img-wrap { position: relative; }

.lp-why-img {
    width: 100%;
    height: auto;
    border-radius: var(--qck-radius);
    object-fit: cover;
    box-shadow: var(--qck-shadow-md);
}

.lp-section p {
    color: var(--qck-text-2);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 16px;
}

/* ───────────────────────────── TESTIMONIALS ───────────────────────────── */
.lp-testimonial {
    background: var(--qck-bg-soft);
    border: 1px solid var(--qck-border);
    border-radius: var(--qck-radius);
    padding: 24px;
    height: 100%;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.lp-testimonial-photo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #d8dde4;
}

.lp-testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-testimonial-body { flex: 1; min-width: 0; }

.lp-testimonial-stars {
    color: #f5b400;
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.lp-testimonial-quote {
    color: var(--qck-text);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 12px;
    font-style: italic;
}

.lp-testimonial-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lp-testimonial-meta strong {
    color: var(--qck-text);
    font-size: 14px;
    font-weight: 800;
}

.lp-testimonial-meta span {
    color: var(--qck-text-muted);
    font-size: 13px;
}

.lp-testimonial-meta span::before {
    content: '·';
    margin-right: 6px;
    color: var(--qck-text-muted);
}

/* ───────────────────────────── LOCATIONS ───────────────────────────── */
.lp-location-card {
    background: #fff;
    border: 1px solid var(--qck-border);
    border-radius: var(--qck-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s, transform 0.15s;
}

.lp-location-card:hover {
    box-shadow: var(--qck-shadow-md);
    transform: translateY(-2px);
}

.lp-location-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.lp-location-body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lp-location-body h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--qck-text);
    margin: 0 0 8px;
}

.lp-location-addr {
    color: var(--qck-text-2);
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.lp-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: auto;
    align-items: center;
}

.lp-location-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--qck-green);
    font-weight: 800;
    font-size: 17px;
    padding: 8px 0;
    min-height: 44px;
}

.lp-location-phone:hover { color: var(--qck-green-hover); }

.lp-location-maps {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--qck-text-2);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 12px;
    border: 1px solid var(--qck-border-2);
    border-radius: var(--qck-radius-sm);
    min-height: 44px;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

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

.lp-location-maps i { font-size: 13px; }

/* ───────────────────────────── FAQ ───────────────────────────── */
.lp-accordion .lp-faq-item {
    border: 1px solid var(--qck-border);
    border-radius: var(--qck-radius-sm) !important;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}

.lp-accordion .lp-faq-btn {
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--qck-text);
    background: #fff;
    padding: 18px 22px;
    box-shadow: none !important;
    border: none;
    border-radius: var(--qck-radius-sm) !important;
    width: 100%;
    text-align: left;
    transition: background 0.15s;
}

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

.lp-accordion .lp-faq-btn::after {
    content: '\002B';
    background-image: none !important;
    font-size: 22px;
    font-weight: 400;
    color: var(--qck-text-muted);
    width: auto;
    height: auto;
    transform: none !important;
    transition: transform 0.2s;
    margin-left: auto;
}

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

.lp-accordion .lp-faq-body {
    color: var(--qck-text-2);
    font-size: 15px;
    line-height: 1.7;
    padding: 16px 22px 22px;
    background: #fff;
}

/* ───────────────────────────── FINAL CTA ───────────────────────────── */
.lp-final-sub {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    line-height: 1.55;
    margin: 0 0 28px;
}

.lp-final-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ───────────────────────────── FOOTER ───────────────────────────── */
.lp-footer {
    background: var(--qck-bg-dark);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 32px 0 96px;
}

.lp-footer-logo {
    height: 32px;
    width: auto;
    margin: 0 auto 14px;
    opacity: 0.9;
}

.lp-footer-locations {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin: 0 0 8px;
}

.lp-footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0 0 10px;
}

.lp-footer-copy a {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
}

.lp-footer-copy a:hover { color: #fff; }

.lp-footer-disclaimer {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    line-height: 1.55;
    max-width: 720px;
    margin: 8px auto 0;
}

/* ───────────────────────────── STICKY MOBILE BAR ───────────────────────────── */
.lp-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-top: 1px solid var(--qck-border);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.lp-sticky-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    border-radius: var(--qck-radius-sm);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.15s, transform 0.05s;
    min-height: 48px;
}

.lp-sticky-call {
    background: #fff;
    color: var(--qck-green) !important;
    border: 2px solid var(--qck-green);
}

.lp-sticky-call:hover { background: var(--qck-green-soft); }
.lp-sticky-call:active { transform: scale(0.98); }

.lp-sticky-form {
    background: var(--qck-green);
    color: #fff !important;
}

.lp-sticky-form:hover { background: var(--qck-green-hover); color: #fff !important; }
.lp-sticky-form:active { transform: scale(0.98); }

/* ─────────────────── RESPONSIVE ─────────────────── */

/* Large desktop: keep generous spacing */
@media (min-width: 1200px) {
    .lp-hero { padding: 56px 0 72px; }
    .lp-hero-h1 { font-size: 50px; }
}

/* Tablet */
@media (max-width: 991.98px) {
    .lp-hero { padding: 32px 0 36px; }
    .lp-hero-h1 { font-size: 36px; }
    .lp-hero-sub { font-size: 16px; }
    .lp-section { padding: 52px 0; }
    .lp-section-h2 { font-size: 28px; }
    .lp-form-card { padding: 24px; }
    .lp-form-card-h2 { font-size: 22px; }

    .lp-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .lp-trust-item { justify-content: flex-start; padding: 4px 0; }
}

/* Phones */
@media (max-width: 767.98px) {
    body { font-size: 15px; }

    /* Sticky bar shown on mobile only */
    .lp-sticky-bar { display: flex; }
    /* Push everything up by sticky bar height + safe area */
    .lp-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

    /* Hide sticky CTA bar while any form input is focused — prevents iOS
       keyboard from floating it over the active field. :has() is iOS 16.4+
       (April 2023); older Safari falls back to current behavior. */
    body:has(.lp-form :focus) .lp-sticky-bar,
    body:has(.lp-form-card :focus) .lp-sticky-bar {
        display: none;
    }

    .lp-header { padding: 10px 0; }
    .lp-header-logo img { height: 32px; }
    /* Phone tap target stays >= 44x44 (WCAG). Show digits inline so the
       user has a one-tap-to-call affordance, not just an unlabeled icon. */
    .lp-header-phone {
        font-size: 14px;
        padding: 10px 12px;
        gap: 6px;
        min-height: 44px;
    }
    .lp-header-phone i { font-size: 14px; }

    /* HERO mobile order: image → H1 → subhead → CTA → micro-trust, then
       form card directly below as a sibling column. The Bootstrap row
       stacks naturally (col-lg-* collapses to full-width below 992px) and
       col-lg-7 (.lp-hero-copy) precedes col-lg-5 (.lp-hero-form-col), so
       the visual order matches the source order — no flex hacks needed. */
    .lp-hero {
        padding: 16px 0 28px;
        background:
            radial-gradient(circle at 100% 0%, rgba(57, 181, 74, 0.06) 0%, transparent 45%),
            linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    }

    /* Tighten the row gap so the form crests at ~viewport-100% */
    .lp-hero .row { row-gap: 18px; }

    /* Hero image: tighter aspect on mobile so H1 lifts above the fold */
    .lp-hero-figure {
        margin-bottom: 16px;
    }
    .lp-hero-img {
        aspect-ratio: 16 / 10;
    }

    .lp-hero-h1 {
        font-size: 28px;
        line-height: 1.15;
        letter-spacing: -0.4px;
        margin-bottom: 10px;
    }
    .lp-hero-sub {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .lp-hero-cta {
        margin-bottom: 14px;
        max-width: none;
    }

    .lp-hero-microtrust {
        font-size: 13px;
        gap: 4px 8px;
    }
    .lp-hero-microtrust .lp-stars { font-size: 13px; }

    /* Form card sits directly under the hero copy */
    .lp-form-card {
        padding: 20px 18px 22px;
    }
    .lp-form-card-eyebrow { font-size: 11px; letter-spacing: 1.2px; margin-bottom: 4px; }
    .lp-form-card-h2 { font-size: 22px; margin-bottom: 4px; }
    .lp-form-card-sub { font-size: 13px; }

    .lp-form { gap: 12px; }
    .lp-input.form-control,
    .lp-input.form-select { height: 48px; font-size: 16px; /* keep 16px to prevent iOS zoom */ }

    .lp-section { padding: 40px 0; }
    .lp-section-head { margin-bottom: 28px; }
    .lp-section-h2 { font-size: 24px; }
    .lp-section-sub { font-size: 15px; }

    .lp-trust-strip { padding: 14px 0; }
    .lp-trust-item { font-size: 13px; }

    /* Treatments: stay 2 columns */
    .lp-treat-card {
        padding: 18px 12px;
        gap: 8px;
    }
    .lp-treat-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }
    .lp-treat-card h3 { font-size: 15px; }
    .lp-treat-card p { font-size: 12.5px; line-height: 1.45; }

    /* Steps */
    .lp-step { padding: 22px 18px; }
    .lp-step-num { width: 40px; height: 40px; font-size: 18px; }
    .lp-step h3 { font-size: 17px; }

    /* Testimonials: stack */
    .lp-testimonial {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 18px;
    }
    .lp-testimonial-photo { width: 68px; height: 68px; }
    .lp-testimonial-quote { font-size: 14px; }

    /* Locations */
    .lp-location-img { height: 160px; }
    .lp-location-body { padding: 16px 18px 18px; }
    .lp-location-body h3 { font-size: 19px; }
    .lp-location-addr { font-size: 14px; }
    .lp-location-phone { font-size: 16px; }

    /* FAQ */
    .lp-accordion .lp-faq-btn { padding: 14px 16px; font-size: 14.5px; }
    .lp-accordion .lp-faq-body { padding: 14px 16px 18px; font-size: 14px; }

    /* Final CTA */
    .lp-final-sub { font-size: 16px; }
    .lp-final-actions { flex-direction: column; }
    .lp-final-actions .lp-btn { width: 100%; }
}

/* Very small */
@media (max-width: 380px) {
    .lp-hero-h1 { font-size: 25px; }
    .lp-form-card-h2 { font-size: 20px; }
    .lp-treat-card h3 { font-size: 14px; }
    .lp-treat-card p { display: none; }
    .lp-sticky-btn { font-size: 14px; gap: 6px; }
    /* Tighten micro-trust so it fits comfortably at 320w */
    .lp-hero-microtrust { font-size: 12.5px; gap: 4px 6px; }
    .lp-hero-microtrust .lp-stars { font-size: 12.5px; }
    /* Header phone: tighten so logo + digits both fit at 320w */
    .lp-header-phone { font-size: 13px; padding: 10px 8px; gap: 4px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp-treat-card,
    .lp-location-card,
    .lp-btn-primary,
    .lp-btn-spinner { transition: none; animation: none; }
}

/* Print */
@media print {
    .lp-sticky-bar,
    .lp-header-phone,
    .lp-form-card { display: none; }
}
