@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --bg: #fcfcfd;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #10b981;
  --amber: #f59e0b;
  --slate-dark: #0f172a;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --shadow-blue: 0 18px 38px rgba(37, 99, 235, 0.22);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.container.narrow {
  width: min(960px, calc(100% - 32px));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  pointer-events: none;
}

.header-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-card {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.mobile-contact {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.nav-links a,
.phone-inline {
  color: #475569;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.phone-inline:hover {
  color: var(--ink);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 16px;
  padding: 0 24px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
}

.button.secondary:hover {
  background: #f8fafc;
}

.button.nav-button {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--slate-dark);
  color: #fff;
}

.button.full {
  width: 100%;
}

.dark-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 136px 0 82px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 74%);
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, black 38%, transparent 82%);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 90px 14% auto;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 0.86fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hero-copy {
  max-width: 650px;
  text-align: left;
}

.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 7px 13px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #475569;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 800;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}

.hero h1,
h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.07;
}

.hero h1 {
  font-size: clamp(44px, 5.6vw, 72px);
}

.hero h1 span {
  position: relative;
  color: var(--blue);
  white-space: nowrap;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -4px;
  height: 10px;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.62);
  z-index: -1;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #475569;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 650;
}

.hero-sublead {
  max-width: 590px;
  margin: 18px 0 0;
  color: #64748b;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.quick-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-messengers a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #1e40af;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.analysis-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 30px 0 0;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  display: block;
  border-radius: 34px;
  filter: drop-shadow(0 28px 46px rgba(15, 23, 42, 0.12));
}

.analysis-points div,
.floating-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.analysis-points div {
  min-height: 48px;
  justify-content: center;
  padding: 10px 14px;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

.mini-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  flex: 0 0 auto;
  font-weight: 900;
  font-size: 14px;
}

.mini-icon.blue {
  background: #eff6ff;
  color: var(--blue);
}

.mini-icon.green {
  background: #ecfdf5;
  color: #059669;
}

.mini-icon.amber {
  background: #fffbeb;
  color: var(--amber);
}

.floating-card {
  position: absolute;
  z-index: 1;
  padding: 13px 16px;
}

.floating-card b {
  display: block;
  color: #334155;
  font-size: 14px;
}

.floating-card small {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
}

.floating-risk {
  display: none;
}

.floating-law {
  right: max(24px, calc(50% - 650px));
  top: 236px;
}

.floating-plan {
  right: max(32px, calc(50% - 590px));
  bottom: 176px;
}

.stats-strip {
  padding: 44px 0 68px;
  background: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 6px;
  color: var(--faint);
  font-weight: 650;
}

.section {
  scroll-margin-top: 116px;
  padding: 92px 0;
  background: #fff;
}

.section.soft {
  background: var(--surface-soft);
}

.section-head {
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
}

.section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

h2 {
  font-size: clamp(34px, 4.6vw, 54px);
}

.section-head p,
.wide-copy {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 520;
}

.section-head.split p {
  margin-left: 0;
}

.proof-section {
  padding-top: 28px;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.proof-visual img {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.proof-copy p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.proof-checks {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.proof-checks div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.proof-checks b {
  color: var(--ink);
}

.proof-checks span {
  color: var(--muted);
}

.text-link {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 17%;
  right: 17%;
  top: 34px;
  border-top: 2px dashed #cbd5e1;
}

.step {
  position: relative;
  text-align: center;
}

.step-bg {
  position: absolute;
  left: 50%;
  top: -36px;
  transform: translateX(-50%);
  color: #f1f5f9;
  font-family: Outfit, Inter, sans-serif;
  font-size: 112px;
  font-weight: 950;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

.step-icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  font-size: 28px;
  font-weight: 900;
}

.step b {
  display: block;
  margin-bottom: 8px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 21px;
}

.step p {
  max-width: 280px;
  margin: 0 auto;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.question-card,
.article-card,
.faq-card,
.case-item,
.quiz-card,
.upload-card,
.office-card,
.founder-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.service-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
  content: "";
  width: 46px;
  height: 46px;
  display: block;
  margin-bottom: 16px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(16, 185, 129, 0.12)),
    radial-gradient(circle at 66% 32%, #fff 0 8px, transparent 9px);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.service-card span,
.article-card span,
.question-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3,
.question-card h3,
.article-card h3,
.faq-card h3,
.upload-card h3 {
  margin: 14px 0 10px;
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 24px;
  line-height: 1.15;
}

.service-card p,
.question-card p,
.article-card p,
.faq-card p,
.upload-card p,
.trust-copy p,
.office-card p,
.case-item p {
  margin: 0;
  color: var(--muted);
}

.article-card {
  display: block;
  min-height: 238px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.quiz-layout,
.office-layout,
.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 24px;
  align-items: start;
}

.quiz-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.progress-track {
  height: 8px;
  background: #e2e8f0;
}

.progress-bar {
  width: 20%;
  height: 100%;
  background: var(--blue);
  transition: width 240ms ease;
}

.quiz-body {
  padding: clamp(24px, 4vw, 38px);
}

.quiz-hint {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
}

.quiz-step h3 {
  margin: 0 0 20px;
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.range-row {
  display: grid;
  gap: 14px;
}

.debt-output {
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 42px;
  font-weight: 900;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-row button,
.filter-row select,
.filter-row input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
}

.contact-form textarea {
  min-height: 96px;
  padding: 14px 16px;
  resize: vertical;
}

.choice-row button {
  cursor: pointer;
  font-weight: 800;
}

.choice-row button.is-active {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: var(--blue);
}

.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.link-button {
  min-height: 52px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 850;
  cursor: pointer;
}

.result-box {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  background: #eff6ff;
}

.result-box b {
  color: var(--blue);
  font-size: 13px;
  text-transform: uppercase;
}

.result-box strong {
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 30px;
  line-height: 1.05;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.lead-status {
  margin: 12px 0 0;
  color: #059669;
  font-weight: 750;
}

.privacy-note {
  margin: 12px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.lead-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.lead-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.upload-card {
  padding: 28px;
}

.upload-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 30px;
  font-weight: 900;
}

.upload-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding-left: 20px;
  color: #475569;
}

.questions-grid,
.article-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.question-card,
.article-card,
.faq-card {
  padding: 24px;
}

.article-page {
  background: #fff;
}

.article-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.article-nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.article-shell {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0 76px;
}

.article-kicker {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-shell h1 {
  margin: 0;
  color: var(--ink);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
}

.article-lead {
  margin: 24px 0 0;
  color: #475569;
  font-size: clamp(19px, 2.3vw, 24px);
  font-weight: 650;
}

.article-shell section {
  margin-top: 42px;
}

.article-shell h2 {
  font-size: clamp(27px, 3vw, 36px);
}

.article-shell p {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 18px;
}

.article-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--text);
  font-size: 18px;
}

.article-note {
  margin-top: 22px;
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 700;
}

.article-sources {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.article-sources a {
  display: block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.article-sources a:hover {
  text-decoration: underline;
}

.article-cta {
  padding: 64px 0;
  background: var(--slate-dark);
  color: #fff;
  text-align: center;
}

.article-cta h2 {
  color: #fff;
}

.article-cta p {
  max-width: 680px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.article-cta .button {
  margin-top: 26px;
}

.question-card div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.question-card b {
  color: var(--faint);
  font-size: 12px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tags span {
  width: 100%;
  color: var(--faint);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.tags a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.counter-line {
  color: var(--muted);
  font-weight: 750;
}

.counter-line strong {
  color: var(--blue);
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.case-item {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.case-item div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.case-item span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--blue);
  font-weight: 900;
}

.case-item strong {
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: 22px;
  line-height: 1.05;
  text-align: right;
}

.case-item dl {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 5px 10px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.case-item dt {
  color: var(--ink);
  font-weight: 800;
}

.case-item dd {
  margin: 0;
}

.case-result {
  margin-top: auto !important;
  color: var(--ink) !important;
  font-weight: 750;
}

.case-item a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.trust-layout {
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  align-items: center;
}

.founder-card {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #e2e8f0, #f8fafc);
}

.founder-card img {
  width: min(420px, 100%);
  display: block;
}

.section-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-copy h2,
.office-card h2 {
  max-width: 760px;
}

.trust-copy p,
.office-card p {
  margin-top: 18px;
  font-size: 18px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.trust-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.trust-list b,
.office-list b {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.trust-list span,
.office-list span {
  color: var(--muted);
  font-size: 14px;
}

.office-layout {
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 1fr);
  align-items: stretch;
}

.office-card {
  padding: clamp(28px, 5vw, 46px);
}

.office-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.office-list li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.map-frame {
  min-height: 440px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.final-cta {
  scroll-margin-top: 116px;
  padding: 90px 0;
  background: var(--slate-dark);
  color: #fff;
  text-align: center;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(36px, 5vw, 62px);
}

.final-cta p {
  max-width: 680px;
  margin: 16px auto 0;
  color: #cbd5e1;
  font-size: 18px;
}

.footer {
  padding: 62px 0 28px;
  background: #0b1220;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 0.7fr 0.7fr;
  gap: 48px;
}

.footer-brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer p {
  max-width: 340px;
  margin: 0 0 20px;
  color: #94a3b8;
}

.footer h3 {
  margin: 0 0 16px;
  color: #fff;
}

.footer a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #64748b;
  font-size: 13px;
}

body.reveal-ready .reveal {
  opacity: 1;
  transform: none;
}

body.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.messenger-widget {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.messenger-toggle {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
  cursor: pointer;
}

.messenger-orbit {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  animation: messenger-pulse 2.7s ease-in-out infinite;
  overflow: hidden;
}

.messenger-orbit img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.messenger-toggle b {
  font-size: 14px;
}

.messenger-panel {
  width: min(330px, calc(100vw - 32px));
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
}

.messenger-panel[hidden] {
  display: none;
}

.messenger-link {
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas:
    "icon name"
    "icon hint";
  column-gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.messenger-link:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.messenger-logo {
  grid-area: icon;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.messenger-logo img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.messenger-link b {
  grid-area: name;
  align-self: end;
}

.messenger-link small {
  grid-area: hint;
  align-self: start;
  color: var(--muted);
  font-size: 12px;
}

.messenger-link.max .messenger-logo img {
  width: 38px;
  height: 38px;
}

.messenger-widget.is-open .messenger-orbit {
  animation: none;
}

@keyframes messenger-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.36);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .messenger-orbit {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .floating-card {
    display: none;
  }

  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 112px 0 66px;
  }

  .phone-inline {
    display: none;
  }

  .analysis-points,
  .stats-grid,
  .steps,
  .service-grid,
  .questions-grid,
  .article-grid,
  .faq-grid,
  .quiz-layout,
  .office-layout,
  .trust-layout,
  .trust-list,
  .hero-inner,
  .proof-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .hero-lead,
  .hero-sublead,
  .analysis-points {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .quick-messengers {
    justify-content: center;
  }

  .hero-visual {
    max-width: 560px;
    margin: 10px auto 0;
  }

  .steps::before {
    display: none;
  }

  .section-head.split {
    display: block;
  }

  .text-link {
    display: inline-flex;
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 0;
  }

  .nav-card {
    min-height: 58px;
    border-radius: 20px;
    padding: 10px 12px;
  }

  .nav-actions {
    gap: 8px;
  }

  .mobile-contact {
    display: inline-flex;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .nav-button {
    display: none;
  }

  .hero h1 {
    font-size: clamp(38px, 12.8vw, 54px);
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-sublead {
    font-size: 16px;
  }

  .hero-actions,
  .step-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .status-pill {
    align-items: flex-start;
    text-align: left;
    border-radius: 18px;
  }

  .analysis-points {
    text-align: left;
  }

  .quick-messengers a {
    flex: 1 1 calc(33.333% - 10px);
    justify-content: center;
    min-width: 0;
    padding: 0 10px;
  }

  .quick-messengers {
    display: none;
  }

  .stats-strip {
    padding-top: 26px;
  }

  .stats-grid {
    gap: 24px;
  }

  .section {
    padding: 70px 0;
  }

  .proof-checks div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .choice-row,
  .filter-row,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    min-height: 420px;
  }

  .map-frame {
    min-height: 360px;
  }

  .messenger-widget {
    right: 14px;
    bottom: 14px;
  }

  .messenger-toggle b {
    display: none;
  }

  .messenger-toggle {
    min-height: 58px;
    width: 58px;
    justify-content: center;
    padding: 7px;
  }
}
