/* =====================================================================
   Fabonic HMS — Marketing site
   Design system + components. Standalone, no framework.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #071b33;
  --navy-800: #0b2540;
  --navy-700: #0f2e50;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --sky-500:  #0ea5e9;
  --sky-400:  #38bdf8;
  --cyan-300: #67e8f9;
  --ink:      #0b1727;
  --slate-700:#334155;
  --slate-600:#475569;
  --slate-500:#64748b;
  --slate-400:#94a3b8;
  --slate-200:#e2e8f0;
  --slate-100:#f1f5f9;
  --slate-50: #f8fafc;
  --white:    #ffffff;
  --amber:    #f59e0b;

  --grad-brand: linear-gradient(120deg, var(--teal-500) 0%, var(--sky-500) 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(20,184,166,.12), rgba(14,165,233,.12));
  --grad-dark: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);

  --radius:   16px;
  --radius-lg:24px;
  --radius-sm:10px;
  --shadow-sm: 0 1px 2px rgba(11,37,64,.06), 0 1px 3px rgba(11,37,64,.10);
  --shadow:    0 10px 25px -5px rgba(11,37,64,.12), 0 8px 10px -6px rgba(11,37,64,.08);
  --shadow-lg: 0 25px 50px -12px rgba(11,37,64,.25);
  --shadow-brand: 0 18px 40px -12px rgba(13,148,136,.45);

  --container: 1180px;
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--navy-900); font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p  { margin: 0 0 1rem; color: var(--slate-600); }
a  { color: var(--teal-600); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.muted { color: var(--slate-500); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-600);
  background: var(--grad-brand-soft);
  border: 1px solid rgba(20,184,166,.22);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }
.section-head p { font-size: 1.08rem; }

.lead { font-size: 1.18rem; color: var(--slate-600); }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -12px rgba(13,148,136,.55); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy-800); border-color: var(--slate-200); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--teal-600); border-color: rgba(13,148,136,.35); }
.btn-outline:hover { background: var(--grad-brand-soft); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(11,37,64,.06), 0 8px 30px rgba(11,37,64,.06);
  padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.25rem; color: var(--navy-900); }
.brand img { width: 40px; height: 40px; border-radius: 11px; background: #fff; object-fit: contain; box-shadow: 0 1px 3px rgba(11,37,64,.12); }
.brand span small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--slate-700); font-weight: 600; font-size: .95rem;
  padding: 9px 14px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--navy-900); background: var(--slate-100); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .link-staff { color: var(--slate-700); font-weight: 600; font-size: .95rem; padding: 9px 8px; }
.nav-cta .link-staff:hover { color: var(--teal-600); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--navy-900);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 60% at 80% -5%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(50% 50% at 5% 10%, rgba(45,212,191,.18), transparent 60%),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 60%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: -1; }
.blob-1 { width: 420px; height: 420px; background: var(--teal-400); top: -120px; right: -80px; }
.blob-2 { width: 360px; height: 360px; background: var(--sky-400); bottom: -140px; left: -100px; opacity: .35; }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; color: var(--slate-500); font-size: .9rem; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--teal-500); }

/* Hero mockup */
.mock { position: relative; }
.mock-window {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform .5s var(--ease);
}
.mock:hover .mock-window { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--slate-50); border-bottom: 1px solid var(--slate-200); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.mock-bar i:nth-child(1){ background:#ff5f57;} .mock-bar i:nth-child(2){ background:#febc2e;} .mock-bar i:nth-child(3){ background:#28c840;}
.mock-bar .url { margin-left: 12px; font-size: .76rem; color: var(--slate-500); background: #fff; border: 1px solid var(--slate-200); border-radius: 7px; padding: 4px 12px; }
.mock-body { padding: 18px; background: linear-gradient(180deg,#fbfdfe,#fff); }
.mock-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-topline strong { font-size: .95rem; color: var(--navy-900); }
.mock-pill { font-size: .68rem; font-weight: 700; color: var(--teal-600); background: var(--grad-brand-soft); padding: 4px 10px; border-radius: 999px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpi { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 12px; }
.mock-kpi b { display: block; font-size: 1.15rem; color: var(--navy-900); }
.mock-kpi small { font-size: .68rem; color: var(--slate-500); }
.mock-kpi.teal { background: var(--grad-brand); border: 0; }
.mock-kpi.teal b, .mock-kpi.teal small { color: #fff; }
.mock-chart { height: 92px; display: flex; align-items: flex-end; gap: 8px; padding: 10px 4px 0; border-top: 1px dashed var(--slate-200); }
.mock-chart span { flex: 1; background: var(--grad-brand); border-radius: 6px 6px 0 0; opacity: .85; }
.mock-rows { margin-top: 12px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--slate-100); font-size: .76rem; color: var(--slate-600); }
.mock-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); }
.mock-row .grow { flex: 1; }

.float-card {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  border: 1px solid var(--slate-200); padding: 12px 14px; display: flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; color: var(--navy-900);
}
.float-card svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--grad-brand-soft); color: var(--teal-600); }
.float-card small { display: block; font-weight: 600; color: var(--slate-500); font-size: .68rem; }
.float-1 { top: 18%; left: -36px; animation: float 6s ease-in-out infinite; }
.float-2 { bottom: 10%; right: -30px; animation: float 6s ease-in-out infinite .8s; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

/* ---------- Trust / logos band ---------- */
.band-stats { background: var(--grad-dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1; }
.stat .grad-text { background: linear-gradient(120deg,var(--teal-400),var(--cyan-300)); -webkit-background-clip:text; background-clip:text; color: transparent; }
.stat span { color: var(--slate-400); font-size: .92rem; font-weight: 600; }

/* ---------- Feature grid ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(20,184,166,.4); }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-brand-soft); color: var(--teal-600); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .95rem; margin: 0; }

/* ---------- Modules section ---------- */
.modules { background: var(--slate-50); }
.modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; }
.module {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 22px; display: flex; gap: 14px; align-items: flex-start;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.module .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); }
.module .ico svg { width: 22px; height: 22px; }
.module h4 { margin: 2px 0 4px; font-size: 1.02rem; }
.module p { margin: 0; font-size: .86rem; }

/* ---------- Split / showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--slate-700); font-weight: 500; }
.check-list li svg { flex: none; width: 22px; height: 22px; color: var(--teal-500); margin-top: 2px; }
.check-list li b { color: var(--navy-900); }

.panel-card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 22px;
}
.ledger { font-size: .82rem; }
.ledger-head, .ledger-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 8px; padding: 9px 12px; }
.ledger-head { font-weight: 700; color: var(--slate-500); text-transform: uppercase; font-size: .68rem; letter-spacing: .05em; border-bottom: 2px solid var(--slate-200); }
.ledger-row { border-bottom: 1px solid var(--slate-100); color: var(--slate-700); }
.ledger-row .dr { color: var(--sky-500); font-weight: 700; text-align: right; }
.ledger-row .cr { color: var(--teal-600); font-weight: 700; text-align: right; }
.ledger-total { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 8px; padding: 11px 12px; margin-top: 6px; background: var(--slate-50); border-radius: 10px; font-weight: 800; color: var(--navy-900); }
.ledger-total span:not(:first-child){ text-align: right; }
.balanced { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--teal-600); font-weight: 700; font-size: .85rem; }
.balanced svg { width: 18px; height: 18px; }

/* Patient journey flow */
.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.flow-step {
  flex: 1 1 140px; background: #fff; border: 1px solid var(--slate-200); border-radius: 14px;
  padding: 16px; text-align: center; position: relative;
}
.flow-step .n { width: 30px; height: 30px; margin: 0 auto 10px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .82rem; }
.flow-step b { display: block; font-size: .92rem; color: var(--navy-900); }
.flow-step small { color: var(--slate-500); font-size: .76rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price.featured { background: var(--grad-dark); color: #fff; border: 0; box-shadow: var(--shadow-lg); position: relative; }
.price.featured h3, .price.featured .price-amt { color: #fff; }
.price.featured .price-desc, .price.featured .price-feat li { color: var(--slate-200); }
.price-tag { position: absolute; top: 18px; right: 18px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--grad-brand); color: #fff; padding: 5px 12px; border-radius: 999px; }
.price h3 { font-size: 1.15rem; }
.price-desc { font-size: .9rem; color: var(--slate-500); min-height: 42px; }
.price-amt { font-size: 2.6rem; font-weight: 800; color: var(--navy-900); line-height: 1; margin: 12px 0 4px; }
.price-amt small { font-size: .9rem; font-weight: 600; color: var(--slate-500); }
.price-feat { margin: 22px 0; flex: 1; }
.price-feat li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .92rem; color: var(--slate-600); }
.price-feat li svg { flex: none; width: 19px; height: 19px; color: var(--teal-500); margin-top: 2px; }
.price.featured .price-feat li svg { color: var(--teal-400); }

/* ---------- Testimonials ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 28px; }
.quote .stars { color: var(--amber); margin-bottom: 12px; letter-spacing: 2px; }
.quote p { color: var(--slate-700); font-size: .98rem; font-style: italic; }
.quote-by { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-by .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quote-by b { display: block; color: var(--navy-900); font-size: .92rem; }
.quote-by small { color: var(--slate-500); font-size: .8rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--slate-200); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: inherit;
  font-size: 1.02rem; font-weight: 700; color: var(--navy-900); padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q svg { flex: none; width: 22px; height: 22px; color: var(--teal-600); transition: transform .3s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 22px 20px; margin: 0; font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-dark); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px); text-align: center; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 50% -20%, rgba(45,212,191,.35), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--slate-200); max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-brand-soft); color: var(--teal-600); display: grid; place-items: center; }
.contact-info .ico svg { width: 22px; height: 22px; }
.contact-info b { display: block; color: var(--navy-900); }
.contact-info span { color: var(--slate-600); font-size: .95rem; }
.form { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy-800); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: .96rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--slate-200); border-radius: 11px; background: var(--slate-50);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(20,184,166,.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--slate-500); margin: 4px 0 0; }
.form-success { display: none; align-items: center; gap: 10px; background: var(--grad-brand-soft); color: var(--teal-600); border: 1px solid rgba(20,184,166,.3); padding: 14px 16px; border-radius: 12px; font-weight: 600; margin-bottom: 16px; }
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; }
.form-error { display: none; align-items: center; gap: 10px; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; padding: 14px 16px; border-radius: 12px; font-weight: 600; margin-bottom: 16px; }
.form-error.show { display: flex; }
.form-error svg { width: 22px; height: 22px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--slate-400); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand span small { color: var(--teal-400); }
.footer-brand p { color: var(--slate-400); font-size: .92rem; max-width: 300px; }
.footer-col h5 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.footer-col a { display: block; color: var(--slate-400); padding: 6px 0; font-size: .92rem; font-weight: 500; transition: color .2s; }
.footer-col a:hover { color: var(--teal-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .85rem; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: var(--slate-400); transition: background .2s, color .2s; }
.footer-bottom .socials a:hover { background: var(--grad-brand); color: #fff; }
.footer-bottom .socials svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float-1,.float-2 { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .features-grid, .pricing-grid, .quotes-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mock-window { transform: none; }
  .hero { padding-top: 130px; }
  .float-1 { left: 0; } .float-2 { right: 0; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .link-staff, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 16px; right: 16px; margin-top: 10px;
    background: #fff; border: 1px solid var(--slate-200); border-radius: 16px; padding: 12px; box-shadow: var(--shadow-lg);
  }
  .mobile-open .nav-links a { padding: 13px 14px; }
  .features-grid, .pricing-grid, .quotes-grid, .form-row { grid-template-columns: 1fr; }
  .price.featured { transform: none; }
}
@media (max-width: 460px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}
