/* ============================================================
   PREMIUM — inner hero, FAQ, process, comparison, prose,
   dividers, reveal animations, misc
   ============================================================ */

/* ---------- Reveal (transform/opacity, JS-driven; failsafe in reveal.js) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--ink-2); color: #fff; }
.page-hero__bg { position: absolute; inset: 0; overflow: hidden; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(27,27,27,0.86), rgba(27,27,27,0.55)); }
.page-hero__wrap { position: relative; padding-block: clamp(48px, 6vw, 92px); max-width: 760px; }
.page-hero h1 { color: var(--cream); font-size: var(--fs-h1); border-left: 3px solid var(--cream); padding-left: 20px; }
.page-hero__lead { color: rgba(255,255,255,0.9); font-size: var(--fs-lead); margin-top: 16px; max-width: 620px; }
.page-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.72); margin-bottom: 16px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { opacity: 0.6; }

/* ---------- Prose (service/legal body) ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: var(--fs-h2); margin-top: 40px; }
.prose h3 { font-size: var(--fs-h3); margin-top: 28px; color: var(--ink); }
.prose p, .prose li { color: var(--text-muted); font-size: 16.5px; }
.prose ul { display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 4px; background: var(--teal); }
.prose strong { color: var(--ink); }
.layout-aside { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 920px) { .layout-aside { grid-template-columns: 1fr; } }
.aside-card { position: sticky; top: 104px; background: var(--maroon); color: #fff; border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-md); }
.aside-card h3 { color: #fff; font-size: 21px; }
.aside-card p { color: rgba(255,255,255,0.86); font-size: 15px; margin-top: 10px; }
.aside-card .btn { margin-top: 18px; }
.aside-card__phone { display: block; margin-top: 14px; font-size: 22px; font-weight: 800; color: var(--cream); text-align: center; }

/* ---------- Process timeline ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; counter-reset: step; }
@media (max-width: 880px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 24px; }
.step__num { counter-increment: step; width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 19px; margin-bottom: 16px; }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 18px; color: var(--ink); }
.step p { color: var(--text-muted); margin-top: 8px; font-size: 14.5px; }

/* ---------- Us vs Them ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); }
.vs__col { padding: clamp(24px, 3vw, 40px); }
.vs__col--us { background: var(--maroon); color: #fff; }
.vs__col--them { background: #fff; border: 1px solid var(--line); }
.vs__col h3 { color: inherit; font-size: 21px; margin-bottom: 20px; }
.vs__col--us h3 { color: #fff; }
.vs__col--them h3 { color: var(--ink); }
.vs__row { display: flex; gap: 12px; padding: 13px 0; font-size: 15.5px; }
.vs__col--us .vs__row { border-bottom: 1px solid rgba(255,255,255,0.16); }
.vs__col--them .vs__row { border-bottom: 1px solid var(--line); color: var(--text-muted); }
.vs__row svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.vs__col--us .vs__row svg { color: var(--cream); }
.vs__col--them .vs__row svg { color: var(--maroon-soft); }
@media (max-width: 700px) { .vs { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin-top: 36px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 700; font-size: 17px; color: var(--ink); }
.faq__q::after { content: ""; position: absolute; right: 6px; top: 26px; width: 16px; height: 2px; background: var(--teal); transition: transform 0.3s; }
.faq__q::before { content: ""; position: absolute; right: 13px; top: 19px; width: 2px; height: 16px; background: var(--teal); transition: transform 0.3s; }
.faq__item.open .faq__q::before { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.34s var(--ease); }
.faq__a p { color: var(--text-muted); padding-bottom: 22px; font-size: 15.5px; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; background: var(--maroon); color: #fff; border-radius: var(--r-card); padding: clamp(36px, 5vw, 64px); text-align: center; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.cta-banner h2 { color: #fff; position: relative; max-width: 720px; margin-inline: auto; }
.cta-banner p { color: rgba(255,255,255,0.86); margin-top: 12px; position: relative; }
.cta-banner__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; position: relative; }

/* ---------- Stat ribbon ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--maroon); line-height: 1; }
.stat span { color: var(--text-muted); font-size: 14.5px; margin-top: 8px; display: block; }

/* ---------- Area chips / service-area ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 36px; }
.area-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.area-card b { color: var(--maroon); font-size: 18px; display: flex; align-items: center; gap: 8px; }
.area-card b svg { width: 18px; height: 18px; color: var(--teal); }
.area-card span { color: var(--text-muted); font-size: 14px; display: block; margin-top: 6px; }
.area-card a { color: var(--teal); font-weight: 700; font-size: 14px; margin-top: 10px; display: inline-block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { background: var(--cream); color: var(--maroon); border-radius: var(--r-pill); padding: 8px 18px; font-size: 14px; font-weight: 600; }

/* ---------- Feature list cards (hub service lists) ---------- */
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 760px) { .feat-list { grid-template-columns: 1fr; } }
.feat-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.feat-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat-item__ic { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--teal-wash); color: var(--teal-deep); display: grid; place-items: center; }
.feat-item__ic svg { width: 26px; height: 26px; }
.feat-item h3 { font-size: 18px; color: var(--ink); }
.feat-item p { color: var(--text-muted); font-size: 14.5px; margin-top: 6px; }
.feat-item a { color: var(--maroon); font-weight: 700; font-size: 14px; margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; }
.feat-item a svg { width: 15px; height: 15px; color: var(--teal); }

/* ---------- Wave divider ---------- */
.divider { line-height: 0; }
.divider svg { width: 100%; height: clamp(40px, 5vw, 80px); display: block; }

/* ---------- FAB ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; background: var(--teal); color: #fff; border-radius: var(--r-pill); padding: 14px 22px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-lg); transition: transform 0.3s var(--ease), background 0.2s; }
.fab:hover { transform: translateY(-3px); background: var(--teal-deep); }
.fab svg { width: 18px; height: 18px; }
@media (max-width: 1080px) { .fab { display: none; } }

/* ============================================================
   V2 ELEVATION — clock-motif brand system, editorial hero,
   layered depth, motion. (Josh: "make it 10x better")
   ============================================================ */

/* Headings adopt the Sora display face for a precision feel */
h1, h2, h3, .hero__head, .hero-form__head { font-family: var(--font-head); }

/* ---- Grain + glow utilities ---- */
.has-grain { position: relative; isolation: isolate; }
.has-grain::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.5; mix-blend-mode: overlay; pointer-events: none; z-index: 0; }
.has-grain > * { position: relative; z-index: 1; }

/* ---- Hero (Figma composition: real photo background + neutral dark overlay) ---- */
.hero { position: relative; background: #1b1b1b; color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20,20,20,0.90) 0%, rgba(20,20,20,0.74) 46%, rgba(20,20,20,0.52) 100%),
  linear-gradient(180deg, rgba(20,20,20,0.18), rgba(20,20,20,0.42)); }
.hero .hero__wrap { position: relative; z-index: 2; padding-block: clamp(52px, 7vw, 100px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.hero__copy { max-width: 600px; }

.hero__eyebrow { background: var(--cream); border: 1px solid #fff; color: var(--ink); font-style: italic; }
.hero__head { font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: var(--cream); border-left: 3px solid var(--cream); padding-left: 22px; margin-top: 16px; }
.hero__sub { color: #fff; font-size: var(--fs-lead); font-weight: 500; max-width: 540px; margin-top: 18px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__formwrap { position: relative; }
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__formwrap { max-width: 540px; }
}

/* Hero form — clean white card with a maroon "Contact Us" head (Figma) */
.hero-form__head { color: var(--maroon); border-left: 2px solid var(--maroon); padding-left: 12px; }

/* ---- Button sheen ---- */
.btn--teal, .btn--maroon, .btn--cream { position: relative; overflow: hidden; }
.btn--teal::after, .btn--maroon::after, .btn--cream::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-18deg); transition: left 0.6s var(--ease); }
.btn--teal:hover::after, .btn--maroon:hover::after, .btn--cream:hover::after { left: 140%; }

/* ---- Tick rule under section eyebrows ---- */
.eyebrow--plain { position: relative; }

/* ---- Dark sections get the stage + grain ---- */
.why { background: var(--grad-stage); }
.why::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.5; mix-blend-mode: overlay; pointer-events: none; }
.page-hero { background: #1b1b1b; }
.page-hero__bg img { opacity: 1; }
.page-hero__bg::after { background: linear-gradient(90deg, rgba(20,20,20,0.92) 0%, rgba(20,20,20,0.74) 50%, rgba(20,20,20,0.52) 100%); }
.page-hero__wrap { z-index: 2; }
.cta-banner { background: var(--grad-maroon); }
.cta-banner::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.4; mix-blend-mode: overlay; pointer-events: none; }
.footer { background: var(--grad-stage); position: relative; }

/* Service cards: lift + accent the featured card glow */
.svc-card { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card--feature { background: var(--grad-teal); box-shadow: var(--glow-teal); }

/* Section heading tick accent */
.sec-head.center h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--grad-teal); margin: 16px auto 0; }

/* Stat numbers use display face */
.stat b, .trust-item b, .post-card__badge b, .hero__badge b { font-family: var(--font-head); }
