/* Landing Dig.IT × Cogita */

:root {
  --blue: #1578f7;
  --blue-600: #1863dc;
  --blue-400: #609fff;
  --blue-100: #dceaff;
  --blue-50: #eef5ff;

  --ink: #0a1424;
  --ink-2: #0f1e35;
  --ink-3: #1a2b45;

  --text: #101828;
  --text-2: #344054;
  --text-3: #5b6577;
  --line: #e3e8ef;
  --line-2: #cfd6e0;
  --bg: #ffffff;
  --bg-tint: #f5f7fb;

  --green: #088a4f;
  --green-50: #e9f8f0;
  --amber: #b54708;
  --amber-50: #fff6e5;
  --red: #c4320a;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 24px 64px rgba(4, 12, 28, .35);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html.funnel-open { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--blue-600); }
button { font: inherit; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 10px;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .15s; }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .1), inset 0 -1px 0 rgba(0, 0, 0, .12); }
.btn-primary:hover { background: var(--blue-600); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--bg-tint); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-50); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

.link-btn {
  padding: 0; border: 0; background: none; color: var(--blue-600);
  font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 20, 36, .88);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { color: #fff; display: inline-flex; }
.logo { width: 128px; height: 15px; color: inherit; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(21, 120, 247, .38), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(96, 159, 255, .14), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 72px 0 136px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 85%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 64px; align-items: start;
}
.hero-copy { padding-top: 12px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.badge, .status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; line-height: 1.3;
}
.badge { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.status-pill { background: rgba(21, 120, 247, .18); border: 1px solid rgba(96, 159, 255, .4); color: #cfe2ff; }
.status-pill.is-live { background: rgba(18, 183, 106, .16); border-color: rgba(50, 213, 131, .45); color: #c6f6dc; }
.status-pill.is-closed { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .75); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid currentColor; opacity: 0; animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }

.hero h1 { font-size: clamp(2.1rem, 4.1vw, 3.35rem); font-weight: 800; letter-spacing: -0.03em; }
.hl { color: var(--blue-400); white-space: nowrap; }
.lead { margin-top: 22px; font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 580px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ticks svg {
  width: 22px; height: 22px; flex: none; padding: 3px;
  border-radius: 50%; background: rgba(21, 120, 247, .22); color: var(--blue-400);
}
.hero-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 36px; padding-top: 22px; max-width: 560px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px; color: rgba(255, 255, 255, .6);
}
.hero-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: rgba(255, 255, 255, .5); }

/* ---------- Lead card ---------- */
.lead-card {
  background: #fff; color: var(--text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
}
.card-step {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: var(--blue-600); padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.card-step span:last-child { color: var(--text-3); }
.lead-card h2 { font-size: 22px; letter-spacing: -0.02em; }
.card-sub { margin-top: 8px; color: var(--text-3); font-size: 15px; }
#lead-form { margin-top: 22px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: #fff; color: var(--text);
  font: inherit; font-size: 15.5px;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #98a2b3; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235b6577' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field select:invalid { color: #98a2b3; }
.field select option { color: var(--text); }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 120, 247, .14); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); }
.field-error { font-size: 13px; color: var(--red); min-height: 0; }
.field-error:empty { display: none; }
.ts-wrap { min-height: 65px; display: flex; justify-content: center; }
.form-status { font-size: 14px; line-height: 1.5; color: var(--red); text-align: center; }
.form-status[hidden] { display: none; }
.booking-unavailable { font-size: 14px; line-height: 1.5; padding: 12px 14px; border-radius: 10px; background: rgba(0,0,0,.06); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consents { display: grid; gap: 10px; padding-top: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text-3); cursor: pointer; }
.check input { width: 17px; height: 17px; margin: 1px 0 0; flex: none; accent-color: var(--blue); cursor: pointer; }
.check em { font-style: normal; color: var(--text-3); opacity: .8; }
.check.is-invalid span { color: var(--red); }
.card-fine { font-size: 12px; line-height: 1.5; color: #8a93a3; text-align: center; }

.lead-card-done { text-align: center; padding: 18px 4px 6px; }
.lead-card-done .card-sub { margin: 10px auto 24px; max-width: 340px; }
.done-icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px;
  border-radius: 50%; background: var(--green-50); color: var(--green);
}
.done-icon svg { width: 28px; height: 28px; }

/* ---------- Facts ---------- */
.facts { position: relative; z-index: 2; margin-top: -76px; }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.fact { padding: 26px 26px 24px; display: grid; gap: 4px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; color: var(--text); line-height: 1.2; }
.fact span { font-size: 14px; color: var(--text-3); line-height: 1.45; }
.facts-src { margin-top: 12px; font-size: 13px; color: var(--text-3); text-align: right; }
.facts-src a { color: var(--text-3); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--bg-tint); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; }
.section-head p:not(.eyebrow) { margin-top: 16px; font-size: 17.5px; color: var(--text-3); }
.eyebrow {
  margin-bottom: 12px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--blue-600);
}
.eyebrow--light { color: var(--blue-400); }

/* Program */
.program-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel, .know {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; background: #fff;
}
.panel h3, .know h3 { font-size: 19px; margin-bottom: 22px; }
.checklist { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 18px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist div { display: grid; }
.checklist strong { font-size: 16px; }
.checklist span:not(.ck) { color: var(--text-3); font-size: 15px; }
.ck {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none;
  border-radius: 8px; background: var(--blue-50); color: var(--blue);
}
.ck svg { width: 18px; height: 18px; }
.know { background: var(--bg-tint); border-color: transparent; }
.know-item { display: flex; gap: 16px; padding: 16px 0; }
.know-item + .know-item { border-top: 1px solid var(--line); }
.know-item:first-of-type { padding-top: 0; }
.know-item strong { display: block; font-size: 16px; margin-bottom: 2px; }
.know-item p { font-size: 15px; color: var(--text-3); }
.know-icon {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 10px; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm);
}
.know-icon svg { width: 22px; height: 22px; }
.know-fine { margin-top: 8px; font-size: 13px; color: var(--text-3); }

/* Timeline */
.timeline {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px;
  background: var(--line);
}
.timeline li { position: relative; display: grid; gap: 4px; padding-top: 30px; }
.timeline strong { font-size: 16px; }
.timeline span:not(.tl-dot) { font-size: 14px; color: var(--text-3); line-height: 1.5; }
.tl-dot {
  position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line-2);
}
.timeline li.is-past .tl-dot { background: var(--line-2); border-color: var(--line-2); }
.timeline li.is-current .tl-dot { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(21, 120, 247, .18); }
.timeline li.is-current strong { color: var(--blue-600); }

/* Feature (RFQ) */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 48px; border-radius: 24px; color: #fff;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(21, 120, 247, .35), transparent 60%),
    linear-gradient(160deg, var(--ink-3), var(--ink));
  box-shadow: var(--shadow);
}
.feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; }
.feature-copy > p:not(.eyebrow) { margin-top: 16px; color: rgba(255, 255, 255, .76); font-size: 16.5px; }
.feature-copy strong { color: #fff; }
.ticks--light { margin-top: 24px; }
.ticks--light li { font-size: 15.5px; color: rgba(255, 255, 255, .9); }

.rfq-mock {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px;
  font-size: 13px;
}
.rfq-doc, .rfq-out {
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
}
.rfq-doc { padding: 12px; color: var(--blue-400); }
.rfq-head { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .7); font-weight: 500; font-size: 12px; margin-bottom: 8px; }
.rfq-head svg { width: 15px; height: 15px; }
.rfq-drawing {
  width: 100%; height: auto; border-radius: 8px;
  background-color: rgba(10, 20, 36, .6);
  background-image:
    linear-gradient(rgba(96, 159, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 159, 255, .08) 1px, transparent 1px);
  background-size: 12px 12px;
}
.rfq-flow { position: relative; display: grid; place-items: center; }
.rfq-flow span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .02em;
  box-shadow: 0 0 0 6px rgba(21, 120, 247, .2), 0 8px 24px rgba(21, 120, 247, .5);
}
.rfq-out { padding: 6px 14px; background: #fff; color: var(--text); border-color: transparent; box-shadow: var(--shadow-lg); }
.rfq-row, .rfq-total { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; }
.rfq-row + .rfq-row { border-top: 1px dashed var(--line); }
.rfq-row span { color: var(--text-3); }
.rfq-row b { font-weight: 600; text-align: right; }
.rfq-total {
  margin: 4px -14px -6px; padding: 11px 14px; border-radius: 0 0 14px 14px;
  background: var(--green-50); color: var(--green); font-weight: 600;
  flex-direction: column; gap: 0;
}
.rfq-total span { font-size: 12px; font-weight: 500; }
.rfq-total span { color: var(--green); }

.cards { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 12px; background: var(--blue-50); color: var(--blue);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { font-size: 15px; color: var(--text-3); }

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s;
}
.steps li {
  position: relative; padding: 28px 24px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  display: flex; flex-direction: column;
}
.step-n {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px;
  border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700;
}
.steps li:first-child .step-n { background: var(--blue); }
.steps h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -0.01em; }
.steps p { font-size: 15px; color: var(--text-3); flex: 1; }
.step-meta {
  align-self: flex-start; margin-top: 18px; padding: 4px 10px; border-radius: 999px;
  background: var(--bg-tint); color: var(--text-2); font-size: 12.5px; font-weight: 600;
}

.roles { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role { padding: 24px; border-radius: var(--radius); background: var(--bg-tint); }
.role h3 { font-size: 16px; margin-bottom: 6px; }
.role p { font-size: 15px; color: var(--text-3); }
.role--accent { background: var(--blue-50); }
.role--accent h3 { color: var(--blue-600); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--blue); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--text-3); font-size: 15.5px; }

/* CTA */
.cta-final {
  color: #fff; padding: 72px 0;
  background:
    radial-gradient(700px 300px at 90% 50%, rgba(21, 120, 247, .4), transparent 60%),
    var(--ink);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; max-width: 640px; }
.cta-inner p { margin-top: 12px; color: rgba(255, 255, 255, .7); max-width: 620px; }
.cta-inner .btn { flex: none; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); border-top: 1px solid rgba(255, 255, 255, .08); padding: 48px 0; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 28px 48px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: flex-end; align-items: flex-start; }
.footer-links a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .5); }

/* ---------- Funnel (kwalifikator) ---------- */
.funnel {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg-tint);
  display: flex; flex-direction: column;
  opacity: 0; transition: opacity .2s ease;
}
.funnel.is-open { opacity: 1; }
.funnel-bar { flex: none; background: #fff; border-bottom: 1px solid var(--line); }
.funnel-bar-inner {
  max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter);
  height: 72px; display: flex; align-items: center; gap: 32px;
}
.funnel-bar .logo { color: var(--ink); flex: none; width: 112px; height: 13px; }
.progress { flex: 1; min-width: 0; display: grid; gap: 8px; }
.progress-steps { display: flex; justify-content: space-between; gap: 8px; }
.ps { font-size: 12.5px; font-weight: 600; color: #98a2b3; white-space: nowrap; }
.ps.is-done { color: var(--text-2); }
.ps.is-active { color: var(--blue-600); }
.progress-track { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress-fill { height: 100%; width: 40%; background: var(--blue); border-radius: 4px; transition: width .35s ease; }
.icon-btn {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text-2); cursor: pointer;
}
.icon-btn:hover { background: var(--bg-tint); }
.icon-btn svg { width: 18px; height: 18px; }

.funnel-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.funnel-inner { max-width: 780px; margin: 0 auto; padding: 40px var(--gutter) 0; }
.funnel-company {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--text-2);
}
.funnel-company::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.q-step { animation: stepIn .3s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.q-step-head { margin-bottom: 28px; }
.q-step-head .eyebrow { margin-bottom: 8px; }
.q-step-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; outline: none; }
.q-step-head p:not(.eyebrow) { margin-top: 10px; color: var(--text-3); font-size: 16px; }

.q {
  margin: 0 0 18px; padding: 22px; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.q legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.q legend + * { clear: both; }
.q-hint { font-size: 14px; color: var(--text-3); margin-bottom: 14px; }
.q-hint:empty { display: none; }
.q legend + .opts { margin-top: 14px; }
.q.is-invalid { border-color: #f4b8a6; box-shadow: 0 0 0 4px rgba(196, 50, 10, .07); }
.q-error { display: none; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--red); }
.q.is-invalid .q-error { display: block; }

.q-group {
  margin: 4px 0 18px; padding: 24px 22px 6px;
  border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100);
  animation: stepIn .3s ease both;
}
.q-group-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-600); }
.q-group-intro { margin: 4px 0 16px; font-size: 14.5px; color: var(--text-2); }
.q-group .q { border-color: transparent; }

.opts { display: grid; gap: 10px; }
.opts[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-box {
  display: flex; gap: 12px; align-items: flex-start; height: 100%;
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff;
  transition: border-color .12s, background .12s, box-shadow .12s;
}
.opt:hover .opt-box { border-color: var(--line-2); background: #fbfcfe; }
.opt-mark {
  flex: none; width: 20px; height: 20px; margin-top: 1px;
  border: 1.5px solid var(--line-2); border-radius: 50%; background: #fff;
  display: grid; place-items: center; transition: border-color .12s, background .12s;
}
.opt input[type="checkbox"] + .opt-box .opt-mark { border-radius: 6px; }
.opt-mark svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.opt-text { display: grid; gap: 1px; min-width: 0; }
.opt-text strong { font-size: 15px; font-weight: 600; line-height: 1.35; }
.opt-text small { font-size: 13px; color: var(--text-3); line-height: 1.4; }
.opt input:checked + .opt-box { border-color: var(--blue); background: var(--blue-50); }
.opt input:checked + .opt-box .opt-mark { border-color: var(--blue); background: var(--blue); }
.opt input:checked + .opt-box .opt-mark svg { opacity: 1; }
.opt input:focus-visible + .opt-box { box-shadow: 0 0 0 3px rgba(21, 120, 247, .3); }

.q-actions {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin: 8px calc(-1 * var(--gutter)) 0; padding: 18px var(--gutter) 22px;
  background: linear-gradient(180deg, rgba(245, 247, 251, 0), var(--bg-tint) 28%);
}
.q-actions .btn-primary { margin-left: auto; }
.q-actions .btn-secondary svg { transform: rotate(180deg); }
.q-actions .btn-secondary:hover svg { transform: rotate(180deg) translateX(2px); }

/* ---------- Result ---------- */
.res { animation: stepIn .35s ease both; padding-bottom: 56px; }
.res-head { margin-bottom: 28px; }
.res-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px;
  border-radius: 16px;
}
.res-icon svg { width: 28px; height: 28px; }
.res-icon--ok { background: var(--green-50); color: var(--green); }
.res-icon--info { background: var(--amber-50); color: var(--amber); }
.res-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; outline: none; }
.res-lead { margin-top: 12px; font-size: 16.5px; color: var(--text-2); }

.res-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 18px;
}
.res-stats > div { padding: 18px 20px; display: grid; gap: 2px; }
.res-stats > div + div { border-left: 1px solid var(--line); }
.res-stats span { font-size: 13px; color: var(--text-3); }
.res-stats strong { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }

.res-cta {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 28px; border-radius: var(--radius-lg); color: #fff; margin-bottom: 18px;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(96, 159, 255, .45), transparent 60%),
    linear-gradient(140deg, var(--blue-600), #0f4fb8);
  box-shadow: 0 16px 40px rgba(21, 99, 220, .28);
}
.res-cta h3 { font-size: 21px; font-weight: 800; }
.res-cta p { margin-top: 8px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.res-cta ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 14.5px; }
.res-cta li { display: flex; gap: 8px; align-items: center; }
.res-cta li svg { width: 16px; height: 16px; flex: none; }
.res-cta .btn { white-space: nowrap; }
.res-cta-fine { grid-column: 1 / -1; font-size: 12.5px; color: rgba(255, 255, 255, .7); margin-top: -8px; }

.res-box {
  padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  margin-bottom: 18px;
}
.res-box h3 { font-size: 17px; margin-bottom: 14px; }
.res-box--warn { background: var(--amber-50); border-color: #fbe2b4; }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.res-list li { display: grid; gap: 2px; padding-left: 18px; position: relative; }
.res-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.res-list strong { font-size: 15px; }
.res-list span { font-size: 14.5px; color: var(--text-2); }
.res-list--no li::before { background: var(--red); }

.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.area { padding: 16px; border-radius: 12px; background: var(--bg-tint); }
.area strong { display: block; font-size: 15px; line-height: 1.4; }
.area .tag { margin-left: 6px; vertical-align: 1px; }
.area p { margin-top: 4px; font-size: 14px; color: var(--text-3); }
.tag {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em;
}

.res-note { font-size: 13.5px; color: var(--text-3); margin-top: 6px; }
.res-foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }

.consult {
  padding: 30px; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 18px;
}
.consult h3 { font-size: 22px; font-weight: 800; }
.consult p:not(.eyebrow) { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
.consult-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.consult-yes, .consult-no { animation: stepIn .3s ease both; }
.consult-yes .btn { margin-top: 20px; }
.consult .consult-ok { display: flex; align-items: center; gap: 10px; margin-top: 0; font-weight: 700; color: var(--green); font-size: 15px; }
.consult-ok svg { width: 20px; height: 20px; }

.booked {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px; border-radius: var(--radius); margin-bottom: 18px;
  background: var(--green-50); border: 1px solid #b7ebcf; color: var(--text);
}
.booked .res-icon { width: 40px; height: 40px; margin: 0; border-radius: 12px; background: #fff; }
.booked .res-icon svg { width: 22px; height: 22px; }
.booked strong { display: block; font-size: 16px; }
.booked p { font-size: 14.5px; color: var(--text-2); margin-top: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-copy { max-width: 720px; }
  .lead-card { max-width: 620px; }
  .feature { grid-template-columns: minmax(0, 1fr); padding: 36px; }
  .cards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .program-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .timeline li { padding: 0 0 22px 34px; }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .progress-steps .ps:not(.is-active) { display: none; }
  .res-cta { grid-template-columns: minmax(0, 1fr); }
  .res-cta .btn { width: 100%; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .header-inner { height: 60px; }
  .logo { width: 108px; height: 13px; }
  .hero { padding: 40px 0 104px; }
  .lead { font-size: 16.5px; }
  .lead-card { padding: 22px 18px; border-radius: 16px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .facts { margin-top: -64px; }
  .fact { padding: 18px 14px; }
  .fact strong { font-size: 18px; }
  .fact span { font-size: 13px; }
  .facts-src { text-align: left; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; text-align: left; }
  .section-head p:not(.eyebrow) { font-size: 16px; }
  .panel, .know { padding: 24px 20px; }
  .feature { padding: 26px 20px; border-radius: 18px; }
  .rfq-mock { grid-template-columns: minmax(0, 1fr); }
  .cards, .steps { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-links { justify-content: flex-start; }

  .funnel-bar-inner { height: 62px; gap: 16px; }
  .funnel-bar .logo { display: none; }
  .funnel-inner { padding-top: 24px; }
  .q { padding: 18px 16px; }
  .q-group { padding: 18px 12px 2px; }
  .opts[data-cols="3"] { grid-template-columns: minmax(0, 1fr); }
  .opts[data-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts[data-cols="2"].opts--long { grid-template-columns: minmax(0, 1fr); }
  .res-stats { grid-template-columns: minmax(0, 1fr); }
  .res-stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .res-stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; }
  .res-stats strong { font-size: 17px; text-align: right; }
  .res-head { margin-bottom: 20px; }
  .res-icon { width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px; }
  .res-icon svg { width: 22px; height: 22px; }
  .res-cta, .consult { padding: 22px 18px; }
  .areas { grid-template-columns: minmax(0, 1fr); }
  .q-actions .btn { flex: 1; }
  .consult-btns .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
