/* =====================================================================
   Site-wide modern layer (all pages except /blog): same look as the homepage.
   Grid hero backdrop, gradient accents, layered card depth, dark stat band,
   glowing buttons, richer final CTA, fluid mobile headlines. Pure CSS (~7 KB).
   Loads after styles.css; page-specific files (home-*.css) load after this.
   ===================================================================== */

/* ---------- sections: soft gradient depth instead of flat tints ---------- */
.section-soft, .section-dark {
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(226,30,38,.07), transparent 60%),
    radial-gradient(800px 380px at 100% 110%, rgba(36,87,245,.06), transparent 60%),
    linear-gradient(180deg, #FFF6F3 0%, #FFFBFA 100%);
  border-top: 0; border-bottom: 0;
}
.section-light {
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(36,87,245,.045), transparent 60%),
    radial-gradient(700px 320px at 0% 100%, rgba(226,30,38,.04), transparent 60%),
    #fff;
}

/* ---------- page hero: grid backdrop + glows (matches the homepage hero) ---------- */
.page-hero {
  background:
    radial-gradient(900px 480px at 100% 0%, rgba(36,87,245,.10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(226,30,38,.10), transparent 60%),
    #FBF9F7;
}
.page-hero::before {
  background-image: linear-gradient(rgba(23,24,28,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(23,24,28,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%); mask-image: linear-gradient(180deg, #000, transparent 88%);
}
.page-hero .h1 { font-size: clamp(36px, 5.4vw, 62px); letter-spacing: -.04em; }
@media (max-width: 960px) { .page-hero .h1 { font-size: clamp(36px, 8.8vw, 58px); } }
.page-hero .lead { font-size: clamp(16px, 4.2vw, 19px); }

/* ---------- gradient accent words ---------- */
.h1 .accent, .h2 .accent, .page-hero .h1 em, .page-hero .h1 .accent, .h3 .accent {
  background: linear-gradient(95deg, #E21E26 0%, #FF4B3A 55%, #FF8A3D 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.final-cta .accent, .final-cta .h2 .accent, .final-cta h2 .accent { background: none; -webkit-text-fill-color: #FFE3D4; color: #FFE3D4; }

.eyebrow-pill { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 2px 10px rgba(226,30,38,.08); }

/* ---------- cards: layered shadow, hairline, lift on hover ---------- */
.card, .service-card, .pricing-card, .stat-card, .result-card, .contact-info-card, .compare-table-wrap, .case-card {
  border: 1px solid rgba(23,24,28,.07);
  box-shadow: 0 1px 1px rgba(23,24,28,.04), 0 8px 18px -6px rgba(23,24,28,.08), 0 26px 50px -24px rgba(23,24,28,.14), inset 0 1px 0 #fff;
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s, border-color .28s;
}
.card:hover, .service-card:hover, .pricing-card:hover, .result-card:hover, .case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 1px rgba(23,24,28,.04), 0 14px 26px -8px rgba(23,24,28,.12), 0 40px 70px -26px rgba(226,30,38,.22), inset 0 1px 0 #fff;
}
.pricing-card.is-featured, .pricing-card.featured, .plan-featured { box-shadow: 0 0 0 4px rgba(226,30,38,.08), 0 30px 70px -22px rgba(226,30,38,.34); }
.callout { background: linear-gradient(135deg, #FFF3F1, #FFFAF9); box-shadow: 0 14px 30px -18px rgba(226,30,38,.35); }
.flow-node { box-shadow: 0 1px 1px rgba(23,24,28,.04), 0 10px 22px -10px rgba(23,24,28,.16); }

/* ---------- dark stat band (any section whose stats sit directly in its wrap) ---------- */
.section:has(> .wrap > .stats), .proof-band {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(620px 300px at 12% 0%, rgba(226,30,38,.55), transparent 65%),
    radial-gradient(560px 300px at 92% 100%, rgba(36,87,245,.42), transparent 65%),
    linear-gradient(180deg, #17181C, #101114);
}
.section:has(> .wrap > .stats) > .wrap > .stats { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.section:has(> .wrap > .stats) .stat { border-color: rgba(255,255,255,.12); }
.section:has(> .wrap > .stats) .stat-num { background: linear-gradient(180deg, #fff, #FFC9C2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.section:has(> .wrap > .stats) .stat-label { color: rgba(255,255,255,.72); }

/* ---------- buttons: glow + shine ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transition: left .6s ease; pointer-events: none; }
.btn-primary:hover::after { left: 130%; }

/* ---------- final CTA: orb + grid ---------- */
.final-cta::after { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,120,.45), transparent 65%); pointer-events: none; }

/* ---------- forms: blue focus ring to match the brand's blue accent ---------- */
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36,87,245,.14); }
