/* ------------------------------------------------------------------
   EQTech ERP Readiness Assessment — styles
   Palette taken from eqtechsolutions.com and the EQTech logo.
------------------------------------------------------------------- */
:root {
  --navy-950: #0B192E;
  --navy-900: #0F172A;
  --navy-800: #0B2B5E;
  --navy-700: #1C3862;
  --ink: #142846;
  --blue: #1A6AFF;
  --blue-600: #005CDB;
  --blue-50: #EEF4FF;
  --sky: #4A9BDB;
  --sky-200: #8FCAF4;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --text: #0F172A;
  --muted: #55657D;
  --low: #DC3D43;
  --mid: #E8930C;
  --good: #1A6AFF;
  --top: #12A150;
  --low-bg: #FDECEC;
  --mid-bg: #FEF4E2;
  --good-bg: #EAF1FF;
  --top-bg: #E6F6EC;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow: 0 12px 32px -12px rgba(11, 43, 94, .18), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 25, 46, .45);
  --f-display: "Wix Madefor Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-text: "Wix Madefor Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.015em; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(26, 106, 255, .45); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { position: relative; width: 100%; max-width: 780px; margin: 0 auto; padding: 0 20px; }
.wrap-report { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 20px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-text); font-weight: 600; font-size: 15px; line-height: 1.2;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(26, 106, 255, .7); }
.btn-primary:hover { background: var(--blue-600); }
.btn-primary:hover .ico { transform: translateX(2px); }
.btn-primary .ico { transition: transform .18s; }
.btn-primary:disabled { background: #B8C6DC; box-shadow: none; cursor: not-allowed; }
.btn-secondary { background: var(--navy-800); color: #fff; }
.btn-secondary:hover { background: var(--navy-950); }
.btn-ghost { background: transparent; color: var(--muted); padding-left: 10px; padding-right: 14px; }
.btn-ghost:hover { color: var(--ink); background: #EEF2F7; }
.btn-outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn-link-light { background: none; border: 0; color: var(--sky-200); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px; }

/* ---------- Header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; min-width: 0; }
.brand img { width: 58px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--f-display); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.brand-text small { font-size: 12px; color: #4F6E8F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-nav { display: flex; align-items: center; gap: 6px; }
.nav-link { color: var(--ink); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav-link:hover { background: var(--bg); text-decoration: none; }
.brand .brand-logo { display: block; width: 370px; height: 90px; object-fit: contain; }
.brand-tag { font-family: var(--f-display); font-weight: 700; font-size: 13px; color: var(--blue-600); background: var(--blue-50); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }

/* ---------- Main site header (mirrors eqtechsolutions.com) ---------- */
.eq-header { --hdr-bg: #F0F0F0; --hdr-h: 90px; position: sticky; top: 0; z-index: 40; background: var(--hdr-bg); border: 0; backdrop-filter: none; }
.eq-header .header-inner { height: var(--hdr-h); padding: 0 34px 0 1px; gap: 24px; }
.eq-header .brand { flex: none; }
.eq-nav { display: flex; align-items: center; gap: 14px; height: 100%; }
.eq-menu { display: flex; align-items: center; height: 100%; margin: 0; padding: 0; list-style: none; }
.eq-menu > li { position: relative; display: flex; align-items: center; height: 100%; }
.eq-menu > li > a { padding: 0 21px; font-family: var(--f-text); font-size: 18px; font-weight: 500; color: #000; line-height: var(--hdr-h); white-space: nowrap; text-decoration: none; transition: color .15s; }
.eq-menu > li.has-sub > a { padding-right: 6px; }
.eq-menu > li:last-child > a { padding-right: 0; }
.eq-menu > li > a:hover, .eq-menu > li.open > a { color: var(--blue); }
.sub-toggle { display: grid; place-items: center; width: 26px; height: 26px; margin-right: 2px; padding: 0; border: 0; background: none; color: #000; cursor: pointer; border-radius: 6px; }
.sub-toggle svg { width: 13px; height: 13px; transition: transform .2s; }
.has-sub.open > .sub-toggle { color: var(--blue); }
.has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
.sub-toggle:focus-visible, .lang-btn:focus-visible, .menu-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.eq-sub { position: absolute; top: 100%; left: 50%; translate: -50% 0; display: none; background: var(--hdr-bg); border-radius: 0 0 20px 20px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .25); }
.has-sub.open > .eq-sub { display: grid; animation: drop .16s ease-out; }
@keyframes drop { from { opacity: 0; margin-top: -6px; } }
.eq-sub a { color: #000; font-size: 17px; line-height: 1.4; text-decoration: none; transition: color .15s; }
.eq-sub a:hover { color: var(--blue); }
.eq-sub-row { grid-template-columns: 235px auto; width: 500px; padding: 0 21px 16px; }
.eq-sub-row a { font-size: 16px; }
.eq-sub-mega { grid-template-columns: 271px 290px 1fr; width: 880px; padding: 10px 20px 40px; }
.eq-group { padding-bottom: 32px; }
.eq-group strong { display: block; margin-bottom: 4px; font-family: var(--f-display); font-weight: 700; font-size: 18px; color: #000; }
.eq-group a { display: block; }

.lang { position: relative; flex: none; }
.lang-btn { display: flex; align-items: center; justify-content: space-between; width: 100px; height: 50px; padding: 0 14px; font: 400 14px var(--f-text); color: #000; background: #fff; border: 1px solid #000; border-radius: 30px; cursor: pointer; }
.lang-btn svg { width: 13px; height: 13px; transition: transform .2s; }
.lang.open .lang-btn { border-radius: 25px 25px 0 0; border-bottom-color: transparent; background: #E8E8E8; }
.lang.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu { position: absolute; left: 0; right: 0; top: 49px; display: none; margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid #000; border-top: 0; border-radius: 0 0 25px 25px; overflow: hidden; }
.lang.open .lang-menu { display: block; }
.lang-menu a { display: block; padding: 12px 14px 14px; font-size: 14px; color: #000; text-decoration: none; }
.lang-menu a:hover { background: #F4F4F4; }

.menu-toggle, .drawer-close, .eq-backdrop { display: none; }

@media (max-width: 1180px) {
  .eq-header .header-inner { padding: 0 24px 0 1px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: space-between; width: 40px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
  .menu-toggle span { display: block; height: 3px; background: #000; }
  .eq-nav { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: calc(100% - 39px); max-width: 520px; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 22px 30px 40px 20px; overflow-y: auto; background: #fff; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  .eq-header.menu-open .eq-nav { transform: none; visibility: visible; transition: transform .25s ease; }
  .eq-backdrop { position: fixed; inset: 0; z-index: 50; display: block; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .eq-header.menu-open .eq-backdrop { opacity: 1; pointer-events: auto; }
  .drawer-close { display: grid; place-items: center; align-self: flex-end; width: 44px; height: 44px; margin-bottom: 4px; padding: 0; border: 0; background: none; cursor: pointer; color: #000; }
  .drawer-close svg { width: 24px; height: 24px; }
  .eq-menu { order: 1; flex-direction: column; align-items: stretch; height: auto; }
  .eq-menu > li { flex-wrap: wrap; height: auto; }
  .eq-menu > li > a { flex: 1; padding: 18px 0; font-size: 18px; font-weight: 400; line-height: 1.4; }
  .sub-toggle { width: 44px; height: 44px; margin: 0; }
  .sub-toggle svg { width: 20px; height: 20px; }
  .eq-sub, .eq-sub-row, .eq-sub-mega { position: static; translate: none; flex-basis: 100%; width: auto; margin: 0; padding: 0 0 10px 16px; border-radius: 0; box-shadow: none; background: none; }
  .has-sub.open > .eq-sub { display: block; }
  .eq-sub a { display: block; padding: 9px 0; font-size: 16px; line-height: 1.4; }
  .eq-group { padding: 0 0 8px; }
  .eq-group strong { margin: 6px 0 0; font-size: 16px; }
  .lang { order: 2; margin-top: 24px; align-self: flex-start; }
}
@media (max-width: 720px) {
  .eq-header { --hdr-h: 90px; }
  .eq-header .brand .brand-logo { width: 290px; height: 90px; }
  .eq-header .header-inner { padding: 0 16px 0 0; }
}
@media (max-width: 380px) {
  .eq-header .brand .brand-logo { width: 250px; }
  .menu-toggle { width: 34px; height: 26px; }
}

.site-footer { background: #F8FAFC; color: #000; font-family: var(--f-text); font-size: 16px; }
.eq-footer-inner { display: grid; grid-template-columns: minmax(0, 536fr) minmax(0, 312fr) minmax(0, 513fr); align-items: start; padding: 44px 2.4vw 0 3.1vw; }
.eq-footer-logo { display: block; width: clamp(300px, 30.5vw, 560px); max-width: 100%; }
.eq-footer-logo img { display: block; width: 100%; height: auto; }
.eq-footer-links, .eq-footer-contact { margin: 0; padding: 0; list-style: none; }
.eq-footer-links { padding-top: 7px; }
.eq-footer-links li { line-height: 20px; }
.eq-footer-links li + li { margin-top: 12px; }
.eq-footer-links a { color: #000; line-height: 20px; text-decoration: underline; text-underline-offset: 2px; }
.eq-footer-links a:hover { color: var(--blue); }
.eq-footer-contact li { display: flex; gap: 8px; line-height: 25.6px; }
.eq-footer-contact svg { flex: none; width: 17px; height: 17px; margin-top: 4px; }
.eq-footer-contact a { color: #000; text-decoration: none; }
.eq-footer-contact a:hover { color: var(--blue); text-decoration: underline; }
.footer-copy { padding: 24px 2.4vw 46px 3.1vw; font-size: 14px; font-weight: 700; line-height: 18px; }

/* ---------- Hero / landing ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% 10%, #18407F 0%, transparent 60%), linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 100%);
  padding: 84px 0 96px;
}
.hero-bg, .quiz-bg, .r-cta-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg svg { position: absolute; right: -60px; top: -20px; width: 760px; height: 620px; opacity: .9; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sky-200); background: rgba(143, 202, 244, .1); border: 1px solid rgba(143, 202, 244, .25); padding: 6px 12px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px rgba(74, 155, 219, .3); }
.eyebrow-dark { color: var(--blue-600); background: var(--blue-50); border-color: #D3E2FF; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; margin: 22px 0 18px; letter-spacing: -.025em; }
.lede { font-size: 19px; line-height: 1.6; color: #C9D6E8; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; color: #AFC0D8; font-size: 14px; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(18, 161, 80, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366D99A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.hero-alt { margin-top: 18px; font-size: 15px; color: #AFC0D8; }
.hero-alt a { color: #fff; font-weight: 600; }

.preview-card {
  background: #fff; color: var(--text); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg); border: 1px solid rgba(255, 255, 255, .6); max-width: 440px; margin-left: auto;
}
.pc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pc-title { font-family: var(--f-display); font-weight: 700; color: var(--ink); }
.pc-body { display: grid; grid-template-columns: 128px 1fr; gap: 20px; align-items: center; }
.pc-bars { display: flex; flex-direction: column; gap: 9px; }
.pc-row span { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 3px; }
.pc-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.pc-foot span { font-size: 12px; font-weight: 600; text-align: center; padding: 8px 0; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); }
.pc-foot span:nth-child(2) { background: #E4EEFB; color: var(--navy-800); }
.pc-foot span:nth-child(3) { background: var(--navy-800); color: #fff; }

.section-title { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; margin-top: 14px; }
.section-sub { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 620px; }
.features { padding: 88px 24px 72px; }
.features .section-title { margin-top: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue); font-family: var(--f-display); font-weight: 800; font-size: 15px; }
.feature h3 { font-size: 19px; margin: 18px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; }

.method { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.method .btn { margin-top: 28px; }
.phases { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.phases li { position: relative; padding: 20px 22px 20px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.phases li::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--sky); }
.phases li:nth-child(2)::before { background: var(--blue); }
.phases li:nth-child(3)::before { background: var(--navy-800); }
.phases span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.phases strong { display: block; font-family: var(--f-display); font-size: 19px; color: var(--ink); margin: 2px 0 4px; }
.phases p { color: var(--muted); font-size: 15px; }

/* ---------- Quiz ---------- */
.quiz { position: relative; overflow: hidden; padding: 44px 0 80px; min-height: calc(100vh - 72px - 160px);
  background: linear-gradient(180deg, #EAF1FB 0%, var(--bg) 340px); }
.quiz-bg svg { position: absolute; right: -180px; top: -120px; width: 640px; height: 520px; opacity: .55; }
.stepper { list-style: none; display: flex; margin: 0 0 18px; padding: 0; gap: 8px; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #8A99AF; min-width: 0; }
.stepper .dot { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; font-size: 12px; }
.stepper .dot .ico { width: 14px; height: 14px; }
.stepper li.current { color: var(--ink); }
.stepper li.current .dot { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(26, 106, 255, .15); }
.stepper li.done { color: var(--navy-700); }
.stepper li.done .dot { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.stepper .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress { height: 6px; border-radius: 99px; background: #DCE5F1; overflow: hidden; margin-bottom: 22px; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--blue)); transition: width .45s cubic-bezier(.2, .8, .2, 1); }

.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 38px 40px 28px; }
.enter { animation: enter .38s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.q-eyebrow { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13px; color: var(--muted); font-weight: 500; }
.q-cat { color: var(--blue-600); background: var(--blue-50); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.q-title { font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; margin: 16px 0 6px; }
.q-help { color: var(--muted); font-size: 15px; }
.q-count { display: inline-block; margin-left: 6px; color: var(--blue-600); font-weight: 600; }

.opts { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.opts-grid { display: grid; grid-template-columns: 1fr 1fr; }
.opt {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--text);
  font-size: 16px; font-weight: 500; cursor: pointer;
  transition: border-color .16s, background .16s, box-shadow .16s, transform .16s;
}
.opt:hover:not(:disabled) { border-color: #9DBDF5; background: #FAFCFF; transform: translateY(-1px); box-shadow: 0 6px 16px -10px rgba(26, 106, 255, .5); }
.opt:disabled { opacity: .45; cursor: not-allowed; }
.opt-key { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 700; transition: all .16s; }
.opt-key-ico { width: 42px; height: 42px; border-radius: 12px; color: var(--navy-800); background: var(--blue-50); border-color: #DCE7FB; }
.opt-key-ico .ico { width: 22px; height: 22px; }
.opt-label { flex: 1; line-height: 1.35; }
.opt-check { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: transparent; transition: all .16s; }
.opt-check .ico { width: 14px; height: 14px; }
.opt[role="checkbox"] .opt-check { border-radius: 6px; }
.opt.is-sel { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(26, 106, 255, .12); }
.opt.is-sel .opt-key { background: var(--blue); border-color: var(--blue); color: #fff; }
.opt.is-sel .opt-check { background: var(--blue); border-color: var(--blue); color: #fff; }

.q-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.q-hint { font-size: 13px; color: #8A99AF; text-align: center; }

/* ---------- Lead form ---------- */
.lead-head { display: flex; gap: 16px; align-items: flex-start; }
.lead-head .q-title { margin-top: 2px; }
.lead-badge { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--top-bg); color: var(--top); }
.lead-badge .ico { width: 24px; height: 24px; stroke-width: 2.4; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 28px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label em { color: var(--low); font-style: normal; }
.opt-tag { font-weight: 400; color: #8A99AF; font-size: 13px; }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: #fff;
  font: 400 16px var(--f-text); color: var(--text); transition: border-color .16s, box-shadow .16s;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 106, 255, .14); }
.field.has-err input { border-color: var(--low); }
.err { display: block; min-height: 0; color: var(--low); font-size: 13px; margin-top: 4px; }
.err:empty { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.lead-form .q-nav { margin-top: 6px; }

.boot-loader { min-height: 60vh; display: grid; place-items: center; }
.loading-card { text-align: center; padding: 64px 32px; }
.loading-card .q-title { margin-top: 24px; }
.spinner { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; border: 5px solid var(--blue-50); border-top-color: var(--blue); border-right-color: var(--sky); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Gauge / bars / chips ---------- */
.gauge { position: relative; width: 128px; aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.g-track { fill: none; stroke: #E8EEF6; stroke-width: 11; }
.g-fill { fill: none; stroke-width: 11; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.g-val { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 37%; font-family: var(--f-display); color: var(--ink); }
.g-val span { font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.g-val small { font-size: 13px; color: var(--muted); margin-left: 2px; font-weight: 600; }
.gauge-lg { width: 190px; }
.gauge-lg .g-val span { font-size: 56px; }
.gauge-lg .g-val small { font-size: 15px; }
.gauge-sm .g-val span { font-size: 34px; }

.g-fill.lvl-low { stroke: var(--low); } .g-fill.lvl-mid { stroke: var(--mid); }
.g-fill.lvl-good { stroke: var(--good); } .g-fill.lvl-top { stroke: var(--top); }

.bar { height: 8px; border-radius: 99px; background: #E8EEF6; overflow: hidden; }
.bar-lg { height: 12px; }
.bar > span { display: block; height: 100%; width: var(--w); border-radius: inherit; animation: grow 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { width: 0; } }
.bar .lvl-low { background: linear-gradient(90deg, #F07B7F, var(--low)); }
.bar .lvl-mid { background: linear-gradient(90deg, #F6BC54, var(--mid)); }
.bar .lvl-good { background: linear-gradient(90deg, var(--sky), var(--good)); }
.bar .lvl-top { background: linear-gradient(90deg, #4CC57F, var(--top)); }
.lvl-text-low { color: var(--low); } .lvl-text-mid { color: #B86E00; } .lvl-text-good { color: var(--blue-600); } .lvl-text-top { color: #0D8441; }

.chip { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #EEF2F7; color: var(--navy-700); white-space: nowrap; }
.chip-low { background: var(--low-bg); color: #B42328; }
.chip-mid { background: var(--mid-bg); color: #9A5B00; }
.chip-good { background: var(--good-bg); color: var(--blue-600); }
.chip-top { background: var(--top-bg); color: #0D7A3C; }
.tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: #EEF2F7; color: var(--navy-700); vertical-align: 2px; }
.tag-blue { margin: 0 0 10px; background: var(--blue); color: #fff; }

/* ---------- Report ---------- */
.report-wrap { padding: 32px 0 80px; background: linear-gradient(180deg, #EAF1FB 0%, var(--bg) 320px); }
.report-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.report { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 44px 48px 28px; animation: enter .5s both; }
.r-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.r-brand { display: flex; align-items: center; gap: 10px; }
.r-brand img { width: 54px; height: 41px; object-fit: contain; }
.r-brand strong { display: block; font-family: var(--f-display); color: var(--ink); font-size: 17px; line-height: 1.2; }
.r-brand span { font-size: 13px; color: var(--muted); }
.r-meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 14px; color: var(--muted); }
.r-meta strong { color: var(--ink); }
.r-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.r-score { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin: 32px 0 8px; padding: 32px; border-radius: 20px;
  background: linear-gradient(135deg, #F4F8FF 0%, #EEF4FD 100%); border: 1px solid #DCE7F7; }
.r-score h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin: 12px 0 10px; }
.r-score p { color: #3E4F68; font-size: 16.5px; }
.r-role { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #DCE7F7; font-size: 15px !important; }
.r-role .ico { color: var(--blue); margin-top: 2px; }

.r-section { margin-top: 44px; }
.r-section > h2 { font-size: 24px; font-weight: 700; }
.r-sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.scorecard { margin-top: 20px; display: flex; flex-direction: column; }
.sc-row { display: grid; grid-template-columns: 250px 1fr 150px; gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.sc-row:last-child { border-bottom: 0; }
.sc-name { font-weight: 600; color: var(--ink); }
.sc-score { display: flex; align-items: baseline; gap: 10px; justify-content: flex-end; }
.sc-score strong { font-family: var(--f-display); font-size: 22px; color: var(--ink); }
.sc-score span { font-size: 13px; font-weight: 600; min-width: 96px; }

.findings { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.finding { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.finding-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.finding h3 { font-size: 18px; }
.finding p { color: #3E4F68; font-size: 15px; flex: 1; }
.quickwin { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); font-size: 14px; color: var(--navy-700); }
.quickwin .ico { color: var(--blue); margin-top: 2px; }
.quickwin strong { display: block; color: var(--blue-600); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.strengths { margin-top: 18px; padding: 18px 22px; border-radius: var(--radius); background: var(--top-bg); border: 1px solid #C6EBD4; }
.strengths h3 { font-size: 16px; color: #0D6B35; margin-bottom: 6px; }
.strengths p { font-size: 15px; color: #23523A; margin-top: 4px; }
.strengths strong { color: #0D6B35; }

.r-context { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ctx-card { padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.ctx-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.ctx-card h3 { font-size: 19px; margin: 6px 0 8px; }
.ctx-card p { color: #3E4F68; font-size: 15px; }

.prio { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.prio-item { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: 15px; }
.prio-item b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy-800); color: #fff; font-size: 13px; }

.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.solution { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; color: var(--text); text-decoration: none !important; transition: border-color .18s, transform .18s, box-shadow .18s; }
.solution:first-child { border-color: #A9C6FB; background: linear-gradient(180deg, #F6F9FF, #fff); }
.solution:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.solution h3 { font-size: 19px; }
.solution p { color: #3E4F68; font-size: 15px; margin-top: 6px; }
.sol-why { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px; flex: 1; align-content: flex-start; }
.sol-why span { font-size: 12px; color: var(--muted); font-weight: 600; width: 100%; }
.sol-why em { font-style: normal; font-size: 12.5px; padding: 3px 9px; border-radius: 6px; background: #EEF2F7; color: var(--navy-700); }
.sol-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; color: var(--blue); font-size: 14px; }

.roadmap { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: ph; }
.phase { position: relative; padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.phase::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--sky); }
.phase:nth-child(2)::before { background: var(--blue); }
.phase:nth-child(3)::before { background: var(--navy-800); }
.phase-num { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.phase h3 { font-size: 19px; margin: 4px 0 6px; }
.phase > p { font-size: 14px; color: var(--muted); }
.phase ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.phase li { display: flex; gap: 8px; font-size: 14.5px; color: var(--ink); line-height: 1.4; }
.phase li .ico { color: var(--top); margin-top: 1px; stroke-width: 2.4; }

.r-cta { position: relative; overflow: hidden; margin-top: 48px; padding: 44px; border-radius: 22px; color: #fff;
  background: radial-gradient(700px 400px at 100% 0%, #1D4A8E 0%, transparent 60%), linear-gradient(150deg, var(--navy-950), var(--navy-800)); }
.r-cta-bg svg { position: absolute; right: -140px; top: -80px; width: 560px; height: 460px; opacity: .8; }
.r-cta-copy { position: relative; max-width: 620px; }
.r-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.r-cta p { color: #C9D6E8; font-size: 17px; margin-top: 12px; }
.r-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.r-contact { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-size: 15px; }
.r-contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.r-contact .ico { color: var(--sky-200); }
.r-foot { margin-top: 22px; font-size: 12.5px; color: #8A99AF; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .method-grid { grid-template-columns: 1fr; gap: 44px; }
  .preview-card { margin: 0 auto; transform: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .solutions, .roadmap { grid-template-columns: 1fr; }
  .eq-footer-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; padding: 40px 30px 0; }
  .eq-footer-contact { grid-column: 1 / -1; }
  .footer-copy { padding: 40px 30px 40px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .wrap-narrow, .wrap-report { padding: 0 12px; }
  .hide-sm { display: none; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 17px; }
  .header-inner { height: 64px; }
  .hero { padding: 56px 0 64px; }
  .lede { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .features { padding: 60px 16px 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .method { padding: 56px 0; }
  .quiz { padding: 24px 0 56px; }
  .stepper .lbl { display: none; }
  .stepper li.current .lbl { display: inline; }
  .stepper li { flex: none; }
  .stepper li.current { flex: 1; }
  .card { padding: 26px 20px 20px; border-radius: 18px; }
  .opts-grid { grid-template-columns: 1fr; }
  .opt { padding: 12px 14px; font-size: 15.5px; }
  .q-hint { display: none; }
  .lead-form { grid-template-columns: 1fr; }
  .report { padding: 26px 18px 20px; border-radius: 18px; }
  .r-meta { align-items: flex-start; }
  .r-score { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px 18px; gap: 20px; }
  .r-role { text-align: left; }
  .sc-row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .sc-row .bar { grid-column: 1 / -1; grid-row: 2; }
  .sc-score span { min-width: 0; }
  .r-context { grid-template-columns: 1fr; }
  .r-cta { padding: 30px 22px; }
  .r-cta-actions .btn { width: 100%; }
  .report-toolbar .btn { padding: 10px 12px; font-size: 14px; }
  .eq-footer-inner { grid-template-columns: 1fr; gap: 0; padding: 38px 24px 0 30px; }
  .eq-footer-logo { width: 330px; }
  .eq-footer-links { padding-top: 22px; }
  .eq-footer-links li + li { margin-top: 8px; }
  .eq-footer-contact { margin-top: 18px; }
  .eq-footer-contact li { font-size: 14px; line-height: 22.4px; }
  .eq-footer-contact svg { width: 16px; height: 16px; margin-top: 2px; }
  .footer-copy { padding: 22px 24px 40px 30px; }
}

.preview-bar { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; align-items: center; padding: 9px 16px; background: #FFF4D6; color: #6B4A00; border-bottom: 1px solid #F1D48A; font-size: 14px; text-align: center; }
.preview-bar a { color: #6B4A00; font-weight: 700; text-decoration: underline; }
.preview-bar ~ .site-header { top: 0; position: relative; }
.preview-bar { z-index: 45; }
.footer-copy { user-select: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Print / PDF ---------- */
@media print {
  @page { margin: 12mm; }
  body { background: #fff; display: block; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; animation: none !important; }
  .site-header, .site-footer, .no-print, .report-toolbar { display: none !important; }
  .report-wrap { padding: 0; background: none; }
  .wrap-report { max-width: none; padding: 0; }
  .report { border: 0; box-shadow: none; padding: 0; border-radius: 0; }
  .r-section, .finding, .phase, .solution, .ctx-card, .r-score, .r-cta, .sc-row { break-inside: avoid; }
  .solutions, .roadmap { grid-template-columns: repeat(3, 1fr); }
  .r-context { grid-template-columns: 1fr 1fr; }
  .solution:hover { transform: none; }
  .r-cta { padding: 28px; }
  .bar > span { width: var(--w) !important; }
}
