/* ============================================================
   ExonRCM — Main Stylesheet
   Design system: teal primary + orange accent, card-based UI
   Fonts: Plus Jakarta Sans (headings), Inter (body)
   ============================================================ */

:root {
  --primary: hsl(195, 76%, 34%);
  --primary-dark: hsl(195, 80%, 24%);
  --primary-darker: hsl(197, 82%, 16%);
  --primary-light: hsl(195, 45%, 94%);
  --primary-lighter: hsl(195, 40%, 97%);
  --accent: hsl(19, 99%, 49%);
  --accent-dark: hsl(19, 99%, 42%);
  --accent-light: hsl(19, 100%, 95%);
  --success: hsl(152, 60%, 38%);
  --star: hsl(45, 93%, 47%);
  --ink: hsl(210, 15%, 12%);
  --ink-soft: hsl(210, 10%, 34%);
  --ink-mute: hsl(210, 8%, 48%);
  --bg: #ffffff;
  --bg-subtle: hsl(210, 20%, 97%);
  --border: hsl(210, 16%, 89%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 4px 24px -6px hsla(200, 40%, 20%, 0.10);
  --shadow-hover: 0 18px 44px -10px hsla(200, 50%, 20%, 0.22);
  --grad-hero: linear-gradient(135deg, hsl(200, 45%, 10%) 0%, hsl(195, 78%, 22%) 55%, hsl(193, 70%, 32%) 100%);
  --grad-primary: linear-gradient(135deg, hsl(195, 76%, 34%), hsl(195, 80%, 24%));
  --grad-accent: linear-gradient(135deg, hsl(19, 99%, 49%), hsl(28, 98%, 52%));
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; color: var(--ink); }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .25s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-accent { background: var(--grad-accent); color: #fff; box-shadow: 0 8px 22px -6px hsla(19, 99%, 45%, .55); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -6px hsla(19, 99%, 45%, .65); color: #fff; }
.btn-primary { background: var(--grad-primary); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 26px -8px hsla(195, 76%, 30%, .6); }
.btn-outline-light { background: transparent; color: #fff; border-color: hsla(0, 0%, 100%, .45); }
.btn-outline-light:hover { background: hsla(0, 0%, 100%, .12); color: #fff; border-color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 17px 36px; font-size: 17px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--primary-darker); color: hsla(0,0%,100%,.85); font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; gap: 12px; }
.topbar a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: hsl(28, 98%, 62%); }
.topbar svg { width: 14px; height: 14px; }
.topbar-right { display: flex; gap: 20px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: hsla(0, 0%, 100%, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark svg { width: 24px; height: 24px; stroke: #fff; }
.logo span em { font-style: normal; color: var(--primary); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px; padding: 10px 13px;
  font-weight: 600; font-size: 15px; color: var(--ink-soft); border-radius: 10px;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--primary); background: var(--primary-light); }
.nav-menu > li > a svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-menu > li:hover > a svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-hover); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s ease; max-height: 70vh; overflow-y: auto;
}
.nav-menu li:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.dropdown a:hover { background: var(--primary-light); color: var(--primary); }
.dropdown .drop-all { font-weight: 700; color: var(--primary); border-bottom: 1px solid var(--border); border-radius: 9px 9px 0 0; margin-bottom: 6px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 22px; font-size: 14.5px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-shrink: 0; }
.hamburger svg { width: 28px; height: 28px; min-width: 28px; max-width: none; stroke: var(--ink); }

/* ---------- Hero ---------- */
.hero { background: var(--grad-hero); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, hsla(19, 99%, 49%, .14), transparent 65%),
    radial-gradient(700px 380px at 10% 90%, hsla(195, 80%, 55%, .12), transparent 65%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 88px 0 72px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700;
  background: hsla(0, 0%, 100%, .12); border: 1px solid hsla(0, 0%, 100%, .22);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; letter-spacing: .3px;
}
.hero-badge svg { width: 15px; height: 15px; stroke: hsl(28, 98%, 62%); }
.hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: hsl(28, 98%, 60%); }
.hero-sub { font-size: 18.5px; color: hsla(0, 0%, 100%, .85); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600;
  background: hsla(0, 0%, 100%, .09); border: 1px solid hsla(0, 0%, 100%, .18);
  padding: 7px 14px; border-radius: 999px; color: hsla(0, 0%, 100%, .92);
}
.trust-chip svg { width: 14px; height: 14px; stroke: hsl(152, 65%, 55%); }
.hero-card {
  background: hsla(0, 0%, 100%, .07); border: 1px solid hsla(0, 0%, 100%, .16);
  border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(8px);
}
.hero-card h3 { color: #fff; font-size: 19px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero-card h3 svg { width: 22px; height: 22px; stroke: hsl(28, 98%, 60%); }
.hero-card ul li { display: flex; gap: 11px; padding: 10px 0; border-bottom: 1px solid hsla(0,0%,100%,.09); color: hsla(0,0%,100%,.88); font-size: 15px; }
.hero-card ul li:last-child { border-bottom: none; }
.hero-card ul li svg { width: 18px; height: 18px; stroke: hsl(152, 65%, 55%); flex-shrink: 0; margin-top: 3px; }
.hero-stats { position: relative; border-top: 1px solid hsla(0, 0%, 100%, .14); }
.hero-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.hstat { text-align: center; padding: 26px 12px; border-right: 1px solid hsla(0,0%,100%,.10); }
.hstat:last-child { border-right: none; }
.hstat b { display: block; font-family: var(--font-head); font-size: 32px; font-weight: 800; color: #fff; }
.hstat span { font-size: 13.5px; color: hsla(0, 0%, 100%, .72); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-subtle { background: var(--bg-subtle); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 800; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 14px;
}
.kicker::before, .kicker::after { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head h2, .h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.6px; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ---------- Card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-card); transition: all .28s ease; position: relative;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: hsl(195, 50%, 78%); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  transition: all .28s ease;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--primary); transition: stroke .28s; }
.card:hover .card-icon { background: var(--grad-primary); }
.card:hover .card-icon svg { stroke: #fff; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 14.8px; flex-grow: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; margin-top: 16px; color: var(--accent); }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card-link:hover { color: var(--accent-dark); }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--grad-primary); color: #fff; padding: 56px 0; }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 42px; font-weight: 800; letter-spacing: -1px; }
.stat b em { font-style: normal; color: hsl(28, 98%, 62%); }
.stat span { font-size: 14.5px; color: hsla(0, 0%, 100%, .82); font-weight: 500; }

/* ---------- Specialty chips ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec-chip {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px;
  font-weight: 600; font-size: 15px; color: var(--ink); transition: all .25s ease;
  box-shadow: var(--shadow-card);
}
.spec-chip svg { width: 21px; height: 21px; stroke: var(--primary); flex-shrink: 0; }
.spec-chip:hover { border-color: var(--primary); transform: translateY(-3px); color: var(--primary); box-shadow: var(--shadow-hover); }

/* ---------- Timeline / How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { text-align: center; padding: 28px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); position: relative; transition: all .25s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.step-num {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--grad-accent); color: #fff; font-family: var(--font-head);
  font-size: 21px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -5px hsla(19, 99%, 45%, .5);
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 13.8px; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: all .25s; }
.testi:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.stars { display: flex; gap: 3px; margin-bottom: 15px; }
.stars svg { width: 18px; height: 18px; fill: var(--star); stroke: var(--star); }
.testi p { color: var(--ink-soft); font-size: 15px; font-style: italic; flex-grow: 1; }
.testi-person { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--grad-primary);
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testi-person b { display: block; font-family: var(--font-head); font-size: 15.5px; }
.testi-person span { font-size: 13.2px; color: var(--ink-mute); }

/* ---------- Split feature (image-less, uses panel) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-panel {
  background: var(--grad-hero); border-radius: var(--radius-lg); padding: 40px;
  color: #fff; position: relative; overflow: hidden;
}
.split-panel::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: hsla(19, 99%, 49%, .16);
}
.split-panel h3 { color: #fff; font-size: 22px; margin-bottom: 18px; }
.split-panel li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid hsla(0,0%,100%,.1); font-size: 15px; color: hsla(0,0%,100%,.88); }
.split-panel li:last-child { border: none; }
.split-panel li svg { width: 20px; height: 20px; stroke: hsl(28, 98%, 60%); flex-shrink: 0; margin-top: 2px; }
.split-body .kicker { justify-content: flex-start; }
.split-body h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; letter-spacing: -.5px; }
.split-body > p { color: var(--ink-soft); margin-bottom: 20px; }
.check-list li { display: flex; gap: 12px; padding: 9px 0; font-size: 15.5px; color: var(--ink-soft); }
.check-list li svg { width: 21px; height: 21px; stroke: var(--success); flex-shrink: 0; margin-top: 2px; }
.check-list li b { color: var(--ink); }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--grad-hero); border-radius: var(--radius-lg); padding: 60px 48px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 250px at 80% 10%, hsla(19,99%,49%,.18), transparent 60%); }
.cta-banner h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; position: relative; }
.cta-banner p { color: hsla(0,0%,100%,.85); font-size: 17px; max-width: 620px; margin: 0 auto 30px; position: relative; }
.cta-banner .hero-actions { justify-content: center; position: relative; margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: start; }
.lead-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-hover); }
.lead-form h3 { font-size: 23px; margin-bottom: 6px; }
.lead-form > p { color: var(--ink-mute); font-size: 14.5px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 13.8px; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 11px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.8px; color: var(--ink-mute); margin-top: 12px; display: flex; gap: 7px; align-items: center; }
.form-note svg { width: 15px; height: 15px; stroke: var(--success); flex-shrink: 0; }
.contact-info h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; letter-spacing: -.5px; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 28px; }
.info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-item:last-of-type { border-bottom: none; }
.info-icon { width: 48px; height: 48px; border-radius: 13px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-icon svg { width: 23px; height: 23px; stroke: var(--primary); }
.info-item b { display: block; font-family: var(--font-head); font-size: 15.5px; margin-bottom: 2px; }
.info-item a, .info-item span { color: var(--ink-soft); font-size: 14.8px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-card); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: 16.5px; font-weight: 700; color: var(--ink);
}
.faq-q svg { width: 20px; height: 20px; stroke: var(--accent); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad-hero); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 88% 15%, hsla(19,99%,49%,.15), transparent 60%); }
.breadcrumb { position: relative; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; margin-bottom: 18px; color: hsla(0,0%,100%,.65); }
.breadcrumb a { color: hsla(0,0%,100%,.85); font-weight: 600; }
.breadcrumb a:hover { color: hsl(28,98%,62%); }
.page-hero h1 { position: relative; color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.8px; margin-bottom: 14px; max-width: 800px; }
.page-hero p { position: relative; font-size: 17.5px; color: hsla(0,0%,100%,.85); max-width: 700px; }
.page-hero .hero-actions { position: relative; margin: 26px 0 0; }

/* ---------- Detail page layout ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.detail-body h2 { font-size: 27px; letter-spacing: -.4px; margin: 34px 0 14px; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { color: var(--ink-soft); margin-bottom: 16px; }
.detail-body .grid-2 { margin: 22px 0; }
.mini-card { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.mini-card svg { width: 24px; height: 24px; stroke: var(--primary); margin-bottom: 10px; }
.mini-card h3 { font-size: 16px; margin-bottom: 6px; }
.mini-card p { font-size: 13.8px; margin: 0; }
.sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-card); }
.side-card h3 { font-size: 17px; margin-bottom: 14px; }
.side-card ul li { border-bottom: 1px solid var(--border); }
.side-card ul li:last-child { border: none; }
.side-card ul a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 2px; font-size: 14.2px; font-weight: 500; color: var(--ink-soft); }
.side-card ul a svg, .side-card a svg { width: 15px; height: 15px; min-width: 15px; flex-shrink: 0; stroke: var(--primary); }
.side-card ul a:hover { color: var(--primary); padding-left: 6px; transition: all .2s; }
.side-cta { background: var(--grad-hero); color: #fff; border: none; text-align: center; }
.side-cta h3 { color: #fff; }
.side-cta p { color: hsla(0,0%,100%,.82); font-size: 14px; margin-bottom: 18px; }
.detail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.dstat { background: var(--primary-light); border-radius: var(--radius); text-align: center; padding: 20px 10px; }
.dstat b { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--primary); }
.dstat span { font-size: 12.8px; color: var(--ink-soft); font-weight: 600; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: all .25s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.post-thumb { height: 170px; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.post-thumb::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: hsla(19,99%,49%,.22); right: -50px; bottom: -50px; }
.post-thumb svg { width: 54px; height: 54px; stroke: hsla(0,0%,100%,.9); position: relative; z-index: 1; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.post-meta { display: flex; gap: 14px; font-size: 12.8px; color: var(--ink-mute); margin-bottom: 10px; font-weight: 600; }
.post-body h3 { font-size: 18px; margin-bottom: 10px; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--primary); }
.post-body p { color: var(--ink-soft); font-size: 14.3px; flex-grow: 1; }
.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: 26px; margin: 34px 0 14px; letter-spacing: -.4px; }
.article h3 { font-size: 20px; margin: 26px 0 10px; }
.article p, .article li { color: var(--ink-soft); margin-bottom: 14px; font-size: 16px; }
.article ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.article ul li { margin-bottom: 8px; }
.article blockquote { border-left: 4px solid var(--accent); background: var(--accent-light); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 22px 0; font-weight: 600; color: var(--ink); }

/* ---------- Values / About ---------- */
.value-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.value-row:last-child { border: none; }
.value-row .card-icon { margin: 0; flex-shrink: 0; }
.value-row h3 { font-size: 18px; margin-bottom: 6px; }
.value-row p { color: var(--ink-soft); font-size: 14.8px; }
.timeline-v { position: relative; padding-left: 34px; }
.timeline-v::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--primary), var(--accent)); border-radius: 3px; }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.tl-item b { font-family: var(--font-head); color: var(--primary); font-size: 15px; display: block; margin-bottom: 4px; }
.tl-item h3 { font-size: 17px; margin-bottom: 5px; }
.tl-item p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Compliance strip ---------- */
.comp-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.comp-badge {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 12px 24px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px;
  box-shadow: var(--shadow-card);
}
.comp-badge svg { width: 20px; height: 20px; stroke: var(--success); }

/* ---------- Footer ---------- */
.footer { background: var(--primary-darker); color: hsla(0, 0%, 100%, .75); padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 46px; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo span em { color: hsl(28, 98%, 60%); }
.footer-about p { font-size: 14.3px; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: hsla(0,0%,100%,.72); font-size: 14.3px; transition: all .2s; }
.footer-links a:hover { color: hsl(28, 98%, 62%); padding-left: 4px; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: 14.3px; }
.footer-contact svg { width: 18px; height: 18px; stroke: hsl(28, 98%, 60%); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: hsla(0,0%,100%,.78); }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; background: hsla(0,0%,100%,.09);
  display: flex; align-items: center; justify-content: center; transition: all .25s;
}
.socials a:hover { background: var(--accent); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; stroke: #fff; }
.footer-bottom { border-top: 1px solid hsla(0,0%,100%,.1); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13.3px; }
.footer-bottom a { color: hsla(0,0%,100%,.72); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 18px; }

/* ---------- Utility & animation ---------- */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.back-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-accent); border: none; cursor: pointer; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 10px 24px -6px hsla(19,99%,45%,.6); z-index: 900;
  opacity: 0; visibility: hidden; transition: all .3s;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top svg { width: 20px; height: 20px; stroke: #fff; }

/* ---------- HTML sitemap page ---------- */
.sitemap-list li { border-bottom: 1px solid var(--border); }
.sitemap-list li:last-child { border-bottom: none; }
.sitemap-list a { display: block; padding: 9px 2px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); transition: all .2s; }
.sitemap-list a:hover { color: var(--primary); padding-left: 8px; }

/* ---------- SMS consent (10DLC) ---------- */
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 10px; }
.consent input[type="checkbox"] {
  width: 17px; height: 17px; min-width: 17px; margin-top: 2px;
  accent-color: var(--primary); cursor: pointer;
}
.consent label { font-size: 12.6px; color: var(--ink-mute); font-weight: 500; line-height: 1.5; cursor: pointer; }
.consent label b { color: var(--ink-soft); }
.consent-disclosure { font-size: 11.8px; color: var(--ink-mute); line-height: 1.55; margin: 2px 0 14px; }
.consent-disclosure a { font-weight: 600; }

/* ---------- Chat widget ---------- */
.chat-root { position: fixed; right: 22px; bottom: 22px; z-index: 1200; font-family: var(--font-body); }
.back-top { right: 88px; }
.chat-launch {
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -6px hsla(195, 76%, 25%, .55); transition: transform .25s; position: relative;
}
.chat-launch:hover { transform: scale(1.07); }
.chat-launch svg { width: 27px; height: 27px; max-width: none; }
.chat-launch-badge {
  position: absolute; top: -3px; right: -3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.chat-panel[hidden] { display: none; }
.chat-panel {
  position: absolute; right: 0; bottom: 74px; width: 372px; max-width: calc(100vw - 32px);
  height: 540px; max-height: calc(100vh - 120px); background: #fff; border-radius: 18px;
  border: 1px solid var(--border); box-shadow: 0 24px 60px -12px hsla(200, 50%, 15%, .35);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-head {
  background: var(--grad-hero); color: #fff; padding: 15px 16px;
  display: flex; align-items: center; gap: 11px;
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: hsla(0,0%,100%,.14);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-avatar svg { width: 22px; height: 22px; stroke: hsl(28, 98%, 60%); max-width: none; }
.chat-head b { font-family: var(--font-head); font-size: 15.5px; display: block; }
.chat-status { font-size: 11.6px; color: hsla(0,0%,100%,.75); display: flex; align-items: center; gap: 6px; }
.chat-status i { width: 8px; height: 8px; border-radius: 50%; background: hsl(152, 65%, 52%); display: inline-block; }
.chat-headbtns { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.chat-min, .chat-close {
  background: none; border: none; color: hsla(0,0%,100%,.8);
  font-size: 26px; line-height: 1; cursor: pointer; padding: 2px 7px;
}
.chat-min { font-size: 22px; padding-bottom: 6px; }
.chat-min:hover, .chat-close:hover { color: #fff; }
.chat-head { cursor: pointer; user-select: none; }
/* Minimized: panel collapses to just the header strip — page stays visible */
.chat-panel.min { height: auto; }
.chat-panel.min .chat-msgs,
.chat-panel.min .chat-chips,
.chat-panel.min .chat-inputbar { display: none; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px 14px; background: var(--bg-subtle); }
.chat-msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; margin-bottom: 10px; font-size: 14px; line-height: 1.55; word-wrap: break-word; }
.chat-msg.bot { background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--ink-soft); box-shadow: var(--shadow-card); }
.chat-msg.user { background: var(--grad-primary); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.chat-msg .dots { display: inline-flex; gap: 4px; padding: 3px 2px; }
.chat-msg .dots i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-mute); opacity: .5;
  animation: chatdot 1.2s infinite;
}
.chat-msg .dots i:nth-child(2) { animation-delay: .18s; }
.chat-msg .dots i:nth-child(3) { animation-delay: .36s; }
@keyframes chatdot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-cta { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.chat-cta-btn {
  display: block; width: 100%; text-align: center; padding: 10px 14px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px; cursor: pointer; border: none;
  transition: transform .2s;
}
.chat-cta-btn:hover { transform: translateY(-1px); }
.chat-cta-btn.call { background: var(--grad-accent); color: #fff; }
.chat-cta-btn.call:hover { color: #fff; }
.chat-cta-btn.form { background: var(--primary-light); color: var(--primary); border: 1.5px solid var(--primary); }
.chat-leadform {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px;
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; box-shadow: var(--shadow-card);
}
.chat-leadform b { font-family: var(--font-head); font-size: 14px; color: var(--ink); }
.chat-leadform input, .chat-leadform select {
  padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 9px;
  font-family: var(--font-body); font-size: 13.5px; width: 100%;
}
.chat-leadform input:focus, .chat-leadform select:focus { outline: none; border-color: var(--primary); }
.chat-consent { display: flex; gap: 7px; align-items: flex-start; font-size: 10.8px; color: var(--ink-mute); line-height: 1.45; cursor: pointer; }
.chat-consent input { width: 14px !important; height: 14px; min-width: 14px; margin-top: 2px; accent-color: var(--primary); }
.chat-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 8px 12px 4px; background: var(--bg-subtle); max-height: 118px; overflow-y: auto; }
.chat-chips:empty { padding: 0; }
.chat-chip.alt { border-color: var(--border); color: var(--ink-mute); background: var(--bg-subtle); }
.chat-chip.alt:hover { background: var(--ink-mute); border-color: var(--ink-mute); color: #fff; }
.chat-chip {
  background: #fff; border: 1.5px solid var(--primary); color: var(--primary);
  border-radius: 999px; padding: 6px 13px; font-size: 12.6px; font-weight: 600;
  cursor: pointer; transition: all .2s; font-family: var(--font-body);
}
.chat-chip:hover { background: var(--primary); color: #fff; }
.chat-inputbar {
  display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: #fff;
}
.chat-inputbar input {
  flex: 1; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 999px;
  font-family: var(--font-body); font-size: 14px;
}
.chat-inputbar input:focus { outline: none; border-color: var(--primary); }
.chat-inputbar button {
  width: 44px; height: 44px; min-width: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad-accent); color: #fff; display: flex; align-items: center; justify-content: center;
}
.chat-inputbar button svg { width: 19px; height: 19px; max-width: none; }
@media (max-width: 560px) {
  .chat-root { right: 14px; bottom: 14px; }
  .chat-panel { bottom: 68px; height: 66vh; }
  .chat-launch { width: 52px; height: 52px; }
  .back-top { right: 78px; bottom: 16px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 560px; }
  .detail-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 860px) {
  .nav-menu, .nav-cta .btn-ghost-desktop { display: none; }
  .hamburger { display: block; }
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-hover);
    padding: 14px 18px 20px; max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav-menu.open > li > a { padding: 13px 14px; font-size: 16px; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 3px solid var(--primary-light);
    border-radius: 0; margin: 4px 0 8px 14px; padding: 0; display: none; max-height: none;
  }
  .nav-menu li.sub-open > .dropdown { display: block; }
  .grid-3, .testi-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .form-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .hstat { border-right: none; border-bottom: 1px solid hsla(0,0%,100%,.1); }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 62px 0; }
  .topbar-right span.hide-m { display: none; }
}
@media (max-width: 560px) {
  .navbar .container { padding: 0 14px; height: 64px; }
  .nav-menu.open { top: 64px; max-height: calc(100vh - 64px); }
  .logo { font-size: 19px; gap: 7px; }
  .logo-mark { width: 34px; height: 34px; border-radius: 9px; }
  .logo-mark svg { width: 19px; height: 19px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding: 9px 15px; font-size: 13px; }
  .hamburger { padding: 6px 2px 6px 4px; }
  .grid-3, .grid-4, .testi-grid, .blog-grid, .spec-grid, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 56px 0 44px; }
  .hero h1 { font-size: 31px; }
  .hero-sub { font-size: 16.5px; }
  .btn-lg { padding: 15px 26px; font-size: 15.5px; }
  .cta-banner { padding: 44px 24px; }
  .lead-form { padding: 26px 20px; }
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
  .hero-actions .btn { width: 100%; }
  .detail-stats { grid-template-columns: 1fr; }
  .hero-stats .container { grid-template-columns: 1fr 1fr; }
  .hstat b { font-size: 24px; }
}
