/* =====================================================================
 * body-paint.css — Body & Paint page extensions.
 * Family-native (paultan.org / research / used-cars idiom): white cards
 * on the grey ground, Arial, #a60f0f red. Loaded after app.css +
 * service.css on body-paint.php only.
 * ===================================================================== */

/* ---------------------------------------------------------------------
 * Hero — white family card (mascot artwork slots in on the right).
 * ------------------------------------------------------------------- */

.bp-hero {
    margin: var(--space-3) 0 var(--space-5);
    background: var(--white);
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(20px, 5vw, 32px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4) var(--space-5);
    overflow: hidden;
}
.bp-hero__inner {
    flex: 1 1 300px;
    min-width: 0;
}
.bp-hero__media {
    flex: 1 1 100%;
    min-width: 0;
    /* Bleed to the card edges: cancel the .bp-hero padding on left/right/bottom
       so the white-background scene runs flush to the rounded corners. */
    margin: 0 calc(clamp(20px, 5vw, 32px) * -1) calc(clamp(20px, 5vw, 32px) * -1);
}
.bp-hero__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.bp-hero__eyebrow {
    display: inline-block;
    font-size: var(--fs-2xs);
    font-weight: bold;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
}
.bp-hero__title {
    margin: 10px 0 0;
    font-weight: bold;
    font-size: var(--fs-hero);
    line-height: 1.08;
    letter-spacing: -.01em;
    color: var(--ink);
}
.bp-hero__title span { display: block; }
.bp-hero__title .red { color: var(--red); }
/* Hero promo flag — surfaces the active discount above the fold, right
   under the headline, so mobile users see the offer before scrolling to the
   full promo banner. Rendered only while $promoActive. */
.bp-hero__flag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 14px 0 0;
    padding: 9px 15px;
    background: var(--red);
    color: #fff;
    font-size: var(--fs-sm);
    line-height: 1.25;
    border-radius: 999px;
}
.bp-hero__flag strong { font-weight: bold; }
.bp-hero__flag-dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #fff;
    animation: bpPulse 1.6s ease-in-out infinite;
}

.bp-hero__lede {
    margin: 12px 0 0;
    max-width: 68ch;
    font-size: var(--fs-lg);
    line-height: 1.55;
    color: var(--muted);
}
.bp-hero__lede strong { color: var(--ink); font-weight: bold; }
.bp-hero__chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 16px 0 0; padding: 0; list-style: none;
}
.bp-hero__chips li {
    font-size: var(--fs-xs);
    font-weight: bold;
    color: var(--ink);
    padding: 6px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--bg-soft);
}
.bp-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.bp-hero__actions .btn { width: auto; min-width: 168px; }
.btn--ghost-light {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    width: auto; padding: 12px 22px;
    border-radius: 999px;
    font-size: var(--fs-lg); font-weight: bold;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--white);
    transition: background .14s ease, border-color .14s ease;
}
.btn--ghost-light:hover, .btn--ghost-light:focus-visible {
    background: var(--bg-soft);
    text-decoration: none;
    color: var(--ink);
}

/* ---------------------------------------------------------------------
 * Trust band
 * ------------------------------------------------------------------- */

.bp-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    margin: var(--space-5) 0;
}
@media (max-width: 600px) { .bp-trust { grid-template-columns: repeat(2, 1fr); } }
.bp-trust__item {
    background: var(--white);
    border: 1px solid var(--line-2);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-4);
}
.bp-trust__icon {
    width: 38px; height: 38px;
    border-radius: var(--r-sm);
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--red-50); color: var(--red);
    margin-bottom: 10px;
}
.bp-trust__label { font-size: var(--fs-sm); font-weight: bold; color: var(--ink); line-height: 1.2; }
.bp-trust__sub { font-size: var(--fs-xs); color: var(--muted); margin-top: 3px; line-height: 1.3; }

/* ---------------------------------------------------------------------
 * Promo banner — solid family red, white pill CTA.
 * ------------------------------------------------------------------- */

.bp-promo {
    position: relative;
    overflow: hidden;
    margin: var(--space-5) 0;
    padding: clamp(22px, 5vw, 32px);
    border-radius: var(--r-lg);
    color: #fff;
    background: linear-gradient(118deg, var(--red-dark) 0%, var(--red) 60%);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.bp-promo__main { position: relative; z-index: 1; min-width: 0; }
.bp-promo__badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: var(--fs-2xs); font-weight: bold; letter-spacing: .1em; text-transform: uppercase;
    background: rgba(0, 0, 0, .25); color: #fff;
    padding: 6px 12px; border-radius: 999px;
}
.bp-promo__badge::before {
    content: ""; width: 6px; height: 6px; border-radius: 999px; background: #fff;
    animation: bpPulse 1.6s ease-in-out infinite;
}
@keyframes bpPulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.bp-promo__title { margin: 14px 0 0; line-height: 1; }
.bp-promo__pct {
    display: block;
    font-weight: bold;
    font-size: clamp(34px, 9vw, 52px);
    line-height: .92;
    letter-spacing: -.01em;
    text-transform: uppercase;
}
.bp-promo__for {
    display: block;
    margin-top: 6px;
    font-weight: bold;
    font-size: clamp(14px, 3vw, 17px);
}
.bp-promo__sub {
    position: relative; z-index: 1;
    margin: 14px 0 0;
    max-width: 44ch;
    font-size: var(--fs-md); line-height: 1.5;
    color: rgba(255, 255, 255, .92);
}
.bp-promo__sub strong { color: #fff; font-weight: bold; }
.bp-promo__cta {
    position: relative; z-index: 1; flex: none;
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--red);
    font-weight: bold; font-size: var(--fs-lg);
    padding: 13px 24px; border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    transition: transform .15s ease, box-shadow .15s ease;
}
.bp-promo__cta:hover, .bp-promo__cta:focus-visible {
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--red);
}

/* ---------------------------------------------------------------------
 * Pricing polish (overrides service.css on this page)
 * ------------------------------------------------------------------- */

.pricing__row { padding: 15px var(--space-4); }
.pricing__price { font-weight: bold; }
.pricing__save {
    display: inline-block;
    margin-top: 5px;
    font-size: 10px; font-weight: bold; letter-spacing: .03em;
    color: #fff; background: var(--red);
    padding: 2px 7px; border-radius: 6px;
}

/* ---------------------------------------------------------------------
 * Reduced motion
 * ------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .bp-promo__badge::before,
    .bp-hero__flag-dot { animation: none; }
}
