:root {
  --color-ink: #05070b;
  --color-muted: #5d6670;
  --color-line: #dce5ea;
  --color-soft: #f5f9fb;
  --color-teal: #0f7fa5;
  --color-teal-dark: #086886;
  --color-success: #16845b;
  --color-success-dark: #0f6545;
  --color-success-soft: #eaf7f1;
  --color-orange: #f37622;
  --color-orange-soft: #fff0e7;
  --color-blue-soft: #eaf6fa;
  --color-white: #ffffff;
  --shadow: 0 24px 70px rgba(5, 7, 11, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--color-ink);
  color: var(--color-white);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 234, 0.85);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(5, 7, 11, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 84px;
}

.brand img {
  width: 184px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--color-muted);
  font-size: 15px;
}

.nav a {
  position: relative;
  padding-block: 8px;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  content: "";
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-contacts {
  display: grid;
  justify-items: end;
  gap: 3px;
  line-height: 1.1;
}

.phone {
  font-weight: 700;
  white-space: nowrap;
}

.phone-mobile,
.header-email {
  color: var(--color-teal-dark);
}

.header-email {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding: 10px 16px;
  color: var(--color-white);
  background: var(--color-teal);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-teal);
  box-shadow: 0 12px 28px rgba(15, 127, 165, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-small:hover,
.button-small:focus-visible {
  background: var(--color-teal-dark);
}

.button-secondary {
  color: var(--color-ink);
  background: var(--color-white);
  border-color: var(--color-line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--color-teal);
  box-shadow: 0 10px 24px rgba(5, 7, 11, 0.08);
}

.floating-messengers {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 90;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.floating-messenger {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  color: var(--color-white);
  box-shadow: 0 12px 28px rgba(5, 7, 11, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.floating-messenger:hover,
.floating-messenger:focus-visible {
  transform: translateX(-3px);
  box-shadow: 0 16px 34px rgba(5, 7, 11, 0.24);
}

.floating-messenger svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.floating-messenger span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.floating-max {
  background: #1c76ff;
}

.floating-telegram {
  background: #229ed9;
}

.floating-whatsapp {
  background: #25d366;
}

.section-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 52%, rgba(255, 255, 255, 0.62) 100%),
    url("assets/brand-bg.jpg") right bottom / 720px auto no-repeat,
    var(--color-white);
}

.hero {
  padding: 42px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 58px;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 710px;
  margin-bottom: 20px;
  color: #303943;
  font-size: 18px;
}

.country-strip {
  display: flex;
  width: 100%;
  max-width: 760px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.country-strip span {
  margin-right: 2px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 800;
}

.country-strip b {
  border: 1px solid rgba(15, 127, 165, 0.18);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(229, 245, 250, 0.82);
  color: var(--color-teal-dark);
  font-size: 14px;
  line-height: 1;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-badges span {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.8);
  color: #26323d;
  font-size: 14px;
  font-weight: 700;
}

.hero-badges span {
  border-color: rgba(22, 132, 91, 0.28);
  background: var(--color-success-soft);
  color: var(--color-success-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.legal-note {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.hero-panel {
  border: 1px solid rgba(220, 229, 234, 0.9);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-speed {
  margin-bottom: 22px;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 22px;
}

.hero-speed span,
.hero-speed strong,
.hero-speed p {
  display: block;
}

.hero-speed span {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-speed strong {
  margin-top: 4px;
  color: var(--color-success);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.08;
}

.hero-speed p {
  margin: 4px 0 0;
  color: #303943;
  font-size: 15px;
}

.hero-consultant {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  border-top: 1px solid var(--color-line);
  padding-top: 22px;
}

.hero-consultant img {
  width: 76px;
  height: 76px;
  border: 3px solid var(--color-white);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(5, 7, 11, 0.14);
}

.hero-consultant strong,
.hero-consultant span,
.hero-consultant a {
  display: block;
}

.hero-consultant strong {
  margin-bottom: 2px;
  font-size: 18px;
}

.hero-consultant span {
  color: var(--color-muted);
  font-size: 14px;
}

.hero-consultant a {
  width: fit-content;
  margin-top: 5px;
  color: var(--color-teal-dark);
  font-weight: 900;
}

.price-line {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.price-value {
  margin: 4px 0 2px;
  color: var(--color-success);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
}

.price-caption {
  margin-bottom: 22px;
  color: #303943;
  font-size: 16px;
}

.check-list,
.doc-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.doc-columns li {
  position: relative;
  padding-left: 28px;
}

.check-list li + li,
.doc-columns li + li {
  margin-top: 12px;
}

.check-list li::before,
.doc-columns li::before {
  position: absolute;
  top: 0.12em;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-success);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  content: "✓";
}

.trust-strip {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-soft);
}

.consultant-section {
  padding: 72px 0;
  background: var(--color-white);
}

.consultant-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.consultant-photo {
  position: relative;
}

.consultant-photo::before {
  position: absolute;
  inset: 24px -20px -18px 34px;
  z-index: 0;
  border-radius: var(--radius);
  background: var(--color-blue-soft);
  content: "";
}

.consultant-photo img {
  position: relative;
  z-index: 1;
  width: 330px;
  height: 330px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.consultant-copy {
  max-width: 760px;
}

.consultant-copy p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 19px;
}

.consultant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 18px;
}

.consultant-contacts {
  display: grid;
  gap: 8px;
  color: #2d3843;
  font-weight: 700;
}

.consultant-contacts a {
  color: var(--color-teal-dark);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-grid div {
  min-height: 132px;
  padding: 28px 26px;
  background: var(--color-white);
}

.trust-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-teal);
  font-size: 32px;
  line-height: 1;
}

.trust-grid div:nth-child(4) strong {
  color: var(--color-success);
}

.trust-grid span {
  color: var(--color-muted);
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 18px;
}

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

.form-card {
  min-height: 248px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--color-white);
}

.form-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.form-code {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  padding: 8px 12px;
  background: var(--color-blue-soft);
  color: var(--color-teal-dark);
  font-weight: 900;
}

.form-card:nth-child(3n) .form-code,
.form-card:nth-child(4n) .form-code {
  background: var(--color-orange-soft);
  color: #a84609;
}

.section-st1 {
  background:
    linear-gradient(90deg, rgba(245, 249, 251, 0.98), rgba(245, 249, 251, 0.9)),
    url("assets/brand-mark.png") right 9% center / 300px auto no-repeat;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 66px;
  align-items: center;
}

.split-grid p {
  color: var(--color-muted);
  font-size: 18px;
}

.accent-list {
  border-left: 5px solid var(--color-orange);
  padding: 28px 28px 28px 30px;
  background: var(--color-white);
  box-shadow: 0 18px 44px rgba(5, 7, 11, 0.08);
}

.section-price {
  color: var(--color-ink);
  background:
    linear-gradient(90deg, rgba(245, 249, 251, 0.98), rgba(255, 255, 255, 0.96)),
    var(--color-soft);
}

.section-price .eyebrow {
  color: var(--color-teal);
}

.section-price .section-heading p {
  color: var(--color-muted);
}

.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 58px;
  align-items: center;
}

.price-box {
  border: 1px solid rgba(22, 132, 91, 0.18);
  border-radius: var(--radius);
  padding: 32px;
  background:
    linear-gradient(145deg, rgba(229, 248, 239, 0.98), rgba(255, 255, 255, 0.94)),
    var(--color-white);
  box-shadow: var(--shadow);
}

.price-box span {
  color: var(--color-muted);
  font-weight: 700;
}

.price-box strong {
  display: block;
  margin: 8px 0 12px;
  color: var(--color-success);
  font-size: 58px;
  line-height: 1;
}

.price-box p {
  color: #303943;
}

.price-box .button {
  width: 100%;
}

.process-section {
  background: var(--color-white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  min-height: 250px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--color-white);
}

.process-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--color-orange);
  font-size: 28px;
  font-weight: 900;
}

.process-list p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 15px;
}

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

.documents-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.doc-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.doc-columns article {
  min-height: 406px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--color-white);
}

.doc-note {
  grid-column: 1 / -1;
  margin: 0;
  border-left: 5px solid var(--color-teal);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--color-blue-soft);
  color: #23414e;
  font-size: 16px;
}

.caution-section {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 54px 0;
}

.caution-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 52px;
  align-items: center;
}

.caution-grid h2 {
  margin-bottom: 0;
}

.caution-grid p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 19px;
}

.certificate-section {
  background: var(--color-white);
}

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

.certificate-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--color-white);
  box-shadow: 0 14px 38px rgba(5, 7, 11, 0.06);
}

.certificate-image {
  display: grid;
  height: 380px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-soft);
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certificate-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--color-blue-soft);
  color: var(--color-teal-dark);
  font-size: 14px;
  font-weight: 900;
}

.certificate-card h3 {
  margin-bottom: 0;
}

.certificate-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.verification-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 28px;
  border: 1px solid rgba(15, 127, 165, 0.18);
  border-radius: var(--radius);
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(229, 245, 250, 0.92), rgba(255, 255, 255, 0.96)),
    var(--color-white);
}

.verification-box h3 {
  margin-bottom: 8px;
}

.verification-box p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--color-muted);
}

.faq-section {
  background: var(--color-white);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-size: 19px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--color-muted);
}

.request-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78)),
    url("assets/brand-bg.jpg") right bottom / 760px auto no-repeat;
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 70px;
  align-items: start;
}

.request-grid > div > p {
  color: var(--color-muted);
  font-size: 18px;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  font-size: 20px;
  font-weight: 800;
}

.contact-lines a {
  width: fit-content;
  color: var(--color-teal-dark);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

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

.lead-form label > span {
  color: #26323d;
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #cbd8df;
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--color-white);
  color: var(--color-ink);
  outline: none;
}

.lead-form input[type="file"] {
  padding: 11px;
  cursor: pointer;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(15, 127, 165, 0.12);
}

.wide {
  grid-column: 1 / -1;
}

.file-field small {
  color: var(--color-muted);
  font-size: 13px;
}

.file-list {
  display: grid;
  gap: 8px;
  margin: -4px 0 0;
  padding: 0;
  list-style: none;
}

.file-list li {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 9px 12px;
  background: var(--color-soft);
  color: #2d3843;
  font-size: 14px;
}

.consent-group {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  column-gap: 12px;
  border: 1px solid rgba(15, 127, 165, 0.12);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(245, 249, 251, 0.72);
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.text-link,
.footer-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-teal-dark);
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

.text-link:hover,
.text-link:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--color-success-dark);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: var(--color-teal-dark);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 46px 0;
  color: var(--color-muted);
  background:
    linear-gradient(180deg, rgba(245, 249, 251, 0.98), rgba(255, 255, 255, 0.98)),
    var(--color-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.2fr 1.2fr;
  gap: 32px;
}

.footer-grid img {
  width: 176px;
  margin-bottom: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--color-white);
}

.footer-grid div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid strong {
  color: var(--color-ink);
}

.footer-grid span,
.footer-grid a,
.footer-grid p {
  margin: 0;
  color: var(--color-muted);
}

.footer-link {
  color: var(--color-muted);
  font-size: 16px;
  font-weight: 400;
  text-decoration-color: rgba(82, 94, 105, 0.48);
}

.legal-modal {
  width: min(760px, calc(100% - 28px));
  max-height: min(780px, calc(100dvh - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  color: var(--color-ink);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.legal-modal::backdrop {
  background: rgba(5, 7, 11, 0.52);
}

.modal-inner {
  position: relative;
  padding: 34px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.modal-content {
  max-height: 58dvh;
  overflow: auto;
  padding-right: 6px;
}

.modal-content h3 {
  margin-top: 24px;
}

.modal-content p {
  color: var(--color-muted);
}

.modal-content a {
  color: var(--color-teal-dark);
  font-weight: 800;
  text-decoration: underline;
}

.legal-page {
  background: var(--color-soft);
}

.legal-document {
  max-width: 920px;
  margin: 42px auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 42px;
  background: var(--color-white);
  box-shadow: 0 16px 44px rgba(5, 7, 11, 0.08);
}

.legal-document h1 {
  max-width: none;
  font-size: clamp(32px, 5vw, 54px);
}

.legal-document h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-document h3 {
  margin-top: 24px;
}

.legal-document p,
.legal-document li {
  color: var(--color-muted);
}

.legal-document a {
  color: var(--color-teal-dark);
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav {
    display: none;
  }

  .header-actions {
    justify-content: end;
  }

  .hero-grid,
  .consultant-grid,
  .split-grid,
  .price-grid,
  .documents-grid,
  .caution-grid,
  .request-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .consultant-grid,
  .split-grid,
  .price-grid,
  .documents-grid,
  .request-grid {
    gap: 40px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .consultant-photo img {
    width: 280px;
    height: 280px;
  }

  .trust-grid,
  .forms-grid,
  .certificate-grid,
  .process-list,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    gap: 12px;
  }

  .brand img {
    width: 142px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    justify-items: end;
    gap: 8px;
  }

  .header-contacts {
    justify-items: end;
  }

  .phone {
    font-size: 14px;
  }

  .header-email {
    font-size: 12px;
  }

  .button-small {
    min-height: 34px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 36px;
  }

  .section-band,
  .request-section {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.84)),
      url("assets/brand-bg.jpg") right bottom / 520px auto no-repeat,
      var(--color-white);
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

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

  .country-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }

  .country-strip::-webkit-scrollbar {
    display: none;
  }

  .country-strip span,
  .country-strip b {
    flex: 0 0 auto;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-panel,
  .price-box,
  .lead-form {
    padding: 22px;
  }

  .hero-consultant {
    grid-template-columns: 64px 1fr;
  }

  .hero-consultant img {
    width: 64px;
    height: 64px;
  }

  .consultant-section {
    padding: 54px 0;
  }

  .consultant-photo::before {
    inset: 18px -12px -12px 22px;
  }

  .consultant-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .price-value,
  .price-box strong {
    font-size: 44px;
  }

  .trust-grid,
  .forms-grid,
  .certificate-grid,
  .process-list,
  .doc-columns,
  .footer-grid,
  .lead-form,
  .verification-box {
    grid-template-columns: 1fr;
  }

  .trust-grid div,
  .form-card,
  .process-list li,
  .doc-columns article {
    min-height: auto;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .request-grid {
    gap: 34px;
  }

  .consultant-actions,
  .consultant-actions .button {
    width: 100%;
  }

  .floating-messengers {
    top: 50%;
    right: 10px;
    bottom: auto;
    grid-auto-flow: row;
    transform: translateY(-50%);
  }

  .floating-messenger {
    width: 42px;
    height: 42px;
  }

  .floating-messenger svg {
    width: 20px;
    height: 20px;
  }

  .floating-messenger span {
    font-size: 10px;
  }

  .certificate-image {
    height: 330px;
  }

  .verification-box .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .header-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-items: start;
  }

  .header-contacts {
    justify-items: start;
  }

  .phone {
    align-self: center;
  }

  h1 {
    font-size: 36px;
  }

  .hero-badges span {
    width: auto;
  }
}
