﻿:root {
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(22, 33, 38, 0.12);
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --success: #166534;
  --shadow: 0 22px 60px rgba(28, 34, 39, 0.12);
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --container: 1180px;
  --site-header-offset: 0px;
  --app-viewport-height: 100vh;
  --app-viewport-offset-top: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Segoe UI", "Tahoma", sans-serif;
  color: var(--text);
  background: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.text-nowrap {
  white-space: nowrap;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  display: none;
}

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

.lead-layout > *,
.form-grid > *,
.header-inner > *,
.footer-inner > *,
.hero-grid > *,
.trust-grid > *,
.cases-grid > *,
.reason-grid > *,
.process-grid > *,
.advantage-list > *,
.faq-list > *,
.contact-card > *,
.case-top > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(22, 33, 38, 0.12);
  box-shadow: 0 10px 24px rgba(22, 33, 38, 0.06);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, backdrop-filter 0.22s ease;
}

@media (min-width: 761px) {
  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
  }

  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.69);
    border-bottom-color: rgba(22, 33, 38, 0.08);
    box-shadow: 0 12px 28px rgba(22, 33, 38, 0.08);
    backdrop-filter: blur(20px);
  }

  main#top {
    padding-top: var(--site-header-offset);
  }
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.footer-links a {
  color: var(--muted);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 100%;
}

.brand-picture {
  display: block;
}

.brand-logo {
  display: block;
  width: min(100%, 420px);
  height: auto;
}

.header-contact {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-left: 0;
  text-align: center;
  justify-self: center;
}

.header-contact-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  background: transparent;
  font-size: 1.02rem;
  font-weight: 700;
}

.header-phone-short {
  display: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  margin-left: 0;
  justify-content: flex-end;
  gap: 18px;
  justify-self: end;
}

.site-nav-mobile-meta {
  display: none;
}

.site-nav-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 14px 28px rgba(30, 58, 138, 0.18);
}

@media (min-width: 761px) {
  .site-header {
    border-bottom-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  }

  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  }

  .header-inner {
    grid-template-columns: minmax(220px, auto) minmax(0, 1fr) auto;
    gap: clamp(22px, 2.2vw, 34px);
    padding: 14px 0;
    transition: padding 0.22s ease;
  }

  .site-header.is-scrolled .header-inner {
    padding: 10px 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .brand-logo {
    width: min(100%, 318px);
    transition: width 0.22s ease;
  }

  .site-header.is-scrolled .brand-logo {
    width: min(100%, 292px);
  }

  .site-nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(18px, 1.8vw, 28px);
    min-width: 0;
  }

  .site-nav a {
    position: relative;
    padding: 10px 0;
    color: #405064;
    font-size: clamp(0.92rem, 0.78vw, 1rem);
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
  }

  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0;
    transform: scaleX(0.55);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav a:hover::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .header-contact {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    justify-items: end;
    gap: 0;
    min-width: max-content;
  }

  .header-phone {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
    color: #0f172a;
    font-size: 0.96rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }

  .header-phone:hover {
    border-color: rgba(14, 165, 233, 0.44);
    color: var(--accent-dark);
    box-shadow: none;
    transform: translateY(-1px);
  }
}

@media (min-width: 761px) and (max-width: 1120px) {
  .header-inner {
    grid-template-columns: minmax(170px, auto) minmax(0, 1fr) auto;
    gap: 14px;
  }

  .brand-logo {
    width: min(100%, 238px);
  }

  .site-header.is-scrolled .brand-logo {
    width: min(100%, 220px);
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.82rem;
    letter-spacing: -0.01em;
  }

  .header-phone {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .header-phone-full {
    display: none;
  }

  .header-phone-short {
    display: inline;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(22, 33, 38, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
  cursor: pointer;
}

.nav-toggle-glyph {
  color: var(--text);
  font-size: 18px;
  line-height: 1;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  border-radius: var(--radius-md);
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.text-link:hover,
.case-link:hover,
.contact-list a:hover {
  color: var(--accent);
}

.hero {
  padding: 80px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.contact-card,
.modal-dialog {
  backdrop-filter: blur(12px);
}

.hero-copy {
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(115deg, rgba(13, 18, 23, 0.9) 0%, rgba(18, 24, 30, 0.78) 42%, rgba(18, 24, 30, 0.7) 100%),
    linear-gradient(180deg, rgba(13, 18, 23, 0.28) 0%, rgba(13, 18, 23, 0.52) 100%),
    url("Фото/preview-1200.jpg");
  background-size: cover;
  background-position: 58% center;
  background-repeat: no-repeat;
  box-shadow: 0 24px 56px rgba(16, 21, 26, 0.22);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

p.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

:not(.lead-inline-form):not(.cases-inline-form):not(.lead-form-card):not(.modal-dialog-form):not(.quiz-stage):not(:has(form)) > .eyebrow + h1,
:not(.lead-inline-form):not(.cases-inline-form):not(.lead-form-card):not(.modal-dialog-form):not(.quiz-stage):not(:has(form)) > .eyebrow + h2,
:not(.lead-inline-form):not(.cases-inline-form):not(.lead-form-card):not(.modal-dialog-form):not(.quiz-stage):not(:has(form)) > .eyebrow + h3 {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  position: relative;
}

:not(.lead-inline-form):not(.cases-inline-form):not(.lead-form-card):not(.modal-dialog-form):not(.quiz-stage):not(:has(form)) > .eyebrow + h1::before,
:not(.lead-inline-form):not(.cases-inline-form):not(.lead-form-card):not(.modal-dialog-form):not(.quiz-stage):not(:has(form)) > .eyebrow + h2::before,
:not(.lead-inline-form):not(.cases-inline-form):not(.lead-form-card):not(.modal-dialog-form):not(.quiz-stage):not(:has(form)) > .eyebrow + h3::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(22, 33, 38, 0.1);
  pointer-events: none;
}

.quiz-stage > .eyebrow + h1,
.quiz-stage > .eyebrow + h2,
.quiz-stage > .eyebrow + h3,
.lead-inline-form > .eyebrow + h1,
.lead-inline-form > .eyebrow + h2,
.lead-inline-form > .eyebrow + h3,
.cases-inline-form > .eyebrow + h1,
.cases-inline-form > .eyebrow + h2,
.cases-inline-form > .eyebrow + h3,
.lead-form-card > .eyebrow + h1,
.lead-form-card > .eyebrow + h2,
.lead-form-card > .eyebrow + h3,
.modal-dialog-form > .eyebrow + h1,
.modal-dialog-form > .eyebrow + h2,
.modal-dialog-form > .eyebrow + h3 {
  display: block;
  width: auto;
}

.quiz-stage > .eyebrow + h1::before,
.quiz-stage > .eyebrow + h2::before,
.quiz-stage > .eyebrow + h3::before,
.lead-inline-form > .eyebrow + h1::before,
.lead-inline-form > .eyebrow + h2::before,
.lead-inline-form > .eyebrow + h3::before,
.cases-inline-form > .eyebrow + h1::before,
.cases-inline-form > .eyebrow + h2::before,
.cases-inline-form > .eyebrow + h3::before,
.lead-form-card > .eyebrow + h1::before,
.lead-form-card > .eyebrow + h2::before,
.lead-form-card > .eyebrow + h3::before,
.modal-dialog-form > .eyebrow + h1::before,
.modal-dialog-form > .eyebrow + h2::before,
.modal-dialog-form > .eyebrow + h3::before {
  content: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", "Segoe UI", Arial, sans-serif;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
}

h2 {
  font-size: clamp(1.55rem, 2.45vw, 2.45rem);
}

h3 {
  font-size: 1.45rem;
}

.hero-text,
.section-head p:not(.eyebrow),
.info-card p:not(.eyebrow),
.step-card p:not(.eyebrow),
.advantage-item p:not(.eyebrow),
.faq-item p:not(.eyebrow),
.contact-card p:not(.eyebrow),
.modal-dialog p:not(.eyebrow),
.case-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 24px 0 18px;
  font-size: 1.08rem;
}

.hero-text-secondary {
  margin-top: 0;
  margin-bottom: 32px;
}

.form-grid-single {
  grid-template-columns: 1fr;
}

.consent-field {
  margin: 18px 0 20px;
}

.consent-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
  cursor: pointer;
}

.consent-check input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.consent-link {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-link:hover {
  color: var(--accent);
}

.hero-copy .eyebrow {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.hero-copy h1 {
  color: #f8f4ee;
  max-width: none;
  font-size: clamp(2.24rem, 2.95vw, 3.26rem);
  font-weight: 610;
  line-height: 1;
  letter-spacing: -0.015em;
}

.hero-copy .hero-text {
  color: rgba(244, 240, 233, 0.84);
  max-width: 42ch;
  font-size: 1.24rem;
  line-height: 1.76;
}

.hero-copy .hero-text-secondary {
  margin-bottom: 46px;
}

.hero-copy .button-primary {
  min-height: 62px;
  padding: 0 36px;
  font-size: 1.12rem;
}

.hero-title-break {
  display: block;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-md);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.hero-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero-card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  min-height: 172px;
  padding: 28px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 42px rgba(15, 22, 28, 0.14);
}

.hero-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  color: #0ea5e9;
}

.hero-card-icon svg {
  width: 58px;
  height: 58px;
  display: block;
}

.hero-card-label {
  max-width: 26ch;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.42;
}

.trust-strip {
  padding-bottom: 38px;
}

.promo-offer {
  padding: 10px 0 34px;
}

.promo-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 34px 38px;
  border: 1px solid rgba(22, 33, 38, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f1f5f9 100%);
  box-shadow: 0 16px 36px rgba(22, 33, 38, 0.08);
}

.promo-mark {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: var(--radius-lg);
  color: var(--accent-dark);
  border: none;
  background: transparent;
}

.promo-mark svg {
  width: 58px;
  height: 58px;
}

.promo-mark path {
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promo-copy {
  display: grid;
  gap: 12px;
}

.promo-copy h2 {
  margin-bottom: 0;
}

.promo-deadline {
  margin: 0;
  color: var(--accent-dark);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
}

.promo-text {
  margin: 0;
  max-width: 44ch;
  color: #334155;
  font-size: 1.08rem;
  line-height: 1.6;
}

.promo-button {
  margin-top: 10px;
  width: auto;
  min-width: 260px;
  justify-self: start;
  text-transform: uppercase;
  box-shadow: none;
}

.promo-button:hover {
  box-shadow: none;
}

.situations-strip {
  padding: 18px 0 var(--site-section-gap);
}

.situations-strip > .container {
  padding: 28px;
  border: var(--site-block-border);
  border-radius: var(--radius-md);
  background: var(--site-block-surface);
  box-shadow: var(--site-block-shadow);
}

.section-head.situations-head {
  display: grid;
  justify-items: start;
  width: 100%;
  max-width: none;
  margin: 0 0 28px;
  text-align: left;
}

.section-head.situations-head h2,
.section-head.situations-head > p:not(.eyebrow) {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-head.situations-head h2 {
  max-width: 26ch;
}

.situations-title-line {
  display: block;
}

@media (min-width: 1025px) {
  .hero-copy {
    padding: 40px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 16px;
    font-size: 0.88rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.04rem, 2.7vw, 2.92rem);
  }

  .hero-copy .hero-text {
    max-width: 46ch;
    font-size: 1.14rem;
    line-height: 1.64;
  }

  .hero-copy .hero-text-secondary {
    margin-bottom: 34px;
  }

  .hero-copy .button-primary {
    min-height: 56px;
    padding: 0 30px;
    font-size: 1.04rem;
  }

  .hero-panel {
    height: 100%;
    gap: 14px;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    align-content: stretch;
  }

  .hero-card {
    grid-template-columns: 44px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    align-content: center;
    gap: 12px;
    min-height: 0;
    height: 100%;
    padding: 18px 20px;
    text-align: left;
    border-radius: var(--radius-lg);
  }

  .hero-card-icon svg {
    width: 44px;
    height: 44px;
  }

  .hero-card-label {
    max-width: none;
    font-size: 1.02rem;
    line-height: 1.34;
    text-align: left;
  }

  .section-head.situations-head h2 {
    max-width: none;
    white-space: normal;
    justify-self: start;
  }
}

.section-head.situations-head > p:not(.eyebrow) {
  max-width: none;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.trust-grid,
.situations-grid,
.reason-grid,
.process-grid,
.advantage-list,
.faq-list {
  display: grid;
  gap: 18px;
}

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

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

#nash-podkhod .reason-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.approach-cta {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.approach-cta .button-primary {
  min-width: 280px;
}

.reason-card {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 16px;
  min-height: 100%;
  padding: 28px 26px 26px;
  border: 1px solid rgba(22, 33, 38, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f8fafc 100%);
  box-shadow: 0 18px 36px rgba(22, 33, 38, 0.08);
}

.reason-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.72rem);
  line-height: 1.22;
  text-align: center;
}

.reason-card p {
  margin: 0;
  color: #475569;
  line-height: 1.72;
  text-align: center;
}

.reason-icon {
  display: inline-grid;
  place-items: center;
  justify-self: center;
  width: auto;
  height: auto;
  border-radius: 0;
  color: #0ea5e9;
  background: none;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 3px;
  text-align: center;
  filter: saturate(0.92) contrast(1.08);
}

.reason-icon svg {
  width: 32px;
  height: 32px;
}

.reason-icon path {
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.reason-card-accent {
  border-color: rgba(30, 64, 175, 0.2);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 20px 38px rgba(30, 64, 175, 0.2);
}

.reason-card-accent h3,
.reason-card-accent p {
  color: #fff;
}

.reason-accent-badge {
  display: inline-grid;
  place-items: center;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.98);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 3px;
  background: none;
}

.experts-section {
  padding-top: 6px;
}

.section-head-team h2 {
  width: auto;
  max-width: none;
  margin: 0;
  text-align: left;
}

.section-head-team h2 span {
  color: var(--text);
}

.section-head-team {
  display: grid;
  justify-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

@media (min-width: 900px) {
  .section-head-team h2 {
    white-space: nowrap;
  }
}

.experts-stack {
  display: grid;
  gap: 0;
  padding: 28px 0 12px;
  border: 1px solid rgba(22, 33, 38, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(22, 33, 38, 0.08);
}

.experts-stack > .section-head-team {
  padding: 0 28px 28px;
  margin-bottom: 0;
}

.expert-card {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  min-height: 354px;
  padding: 0;
}

.experts-divider {
  height: 1px;
  margin: 0 28px;
  background: rgba(22, 33, 38, 0.12);
}

.expert-media {
  aspect-ratio: auto;
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0;
  background: rgba(232, 226, 217, 0.85);
}

.expert-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.expert-photo--maksim {
  object-position: center 72%;
}

.expert-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 30px 38px 28px;
  text-align: left;
}

.expert-main {
  display: contents;
}

.expert-aside {
  display: contents;
}

.expert-header {
  display: grid;
  gap: 8px;
  order: 1;
}

.expert-header h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
}

.expert-kicker {
  margin: 0 0 8px;
  color: #1e3a8a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.expert-role {
  display: inline-flex;
  align-items: center;
  order: 2;
  align-self: flex-start;
  min-height: 34px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(232, 240, 244, 0.7);
  color: #23313a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.expert-role::after {
  display: none;
}

.expert-summary {
  max-width: none;
  order: 3;
  margin: 0;
  color: #34424a;
  font-size: 0.98rem;
  line-height: 1.58;
}

.expert-summary strong {
  color: #23313a;
  font-weight: 600;
}

.expert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  order: 4;
  margin: 0;
  padding: 0;
  list-style: none;
}

.expert-tags li {
  padding: 8px 11px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #2b3942;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.expert-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  order: 5;
  align-self: flex-start;
  min-width: 190px;
  margin-top: auto;
  padding: 12px 16px;
  border: 1px solid rgba(30, 58, 138, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #1e3a8a;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.expert-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
}

.expert-link:hover {
  border-color: rgba(30, 58, 138, 0.86);
  background: #1e3a8a;
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(30, 58, 138, 0.18);
  transform: translateY(-1px);
}

.expert-button {
  width: auto;
  min-width: 290px;
}

.trust-item,
.situation-card,
.info-card,
.step-card,
.advantage-item,
.faq-item,
.contact-card,
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 22px;
}

.situation-card {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.situation-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: none;
  color: var(--accent-dark);
  background: transparent;
}

.situation-icon svg {
  width: 32px;
  height: 32px;
}

.situation-icon path {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.situation-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.38rem, 2vw, 1.72rem);
  line-height: 1.22;
}

.situation-card p {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

.trust-number {
  display: inline-block;
  margin: 0 auto 18px;
  color: var(--success);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section {
  position: relative;
  padding: 80px 0;
}

.section::before {
  content: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  background: linear-gradient(180deg, rgba(239, 235, 228, 0.78) 0%, rgba(245, 242, 236, 0.42) 52%, rgba(247, 245, 241, 0) 100%);
  pointer-events: none;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-muted {
  position: relative;
}

.section-muted::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  background: linear-gradient(180deg, rgba(239, 235, 228, 0.78) 0%, rgba(245, 242, 236, 0.42) 52%, rgba(247, 245, 241, 0) 100%);
  pointer-events: none;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.reasons-hero {
  display: grid;
  justify-items: start;
  gap: 12px;
  max-width: none;
  margin: 0 0 30px;
  text-align: left;
}

.reasons-hero .eyebrow {
  margin: 0;
}

.reasons-title {
  max-width: 1080px;
  margin: 0;
  letter-spacing: -0.025em;
  text-transform: none;
  line-height: 1.08;
}

.reasons-title-line {
  display: block;
  color: var(--text);
  white-space: nowrap;
}

.reasons-title-line--mobile {
  display: none;
}

.reasons-intro {
  max-width: 760px;
  margin: 0;
  color: #334155;
  font-size: 1.18rem;
  line-height: 1.55;
}

.section-cases .section-head-cases {
  margin-bottom: 64px;
}

.section-cases > .container,
#nash-podkhod > .container {
  padding: 28px;
  border: var(--site-block-border);
  border-radius: var(--radius-md);
  background: var(--site-block-surface);
  box-shadow: var(--site-block-shadow);
}

.section-cases .section-head-cases h2 {
  margin-bottom: 0;
}

.cases-intro {
  max-width: 760px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.cases-showcase {
  margin: 0 0 64px;
}

.cases-showcase-shell {
  position: relative;
  overflow: hidden;
  padding: 6px 58px;
}

.cases-showcase-viewport {
  overflow: visible;
  padding: 0;
}

.cases-showcase-track {
  display: flex;
  gap: 18px;
  transition: transform 0.32s ease;
  will-change: transform;
}

.cases-showcase-item {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
}

.cases-showcase-link {
  display: flex;
  justify-content: center;
  padding: 16px;
  border: 1px solid rgba(22, 33, 38, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cases-showcase-link:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 33, 38, 0.14);
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.16);
}

.cases-showcase-paper {
  display: block;
  width: 100%;
  aspect-ratio: 1244 / 1759;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(22, 33, 38, 0.08);
  border-radius: calc(var(--radius-lg) - 2px);
  background: #ffffff;
  box-shadow: none;
}

.cases-showcase-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.cases-showcase-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  border: 1px solid rgba(22, 33, 38, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 14px 28px rgba(22, 33, 38, 0.12);
  cursor: pointer;
  font-size: 1.85rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.cases-showcase-nav:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.03);
  border-color: rgba(30, 58, 138, 0.26);
  box-shadow: 0 16px 34px rgba(22, 33, 38, 0.16);
}

.cases-showcase-nav:disabled {
  opacity: 0.36;
  cursor: default;
  box-shadow: 0 10px 18px rgba(22, 33, 38, 0.08);
}

.cases-showcase-nav--prev {
  left: 0;
}

.cases-showcase-nav--next {
  right: 0;
}

.cases-showcase-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.cases-showcase-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: rgba(22, 33, 38, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cases-showcase-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.section-lead {
  padding-top: 8px;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.lead-copy,
.lead-form-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lead-copy h2 {
  margin: 0 0 18px 0;
  text-align: left;
}

.lead-copy h2.lead-intro-heading {
  margin: 0 0 60px;
  font-size: clamp(1.55rem, 2.45vw, 2.45rem);
  line-height: 1.08;
  text-align: left;
}

.lead-intro-layout {
  display: grid;
  gap: 40px;
  margin: 0 0 28px;
}

.lead-intro-main {
  display: grid;
  grid-template-columns: clamp(196px, 21vw, 364px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.lead-intro-main-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.lead-intro-main-copy p,
.lead-intro-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.lead-intro-section {
  display: grid;
  gap: 8px;
}

.lead-intro-subheading {
  margin: 0;
  color: var(--text);
  font-family: "Oswald", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.04rem, 0.98rem + 0.25vw, 1.18rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.lead-intro-bottom {
  display: grid;
  gap: 18px;
}

.lead-intro-divider {
  width: 100%;
  height: 1px;
  margin: 18px 0 22px;
  background: rgba(22, 33, 38, 0.12);
}

.lead-intro-cta {
  display: grid;
  justify-items: center;
  gap: 27px;
  margin-top: 15px;
}

.lead-intro-cta-copy {
  margin: 0;
  text-align: center;
}

.lead-intro-cta-copy span {
  display: block;
}

.lead-intro-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.lead-intro-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .lead-intro-main {
    grid-template-columns: 1fr;
  }

  .lead-intro-photo {
    width: min(100%, 520px);
    justify-self: center;
  }
}

.lead-reasons {
  margin: 0;
  padding-left: 1.6rem;
  color: var(--text);
}

.lead-reasons li {
  margin-bottom: 14px;
  line-height: 1.58;
}

.lead-reasons li:last-child {
  margin-bottom: 0;
}

.lead-reasons strong {
  font-weight: 680;
}

.lead-inline-form {
  margin: 28px -28px -28px;
  padding: 24px 28px 28px;
  border-top: 1px solid rgba(22, 33, 38, 0.12);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: linear-gradient(180deg, rgba(22, 33, 38, 0.03) 0%, rgba(22, 33, 38, 0.06) 100%);
}

.lead-inline-form h3 {
  margin-bottom: 28px;
  font-size: clamp(1.7rem, 2.15vw, 2.3rem);
  line-height: 1.12;
  text-align: center;
}

.lead-inline-form-title {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.lead-inline-form-title-line {
  display: block;
}

@media (min-width: 761px) {
  .lead-inline-form-title-line {
    white-space: nowrap;
  }
}

.lead-form-card .lead-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-lead .lead-form-card .form-grid,
.section-lead .lead-inline-form .form-grid {
  margin: 0 auto 18px;
  max-width: none;
}

.section-lead .lead-form-card .consent-field,
.section-lead .lead-inline-form .consent-field {
  margin-top: 6px;
  max-width: none;
}

.section-lead .lead-form-card .eyebrow,
.section-lead .lead-inline-form .eyebrow {
  text-align: center;
}

.section-lead .lead-form-card h3,
.section-lead .lead-inline-form h3 {
  font-size: clamp(1.8rem, 2.25vw, 2.45rem);
  line-height: 1.1;
}

.section-lead .lead-inline-form .lead-form {
  width: min(100%, 480px);
  gap: 24px;
  max-width: none;
  margin: 28px auto 0;
}

.section-lead .lead-inline-form .button-primary {
  width: auto;
  min-width: 0;
  max-width: 100%;
  align-self: start;
  justify-self: center;
  margin: 0;
}

.section-lead .lead-inline-form .form-grid {
  grid-template-columns: 1fr;
}

.lead-copy p:last-child,
.lead-form-card p:last-child {
  margin-bottom: 0;
}

.lead-form-card h2,
.lead-form-card h3 {
  margin: 0 auto 18px;
}

.lead-form {
  display: grid;
  gap: 16px;
}

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

.form-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(22, 33, 38, 0.14);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  color: var(--text);
  font: inherit;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(30, 58, 138, 0.18);
  border-color: rgba(30, 58, 138, 0.44);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--success);
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: #b14635;
}

.button-primary:disabled {
  cursor: not-allowed;
  opacity: 0.78;
  box-shadow: none;
}

.button-primary.is-loading {
  cursor: wait;
}

.form-card-wide {
  max-width: 920px;
  margin: 0 auto;
}

.form-card-text {
  margin: 0 0 20px;
}

.section-quiz {
  padding-top: 8px;
}

.quiz-layout {
  --quiz-side-frame-pad: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.72fr);
  gap: 22px;
  align-items: start;
  padding: 0 0 30px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quiz-layout.is-expanded {
  grid-template-columns: 1fr;
}

.quiz-layout.is-expanded .quiz-side {
  display: none;
}

.quiz-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.quiz-topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(22, 33, 38, 0.1);
  color: var(--muted);
  font-size: 1.02rem;
}

.quiz-topline-main {
  min-width: 0;
}

.quiz-topline-accent {
  flex: 0 1 auto;
  max-width: 100%;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quiz-stage {
  padding: 30px 30px 30px 0;
}

.quiz-stage .eyebrow {
  margin: 0 auto 18px;
  color: var(--success);
}

.quiz-stage h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.06;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 18px 20px;
  border: 1px solid rgba(22, 33, 38, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.quiz-option:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 58, 138, 0.26);
  box-shadow: 0 10px 24px rgba(22, 33, 38, 0.08);
}

.quiz-option.is-selected {
  border-color: rgba(30, 64, 175, 0.34);
  background: rgba(243, 241, 237, 0.92);
  box-shadow: none;
}

.quiz-option-marker {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(22, 33, 38, 0.18);
  border-radius: 50%;
  background: rgba(22, 33, 38, 0.05);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.quiz-option.is-selected .quiz-option-marker {
  border-color: rgba(30, 64, 175, 0.56);
  background: radial-gradient(circle at center, rgba(30, 64, 175, 0.9) 0 42%, rgba(30, 64, 175, 0) 46%);
  box-shadow: 0 0 0 4px rgba(22, 33, 38, 0.04);
}

.quiz-option-text {
  line-height: 1.38;
}

.quiz-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 0 30px 0 0;
}

.quiz-progress {
  display: grid;
  gap: 10px;
}

.quiz-progress-value {
  color: #db5847;
  font-weight: 700;
  font-size: 1.05rem;
}

.quiz-progress-track {
  position: relative;
  height: 10px;
  border-radius: var(--radius-md);
  background: rgba(22, 33, 38, 0.12);
  overflow: hidden;
}

.quiz-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d65047 0%, #ec8c7f 100%);
  transition: width 0.24s ease;
}

.quiz-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-height: 56px;
  padding: 0;
  border: 1px solid rgba(22, 33, 38, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.quiz-nav-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(30, 58, 138, 0.28);
  color: var(--text);
}

.quiz-nav-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quiz-next-button {
  min-width: 210px;
  box-shadow: none;
}

.quiz-next-button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  box-shadow: none;
}

.quiz-next-button:hover,
.quiz-result-form .button-primary:hover {
  box-shadow: none;
}

.quiz-next-button[hidden] {
  display: none !important;
}

.quiz-stage--result {
  padding-bottom: 22px;
}

.quiz-result-note {
  margin: 0 0 16px;
  color: var(--success);
  font-weight: 700;
  font-size: 1rem;
}

.quiz-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.quiz-result-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.quiz-result-copy h2 {
  margin: 0 auto 18px;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
}

.quiz-result-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.62;
}

.quiz-result-copy .quiz-result-banners {
  display: grid;
  gap: 14px;
  margin-top: 40px;
  width: min(100%, 280px);
  align-self: center;
  justify-self: center;
}

.quiz-result-banners .quiz-side-banners-grid,
.quiz-side-banners-grid--stack {
  grid-template-columns: 1fr;
  gap: 14px;
  width: min(100%, 280px);
  justify-self: center;
}

.quiz-result-banners .quiz-side-banner {
  min-height: 82px;
  width: 100%;
}

.quiz-result-banners .quiz-side-banner-copy {
  display: block;
  min-height: 0;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.quiz-answer-summary {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.quiz-answer-chip {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid rgba(22, 33, 38, 0.08);
  border-radius: 16px;
  background: rgba(22, 33, 38, 0.04);
}

.quiz-answer-chip-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quiz-answer-chip-value {
  font-size: 0.98rem;
  line-height: 1.45;
}

.quiz-result-form {
  padding: 24px;
  border: 1px solid rgba(22, 33, 38, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 245, 241, 0.96) 100%);
  box-shadow: 0 18px 34px rgba(22, 33, 38, 0.08);
}

.quiz-result-form .form-grid {
  grid-template-columns: 1fr;
}

.quiz-result-form .button-primary {
  width: 100%;
  box-shadow: none;
}

.quiz-side {
  display: grid;
  gap: 30px;
  align-content: center;
  align-self: stretch;
  margin-top: calc(var(--quiz-side-frame-pad) + 18px);
  padding: 18px 30px 18px 0;
}

.quiz-side-card,
.quiz-side-badge {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quiz-side-card {
  padding: 24px;
}

.quiz-side-card--single {
  padding: 30px 28px;
}

.quiz-side-card--accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f8fafc 100%);
}

.quiz-side-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.12;
}

.quiz-side-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quiz-side-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1.12rem;
  line-height: 1.52;
}

.quiz-side-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--success);
  font-weight: 700;
}


.quiz-side-banners {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

@media (min-width: 761px) {
  .quiz-side-banners {
    margin-top: 10px;
  }
}

.quiz-side-banners-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.quiz-side-banners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quiz-side-banner {
  min-height: 82px;
  padding: 12px 14px;
  border: 1px solid rgba(240, 161, 119, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 24px rgba(22, 33, 38, 0.08);
  background:
    linear-gradient(120deg, rgba(22, 33, 38, 0.96) 0%, rgba(34, 47, 53, 0.94) 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.quiz-side-banner-icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  justify-self: center;
  align-self: center;
  font-size: 1.28rem;
  line-height: 1;
  text-align: center;
  background: none;
  color: var(--accent);
  filter: saturate(0.94) contrast(1.08);
}

.quiz-side-banner-copy {
  display: -webkit-box;
  min-height: calc(1.24em * 3);
  font-size: 0.92rem;
  line-height: 1.24;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.quiz-side-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  background: linear-gradient(180deg, #ffe888 0%, #ffd95b 100%);
  border-color: rgba(212, 166, 26, 0.3);
}

.quiz-side-badge span,
.quiz-side-badge strong {
  color: #162126;
  font-size: 1.06rem;
  font-weight: 700;
}

.quiz-side-card--compact strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.quiz-side-card--compact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

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

.case-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 58, 138, 0.26);
}

.case-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.case-amount {
  font-size: 1.4rem;
  font-weight: 700;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  min-height: 62px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(46, 104, 84, 0.18);
  color: #1f6a53;
  font-family: "Oswald", "Segoe UI", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
  background: linear-gradient(180deg, rgba(244, 249, 246, 0.98) 0%, rgba(231, 240, 235, 0.98) 100%);
  box-shadow: 0 10px 24px rgba(22, 33, 38, 0.08);
}

.case-meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.case-summary {
  margin: 0;
}

.case-summary--large {
  font-size: clamp(1.01rem, 1.15vw, 1.08rem);
}

.case-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-weight: 700;
}

.cases-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.cases-toggle-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid #0ea5e9;
  border-radius: var(--radius-md);
  color: #0ea5e9;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  background: transparent;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cases-toggle-pill::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.cases-toggle-pill[data-expanded="true"]::after {
  transform: rotate(-135deg);
}

.cases-toggle-pill:hover {
  background: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.cases-toggle-pill:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.22);
  outline-offset: 3px;
}

.cases-inline-form {
  margin: 46px -28px -28px;
  padding: 24px 28px 28px;
  border-top: 1px solid rgba(22, 33, 38, 0.12);
  background: linear-gradient(180deg, rgba(22, 33, 38, 0.03) 0%, rgba(22, 33, 38, 0.06) 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.section-cases .cases-inline-form .eyebrow,
.section-cases .cases-inline-form h3 {
  text-align: center;
}

.section-cases .cases-inline-form .eyebrow {
  margin-bottom: 34px;
}

.section-cases .cases-inline-form h3 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 2.25vw, 2.45rem);
  line-height: 1.1;
}

.section-cases .cases-inline-form .lead-form {
  width: min(100%, 480px);
  gap: 24px;
  max-width: none;
  margin: 28px auto 0;
}

.section-cases .cases-inline-form .form-grid {
  grid-template-columns: 1fr;
  margin: 0;
}

.section-cases .cases-inline-form .consent-field {
  margin-top: 0;
  max-width: none;
}

.section-cases .cases-inline-form .button-primary {
  width: auto;
  min-width: 0;
  max-width: 100%;
  align-self: start;
  justify-self: center;
  margin: 0;
}

.section-lead .lead-inline-form .form-grid,
.section-cases .cases-inline-form .form-grid {
  margin: 0;
  gap: 20px;
}

.section-lead .lead-inline-form .form-field,
.section-cases .cases-inline-form .form-field {
  gap: 10px;
  text-align: left;
}

.section-lead .lead-inline-form .form-field input,
.section-cases .cases-inline-form .form-field input {
  min-height: 62px;
  padding: 18px 22px;
  border: 1px solid rgba(22, 33, 38, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.section-lead .lead-inline-form .consent-field,
.section-cases .cases-inline-form .consent-field {
  margin: 6px 0 0;
}

.section-lead .lead-inline-form .consent-check,
.section-cases .cases-inline-form .consent-check {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  line-height: 1.55;
}

.section-lead .lead-inline-form .consent-check input,
.section-cases .cases-inline-form .consent-check input {
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
}

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

.info-card,
.step-card,
.advantage-item,
.faq-item {
  padding: 24px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--success) 0%, #234f40 100%);
}

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

.section-contact {
  padding-bottom: 96px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 24px;
  padding: 32px;
  background:
    linear-gradient(120deg, rgba(22, 33, 38, 0.96) 0%, rgba(34, 47, 53, 0.94) 100%);
  color: #fff;
}

.contact-card p:not(.eyebrow),
.contact-list {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card .eyebrow {
  color: var(--accent);
}

.contact-list {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 6px 0;
}

.contact-list a,
.contact-list span {
  font-size: 1.05rem;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at 14% 0%, rgba(14, 165, 233, 0.16) 0%, transparent 34%),
    linear-gradient(135deg, #111827 0%, #1f2d3a 100%);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-shell {
  display: grid;
  gap: 26px;
  padding: 44px 0 22px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.75fr) minmax(220px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.footer-brand-block,
.footer-nav,
.footer-contacts,
.footer-legal {
  display: grid;
  gap: 10px;
}

.footer-brand-block {
  max-width: 520px;
  gap: 14px;
}

.footer-brand-name {
  width: fit-content;
  color: #ffffff;
  font-family: "Oswald", "Segoe UI", Arial, sans-serif;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.footer-title {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-contacts a,
.footer-contacts span,
.footer-legal a,
.footer-main-site {
  color: rgba(255, 255, 255, 0.76);
}

.footer-nav a,
.footer-contacts a,
.footer-main-site,
.footer-legal a {
  width: fit-content;
}

.footer-phone {
  color: #ffffff !important;
  font-size: 1.12rem;
  font-weight: 900;
}

.footer-main-site {
  color: var(--accent) !important;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.footer-contacts {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.site-footer a:hover {
  color: #ffffff;
}

@media (max-width: 760px) {
  .footer-shell {
    gap: 22px;
    padding: 32px 0 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand-block {
    max-width: none;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
  }
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 120;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 29, 0.55);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.modal-dialog-case {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  width: min(1352px, calc(100vw - 40px));
  height: min(1040px, calc(100dvh - 40px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 48px 96px 48px 48px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.modal-dialog h3 {
  margin-bottom: 16px;
}

.modal-dialog-form {
  width: min(100%, 760px);
}

.modal-intro {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.modal-dialog-success {
  width: min(100%, 560px);
  padding: 78px 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.99) 0%, rgba(248, 243, 237, 0.99) 100%);
  box-shadow: 0 28px 56px rgba(22, 33, 38, 0.18);
}

.success-badge {
  position: absolute;
  top: -54px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin-left: -54px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff 0%, #fbf5ef 100%);
  border: 1px solid rgba(198, 122, 68, 0.16);
  box-shadow: 0 14px 32px rgba(22, 33, 38, 0.12);
}

.success-badge svg {
  width: 54px;
  height: 54px;
}

.success-badge path {
  stroke: #78b84e;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal-dialog-success h3 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--text);
}

.success-text {
  max-width: 22ch;
  margin: 0 auto 28px;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  font-weight: 600;
  line-height: 1.45;
  color: #4b5b63;
}

.success-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 190px;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(30, 58, 138, 0.2);
}

.cookie-popup {
  position: fixed;
  left: 24px;
  right: auto;
  bottom: 24px;
  z-index: 40;
  width: min(calc(100% - 48px), 300px);
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.cookie-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-popup__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(22, 33, 38, 0.1);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(22, 33, 38, 0.1);
}

.cookie-popup__text {
  margin: 0;
  color: #33424a;
  font-size: 0.78rem;
  line-height: 1.38;
}

.cookie-popup__text .consent-link {
  position: relative;
  z-index: 1;
  font-weight: 600;
  pointer-events: auto;
}

.cookie-popup__button {
  width: auto;
  min-width: 82px;
  min-height: 34px;
  padding: 0 14px;
  white-space: nowrap;
  justify-self: start;
  font-size: 0.92rem;
  box-shadow: 0 8px 16px rgba(30, 58, 138, 0.16);
}

.success-button:hover {
  filter: brightness(1.03);
}

.doc-page {
  min-height: 100vh;
}

.doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.doc-back-link {
  color: var(--accent-dark);
  font-weight: 700;
}

.doc-main {
  padding: max(132px, calc(var(--site-header-offset, 96px) + 28px)) 0 72px;
}

.profile-main {
  padding: 50px 0 72px;
}

.profile-shell {
  display: grid;
  gap: 22px;
  max-width: none;
  margin: 0 auto;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 33, 38, 0.08);
  box-shadow: 0 18px 44px rgba(22, 33, 38, 0.08);
}

.profile-photo-box {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(232, 226, 217, 0.85);
}

.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.profile-copy {
  display: grid;
  gap: 18px;
}

.profile-copy h1 {
  max-width: none;
  margin: 0;
}

.profile-role {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.profile-role::after {
  content: "";
  display: block;
  width: 92px;
  height: 2px;
  margin-top: 14px;
  border-radius: var(--radius-md);
  background: rgba(30, 58, 138, 0.7);
}

.profile-lead {
  margin: 0;
  color: #34424a;
  font-size: 1.06rem;
  line-height: 1.74;
}

.profile-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.profile-actions .button-primary {
  width: auto;
  min-width: 230px;
}

.profile-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.profile-info-card {
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 33, 38, 0.08);
  box-shadow: 0 12px 28px rgba(22, 33, 38, 0.06);
}

.profile-info-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.28rem, 1.9vw, 1.72rem);
}

.profile-info-card p:not(.eyebrow),
.profile-info-card li {
  color: #44535a;
  line-height: 1.74;
}

.profile-info-card .eyebrow {
  color: var(--accent);
}

.profile-info-card ul {
  margin: 0;
  padding-left: 22px;
}

.profile-article {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.profile-article > p,
.profile-article > ul {
  margin: 0 0 12px;
}

.profile-article > h2 {
  margin: 0 0 4px;
}

.profile-article h2:not(:first-of-type) {
  margin-top: 20px;
}

.profile-article-single {
  max-width: none;
  margin: 0 auto;
}

.profile-article--voroncov > p,
.profile-article--voroncov > ul {
  margin-bottom: 16px;
}

.profile-article-photo-box {
  overflow: hidden;
  width: min(100%, 620px);
  margin: 8px auto 10px;
  border-radius: var(--radius-lg);
  background: rgba(232, 226, 217, 0.85);
}

.profile-article-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.profile-article-photo--voroncov {
  object-position: center bottom;
}

.profile-article-photo-box--docs {
  justify-self: start;
  margin: 0 0 8px;
  width: min(100%, 620px);
}

.profile-documents {
  display: grid;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}

.profile-documents-inline {
  gap: 24px;
  margin: 6px 0 10px;
  padding: 24px;
  border: 1px solid rgba(22, 33, 38, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 33, 38, 0.03) 0%, rgba(22, 33, 38, 0.06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.profile-documents-inline .profile-doc-group {
  gap: 12px;
}

.profile-documents-inline .profile-doc-group h2 {
  text-align: left;
}

.profile-doc-group {
  display: grid;
  gap: 14px;
}

.profile-doc-group h2 {
  text-align: center;
}

.profile-doc-panel {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(22, 33, 38, 0.05);
}

.profile-doc-panel-single {
  grid-template-columns: 1fr;
  justify-items: start;
}

.profile-doc-panel-certificates {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.profile-doc-link {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-doc-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(22, 33, 38, 0.12);
}

.profile-doc-image {
  display: block;
  width: 100%;
  max-width: 170px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(22, 33, 38, 0.12);
}

.profile-doc-image-diploma {
  max-width: 300px;
}

.modal-dialog-doc-preview {
  width: min(100%, 1120px);
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 40px);
  padding: 58px 20px 20px;
  background: rgba(255, 255, 255, 0.98);
  overflow: hidden;
}

.doc-preview-modal--showcase .modal-dialog-doc-preview {
  width: auto;
  max-width: calc(100vw - 32px);
  padding: 58px 0 28px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
  overflow: visible;
}

.doc-preview-modal--showcase .modal-close {
  color: #0f172a;
  text-shadow: none;
}

.doc-preview-modal--showcase .doc-preview-zoom-toggle {
  top: 8px;
}

.doc-preview-zoom-toggle {
  position: absolute;
  top: 16px;
  right: 72px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(22, 33, 38, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(22, 33, 38, 0.12);
  color: #4b5b63;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.doc-preview-zoom-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(22, 33, 38, 0.16);
  color: #0f172a;
}

.doc-preview-zoom-toggle.is-active {
  background: rgba(198, 122, 68, 0.1);
  color: var(--accent-dark);
}

.doc-preview-zoom-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doc-preview-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.doc-preview-modal--showcase .doc-preview-stage {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 76px 28px;
}

.doc-preview-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: calc(100dvh - 180px);
  padding: 0 72px;
  overflow: hidden;
}

.doc-preview-modal--showcase .doc-preview-viewport {
  width: auto;
  max-height: calc(100dvh - 112px);
  padding: 0;
}

.doc-preview-viewport.is-zoomed {
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 0 32px;
}

.doc-preview-image {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 260px);
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 20px 42px rgba(22, 33, 38, 0.16);
  cursor: zoom-in;
}

.doc-preview-modal--showcase .doc-preview-image {
  max-width: min(calc(100vw - 184px), 980px);
  max-height: calc(100dvh - 118px);
  border-radius: 0;
}

.doc-preview-image.is-zoomed {
  width: min(100%, 960px);
  max-width: 100%;
  max-height: none;
  height: auto;
  cursor: zoom-out;
}

.doc-preview-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  border: 0;
  border-radius: var(--radius-md);
  color: #0f172a;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(22, 33, 38, 0.18);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.doc-preview-nav:hover {
  transform: translateY(-50%) scale(1.03);
  box-shadow: none;
}

.doc-preview-nav:disabled {
  opacity: 0.36;
  cursor: default;
  box-shadow: 0 10px 24px rgba(22, 33, 38, 0.12);
}

.doc-preview-nav--prev {
  left: 8px;
}

.doc-preview-nav--next {
  right: 8px;
}

.profile-note {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(30, 58, 138, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.14);
}

.doc-shell {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.doc-actions {
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

.doc-home-link {
  width: min(100%, 320px);
}

.doc-card {
  padding: 32px 34px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(22, 33, 38, 0.07);
  box-shadow: 0 10px 24px rgba(22, 33, 38, 0.05);
}

.doc-card[id] {
  scroll-margin-top: calc(var(--site-header-offset, 96px) + 18px);
}

.doc-toc-card,
.doc-company-card {
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.045) 0%, rgba(14, 165, 233, 0.015) 100%),
    #ffffff;
}

.doc-toc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.doc-toc a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
  font-weight: 800;
  line-height: 1.24;
}

.doc-toc a:hover {
  border-color: rgba(14, 165, 233, 0.35);
  color: var(--accent-dark);
}

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

.doc-company-grid > div {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.doc-company-grid-wide {
  grid-column: span 2;
}

.doc-company-grid span {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.25;
}

.doc-company-grid strong,
.doc-company-grid a {
  color: #0f172a;
  font-weight: 800;
  line-height: 1.35;
}

.doc-company-grid a {
  width: fit-content;
  color: var(--accent-dark);
}

.doc-card h1 {
  max-width: none;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.14;
}

.doc-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
}

.doc-card p:not(.eyebrow),
.doc-card li {
  color: #44535a;
  line-height: 1.8;
  font-size: 1rem;
}

.doc-card ul,
.doc-card ol {
  margin: 0;
  padding-left: 24px;
}

.doc-note {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(30, 58, 138, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.16);
  color: var(--text);
}

.doc-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.modal-meta span {
  padding: 9px 12px;
  border-radius: var(--radius-md);
  background: rgba(46, 104, 84, 0.1);
  color: var(--success);
  font-weight: 700;
}

.modal-meta[hidden],
.modal-reason[hidden],
.case-modal-gallery[hidden] {
  display: none !important;
}

.case-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 0;
  height: 100%;
  align-items: stretch;
  gap: 18px;
  margin: 22px 0 0;
}

.case-modal-gallery-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(22, 33, 38, 0.1);
  background: rgb(242, 242, 242);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.case-modal-gallery-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}

.case-modal-gallery--single-centered {
  grid-template-columns: 1fr;
  justify-items: center;
}

.case-modal-gallery--single-centered .case-modal-gallery-link {
  width: min(100%, 880px);
}

.case-modal-gallery--single-file {
  grid-template-columns: 1fr;
  justify-items: center;
}

.modal-reason {
  margin: 0;
}

@media (max-width: 1024px) {
  .quiz-layout,
  .lead-layout,
  .hero-grid,
  .contact-card,
  .promo-card,
  .trust-grid,
  .situations-grid,
  .cases-grid,
  .advantage-list,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expert-card,
  .profile-hero,
  .profile-card-grid {
    grid-template-columns: 1fr;
  }

  .profile-doc-panel-certificates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .hero-copy {
    padding: 32px;
  }

  .quiz-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quiz-layout {
    --quiz-side-frame-pad: 24px;
    padding-right: 24px;
    padding-left: 24px;
    padding-bottom: 24px;
  }

  .quiz-stage,
  .quiz-footer,
  .quiz-side {
    padding-right: 0;
  }

  .quiz-result-grid {
    grid-template-columns: 1fr;
  }

  .case-modal-gallery {
    grid-template-columns: 1fr;
  }

  #nash-podkhod .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reason-card-accent {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-grid,
  .quiz-layout,
  .promo-card,
  .trust-grid,
  .situations-grid,
  .cases-grid,
  .process-grid,
  .advantage-list,
  .faq-list,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .profile-doc-panel-certificates {
    grid-template-columns: 1fr;
  }

  .quiz-panel {
    display: contents;
  }

  .quiz-topline {
    order: 1;
  }

  .quiz-side {
    order: 2;
  }

  .quiz-stage {
    order: 3;
  }

  .quiz-footer {
    order: 4;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    gap: 12px;
    padding: 18px 0 16px 18px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    margin-right: 0;
  }

  .brand-picture {
    width: 100%;
  }

  .brand-logo {
    width: 100%;
    max-width: 222px;
  }

  .header-contact {
    display: none;
  }

  .reasons-hero {
    gap: 10px;
    margin-bottom: 22px;
  }

  .reasons-title {
    max-width: 100%;
    font-size: clamp(1.45rem, 6vw, 1.95rem);
    line-height: 1.12;
  }

  .reasons-title-line--desktop {
    display: none;
  }

  .reasons-title-line--mobile {
    display: block;
  }

  .reasons-intro {
    font-size: 1rem;
    line-height: 1.6;
  }

  #nash-podkhod .reason-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .reason-card {
    padding: 22px 20px 20px;
    border-radius: 22px;
    gap: 14px;
  }

.reason-icon {
  display: inline-grid;
  place-items: center;
  justify-self: center;
  width: auto;
  height: auto;
  border-radius: 0;
  color: #0ea5e9;
  background: none;
  font-size: 1.7rem;
  line-height: 1;
  text-align: center;
  filter: saturate(0.92) contrast(1.08);
}

  .reason-icon svg {
    width: 28px;
    height: 28px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    grid-column: 2;
    grid-row: 1;
    position: static;
    transform: none;
    justify-self: end;
    width: 50px;
    height: 50px;
    margin-left: 0;
    border: 1px solid rgba(22, 33, 38, 0.28);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 18px rgba(22, 33, 38, 0.16);
    z-index: 2;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
    padding-top: 18px;
    margin-top: 12px;
    border-top: 1px solid rgba(22, 33, 38, 0.08);
    gap: 14px;
    justify-content: stretch;
    justify-items: center;
    text-align: center;
  }

  .site-nav:not(.is-open) {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 4px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
  }

  .site-nav-mobile-meta {
    display: grid;
    justify-items: center;
    width: 100%;
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(22, 33, 38, 0.08);
  }

  .site-nav-phone {
    width: min(100%, 270px);
    min-height: 56px;
    border-radius: 16px;
    font-size: 1.08rem;
  }

  .hero {
    padding: 29px 0 21px;
  }

  .hero-copy,
  .lead-copy,
  .lead-form-card,
  .hero-panel,
  .contact-card,
  .modal-dialog {
    padding: 16px;
  }

  .section-quiz {
    padding-top: 0;
  }

  .quiz-layout {
    padding: 0 0 18px;
    gap: 0;
  }

  .quiz-topline {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0 16px 18px;
    font-size: 0.96rem;
  }

  .quiz-topline-accent {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
  }

  .quiz-stage {
    padding: 18px 18px 18px;
  }

  .quiz-stage .eyebrow {
    margin-bottom: 12px;
  }

  .quiz-stage h2 {
    margin: 0 auto 18px;
    font-size: clamp(1.72rem, 7vw, 2.12rem);
    line-height: 1.08;
  }

  .quiz-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quiz-option {
    min-height: 0;
    padding: 14px 16px;
    gap: 14px;
    border-radius: 16px;
    font-size: 0.98rem;
  }

  .quiz-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 18px 0;
  }

  .quiz-nav {
    width: 100%;
  }

  .quiz-nav-button {
    width: 50px;
    min-height: 50px;
    font-size: 1.45rem;
  }

  .quiz-next-button {
    min-width: 0;
    flex: 1 1 auto;
    min-height: 50px;
    padding: 0 22px;
    font-size: 0.98rem;
  }

  .quiz-result-note {
    margin-bottom: 12px;
    font-size: 0.95rem;
  }

  .quiz-result-copy h2 {
    font-size: clamp(1.7rem, 6.5vw, 2.05rem);
  }

  .quiz-result-copy p {
    font-size: 0.98rem;
    line-height: 1.56;
  }

  .quiz-result-form {
    padding: 18px;
    border-radius: var(--radius-md);
  }

  .quiz-result-copy .quiz-result-banners {
    gap: 12px;
    margin-top: 32px;
    width: min(100%, 320px);
    align-self: center;
  }

  .quiz-result-banners .quiz-side-banners-grid {
    gap: 12px;
  }

  .quiz-answer-chip {
    padding: 12px;
    border-radius: 14px;
  }

  .quiz-side {
    grid-template-columns: 1fr;
    gap: 14px;
    align-content: start;
    align-self: auto;
    margin-top: 0;
    padding: 18px 18px 18px;
    border-bottom: 1px solid rgba(22, 33, 38, 0.1);
  }

  .quiz-side-card,
  .quiz-side-badge,
  .quiz-side-banner {
    box-shadow: none;
  }

  .quiz-side-card {
    padding: 18px;
  }

  .quiz-side-card--single {
    padding: 22px 18px;
  }


  .quiz-side-banners {
    justify-items: center;
    margin-top: 4px;
    margin-bottom: 5px;
  }

  .quiz-side-banners-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
  }

  .quiz-side-banners-grid {
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    justify-items: center;
    margin: 0 auto;
  }

  .quiz-side-banner {
    min-height: auto;
    width: 100%;
    padding: 13px 14px;
    border-radius: var(--radius-md);
    gap: 10px;
  }

  .quiz-side-banner-icon {
    width: 28px;
    height: 28px;
    font-size: 1.16rem;
  }

  .quiz-side-banner-copy {
    min-height: 0;
    font-size: 0.92rem;
    line-height: 1.28;
  }
  .quiz-side-badge {
    padding: 14px 16px;
    border-radius: var(--radius-md);
  }

  .hero-copy {
    padding: 14px;
  }

  .modal-dialog-success {
    padding: 64px 20px 22px;
  }

  .success-badge {
    top: -46px;
    width: 92px;
    height: 92px;
    margin-left: -46px;
  }

  .success-badge svg {
    width: 46px;
    height: 46px;
  }

  .success-text {
    max-width: 12ch;
    font-size: clamp(1.28rem, 6vw, 1.72rem);
  }

  h1 {
    max-width: none;
    font-size: clamp(1.65rem, 6.8vw, 2.15rem);
    line-height: 1.1;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(1.72rem, 7.7vw, 2.18rem);
    line-height: 1.02;
    letter-spacing: -0.028em;
  }

  h2 {
    font-size: clamp(1.45rem, 6vw, 1.95rem);
  }

  .hero-text {
    margin: 14px 0 18px;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-copy .hero-text {
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.56;
  }

  .hero-copy .hero-text-secondary {
    margin-bottom: 24px;
  }

  .hero-copy .button-primary {
    min-height: 48px;
    padding: 0 24px;
    font-size: 0.98rem;
  }

  .hero-copy .eyebrow {
    margin-bottom: 14px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }

  .hero-title-break {
    display: none;
  }

  .hero-panel,
  .trust-grid,
  .situations-grid,
  .cases-grid,
  .reason-grid,
  .process-grid,
  .advantage-list,
  .faq-list {
    gap: 14px;
  }

  .hero-card,
  .promo-card,
  .situations-strip > .container,
  .section-cases > .container,
  #nash-podkhod > .container,
  .trust-item,
  .situation-card,
  .lead-copy,
  .lead-form-card,
  .info-card,
  .step-card,
  .advantage-item,
  .faq-item,
  .case-card {
    padding: 16px;
  }

  .hero-card {
    grid-template-columns: 42px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    align-content: center;
    gap: 12px;
    min-height: 0;
    padding: 14px 16px;
    border-radius: 22px;
    text-align: left;
  }

  .hero-card-icon {
    align-self: center;
  }

  .hero-card-icon svg {
    width: 42px;
    height: 42px;
  }

  .hero-card-label {
    max-width: none;
    font-size: 0.94rem;
    line-height: 1.34;
    text-align: left;
  }

  .promo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-mark {
    width: 88px;
    height: 88px;
    margin: 0 auto;
  }

  .promo-mark svg {
    width: 46px;
    height: 46px;
  }

  .promo-copy {
    justify-items: center;
  }

  .promo-copy .eyebrow,
  .promo-copy h2,
  .promo-deadline,
  .promo-text {
    text-align: center;
  }

  .promo-button {
    min-width: 0;
    justify-self: center;
  }

  .section {
    padding: 60px 0;
  }

  .trust-strip {
    padding-bottom: 18px;
  }

  .situations-strip {
    padding: 8px 0 18px;
  }

  .promo-offer {
    padding: 2px 0 18px;
  }

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

  .lead-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .expert-card,
  .profile-hero {
    gap: 18px;
    padding: 18px;
  }

  .expert-content,
  .profile-copy {
    justify-items: center;
    text-align: center;
  }

  .expert-button,
  .profile-actions .button-primary {
    min-width: 0;
  }

  .profile-actions {
    width: 100%;
    justify-content: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    gap: 14px;
  }

  .case-top {
    flex-direction: column;
    gap: 14px;
  }

  .case-tag {
    width: fit-content;
    margin-bottom: 2px;
  }

  .case-amount {
    font-size: 1.1rem;
  }

  .case-meta {
    gap: 4px;
    font-size: 0.88rem;
  }

  .case-summary {
    line-height: 1.68;
  }

  .case-link {
    margin-top: 2px;
  }

  .hero-card-value {
    font-size: clamp(1.4rem, 5.5vw, 1.9rem);
  }

  .header-contact-label,
  .header-phone-full {
    display: none;
  }

  .header-phone-short {
    display: inline;
  }

  .header-phone {
    min-height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    display: block;
    width: 100%;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    text-align: center;
    transform: scaleX(0.95);
    transform-origin: center;
  }

  .nav-toggle-line {
    width: 12px;
    height: 2px;
    margin: 1.5px 0;
  }

  .nav-toggle-glyph {
    font-size: 24px;
    font-weight: 700;
  }

  .button-primary {
    width: 100%;
    min-height: 50px;
  }

  .cookie-popup {
    left: 14px;
    right: auto;
    bottom: 14px;
    width: min(calc(100% - 28px), 135px);
  }

  .cookie-popup__inner {
    gap: 8px;
    padding: 9px 10px 10px;
    border-radius: 14px;
    background: #ffffff;
  }

  .cookie-popup__text {
    font-size: 0.68rem;
    line-height: 1.32;
  }

  .cookie-popup__button {
    width: auto;
    min-width: 96px;
    min-height: 36px;
    padding: 0 16px;
    font-size: 0.92rem;
    justify-self: start;
  }

  .contact-list {
    gap: 10px;
  }

  .doc-main {
    padding: calc(var(--site-header-offset, 72px) + 22px) 0 44px;
  }

  .doc-card {
    padding: 22px 18px;
  }

  .doc-toc,
  .doc-company-grid {
    grid-template-columns: 1fr;
  }

  .doc-company-grid-wide {
    grid-column: auto;
  }

  .doc-toc a {
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 10px;
    padding: 16px 0;
  }

  .brand-logo {
    max-width: 204px;
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
  }

  .nav-toggle-glyph {
    font-size: 21px;
  }
}

@media (max-width: 340px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .brand-logo {
    max-width: 188px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-toggle-glyph {
    font-size: 19px;
  }
}

@media (max-width: 760px) {
  .modal {
    place-items: start center;
    padding: 12px;
  }

  .modal.modal--single-file {
    place-items: center;
  }

  .modal.modal--two-files {
    place-items: center;
  }

  .modal.doc-preview-modal--showcase,
  .modal:has(.modal-dialog-doc-preview) {
    place-items: center;
    align-content: center;
  }

  .modal-dialog-case {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 24px);
    padding: 16px 12px 12px;
    padding-right: 48px;
    border-radius: var(--radius-md);
  }

  .modal-dialog-case .modal-close {
    top: 8px;
    right: 10px;
    font-size: 1.9rem;
  }

  .modal-dialog-case .eyebrow {
    max-width: none;
    margin: 0 0 10px;
    font-size: 0.68rem;
    line-height: 1.3;
    letter-spacing: 0.09em;
  }

  .modal-dialog-case h3 {
    max-width: none;
    margin-bottom: 10px;
    font-size: clamp(1.34rem, 6.2vw, 1.72rem);
    line-height: 1.16;
  }

  #case-modal-summary {
    margin-bottom: 12px;
    font-size: 0.98rem;
    line-height: 1.52;
  }

  .case-modal-gallery {
    gap: 8px;
    margin-top: 10px;
  }

  .case-modal-gallery-link {
    min-height: 240px;
    padding: 8px;
    border-radius: 12px;
  }

  .case-modal-gallery-image {
    max-height: 224px;
  }

  .modal-dialog-case.modal-dialog-case--single-file {
    align-self: center;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .modal-dialog-case.modal-dialog-case--two-files {
    align-self: center;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .modal-dialog-case.modal-dialog-case--single-file .case-modal-gallery--single-file {
    height: auto;
    align-self: start;
    margin-bottom: 22px;
  }

  .modal-dialog-case.modal-dialog-case--two-files .case-modal-gallery--two-files {
    height: auto;
    align-self: start;
    margin-bottom: 22px;
  }

  .case-modal-gallery--single-centered .case-modal-gallery-link,
  .case-modal-gallery--single-file .case-modal-gallery-link {
    width: 100%;
    height: auto;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .case-modal-gallery--two-files .case-modal-gallery-link {
    height: auto;
  }

  .modal-dialog-doc-preview {
    max-height: calc(100dvh - 24px);
    padding: 50px 12px 12px;
  }

  .doc-preview-modal--showcase .modal-dialog-doc-preview {
    max-width: calc(100vw - 20px);
    padding: 50px 0 22px;
  }

  .doc-preview-modal--showcase .doc-preview-zoom-toggle {
    top: 6px;
  }

  .doc-preview-zoom-toggle {
    top: 10px;
    right: 52px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .doc-preview-zoom-toggle svg {
    width: 20px;
    height: 20px;
  }

  .doc-preview-viewport {
    padding: 0 44px;
    max-height: calc(100dvh - 156px);
  }

  .doc-preview-modal--showcase .doc-preview-stage {
    width: 100%;
    padding: 0 42px 22px;
  }

  .doc-preview-modal--showcase .doc-preview-viewport {
    width: 100%;
    padding: 0;
    max-height: calc(100dvh - 108px);
  }

  .doc-preview-viewport.is-zoomed {
    padding: 0 12px 0 10px;
  }

  .doc-preview-modal--showcase .doc-preview-viewport.is-zoomed {
    max-height: calc(100dvh - 108px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    touch-action: pan-y;
  }

  .doc-preview-nav {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }

  .doc-preview-nav--prev {
    left: 0;
  }

  .doc-preview-nav--next {
    right: 0;
  }

  .doc-preview-image {
    max-height: calc(100dvh - 210px);
    border-radius: 12px;
  }

  .doc-preview-modal--showcase .doc-preview-image {
    width: min(calc(100vw - 108px), 320px);
    max-width: 100%;
    max-height: calc(100dvh - 118px);
    border-radius: 0;
  }

  .doc-preview-image.is-zoomed {
    width: 100%;
  }

  .doc-preview-modal--showcase .doc-preview-image.is-zoomed {
    width: min(calc(100vw - 84px), 420px);
    max-width: 100%;
    max-height: none;
  }
}

@media (max-width: 1024px) {
  .cases-showcase-item {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 760px) {
  .cases-showcase {
    margin-bottom: 64px;
  }

  .cases-showcase-shell {
    padding: 6px 40px;
  }

  .cases-showcase-item {
    flex-basis: 100%;
  }

  .cases-showcase-link {
    padding: 14px;
    border-radius: var(--radius-lg);
  }

  .cases-showcase-paper {
    width: 100%;
    aspect-ratio: 1244 / 1759;
    padding: 0;
    border-radius: calc(var(--radius-lg) - 2px);
  }

  .cases-showcase-image {
    width: 100%;
    height: 100%;
  }

  
  .cases-showcase-nav {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .cases-intro {
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.58;
  }
}

@media (max-width: 420px) {
  .cases-showcase-shell {
    padding: 6px 24px;
  }

  .cases-showcase-nav {
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
  }

  .cases-showcase-paper {
    width: 100%;
    aspect-ratio: 1244 / 1759;
  }

  .cases-showcase-image {
    width: 100%;
    height: 100%;
  }
}

@media (min-width: 1280px) {
  :root {
    --container: 1360px;
  }

  .header-inner {
    gap: 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    gap: 34px;
  }
}


































/* DESIGN BASELINE: unified outer blocks and no section transitions */
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap");

:root {
  --site-block-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f1f5f9 100%);
  --site-block-border: 1px solid rgba(22, 33, 38, 0.12);
  --site-block-shadow: 0 16px 36px rgba(22, 33, 38, 0.08);
  --site-section-gap: 56px;
}

.section::before,
.section-muted::before {
  content: none !important;
}

.hero {
  padding-bottom: var(--site-section-gap);
}

@media (min-width: 761px) {
  main#top:not(.profile-main-redesign) > .hero:first-child {
    padding-top: 28px;
  }
}

.trust-strip,
.promo-offer,
.section,
.section-lead,
.section-quiz,
.experts-section,
.section-contact {
  padding-top: var(--site-section-gap) !important;
  padding-bottom: var(--site-section-gap) !important;
}

.promo-offer {
  padding-top: 0 !important;
}

.section-head,
.section-head.situations-head,
.section-cases .section-head-cases,
.section-head-team,
.reasons-hero {
  margin-bottom: 36px;
}

.promo-card,
.lead-copy,
.lead-form-card,
.quiz-layout,
.experts-stack,
.profile-info-card,
.doc-page,
.doc-article-card {
  border: var(--site-block-border);
  background: var(--site-block-surface);
  box-shadow: var(--site-block-shadow);
}

@media (max-width: 760px) {
  :root {
    --site-section-gap: 40px;
  }

  .section-head,
  .section-head.situations-head,
  .section-cases .section-head-cases,
  .section-head-team,
  .reasons-hero {
    margin-bottom: 28px;
  }
}


/* WHITE BACKGROUND RESET */
:root {
  --site-block-surface: #ffffff;
}

body,
.page-shell,
.trust-strip,
.promo-offer,
.section,
.section-muted,
.section-lead,
.section-quiz,
.experts-section,
.section-contact,
.section-cases {
  background: #ffffff !important;
}

.promo-card,
.lead-copy,
.lead-form-card,
.quiz-layout,
.experts-stack,
.profile-info-card,
.doc-page,
.doc-article-card {
  background: #ffffff !important;
}


/* VISUAL POLISH: stricter legal visual language */
.hero-card {
  grid-template-columns: 56px minmax(0, 1fr);
  justify-items: start;
  align-items: center;
  align-content: center;
  gap: 20px;
  min-height: 136px;
  padding: 24px 28px;
  text-align: left;
  box-shadow: 0 18px 34px rgba(15, 22, 28, 0.1);
}

.hero-card-icon {
  justify-self: center;
}

.hero-card-icon svg {
  width: 48px;
  height: 48px;
}

.hero-card-label {
  max-width: none;
  font-size: 1.03rem;
  line-height: 1.36;
  text-align: left;
}

.situations-strip > .container,
#nash-podkhod > .container {
  padding-right: 0;
  padding-left: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}

.situation-card,
.reason-card:not(.reason-card-accent) {
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.lead-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  padding: 0;
  list-style: none;
  counter-reset: lead-reason;
}

.lead-reasons li {
  position: relative;
  min-height: 100%;
  margin: 0;
  padding: 15px 16px 15px 54px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.035);
  counter-increment: lead-reason;
}

.lead-reasons li::before {
  content: counter(lead-reason);
  position: absolute;
  top: 15px;
  left: 16px;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--accent-dark);
  font-family: "Oswald", "Segoe UI", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  background: #e0f2fe;
}

.reason-card {
  position: relative;
  justify-items: start;
  text-align: left;
}

.reason-card h3,
.reason-card p {
  text-align: left;
}

.reason-icon {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 1.55rem;
}

.quiz-side-banner-icon svg {
  display: block;
  width: 27px;
  height: 27px;
  shape-rendering: geometricPrecision;
}

.quiz-side-banner-icon path {
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vector-effect: non-scaling-stroke;
}

.quiz-side-banner-icon {
  border: 1px solid rgba(14, 165, 233, 0.32);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.1) 0%, rgba(14, 165, 233, 0.04) 100%),
    rgba(15, 23, 42, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0;
}

.contact-card {
  border: 0;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.contact-list a,
.contact-list span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

/* CONTACTS REDESIGN */
.contact-card-redesign {
  align-items: start;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 8% 12%, rgba(14, 165, 233, 0.13) 0, rgba(14, 165, 233, 0) 30%),
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: var(--text);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
}

.contact-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  align-items: end;
  align-content: start;
  gap: 12px 28px;
  min-height: 0;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(35, 49, 58, 0.94) 100%);
  color: #ffffff;
}

.contact-intro .eyebrow {
  grid-column: 1;
  margin-bottom: 0;
  color: var(--accent);
}

.contact-intro h2 {
  grid-column: 1;
  margin: 0;
  max-width: 13ch;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.45vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.contact-card-redesign .contact-intro p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
  line-height: 1.7;
}

.contact-list-redesign {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(420px, 1.75fr);
  grid-template-areas:
    "phone email address"
    "hours note address";
  gap: 14px;
  align-items: start;
  align-content: start;
  padding: 0;
  color: #475569;
}

.contact-info-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.contact-list-redesign .contact-info-card:nth-of-type(1) {
  grid-area: phone;
}

.contact-list-redesign .contact-info-card:nth-of-type(2) {
  grid-area: email;
}

.contact-info-card--wide {
  grid-area: address;
  grid-column: auto;
}

.contact-info-card--hours {
  grid-area: hours;
  grid-column: auto;
  align-self: stretch;
  min-height: 100%;
}

.contact-info-card--note {
  grid-area: note;
  grid-column: auto;
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.035) 100%),
    #ffffff;
}

.contact-info-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--accent-dark);
  background: rgba(14, 165, 233, 0.1);
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-icon path {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.1rem;
  line-height: 1.25;
}

.contact-card-redesign .contact-info-card p,
.contact-legal {
  margin: 0;
  color: #475569;
  line-height: 1.58;
}

.contact-card-redesign .contact-info-card a {
  display: inline;
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 800;
  line-height: 1.3;
}

.contact-map-frame {
  overflow: hidden;
  height: 190px;
  margin-top: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  background: #e2e8f0;
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-legal {
  padding-top: 2px;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .contact-card-redesign {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    grid-template-columns: 1fr;
  }

  .contact-card-redesign .contact-intro p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-intro h2 {
    max-width: 18ch;
  }

  .contact-list-redesign {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "phone email"
      "address address"
      "hours note";
  }
}

@media (max-width: 760px) {
  .contact-card-redesign {
    gap: 14px;
    padding: 16px;
  }

  .contact-intro {
    padding: 24px 20px;
  }

  .contact-intro h2 {
    max-width: 14ch;
    font-size: clamp(1.45rem, 6vw, 1.95rem);
  }

  .contact-list-redesign {
    grid-template-columns: 1fr;
    grid-template-areas:
      "phone"
      "email"
      "address"
      "hours"
      "note";
  }

  .contact-info-card--wide,
  .contact-info-card--hours,
  .contact-info-card--note {
    grid-column: auto;
  }

  .contact-info-card {
    padding: 18px;
  }

  .contact-map-frame {
    height: 230px;
  }
}


/* BACKGROUND SYSTEM: soft page depth */
:root {
  --site-page-bg:
    linear-gradient(180deg, #ffffff 0%, #f7fafc 12%, #eef4f7 34%, #f8fafc 58%, #ffffff 100%);
  --site-section-bg: transparent;
}

body {
  background: #f7fafc !important;
}

.page-shell {
  background: var(--site-page-bg) !important;
}

.trust-strip,
.promo-offer,
.section,
.section-muted,
.section-lead,
.section-quiz,
.experts-section,
.section-contact,
.section-cases {
  background: var(--site-section-bg) !important;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
}

.promo-card,
.lead-copy,
.lead-form-card,
.quiz-layout,
.experts-stack,
.profile-info-card,
.doc-page,
.doc-article-card {
  background: rgba(255, 255, 255, 0.96) !important;
}


/* SECTION FLOW: alternating soft bands between content groups */
.situations-strip,
.section-quiz,
.experts-section,
.section-contact {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(232, 240, 244, 0.64) 18%,
      rgba(232, 240, 244, 0.64) 82%,
      rgba(255, 255, 255, 0) 100%
    ) !important;
}

.section-muted {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.56) 18%,
      rgba(255, 255, 255, 0.56) 82%,
      rgba(255, 255, 255, 0) 100%
    ) !important;
}

.promo-offer,
.section-lead,
.section-cases,
#nash-podkhod,
#pochemu-eto-rabotaet {
  background: transparent !important;
}

.situations-strip {
  margin-top: calc(var(--site-section-gap) * -0.28);
  padding-top: calc(var(--site-section-gap) * 1.18) !important;
}

.section-quiz,
.section-cases,
.experts-section {
  margin-top: calc(var(--site-section-gap) * -0.18);
}


/* CARD REDUCTION: keep item cards, remove section-as-card wrappers */
.section-cases > .container {
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}

.experts-stack {
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}

.experts-stack > .section-head-team {
  padding: 0 0 12px;
}

.expert-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.experts-divider {
  display: none;
}


/* HERO-PROMO FLOW: turn promo card into a transition strip */
.promo-offer {
  margin-top: calc(var(--site-section-gap) * -0.2);
  padding-top: 0 !important;
  padding-bottom: calc(var(--site-section-gap) * 0.78) !important;
}

.promo-card {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 28px;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(235, 244, 248, 0.78) 54%, rgba(255, 255, 255, 0.54) 100%) !important;
  box-shadow: none;
}

.promo-mark {
  width: 52px;
  height: 52px;
  align-self: center;
  color: var(--accent-dark);
}

.promo-mark svg {
  width: 38px;
  height: 38px;
}

.promo-copy {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 7px;
  align-items: center;
}

.promo-copy .eyebrow,
.promo-copy h2,
.promo-deadline,
.promo-text {
  grid-column: 1;
}

.promo-copy h2 {
  font-size: clamp(1.48rem, 2vw, 2.05rem);
}

.promo-deadline {
  font-size: clamp(1.22rem, 1.6vw, 1.58rem);
}

.promo-text {
  max-width: none;
}

.promo-button {
  grid-column: 2;
  grid-row: 1 / 5;
  align-self: center;
  justify-self: end;
  min-width: 218px;
  margin-top: 0;
}


/* CASES EVIDENCE FLOW: make court practice feel lighter on the new background */
.section-cases {
  padding-top: calc(var(--site-section-gap) * 0.92) !important;
  padding-bottom: calc(var(--site-section-gap) * 0.96) !important;
}

.section-cases .section-head-cases {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-cases .section-head-cases::after {
  content: "";
  display: block;
  width: 104px;
  height: 1px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0), rgba(14, 165, 233, 0.58), rgba(14, 165, 233, 0));
}

.cases-showcase {
  position: relative;
  margin-bottom: 46px;
}

.cases-showcase::before {
  content: "";
  position: absolute;
  inset: clamp(22px, 3.8vw, 46px) 3.5% 30px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 0%, rgba(14, 165, 233, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(236, 244, 248, 0.72) 100%);
  pointer-events: none;
}

.cases-showcase-shell {
  z-index: 1;
  padding: 18px 68px 8px;
}

.cases-showcase-track {
  gap: 22px;
}

.cases-showcase-item {
  flex-basis: calc((100% - 44px) / 3);
}

.cases-showcase-link {
  padding: 10px;
  border-color: rgba(15, 23, 42, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(3px);
}

.cases-showcase-link:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.cases-showcase-paper {
  border-color: rgba(15, 23, 42, 0.08);
  border-radius: 13px;
}

.cases-showcase-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.cases-showcase-nav:hover:not(:disabled) {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.13);
}

.cases-showcase-nav--prev {
  left: 10px;
}

.cases-showcase-nav--next {
  right: 10px;
}

.cases-showcase-dots {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}

.cases-showcase-dot {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.16);
}

.cases-showcase-dot.is-active {
  background: var(--accent-dark);
  transform: none;
}

.cases-intro {
  max-width: 680px;
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
  text-align: center;
}

.cases-grid {
  gap: 16px;
}

.case-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-color: rgba(15, 23, 42, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%) !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.case-card::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 2px;
  border-radius: 0;
  background: rgba(15, 23, 42, 0.42);
}

.case-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.case-tag {
  min-height: 52px;
  box-shadow: none;
}

.cases-toggle-pill {
  background: rgba(255, 255, 255, 0.72);
}

.cases-toggle-pill:hover {
  border-color: rgba(14, 165, 233, 0.62);
  background: rgba(255, 255, 255, 0.92);
}

.cases-inline-form {
  margin: 42px 0 0;
  padding: 26px 28px 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(236, 244, 248, 0.78) 100%);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.section-cases .cases-inline-form h3 {
  margin-bottom: 28px;
}

@media (max-width: 760px) {
  :root {
    --site-page-bg:
      linear-gradient(180deg, #ffffff 0%, #f8fafc 9%, #eef4f7 38%, #f8fafc 70%, #ffffff 100%);
  }

  .situations-strip,
  .section-quiz,
  .experts-section,
  .section-contact {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(232, 240, 244, 0.72) 14%,
        rgba(232, 240, 244, 0.72) 86%,
        rgba(255, 255, 255, 0) 100%
      ) !important;
  }

  .situations-strip,
  .section-quiz,
  .section-cases,
  .experts-section {
    margin-top: 0;
  }

  .section-cases > .container,
  .experts-stack {
    padding: 0;
  }

  .expert-card {
    min-height: 0;
    padding: 0;
  }

  .expert-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  }

  .expert-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-content: start;
    justify-items: stretch;
    padding: 22px 18px 20px;
    text-align: left;
  }

  .expert-main,
  .expert-aside {
    display: contents;
  }

  .expert-header {
    display: grid;
    gap: 12px;
    order: 1;
  }

  .expert-aside {
    align-content: start;
    justify-items: start;
    gap: 14px;
  }

  .expert-role {
    order: 2;
    white-space: normal;
  }

  .expert-summary {
    order: 3;
  }

  .expert-tags {
    order: 4;
  }

  .expert-link {
    order: 5;
  }

  .expert-role,
  .expert-link {
    justify-self: start;
  }

  .expert-link {
    width: 100%;
  }

  .expert-tags {
    gap: 7px;
  }

  .expert-tags li {
    font-size: 0.82rem;
  }

  .promo-offer {
    margin-top: 0;
    padding-bottom: var(--site-section-gap) !important;
  }

  .promo-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 16px;
    border-radius: var(--radius-md);
  }

  .promo-mark {
    width: 58px;
    height: 58px;
    justify-self: center;
  }

  .promo-copy {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    width: 100%;
    min-width: 0;
  }

  .promo-copy .eyebrow,
  .promo-copy h2,
  .promo-deadline,
  .promo-text,
  .promo-button {
    grid-column: 1;
  }

  .promo-button {
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
  }

  .promo-copy h2,
  .promo-deadline,
  .promo-text {
    width: min(100%, 28ch);
    max-width: 100%;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .section-cases {
    padding-top: var(--site-section-gap) !important;
    padding-bottom: var(--site-section-gap) !important;
  }

  .section-cases .section-head-cases {
    margin-bottom: 30px;
  }

  .section-cases .section-head-cases::after {
    margin-top: 18px;
  }

  .cases-showcase {
    margin-bottom: 38px;
  }

  .cases-showcase::before {
    inset: 14px 0 26px;
    border-radius: var(--radius-md);
  }

  .cases-showcase-shell {
    padding: 12px 34px 4px;
  }

  .cases-showcase-track {
    gap: 14px;
  }

  .cases-showcase-item {
    flex-basis: 100%;
  }

  .cases-showcase-link {
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  }

  .cases-showcase-nav {
    width: 34px;
    height: 34px;
  }

  .cases-showcase-nav--prev {
    left: 0;
  }

  .cases-showcase-nav--next {
    right: 0;
  }

  .cases-intro {
    margin-bottom: 24px;
  }

  .case-card {
    padding: 16px;
  }

  .case-card::before {
    top: 16px;
    bottom: 16px;
    width: 2px;
  }

  .cases-inline-form {
    margin-top: 32px;
    padding: 22px 16px;
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .hero-copy,
  .hero-panel,
  .hero-card,
  .promo-card,
  .situation-card,
  .lead-copy,
  .quiz-layout {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-copy h1,
  .hero-copy .hero-text,
  .hero-card-label,
  .promo-card h2,
  .promo-deadline,
  .situation-card h3,
  .situation-card p {
    overflow-wrap: anywhere;
  }

  .hero-title-break {
    display: block !important;
  }

  .hero-grid {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-copy h1 {
    font-size: clamp(1.7rem, 7.1vw, 2rem);
    max-width: 11.5ch;
  }

  .hero-copy .text-nowrap {
    display: block;
    white-space: nowrap;
  }

  .hero-copy .hero-text {
    max-width: 31ch;
  }

  .hero-card-label {
    max-width: 24ch;
  }

  .promo-card h2,
  .promo-deadline,
  .promo-text {
    max-width: 25ch;
    margin-right: auto;
    margin-left: auto;
  }

  .situation-card h3 {
    max-width: 22ch;
    margin-right: auto;
    margin-left: auto;
  }

  .situation-card p {
    max-width: 32ch;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-card {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
    padding: 14px 16px;
  }

  .hero-card-icon svg {
    width: 38px;
    height: 38px;
  }

  .lead-reasons {
    grid-template-columns: 1fr;
  }

  .lead-reasons li {
    padding: 14px 14px 14px 50px;
  }

  .lead-reasons li::before {
    top: 14px;
    left: 14px;
  }

}


/* LEAD REASONS LEGAL LIST: stricter document-like cards */
.lead-reasons {
  gap: 14px 16px;
}

.lead-reasons li {
  position: relative;
  overflow: hidden;
  padding: 20px 22px 20px 86px;
  border-color: rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.lead-reasons li::before {
  content: counter(lead-reason, decimal-leading-zero);
  top: 21px;
  left: 22px;
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: rgba(2, 132, 199, 0.78);
  font-family: "Oswald", "Segoe UI", Arial, sans-serif;
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.lead-reasons li::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 2px;
  border-radius: 0;
  background: rgba(15, 23, 42, 0.42);
}

.lead-reasons strong {
  color: #0f172a;
  font-weight: 800;
}

@media (min-width: 761px) {
  .lead-reasons li:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 16px) / 2);
  }
}

@media (max-width: 760px) {
  .lead-reasons {
    gap: 12px;
  }

  .lead-reasons li {
    padding: 16px 16px 16px 68px;
  }

  .lead-reasons li::before {
    top: 18px;
    left: 18px;
    font-size: 1.18rem;
  }

  .lead-reasons li::after {
    top: 16px;
    bottom: 16px;
  }
}


/* FAQ ACCORDION: strict spoiler block below "Our approach" */
.section-faq {
  padding-top: calc(var(--site-section-gap) * 0.72) !important;
  padding-bottom: calc(var(--site-section-gap) * 0.92) !important;
  background: transparent !important;
}

.section-faq .container {
  display: grid;
  gap: 26px;
}

.faq-head {
  max-width: 760px;
  margin-bottom: 0;
}

.faq-accordion {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  width: 100%;
}

.faq-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 2px;
  background: rgba(15, 23, 42, 0.42);
}

.faq-question {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 18px 22px 18px 26px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-item:not([open]) .faq-question {
  height: 112px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 50%;
  background: #ffffff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question-text {
  font-family: "Oswald", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.18rem, 1.1rem + 0.34vw, 1.44rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.24;
}

.faq-item[open] .faq-toggle {
  border-color: rgba(2, 132, 199, 0.28);
  background: rgba(14, 165, 233, 0.06);
}

.faq-item[open] .faq-toggle::after {
  opacity: 0;
}

.faq-answer {
  padding: 0 22px 22px 78px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.faq-answer p + p {
  margin-top: 10px;
}

.faq-answer strong {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 760px) {
  .section-faq {
    padding-top: var(--site-section-gap) !important;
    padding-bottom: var(--site-section-gap) !important;
  }

  .section-faq .container {
    gap: 20px;
  }

  .faq-accordion {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .faq-item::before {
    top: 16px;
    bottom: 16px;
  }

  .faq-question {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    min-height: 124px;
    padding: 16px 14px 16px 18px;
  }

  .faq-item:not([open]) .faq-question {
    height: 124px;
  }

  .faq-toggle {
    width: 30px;
    height: 30px;
    font-size: 1.08rem;
  }

  .faq-question-text {
    font-size: 1.08rem;
  }

  .faq-answer {
    padding: 0 16px 18px 62px;
  }

}


/* LAWYER PROFILE REDESIGN OVERRIDES */
.profile-main-redesign {
  padding: max(132px, calc(var(--site-header-offset) + 28px)) 0 76px;
}

@media (min-width: 761px) {
  main#top.profile-main-redesign {
    padding-top: max(132px, calc(var(--site-header-offset) + 28px));
  }
}

.lawyer-profile-shell {
  max-width: 1180px;
}

.lawyer-profile {
  display: grid;
  gap: 20px;
}

.lawyer-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.lawyer-hero-media {
  min-height: 430px;
  border-right: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(232, 226, 217, 0.85);
}

.lawyer-hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lawyer-hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.lawyer-hero-photo--voroncov {
  object-position: center 72%;
}

.lawyer-hero-content {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 42px 46px;
}

.lawyer-hero-content h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 4.2vw, 4.35rem);
  line-height: 0.98;
}

.lawyer-practice-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(232, 240, 244, 0.82);
  color: #23313a;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.lawyer-hero-lead {
  max-width: 720px;
  margin: 0;
  color: #34424a;
  font-size: 1.08rem;
  line-height: 1.68;
}

.lawyer-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.profile-info-card .lawyer-hero-facts {
  margin-left: 0;
  padding-left: 0;
}

.lawyer-hero-facts li {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(248, 250, 252, 0.92);
  color: #23313a;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.25;
}

.lawyer-hero-actions {
  margin-top: 8px;
}

@media (min-width: 981px) {
  .lawyer-hero-facts {
    max-width: 760px;
    width: 100%;
    transform: none;
    grid-auto-rows: 1fr;
  }

  .lawyer-hero-facts li {
    display: flex;
    align-items: center;
    min-height: 64px;
  }

  .lawyer-hero-actions {
    display: grid;
    grid-template-columns: minmax(260px, 386px);
    gap: 10px;
    align-items: center;
    justify-content: center;
    max-width: 760px;
    width: 100%;
  }

  .lawyer-hero-actions .button-primary {
    width: 100%;
    min-width: 0;
  }

  .lawyer-hero-actions .text-link {
    justify-self: start;
  }

  .lawyer-hero-actions .button-primary,
  .lawyer-hero-actions .text-link {
    min-height: 64px;
  }
}

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

.lawyer-stat-card {
  padding: 18px 18px 17px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.lawyer-stat-card span {
  display: block;
  margin-bottom: 8px;
  color: #1e3a8a;
  font-size: clamp(1.34rem, 2vw, 1.78rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.lawyer-stat-card p {
  margin: 0;
  color: #44535a;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.36;
}

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

.lawyer-text-card {
  position: relative;
  min-height: 235px;
  padding: 26px;
  overflow: hidden;
}

.lawyer-text-card::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 2px;
  background: rgba(15, 23, 42, 0.38);
}

.lawyer-text-card h2 {
  margin: 0 0 13px;
  font-size: clamp(1.28rem, 1.7vw, 1.65rem);
}

.lawyer-text-card p,
.lawyer-text-card li {
  color: #44535a;
  font-size: 0.98rem;
  line-height: 1.68;
}

.lawyer-text-card ul {
  margin: 0;
  padding-left: 20px;
}

.lawyer-text-card--wide {
  grid-column: 1 / -1;
  min-height: 0;
}

.lawyer-doc-section {
  display: grid;
  gap: 22px;
  padding: 30px;
}

.lawyer-section-head {
  display: grid;
  gap: 8px;
}

.lawyer-section-head h2 {
  margin: 0;
}

.lawyer-doc-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
}

.lawyer-doc-group {
  gap: 12px;
}

.lawyer-doc-group h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.25;
}

.lawyer-doc-panel {
  height: 100%;
  min-height: 230px;
  align-items: center;
  justify-items: center;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.94) 0%, rgba(232, 240, 244, 0.82) 100%);
}

.lawyer-doc-panel.profile-doc-panel-single {
  justify-items: center;
}

.lawyer-doc-panel .profile-doc-image {
  max-width: 135px;
}

.lawyer-doc-panel .profile-doc-image-diploma {
  max-width: min(100%, 260px);
}

.lawyer-doc-panel-certificates {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lawyer-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(232, 240, 244, 0.86) 100%) !important;
}

.lawyer-final-cta h2 {
  margin: 0 0 10px;
}

.lawyer-final-cta p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: #44535a;
  line-height: 1.64;
}

.lawyer-final-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.lawyer-hero-actions .text-link,
.lawyer-final-actions .text-link {
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  color: #1e3a8a;
  font-weight: 800;
  justify-content: center;
}

.lawyer-final-actions .text-link {
  color: #334155;
  font-weight: 600;
}

.lawyer-hero-actions .text-link:hover,
.lawyer-final-actions .text-link:hover {
  color: #0f172a;
  border-color: rgba(30, 58, 138, 0.32);
  background: #ffffff;
  transform: translateY(-1px);
}

@media (min-width: 981px) {
  .lawyer-final-cta {
    grid-template-columns: minmax(0, 1fr) minmax(430px, auto);
    align-items: end;
    column-gap: 34px;
  }

  .lawyer-final-actions {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(210px, auto);
    gap: 12px;
    align-items: end;
    align-self: end;
    justify-content: end;
    padding-bottom: 2px;
  }

  .lawyer-hero-actions .text-link,
  .lawyer-final-actions .button-primary,
  .lawyer-final-actions .text-link {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .lawyer-hero {
    grid-template-columns: 1fr;
  }

  .lawyer-hero-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  }

  .lawyer-stat-grid,
  .lawyer-content-grid,
  .lawyer-doc-grid,
  .lawyer-final-cta {
    grid-template-columns: 1fr;
  }

  .lawyer-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .profile-main-redesign {
    padding: 32px 0 46px;
  }

  .lawyer-profile {
    gap: 16px;
  }

  .lawyer-hero-content {
    padding: 22px 18px 20px;
  }

  .lawyer-hero-content h1 {
    font-size: clamp(2rem, 11vw, 2.72rem);
    line-height: 1.02;
  }

  .lawyer-hero-facts {
    grid-template-columns: 1fr;
  }

  .lawyer-stat-grid {
    gap: 10px;
  }

  .lawyer-text-card,
  .lawyer-doc-section,
  .lawyer-final-cta {
    padding: 20px 18px;
  }

  .lawyer-text-card {
    min-height: 0;
  }

  .lawyer-doc-panel {
    min-height: 0;
    padding: 16px;
  }

  .lawyer-doc-panel-certificates {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .lawyer-doc-panel .profile-doc-image {
    max-width: 90px;
  }

  .lawyer-doc-panel .profile-doc-image-diploma {
    max-width: min(100%, 220px);
  }

  .lawyer-final-actions,
  .lawyer-hero-actions {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .profile-main-redesign .container {
    width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
    padding-right: 0;
    padding-left: 0;
  }

  .lawyer-profile-shell,
  .lawyer-profile,
  .lawyer-hero,
  .lawyer-hero-content,
  .lawyer-stat-card,
  .lawyer-text-card,
  .lawyer-doc-section,
  .lawyer-final-cta {
    min-width: 0;
    max-width: 100%;
  }

  .lawyer-profile {
    overflow: hidden;
  }

  .lawyer-hero,
  .lawyer-stat-card,
  .lawyer-text-card,
  .lawyer-doc-section,
  .lawyer-final-cta {
    width: 100%;
  }

  .lawyer-profile * {
    max-width: 100%;
  }

  .lawyer-hero-actions,
  .lawyer-final-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: stretch;
  }

  .lawyer-hero-actions .button-primary,
  .lawyer-final-actions .button-primary {
    width: 100%;
    min-width: 0;
  }

  .lawyer-hero-actions .text-link,
  .lawyer-final-actions .text-link {
    justify-self: center;
    text-align: center;
    white-space: normal;
  }

  .lawyer-hero-facts li,
  .lawyer-stat-card p,
  .lawyer-stat-card span,
  .lawyer-text-card h2,
  .lawyer-text-card p,
  .lawyer-text-card li,
  .lawyer-section-head h2,
  .lawyer-doc-group h3,
  .lawyer-final-cta h2,
  .lawyer-final-cta p {
    overflow-wrap: break-word;
  }

  .profile-main-redesign .lawyer-hero-content > .eyebrow + h1 {
    display: block !important;
    justify-self: start;
    width: min(100%, 13ch) !important;
    max-width: none !important;
    font-size: clamp(1.56rem, 7.2vw, 1.92rem);
    line-height: 1.08;
    overflow-wrap: break-word;
    white-space: normal;
    text-wrap: balance;
  }

  .lawyer-hero-lead,
  .lawyer-practice-badge,
  .lawyer-hero-facts li,
  .lawyer-stat-card p,
  .lawyer-text-card p,
  .lawyer-text-card li,
  .lawyer-final-cta p:not(.eyebrow) {
    max-width: 31ch;
  }

  .lawyer-practice-badge,
  .lawyer-hero-facts li {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .lawyer-text-card h2,
  .lawyer-section-head h2,
  .lawyer-final-cta h2 {
    max-width: 22ch;
  }

  .lawyer-doc-panel-certificates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body:has(.profile-main-redesign) {
    overflow-x: hidden;
  }

  .profile-main-redesign .container {
    width: calc(100vw - 56px) !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .profile-main-redesign .lawyer-profile-shell {
    width: calc(100vw - 56px) !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .profile-main-redesign,
  .lawyer-profile-shell,
  .lawyer-profile,
  .lawyer-hero,
  .lawyer-hero-content,
  .lawyer-stat-grid,
  .lawyer-stat-card,
  .lawyer-content-grid,
  .lawyer-text-card,
  .lawyer-doc-section,
  .lawyer-final-cta,
  .lawyer-final-actions {
    width: 100% !important;
    min-width: 0;
    max-width: 100% !important;
  }

  .lawyer-hero-content,
  .lawyer-text-card,
  .lawyer-doc-section,
  .lawyer-final-cta {
    padding-right: 20px;
    padding-left: 20px;
    overflow: hidden;
  }

  .lawyer-hero-lead,
  .lawyer-hero-facts,
  .lawyer-hero-facts li,
  .lawyer-stat-card p,
  .lawyer-stat-card span,
  .lawyer-text-card h2,
  .lawyer-text-card p,
  .lawyer-text-card li,
  .lawyer-section-head h2,
  .lawyer-doc-group h3,
  .lawyer-final-cta h2,
  .lawyer-final-cta p:not(.eyebrow) {
    width: 100%;
    max-width: none;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .lawyer-hero-lead,
  .lawyer-text-card p,
  .lawyer-text-card li,
  .lawyer-final-cta p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.66;
  }

  .lawyer-practice-badge {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .lawyer-hero-facts {
    margin-left: 0;
    padding-left: 0;
  }

  .lawyer-hero-actions,
  .lawyer-final-actions {
    width: 100%;
    justify-items: stretch;
  }

  .lawyer-hero-actions .button-primary,
  .lawyer-hero-actions .text-link,
  .lawyer-final-actions .button-primary,
  .lawyer-final-actions .text-link {
    width: 100%;
    min-height: 58px;
    justify-self: stretch;
  }
}

/* LAWYER PROFILE MOBILE NORMALIZATION */
@media (max-width: 760px) {
  main#top.profile-main-redesign {
    padding: 32px 0 46px;
  }

  .profile-main-redesign .container,
  .profile-main-redesign .lawyer-profile-shell {
    width: auto !important;
    max-width: none !important;
    margin-right: 18px !important;
    margin-left: 18px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .profile-main-redesign .lawyer-profile,
  .profile-main-redesign .lawyer-hero,
  .profile-main-redesign .lawyer-hero-content,
  .profile-main-redesign .lawyer-stat-grid,
  .profile-main-redesign .lawyer-stat-card,
  .profile-main-redesign .lawyer-content-grid,
  .profile-main-redesign .lawyer-text-card,
  .profile-main-redesign .lawyer-doc-section,
  .profile-main-redesign .lawyer-final-cta {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .profile-main-redesign .lawyer-hero-content,
  .profile-main-redesign .lawyer-text-card,
  .profile-main-redesign .lawyer-doc-section,
  .profile-main-redesign .lawyer-final-cta {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .profile-main-redesign .lawyer-hero-content > *,
  .profile-main-redesign .lawyer-text-card > *,
  .profile-main-redesign .lawyer-final-cta > * {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .profile-main-redesign .lawyer-practice-badge,
  .profile-main-redesign .lawyer-hero-lead,
  .profile-main-redesign .lawyer-hero-facts,
  .profile-main-redesign .lawyer-hero-facts li,
  .profile-main-redesign .lawyer-stat-card p,
  .profile-main-redesign .lawyer-stat-card span,
  .profile-main-redesign .lawyer-text-card h2,
  .profile-main-redesign .lawyer-text-card p,
  .profile-main-redesign .lawyer-text-card li,
  .profile-main-redesign .lawyer-section-head h2,
  .profile-main-redesign .lawyer-doc-group h3,
  .profile-main-redesign .lawyer-final-cta h2,
  .profile-main-redesign .lawyer-final-cta p:not(.eyebrow) {
    width: 100%;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .profile-main-redesign .lawyer-hero-actions,
  .profile-main-redesign .lawyer-final-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 12px;
    justify-items: stretch !important;
  }

  .profile-main-redesign .lawyer-hero-actions .button-primary,
  .profile-main-redesign .lawyer-hero-actions .text-link,
  .profile-main-redesign .lawyer-final-actions .button-primary,
  .profile-main-redesign .lawyer-final-actions .text-link {
    display: inline-flex;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 58px;
    justify-self: stretch !important;
    text-align: center;
    box-sizing: border-box;
  }
}

/* LAWYER PROFILE HERO FACTS INFO LIST */
.profile-main-redesign .lawyer-hero-facts {
  gap: 12px 24px;
  align-items: start;
}

.profile-main-redesign .lawyer-hero-facts li {
  position: relative;
  display: block;
  min-height: 0 !important;
  padding: 0 0 0 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #23313a;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.36;
}

.profile-main-redesign .lawyer-hero-facts li::before {
  content: "";
  position: absolute;
  top: 0.46em;
  left: 0;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid rgba(30, 58, 138, 0.78);
  border-left: 2px solid rgba(30, 58, 138, 0.78);
  border-radius: 0;
  background: transparent;
  transform: rotate(-45deg);
}

@media (min-width: 981px) {
  .profile-main-redesign .lawyer-hero-facts {
    grid-auto-rows: auto;
    padding-top: 2px;
  }

  .profile-main-redesign .lawyer-hero-facts li {
    display: block;
    align-items: initial;
  }
}

@media (max-width: 760px) {
  .profile-main-redesign .lawyer-hero-facts {
    gap: 10px;
    padding-top: 2px;
  }

  .profile-main-redesign .lawyer-hero-facts li {
    max-width: 100% !important;
    padding-left: 16px !important;
    font-size: 0.96rem;
  }
}

/* FEEDBACK MODALS MOBILE VIEWPORT RULE */
@media (max-width: 760px) {
  #lead-modal {
    top: var(--app-viewport-offset-top, 0px);
    bottom: auto;
    height: var(--app-viewport-height, 100dvh);
    min-height: 0;
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    overflow-y: auto;
    place-items: start center;
    align-content: start;
    -webkit-overflow-scrolling: touch;
  }

  .modal:has(.modal-dialog-form) {
    top: var(--app-viewport-offset-top, 0px);
    bottom: auto;
    height: var(--app-viewport-height, 100dvh);
    min-height: 0;
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    overflow-y: auto;
    place-items: start center;
    align-content: start;
    -webkit-overflow-scrolling: touch;
  }

  #success-modal {
    top: 0;
    bottom: auto;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    place-items: center;
    align-content: center;
  }

  .modal:has(.modal-dialog-success) {
    top: 0;
    bottom: auto;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    place-items: center;
    align-content: center;
  }

  #lead-modal .modal-dialog-form {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    max-height: calc(var(--app-viewport-height, 100dvh) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scroll-padding: 18px 0 max(96px, env(safe-area-inset-bottom)) 0;
  }

  .modal:has(.modal-dialog-form) .modal-dialog-form {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    max-height: calc(var(--app-viewport-height, 100dvh) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scroll-padding: 18px 0 max(96px, env(safe-area-inset-bottom)) 0;
  }

  #success-modal .modal-dialog-success {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }

  .modal:has(.modal-dialog-success) .modal-dialog-success {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
}

/* MOBILE HEADER REDESIGN */
@media (max-width: 760px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
    transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, backdrop-filter 0.22s ease;
  }

  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.78);
    border-bottom-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(20px);
  }

  main#top {
    padding-top: var(--site-header-offset);
  }

  main#top.profile-main-redesign {
    padding-top: calc(var(--site-header-offset) + 20px);
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto 46px;
    gap: 8px;
    padding: 12px 0;
    transition: padding 0.22s ease, gap 0.22s ease;
  }

  .site-header.is-scrolled .header-inner {
    gap: 7px;
    padding: 8px 0;
  }

  .brand {
    align-self: center;
  }

  .brand-logo {
    max-width: 196px;
    transition: max-width 0.22s ease;
  }

  .site-header.is-scrolled .brand-logo {
    max-width: 176px;
  }

  .header-contact {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    width: auto;
    min-width: 0;
  }

  .header-contact-label,
  .header-phone-full {
    display: none;
  }

  .header-phone-short {
    display: inline;
  }

  .header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid rgba(14, 165, 233, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    transform: none;
    box-shadow: none;
    transition: min-height 0.22s ease, padding 0.22s ease, font-size 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  }

  .site-header.is-scrolled .header-phone {
    min-height: 34px;
    padding: 0 9px;
    border-color: rgba(14, 165, 233, 0.22);
    background: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
  }

  .nav-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    width: 46px;
    height: 46px;
    border-color: rgba(15, 23, 42, 0.16);
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: none;
    transition: width 0.22s ease, height 0.22s ease, border-color 0.2s ease, background 0.2s ease;
  }

  .site-header.is-scrolled .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.76);
  }

  .nav-toggle[aria-expanded="true"] {
    border-color: rgba(14, 165, 233, 0.36);
    background: #f8fafc;
  }

  .nav-toggle-glyph {
    position: relative;
    display: block;
    width: 18px;
    height: 14px;
    color: currentColor;
    font-size: 0;
    line-height: 0;
  }

  .nav-toggle-glyph::before,
  .nav-toggle-glyph::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, top 0.2s ease, box-shadow 0.2s ease;
  }

  .nav-toggle-glyph::before {
    top: 0;
    box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
  }

  .nav-toggle-glyph::after {
    top: 6px;
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-glyph::before {
    top: 6px;
    box-shadow: none;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-glyph::after {
    opacity: 1;
    transform: rotate(-45deg);
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
    gap: 0;
    text-align: left;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 12px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: left;
  }

  .site-nav > a:last-of-type {
    border-bottom: 0;
  }

  .site-nav-mobile-meta {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  .site-nav-phone {
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    font-size: 1rem;
    box-shadow: none;
  }
}

@media (max-width: 360px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto 42px;
    gap: 6px;
  }

  .brand-logo {
    max-width: 164px;
  }

  .site-header.is-scrolled .brand-logo {
    max-width: 148px;
  }

  .header-phone {
    min-height: 38px;
    padding: 0 7px;
    font-size: 0.7rem;
  }

  .site-header.is-scrolled .header-phone {
    min-height: 32px;
    padding: 0 6px;
    font-size: 0.64rem;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .site-header.is-scrolled .nav-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 760px) and (max-height: 620px) {
  #lead-modal,
  #success-modal,
  .modal:has(.modal-dialog-form),
  .modal:has(.modal-dialog-success) {
    place-items: start center;
    align-content: start;
  }
}

/* MAIN HERO MOBILE TYPOGRAPHY */
@media (max-width: 760px) {
  .hero-copy {
    padding: 18px !important;
  }

  .hero-copy .eyebrow {
    margin-bottom: 18px;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    line-height: 1.25;
  }

  .hero-copy h1 {
    max-width: 15ch;
    font-size: clamp(2rem, 7.2vw, 2.34rem);
    line-height: 1.08;
    letter-spacing: -0.024em;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: balance;
  }

  .hero-title-break {
    display: none !important;
  }

  .hero-copy .hero-text {
    width: 100%;
    max-width: 100%;
    margin-top: 18px;
    margin-bottom: 14px;
    color: rgba(244, 240, 233, 0.9);
    font-size: 0.96rem;
    line-height: 1.58;
    overflow-wrap: break-word;
    text-wrap: normal;
  }

  .hero-copy .hero-text-secondary {
    margin-top: 0;
    margin-bottom: 28px;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    max-width: 15ch;
    font-size: clamp(1.78rem, 8.4vw, 1.96rem);
  }

  .hero-copy .hero-text {
    width: 100%;
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.58;
  }
}

@media (max-width: 360px) {
  .hero-copy h1,
  .hero-copy .hero-text {
    overflow-wrap: anywhere;
  }

  .hero-copy .text-nowrap {
    white-space: normal;
  }
}

/* HERO TRUST PANEL REDESIGN */
.hero-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111820;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(13, 18, 23, 0.94) 0%, rgba(13, 18, 23, 0.86) 44%, rgba(13, 18, 23, 0.56) 100%),
    linear-gradient(180deg, rgba(13, 18, 23, 0.18) 0%, rgba(13, 18, 23, 0.56) 100%),
    url("Фото/preview-1200.jpg");
  background-size: cover;
  background-position: 58% center;
  background-repeat: no-repeat;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-panel {
  display: flex;
  align-self: stretch;
  padding: 0;
}

.hero-proof-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  min-height: 100%;
  padding: 34px 36px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  box-shadow: 0 20px 42px rgba(15, 22, 28, 0.1);
}

.hero-panel-head {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
}

.hero-panel-head .eyebrow {
  margin: 0 0 10px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

.hero-panel-head h2 {
  display: block;
  width: auto;
  max-width: none;
  color: #0f172a;
  font-size: clamp(1.45rem, 1.85vw, 1.92rem);
  line-height: 1.08;
}

.hero-panel-head h2::before {
  content: none !important;
}

.hero-proof-list {
  display: grid;
}

.hero-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 0;
  padding: 21px 0;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.hero-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--accent-dark);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero-card-icon svg {
  display: block;
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-card-copy {
  display: grid;
  gap: 6px;
}

.hero-card-label {
  max-width: none;
  color: #0f172a;
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.28;
  text-align: left;
}

.hero-card-text {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.48;
}

@media (min-width: 1025px) {
  .hero-copy {
    padding: 44px;
  }

  .hero-proof-panel {
    padding-top: 44px;
  }

  .hero-copy h1 {
    max-width: 18ch;
    font-size: clamp(2.1rem, 2.62vw, 2.9rem);
  }

  .hero-copy .hero-text {
    max-width: 48ch;
  }
}

@media (max-width: 1024px) {
  .hero-proof-panel {
    padding: 28px;
  }
}

@media (max-width: 760px) {
  .hero-panel {
    padding: 0 !important;
  }

  .hero-proof-panel {
    padding: 18px;
    border-radius: var(--radius-lg);
  }

  .hero-panel-head {
    padding-bottom: 18px;
  }

  .hero-panel-head h2 {
    font-size: 1.35rem;
  }

  .hero-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0;
  }

  .hero-card-icon {
    width: 22px;
    height: 22px;
    border-radius: 0;
  }

  .hero-card-icon svg {
    width: 19px;
    height: 19px;
  }

  .hero-card-label {
    font-size: 0.98rem;
  }

  .hero-card-text {
    font-size: 0.9rem;
    line-height: 1.46;
  }
}

/* HERO TEXT READABILITY */
.hero-lead-text {
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  width: min(100%, 50ch);
  max-width: 100%;
  margin: 26px 0 32px;
}

.hero-copy .hero-lead-text .hero-text {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px 16px 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  color: rgba(248, 244, 238, 0.88);
  font-size: clamp(1.02rem, 0.95vw, 1.08rem);
  font-weight: 400;
  letter-spacing: 0.004em;
  line-height: 1.62;
  overflow-wrap: break-word;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.18) 0%, rgba(226, 232, 240, 0.09) 100%),
    rgba(9, 14, 19, 0.5);
  backdrop-filter: blur(5px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 30px rgba(0, 0, 0, 0.24);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.38);
  text-wrap: pretty;
}

.hero-copy .hero-lead-text .hero-text + .hero-text {
  margin-top: 0;
}

.hero-copy .hero-lead-text .hero-text-secondary {
  margin-bottom: 0;
  color: rgba(248, 244, 238, 0.82);
}

@media (max-width: 760px) {
  .hero-copy {
    min-width: 0;
    overflow: hidden;
  }

  .hero-copy::before {
    inset: -10px;
    background-position: 58% center;
  }

  .hero-copy h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-lead-text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 10px;
    margin: 20px 0 28px;
  }

  .hero-copy .hero-lead-text .hero-text {
    min-width: 0;
    padding: 12px 13px 13px 14px;
    border-radius: 12px;
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .hero-copy .hero-lead-text .hero-text + .hero-text {
    margin-top: 14px;
  }
}
