/* =====================================================================
 * body-paint.css — elevated Body & Paint page.
 * Extends the home "carbon + Archivo" system (app.css + service.css load
 * first; this overrides). Loaded only on body-paint.php.
 * ===================================================================== */

:root {
    --font-display: "Archivo Expanded", "Archivo", system-ui, sans-serif;
    --font-body:    "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono:    "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --carbon:       #0B0B0D;
    --carbon-2:     #141117;
}

body { font-family: var(--font-body); }

/* ---------------------------------------------------------------------
 * Carbon hero (type-only)
 * ------------------------------------------------------------------- */

.bp-hero {
    position: relative;
    margin: var(--space-3) 0 var(--space-5);
    padding: clamp(28px, 7vw, 52px) clamp(20px, 5vw, 40px) clamp(28px, 6vw, 44px);
    border-radius: 26px;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(135% 120% at 85% -25%, var(--carbon-2) 0%, var(--carbon) 52%);
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: 0 24px 60px -24px rgba(234, 33, 39, .35), 0 10px 30px -12px rgba(0, 0, 0, .5);
}
.bp-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 3;
    background: linear-gradient(90deg, transparent, var(--red) 30%, #ff5a5f 50%, var(--red) 70%, transparent);
}
.bp-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bp-hero__grid {
    position: absolute;
    inset: -1px;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 78%);
            mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 78%);
}
.bp-hero__glow {
    position: absolute;
    width: 440px; height: 440px;
    right: -140px; top: -180px;
    background: radial-gradient(circle, rgba(234, 33, 39, .45) 0%, rgba(234, 33, 39, 0) 62%);
    filter: blur(16px);
    mix-blend-mode: screen;
}
.bp-hero__scan {
    position: absolute;
    left: 6%; right: 6%; top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 90, 95, .8), transparent);
    box-shadow: 0 0 12px rgba(234, 33, 39, .6);
    opacity: 0;
    animation: bpScan 7s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes bpScan {
    0%   { top: 4%;  opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { top: 96%; opacity: 0; }
}

.bp-hero__inner { position: relative; z-index: 2; }
.bp-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
    color: rgba(255, 255, 255, .82);
}
.bp-hero__eyebrow b { color: var(--red); }
.bp-hero__title {
    margin: 16px 0 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(30px, 7.5vw, 50px);
    line-height: .98;
    letter-spacing: -.01em;
    color: #fff;
}
.bp-hero__title span { display: block; }
.bp-hero__title .red { color: var(--red); text-shadow: 0 0 28px rgba(234, 33, 39, .45); }
.bp-hero__lede {
    margin: 18px 0 0;
    max-width: 50ch;
    font-size: clamp(14px, 2.3vw, 16px);
    line-height: 1.55;
    color: rgba(255, 255, 255, .7);
}
.bp-hero__lede strong { color: #fff; font-weight: 700; }
.bp-hero__chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 22px 0 0; padding: 0; list-style: none;
}
.bp-hero__chips li {
    font-family: var(--font-mono);
    font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
}
.bp-hero__chips li::before {
    content: ""; display: inline-block;
    width: 5px; height: 5px; margin-right: 7px;
    border-radius: 999px; background: var(--red); vertical-align: middle;
}
.bp-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 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: 14px 22px;
    border-radius: var(--r-sm);
    font-size: 15px; font-weight: 700;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .04);
    transition: border-color .14s ease, background .14s ease;
}
.btn--ghost-light:hover, .btn--ghost-light:focus-visible {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .08);
}

/* Hero entrance */
.bp-hero__eyebrow { animation: bpRise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .05s; }
.bp-hero__title   { animation: bpRise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .13s; }
.bp-hero__lede    { animation: bpRise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .24s; }
.bp-hero__chips   { animation: bpRise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .32s; }
.bp-hero__actions { animation: bpRise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .4s; }
@keyframes bpRise { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------
 * 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);
    padding: var(--space-4);
}
.bp-trust__icon {
    width: 38px; height: 38px;
    border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--red-50); color: var(--red);
    margin-bottom: 10px;
}
.bp-trust__label { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.bp-trust__sub { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.3; }

/* ---------------------------------------------------------------------
 * High-impact promo banner
 * ------------------------------------------------------------------- */

.bp-promo {
    position: relative;
    overflow: hidden;
    margin: var(--space-5) 0;
    padding: clamp(22px, 5vw, 32px);
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(118deg, #B4352C 0%, var(--red) 46%, #ff4d52 100%);
    box-shadow: 0 18px 44px -20px rgba(234, 33, 39, .7);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
/* Diagonal pinstripe sheen + dark corner for depth. */
.bp-promo::before {
    content: "";
    position: absolute; inset: 0;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px);
    pointer-events: none;
}
.bp-promo::after {
    content: "";
    position: absolute;
    width: 320px; height: 320px;
    right: -90px; bottom: -130px;
    background: radial-gradient(circle, rgba(0, 0, 0, .28) 0%, transparent 60%);
    pointer-events: none;
}
.bp-promo__main { position: relative; z-index: 1; min-width: 0; }
.bp-promo__badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 700; 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-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(34px, 9vw, 56px);
    line-height: .9;
    letter-spacing: -.01em;
    text-transform: uppercase;
}
.bp-promo__for {
    display: block;
    margin-top: 6px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(14px, 3vw, 17px);
}
.bp-promo__sub {
    position: relative; z-index: 1;
    margin: 14px 0 0;
    max-width: 44ch;
    font-size: 15px; line-height: 1.5;
    color: rgba(255, 255, 255, .92);
}
.bp-promo__sub strong { color: #fff; font-weight: 800; }
.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: 800; font-size: 15px;
    padding: 14px 24px; border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45);
    transition: transform .15s ease, box-shadow .15s ease;
}
.bp-promo__cta:hover, .bp-promo__cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .5);
}

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

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

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

@media (prefers-reduced-motion: reduce) {
    .bp-hero__scan, .bp-promo__badge::before { animation: none; }
    .bp-hero__scan { opacity: 0; }
    .bp-hero__eyebrow, .bp-hero__title, .bp-hero__lede,
    .bp-hero__chips, .bp-hero__actions { animation: none; }
}
