/* ===================================================================
   Onvyro Digital — Design System
   Navy + Slate (brand) · Amber CTA · Emerald metrics
   Outfit (headings) · Work Sans (body) · hand-written, no build step
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0F172A;
  --navy-800: #1E293B;
  --slate: #334155;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --line: #E2E8F0;
  --bg: #F8FAFC;
  --bg-soft: #F1F5F9;
  --white: #FFFFFF;
  --amber: #F97316;
  --amber-dark: #EA580C;
  --emerald: #059669;
  --emerald-soft: #ECFDF5;

  --text: #0F172A;
  --text-muted: #475569;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .28);

  --maxw: 1140px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; color: var(--navy); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: #E2E8F0; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber-dark); margin-bottom: 14px;
}
.bg-navy .eyebrow { color: var(--amber); }
.section-head { max-width: 680px; margin: 0 auto 52px; }
.section-head.left { margin-left: 0; }
.lead { font-size: 1.15rem; color: var(--text-muted); }
.bg-navy .lead { color: #94A3B8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 8px 20px -8px rgba(249, 115, 22, .6); }
.btn-primary:hover { background: var(--amber-dark); box-shadow: 0 12px 26px -8px rgba(249, 115, 22, .7); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--slate-400); background: #fff; }
.bg-navy .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.bg-navy .btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(248, 250, 252, .85);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; color: var(--slate); font-size: .98rem; transition: color .15s; }
.nav-links a:hover { color: var(--amber-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn svg { width: 26px; height: 26px; color: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--amber); }
.hero p.lead { margin-bottom: 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; color: var(--slate-500); font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--emerald); }

/* hero visual: a "rescue" stat card */
.hero-visual { position: relative; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 26px; position: relative;
}
.stat-card .sc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.sc-tag { font-family: 'Outfit'; font-weight: 600; font-size: .82rem; color: var(--slate-500); }
.sc-badge { background: var(--emerald-soft); color: var(--emerald); font-weight: 600; font-size: .8rem; padding: 4px 11px; border-radius: 999px; }
.sc-row { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.sc-row:last-child { border-bottom: 0; }
.sc-label { color: var(--text-muted); font-size: .95rem; }
.sc-before { color: #DC2626; font-weight: 600; font-family: 'Outfit'; }
.sc-after { color: var(--emerald); font-weight: 700; font-family: 'Outfit'; font-size: 1.1rem; }
.float-pill {
  position: absolute; background: var(--navy); color: #fff; font-family: 'Outfit'; font-weight: 600;
  font-size: .9rem; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow);
  bottom: -22px; left: -22px;
}
.float-pill b { color: var(--amber); }

/* ---------- Logos / strip ---------- */
.strip { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; color: var(--slate-500); font-size: .95rem; }
.strip b { color: var(--navy); font-family: 'Outfit'; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CBD5E1; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: #FFF7ED; color: var(--amber-dark); margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .98rem; }

/* ---------- Problem section ---------- */
.problem-list { display: grid; gap: 16px; }
.problem-item { display: flex; gap: 14px; align-items: flex-start; }
.problem-item .x { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #FEF2F2; color: #DC2626; display: grid; place-items: center; margin-top: 2px; }
.problem-item .x svg { width: 15px; height: 15px; }
.problem-item p { color: var(--text); font-weight: 500; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.step .num {
  width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: #fff;
  font-family: 'Outfit'; font-weight: 700; font-size: 1.4rem; display: grid; place-items: center;
}
.step h3 { margin-bottom: 6px; }

/* ---------- Case studies ---------- */
.case-card { overflow: hidden; padding: 0; }
.case-card .case-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.case-card .case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.case-card.hover:hover .case-img img { transform: scale(1.04); }
.case-body { padding: 22px 24px 26px; }
.case-cat { font-family: 'Outfit'; font-weight: 600; color: var(--slate-500); font-size: .85rem; }
.case-title { font-family: 'Outfit'; font-weight: 700; color: var(--navy); font-size: 1.18rem; margin: 6px 0 16px; }
.case-stats { display: flex; gap: 18px; }
.case-stat .v { font-family: 'Outfit'; font-weight: 700; font-size: 1.3rem; color: var(--emerald); }
.case-stat .l { font-size: .78rem; color: var(--slate-500); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--amber); box-shadow: var(--shadow); }
.price-card.featured::before {
  content: "Most Popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #fff; font-family: 'Outfit'; font-weight: 600; font-size: .78rem;
  padding: 5px 16px; border-radius: 999px;
}
.price-name { font-family: 'Outfit'; font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.price-amt { font-family: 'Outfit'; font-weight: 800; font-size: 2.4rem; color: var(--navy); margin: 12px 0 2px; }
.price-amt small { font-size: .95rem; font-weight: 500; color: var(--slate-500); }
.price-sub { font-size: .92rem; color: var(--slate-500); margin-bottom: 20px; }
.price-feats { display: grid; gap: 11px; margin-bottom: 26px; }
.price-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--text); }
.price-feats svg { width: 18px; height: 18px; color: var(--emerald); flex: none; margin-top: 3px; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-note { text-align: center; color: var(--slate-500); font-size: .92rem; margin-top: 26px; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; }
.quote-card p { color: var(--text); font-size: 1.02rem; }
.quote-mark { color: var(--amber); font-family: 'Outfit'; font-size: 2.6rem; line-height: 1; height: 28px; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-who .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: 'Outfit'; font-weight: 600; }
.quote-who .n { font-family: 'Outfit'; font-weight: 600; color: var(--navy); font-size: .95rem; }
.quote-who .r { color: var(--slate-500); font-size: .85rem; }

/* ---------- Tools ---------- */
.tool-card { display: flex; flex-direction: column; }
.tool-card .badge { align-self: flex-start; background: var(--emerald-soft); color: var(--emerald); font-weight: 600; font-size: .76rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.tool-card .btn { margin-top: auto; }

/* ---------- Final CTA ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #1E293B 100%); color: #fff; border-radius: 24px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #94A3B8; max-width: 560px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #94A3B8; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-family: 'Outfit'; }
.footer a { color: #94A3B8; font-size: .94rem; display: block; padding: 5px 0; transition: color .15s; }
.footer a:hover { color: var(--amber); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .desc { font-size: .94rem; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: 'Outfit'; font-weight: 500; font-size: .92rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }

/* ---------- Chip form (selectable pills) ---------- */
.form-intro { color: var(--text-muted); font-size: .96rem; margin-bottom: 22px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  position: relative; display: inline-flex; align-items: center; cursor: pointer;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: .92rem; color: var(--slate); font-family: 'Outfit', sans-serif; font-weight: 500;
  transition: all .15s var(--ease); user-select: none;
}
.chip input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.chip:hover { border-color: var(--slate-400); }
.chip:has(input:checked) { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(249,115,22,.25); }
.form-hint { font-size: .82rem; color: var(--slate-500); margin-top: 6px; }
.form-foot { text-align: center; margin-top: 16px; }
.form-foot p { font-size: .86rem; color: var(--slate-500); margin: 3px 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Misc ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 20px 0; font-family: 'Outfit'; font-weight: 600; color: var(--navy); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--amber); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; }
  .grid-3, .price-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px; box-shadow: var(--shadow);
  }
  .section { padding: 64px 0; }
  .cta-band { padding: 48px 24px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .float-pill { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
