@font-face {
  font-family: "BebasNeueCyrillic";
  src: url("./BebasNeueCyrillic-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Interactive links and application dialogs */
.button-modal-trigger {
  appearance: none;
  cursor: pointer;
  font: inherit;
}

.trust-strip-link {
  display: block;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.trust-strip-link .trust-strip div {
  transition: transform 180ms ease, background-color 180ms ease;
}

.trust-strip-link:hover .trust-strip div {
  background: rgba(248, 248, 248, 0.16);
  transform: translateY(-2px);
}

.trust-strip-link:focus-visible {
  outline: 3px solid rgba(248, 248, 248, 0.92);
  outline-offset: 4px;
}

.task-card-interactive {
  cursor: pointer;
  transition: transform 180ms ease;
}

.task-card-interactive:hover {
  transform: translateY(-3px);
}

.task-card-interactive:focus-visible {
  outline: 3px solid var(--dark);
  outline-offset: 4px;
}

.task-card-dark.task-card-interactive:focus-visible,
.task-card-photo.task-card-interactive:focus-visible {
  outline-color: var(--light);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1;
  gap: 8px 20px;
  align-self: start;
}

.footer-legal a {
  color: rgba(47, 55, 64, 0.48);
  font-size: 13px;
  line-height: 1.35;
  text-underline-offset: 3px;
}

.footer-legal a:hover,
.footer-legal a:focus-visible,
.checkbox a:hover,
.checkbox a:focus-visible {
  color: var(--dark);
}

.site-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 28px;
  color: var(--light);
  background: var(--dark);
  box-shadow: 0 24px 80px rgba(20, 27, 32, 0.38);
}

.site-dialog:not([open]) {
  display: none;
}

.site-dialog::backdrop {
  background: rgba(20, 27, 32, 0.72);
  backdrop-filter: blur(5px);
}

.site-dialog__panel {
  position: relative;
  padding: clamp(28px, 5vw, 48px);
}

.site-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(248, 248, 248, 0.18);
  border-radius: 50%;
  color: var(--light);
  background: rgba(248, 248, 248, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 30px;
  line-height: 1;
}

.site-dialog__close:hover,
.site-dialog__close:focus-visible {
  background: rgba(248, 248, 248, 0.16);
}

.site-dialog__eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--dark);
  background: var(--light);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.site-dialog h2 {
  max-width: 490px;
  margin: 0;
  padding-right: 44px;
  font-family: "BebasNeueCyrillic", "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(2.45rem, 8vw, 4.4rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.site-dialog__lead {
  max-width: 460px;
  margin: 18px 0 0;
  color: rgba(248, 248, 248, 0.66);
  font-size: 16px;
  line-height: 1.45;
}

.dialog-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.dialog-form > label:not(.checkbox) {
  display: grid;
  gap: 8px;
  color: rgba(248, 248, 248, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.dialog-form input:not([type="checkbox"]),
.dialog-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(248, 248, 248, 0.12);
  border-radius: 18px;
  color: var(--light);
  background: rgba(248, 248, 248, 0.09);
  font: inherit;
  resize: vertical;
}

.dialog-form input:focus-visible,
.dialog-form textarea:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 2px;
}

.dialog-form__consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: rgba(248, 248, 248, 0.72);
  font-size: 13px;
  line-height: 1.4;
}

.dialog-form__consent a,
.contact-form .checkbox a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-copy {
  font-size: 0.6875rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.dialog-form .consent-copy {
  font-size: 0.55rem;
  line-height: 1.3;
}

.contact-form .consent-copy {
  font-size: 0.515625rem;
  line-height: 1.35;
}

.dialog-form .button {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.dialog-form__status {
  min-height: 20px;
  margin: 0;
  color: rgba(248, 248, 248, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.dialog-contact-options {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.dialog-contact-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 14px 18px;
  border-radius: 18px;
  color: var(--dark);
  background: var(--light);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.dialog-contact-options a:hover,
.dialog-contact-options a:focus-visible {
  background: #e3e7e3;
  transform: translateY(-2px);
}

.dialog-contact-options span {
  color: rgba(47, 55, 64, 0.58);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 600px) {
  .trust-strip-link {
    width: 100%;
  }

  .site-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 22px;
  }

  .site-dialog__panel {
    padding: 26px 20px 22px;
  }

  .site-dialog h2 {
    font-size: 2.55rem;
  }

  .dialog-contact-options a {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .dialog-contact-options span {
    text-align: left;
  }

  .footer-legal {
    grid-column: auto;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-strip-link .trust-strip div,
  .task-card-interactive,
  .dialog-contact-options a {
    transition: none;
  }
}

@media (min-width: 860px) {
  #reviews .client-reviews__heading {
    max-width: 980px;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }
}

@font-face {
  font-family: "BebasNeueCyrillic";
  src: url("./BebasNeueCyrillic-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --dark: #2f3740;
  --dark-2: #262e36;
  --dark-3: #38424c;
  --light: #f8f8f8;
  --soft: #eef0ed;
  --line-light: rgba(248, 248, 248, 0.14);
  --line-dark: rgba(47, 55, 64, 0.14);
  --text-soft: rgba(248, 248, 248, 0.72);
  --text-faint: rgba(248, 248, 248, 0.48);
  --text-dark-soft: rgba(47, 55, 64, 0.66);
  --accent: #b8c2b2;
  --shadow: 0 26px 80px rgba(20, 25, 30, 0.22);
  --max: 1160px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--light);
  background: var(--dark);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

main {
  background: var(--light);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 20px 20px auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: var(--space-md);
  max-width: var(--max);
  height: 48px;
  margin: 0 auto;
  padding: 0 8px 0 60px;
  color: var(--light);
  border-radius: 20px;
  background: rgba(248, 248, 248, 0.1);
  backdrop-filter: blur(3px);
  transition: background 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(47, 55, 64, 0.82);
}

.brand {
  display: block;
  min-width: 0;
  font-weight: 700;
  line-height: 1.1;
}

.brand span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
}

.brand small {
  display: none;
}

.nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

.nav a,
.header-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  border-radius: 30px;
  color: var(--light);
  background: transparent;
  font-size: 12px;
  font-weight: 400;
  transition: color 180ms ease, background 180ms ease;
}

.nav a:hover,
.header-action:hover {
  color: #a7a7a7;
}

.header-action {
  min-height: 36px;
  padding: 0 18px;
  color: var(--dark);
  background: var(--light);
  font-weight: 700;
}

.header-action:hover {
  color: var(--dark);
  background: rgba(248, 248, 248, 0.78);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  grid-template-rows: repeat(3, 2px);
  align-content: center;
  gap: 4px;
  place-items: center;
  border: 0;
  border-radius: 16px;
  background: rgba(248, 248, 248, 0.12);
  color: var(--light);
}

.menu-toggle span {
  display: block;
  width: 15px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 140ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.section,
.section-dark {
  position: relative;
  padding: 88px max(20px, calc((100vw - var(--max)) / 2));
}

.section {
  color: var(--dark);
  background: var(--light);
}

.section-dark {
  color: var(--light);
  background: var(--dark);
}

.hero {
  --preview-depth: 0px;
  min-height: 860px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding-top: 88px;
  padding-bottom: 54px;
  overflow: visible;
  isolation: isolate;
}

.hero-copy,
.hero-portrait,
.about-intro {
  position: relative;
}

.hero-copy {
  z-index: 2;
  max-width: 760px;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-location .eyebrow {
  max-width: calc(100% - 32px);
  margin-bottom: 0;
}

.location-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  margin: 0 0 20px;
  padding: 0 14px;
  border-radius: 30px;
  color: var(--dark);
  background: var(--light);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
}

.section .eyebrow {
  color: var(--light);
  background: var(--dark);
}

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

h1,
h2,
h3 {
  color: inherit;
  font-family: inherit;
  letter-spacing: 0;
}

h1 {
  display: grid;
  gap: 2px;
  max-width: 760px;
  margin: 0 0 24px;
  font-family: "BebasNeueCyrillic", "Manrope", "Segoe UI", sans-serif;
  font-size: 6.75rem;
  line-height: 0.93;
  font-weight: 700;
}

h1 span {
  display: block;
}

h2 {
  font-family: "BebasNeueCyrillic", "Manrope", "Segoe UI", sans-serif;
  max-width: 820px;
  margin-bottom: 28px;
  font-size: 5.125rem;
  line-height: 0.98;
  font-weight: 400;
  text-wrap: balance;
}

h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 700;
}

.hero-lead {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-contact-row {
  display: contents;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.mobile-break {
  display: none;
}

.button-click-icon {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-phone {
  display: none;
}

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

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: var(--dark);
  background: var(--light);
}

.button-primary:hover {
  background: rgba(248, 248, 248, 0.78);
}

.button-ghost {
  color: var(--light);
  border-color: rgba(248, 248, 248, 0.28);
}

.button-ghost:hover {
  background: rgba(248, 248, 248, 0.1);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 640px;
  margin: 36px 0 0;
}

.trust-strip div {
  min-width: 178px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(248, 248, 248, 0.1);
  backdrop-filter: blur(3px);
}

.trust-strip dt {
  margin-bottom: 4px;
  color: var(--light);
  font-size: 1.125rem;
  line-height: 1.1;
  font-weight: 700;
}

.trust-strip dd {
  margin: 0;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.3;
}

.hero-portrait {
  position: absolute;
  inset: 0 0 calc(-1 * var(--preview-depth)) 0;
  z-index: 0;
  min-height: 0;
  max-width: none;
  overflow: hidden;
  pointer-events: none;
}

.hero-portrait picture {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #d4ceca;
}

.hero-portrait picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(47, 55, 64, 0.46);
}

.hero-portrait img {
  position: absolute;
  top: 0;
  left: 15%;
  width: 112%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 30% 20%;
  filter: saturate(0.86) contrast(0.96);
}

.portrait-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
}

.portrait-note-mobile {
  display: none;
}

.portrait-write,
.portrait-messenger {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(248, 248, 248, 0.28);
  transition: transform 180ms ease, background 180ms ease;
}

.portrait-write {
  padding: 0 18px;
  border-radius: 24px;
  color: var(--light);
  background: rgba(248, 248, 248, 0.12);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 700;
}

.portrait-messenger {
  width: 48px;
  border-radius: 50%;
  color: var(--dark);
  background: var(--light);
}

.portrait-note a:hover {
  transform: translateY(-2px);
}

.portrait-max img {
  width: 22px;
  height: 22px;
}

.portrait-telegram svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--text-dark-soft);
  font-size: 18px;
  line-height: 1.35;
}

.section-dark .section-heading p:not(.eyebrow) {
  color: var(--text-soft);
}

.section-heading-wide {
  max-width: 980px;
}

#tasks-title {
  font-weight: 700;
}

#tasks {
  padding-top: 78px;
}

#tasks .section-heading {
  margin-bottom: 38px;
}

#tasks .tasks-annotation {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--text-dark-soft);
  font-size: 14px;
  line-height: 1.35;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(200px, auto);
  gap: 20px;
}

.tasks-disclaimer {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(47, 55, 64, 0.52);
  font-size: 11px;
  line-height: 1.4;
}

.task-card {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 30px;
  border: 0;
  border-radius: 20px;
  color: var(--dark);
  background: #ebeeeb;
}

.task-card:nth-child(1),
.task-card:nth-child(7) {
  grid-column: span 2;
}

.task-card span {
  color: rgba(47, 55, 64, 0.45);
  font-size: 14px;
  font-weight: 700;
}

.task-card h3 {
  margin-bottom: 11px;
}

.task-card .task-price {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 13px;
  border-radius: 8px;
  color: var(--dark);
  background: var(--dark);
  font-size: 24px;
  line-height: 1.1;
  white-space: nowrap;
}

.task-card-dark .task-price,
.task-card-photo .task-price {
  color: var(--dark);
  background: var(--light);
}

.task-card:not(.task-card-dark):not(.task-card-photo) .task-price {
  color: var(--light);
}

.task-card-photo .task-number {
  color: rgba(248, 248, 248, 0.55);
}

.task-note {
  color: rgba(248, 248, 248, 0.7);
  font-size: 12px;
  line-height: 1.3;
}

.task-card p {
  margin: 0;
  color: var(--text-dark-soft);
  font-size: 15px;
  line-height: 1.34;
}

.task-card-dark {
  color: var(--light);
  background: var(--dark);
}

.task-card-dark span {
  color: rgba(248, 248, 248, 0.48);
}

.task-card-dark p {
  color: var(--text-soft);
}

.task-card-photo {
  position: relative;
  overflow: hidden;
  color: var(--light);
  background: url("darya-fazulina-1200.jpg") center 28% / cover;
}

.task-card-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(47, 55, 64, 0.72);
}

.task-card-photo > * {
  position: relative;
}

.task-card-photo p {
  color: rgba(248, 248, 248, 0.78);
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.18fr);
  gap: 44px;
  align-items: stretch;
  padding-bottom: 44px;
}

.profile-copy {
  align-self: center;
  padding-block: 12px;
}

.profile-kicker {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  margin: 0 0 28px;
  padding: 0 34px;
  border-radius: 20px;
  color: var(--text-dark-soft);
  background: var(--soft);
  font-size: 12px;
  text-transform: uppercase;
}

.profile-copy h2 {
  margin-bottom: 32px;
  font-size: 5rem;
  font-weight: 700;
}

.profile-copy > p:not(.profile-kicker) {
  max-width: 660px;
  margin-bottom: 20px;
  color: var(--dark);
  font-size: 17px;
  line-height: 1.38;
}

.profile-panel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 20px;
  color: var(--light);
  background: var(--dark-2);
  isolation: isolate;
}

.profile-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(20, 27, 34, 0.44), rgba(56, 66, 76, 0.2));
}

.profile-stats {
  position: relative;
  z-index: 2;
  width: 58%;
  display: grid;
  gap: 40px;
  margin: 0;
  padding: 42px 36px 38px;
}

.profile-stats div {
  display: grid;
  gap: 4px;
}

.profile-stats dt {
  color: var(--light);
  font-size: 50px;
  line-height: 1;
  font-weight: 600;
}

.profile-stats dd {
  max-width: 440px;
  margin: 0;
  color: rgba(248, 248, 248, 0.5);
  font-size: 20px;
  line-height: 1.18;
  text-transform: uppercase;
}

.profile-panel > img {
  position: absolute;
  right: -3%;
  bottom: 0;
  z-index: 1;
  width: 61%;
  height: 96%;
  object-fit: contain;
  object-position: right bottom;
}

.profile-reviews {
  position: absolute;
  left: 36px;
  bottom: 34px;
  z-index: 3;
  width: 210px;
  display: grid;
  gap: 9px;
}

.profile-reviews h3 {
  margin: 0 0 5px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
}

.profile-reviews a {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(248, 248, 248, 0.28);
  border-radius: 22px;
  color: var(--dark);
  background: rgba(248, 248, 248, 0.9);
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, background-color 180ms ease;
}

.profile-reviews a:hover {
  transform: translateY(-2px);
  background: var(--light);
}

.profile-reviews a > img,
.profile-reviews a > svg {
  position: absolute;
  left: 14px;
  width: 24px;
  height: 24px;
}

.profile-reviews a > img {
  object-fit: contain;
}

.profile-reviews a > svg {
  fill: currentColor;
}

.profile-reviews .avito-icon {
  position: absolute;
  left: 14px;
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.profile-reviews .avito-icon img {
  width: auto;
  max-width: none;
  height: 24px;
}

.profile-reviews-desktop {
  position: static;
  display: none;
  margin-top: 30px;
  color: var(--dark);
}

.profile-reviews-desktop h3 {
  color: var(--dark);
}

.profile-reviews-desktop a {
  border-color: var(--dark);
  color: var(--light);
  background: var(--dark);
}

.profile-reviews-desktop a:hover {
  background: var(--dark-3);
}

.profile-reviews-desktop a > img {
  filter: invert(1);
}

.case-study {
  --case-muted: rgba(248, 248, 248, 0.42);
  --case-accent-dark: #74806f;
  color: var(--dark);
  background: var(--light);
  padding-top: 44px;
}

.case-heading {
  max-width: 980px;
  margin: 0 0 48px;
  text-align: left;
}

.case-badge {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  margin: 0 0 28px;
  padding: 0 24px;
  border-radius: 30px;
  color: var(--light);
  background: var(--dark);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.case-heading h2 {
  margin: 0;
  font-family: "BebasNeueCyrillic", "Arial Narrow", sans-serif;
  font-size: 5.125rem;
  line-height: 0.98;
  font-weight: 700;
  text-transform: uppercase;
}

.case-heading h2 span {
  color: var(--case-accent-dark);
  border-bottom: 8px solid color-mix(in srgb, var(--accent) 72%, transparent);
}

.case-heading > p:last-child {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--text-dark-soft);
  font-size: 18px;
  line-height: 1.4;
}

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

.case-card {
  min-height: 340px;
  padding: 38px 40px;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
}

.case-card h3 {
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 32px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
}

.case-card-bank {
  color: var(--light);
  border-color: transparent;
  background: var(--dark);
}

.case-card-broker {
  color: var(--dark);
  background: #ebeeeb;
}

.case-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--light);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.case-card-bank .case-icon {
  background: rgba(248, 248, 248, 0.18);
}

.case-card-broker .case-icon {
  background: var(--dark);
}

.case-price {
  display: block;
  margin-bottom: 30px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
}

.case-card-bank .case-price {
  color: var(--case-muted);
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

.case-card-broker .case-price {
  color: var(--dark);
}

.case-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-card li {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
}

.case-card-bank li {
  border-bottom: 1px solid var(--line-light);
  color: var(--text-soft);
}

.case-card-broker li {
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-dark-soft);
}

.case-card li:last-child {
  border-bottom: 0;
}

.case-saving {
  width: fit-content;
  margin: 36px 0 0 auto;
  padding: 14px 20px;
  border-radius: 20px;
  color: var(--dark);
  background: var(--accent);
  text-align: right;
  font-size: 18px;
  font-weight: 800;
}

.case-saving strong {
  font-size: 26px;
}

.case-more {
  width: fit-content;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 0 auto;
  padding: 0 24px;
  border: 1px solid var(--dark);
  border-radius: 24px;
  color: var(--light);
  background: var(--dark);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.case-more:hover {
  color: var(--dark);
  background: transparent;
}

.work-process {
  width: calc(100% - 48px);
  max-width: 1440px;
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
  align-items: start;
  gap: 72px;
  margin: 32px auto 48px;
  padding-top: 76px;
  padding-bottom: 76px;
  overflow: hidden;
  color: var(--light);
  border: 0;
  border-radius: 28px;
  background: var(--dark);
}

.work-process-heading {
  max-width: 480px;
  margin: 0;
}

.work-process-heading .eyebrow {
  color: var(--text-soft);
  background: rgba(248, 248, 248, 0.08);
}

.work-process-heading h2 {
  max-width: 480px;
  margin-bottom: 30px;
  color: var(--light);
  font-size: 5.125rem;
  line-height: 0.96;
  font-weight: 700;
  text-transform: uppercase;
}

.work-process-heading h2 span {
  color: var(--accent);
}

.work-process-heading > p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1.4;
}

.work-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-steps li {
  min-height: 82px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 18px;
  row-gap: 5px;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  background: transparent;
}

.work-steps li > span {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--text-faint);
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.work-steps li > span::after {
  content: " шаг";
}

.work-steps h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--light);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.work-steps p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.35;
}

.about {
  display: block;
}

.about-intro {
  max-width: 980px;
  margin-bottom: 48px;
}

.about-intro h2 {
  max-width: 980px;
  margin-bottom: 24px;
}

.about-intro h2 span {
  color: var(--accent);
}

.about-intro > p:not(.eyebrow) {
  max-width: 900px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.45;
}

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

.about-facts article {
  min-height: 250px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 28px 22px;
  border-radius: 20px;
  background: rgba(248, 248, 248, 0.1);
  text-align: center;
}

.about-facts article:last-child {
  border: 1px solid rgba(184, 194, 178, 0.42);
  background: rgba(184, 194, 178, 0.08);
}

.about-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--dark);
  background: var(--accent);
}

.about-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-facts h3 {
  margin: 0;
  color: var(--light);
  font-size: 22px;
}

.about-facts p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.4;
}

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

.benefit-list article {
  min-height: 248px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 30px;
  border-radius: 20px;
  background: #ebeeeb;
}

.benefit-list span {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 30px;
  color: var(--light);
  background: var(--dark);
  font-size: 12px;
  font-weight: 500;
}

.benefit-list h3 {
  margin: 0;
  max-width: 390px;
  font-size: 30px;
}

.benefit-list p {
  margin: 0;
  max-width: 560px;
  color: var(--text-dark-soft);
}

.check {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.72fr);
  gap: 40px;
  align-items: start;
}

.check-copy p:not(.eyebrow) {
  max-width: 590px;
  color: var(--text-soft);
  font-size: 18px;
}

.check-panel,
.contact-form {
  display: grid;
  gap: 12px;
  padding: 30px;
  border-radius: 20px;
  color: var(--dark);
  background: var(--light);
  box-shadow: var(--shadow);
}

.check-panel label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(47, 55, 64, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.check-panel input,
.check-panel select,
.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: 20px;
  color: var(--dark);
  background: #e8ebe8;
}

.check-result {
  min-height: 92px;
  padding: 18px 20px;
  border-radius: 20px;
  color: var(--light);
  background: var(--dark);
  font-weight: 700;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 20px;
  color: var(--dark);
  background: #ebeeeb;
}

.timeline span {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 30px;
  color: var(--light);
  background: var(--dark);
  font-size: 12px;
  font-weight: 500;
}

.timeline p {
  margin: 0;
  color: var(--text-dark-soft);
  font-size: 14px;
  line-height: 1.34;
}

.services {
  padding-bottom: 104px;
}

.tabs {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.tab-list {
  display: grid;
  align-content: start;
  gap: 12px;
}

.tab {
  min-height: 58px;
  padding: 0 22px;
  border: 0;
  border-radius: 20px;
  color: var(--light);
  background: rgba(248, 248, 248, 0.1);
  text-align: left;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.tab:hover {
  transform: translateY(-1px);
}

.tab.active {
  color: var(--dark);
  background: var(--light);
}

.tab-panel {
  display: none;
  min-height: 380px;
  padding: 40px;
  border-radius: 20px;
  color: var(--dark);
  background: var(--light);
}

.tab-panel.active {
  display: grid;
  align-content: start;
  gap: 30px;
}

.tab-panel h3 {
  max-width: 720px;
  margin: 0;
  font-size: 42px;
  line-height: 1.03;
}

.tab-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tab-panel li {
  min-height: 74px;
  padding: 18px 20px;
  border-radius: 20px;
  color: var(--text-dark-soft);
  background: #ebeeeb;
}

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

.proof-grid article {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  padding: 30px;
  border-radius: 20px;
  color: var(--light);
  background: var(--dark);
}

.proof-grid span {
  display: block;
  margin: 0;
  color: rgba(248, 248, 248, 0.5);
  font-weight: 700;
}

.proof-grid p {
  margin: 0;
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1.25;
}

.accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  overflow: hidden;
  background: var(--soft);
}

.faq-item button {
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  border: 0;
  background: transparent;
  color: var(--dark);
  text-align: left;
  font-size: 20px;
  font-weight: 700;
}

.faq-item button span {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(47, 55, 64, 0.1);
  position: relative;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 13px;
  height: 2px;
  background: var(--dark);
  transform: translate(-50%, -50%);
}

.faq-item button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

.faq-item.open button span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-item.open .faq-content {
  grid-template-rows: 1fr;
}

.faq-content p {
  overflow: hidden;
  margin: 0;
  padding: 0 28px;
  color: var(--text-dark-soft);
  font-size: 17px;
  line-height: 1.4;
}

.faq-item.open .faq-content p {
  padding-bottom: 26px;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.7fr);
  gap: 40px;
  align-items: start;
}

.contacts-copy p:not(.eyebrow) {
  max-width: 640px;
  color: var(--text-dark-soft);
  font-size: 18px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  font-style: normal;
}

.contact-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 30px;
  color: var(--light);
  background: var(--dark);
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.contact-links a:hover {
  color: var(--dark);
  background: #dfe3df;
}

.contact-form {
  color: var(--light);
  background: var(--dark);
}

.contact-form label {
  color: rgba(248, 248, 248, 0.62);
}

.contact-form input,
.contact-form select {
  color: var(--light);
  background: rgba(248, 248, 248, 0.1);
}

.contact-form option {
  color: var(--dark);
}

.checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 400;
}

.checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--light);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(248, 248, 248, 0.72);
  font-weight: 700;
}

.site-footer {
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 40px;
  align-items: start;
  padding: 32px max(20px, calc((100vw - var(--max)) / 2));
  color: var(--dark);
  background: var(--light);
}

.site-footer p {
  margin: 0;
  color: rgba(47, 55, 64, 0.48);
  font-size: 14px;
  line-height: 1.3;
}

.site-footer__identity {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__geography {
  max-width: 680px;
}

.site-footer p:first-child {
  color: var(--dark);
  font-family: "BebasNeueCyrillic", "Manrope", "Segoe UI", sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 0.95;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 700ms ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 120ms;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 761px) {
  .hero-copy {
    top: calc(-36px + 5vh);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    width: min(100%, 608px);
    gap: 9.6px;
  }

  .hero-actions .button-ghost {
    grid-column: 1 / span 4;
    grid-row: 1;
    width: 100%;
  }

  .hero-actions .button-primary {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .hero-contact-row {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: minmax(224px, 1fr) auto auto;
    gap: 9.6px;
    align-items: stretch;
    width: 100%;
    height: 57.6px;
    grid-template-rows: 57.6px;
  }

  .hero-actions .button-phone {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    color: var(--light);
    border-color: rgba(248, 248, 248, 0.28);
    background: rgba(248, 248, 248, 0.1);
    backdrop-filter: blur(6px);
    height: 57.6px;
    white-space: nowrap;
  }

  .hero-contact-row .button-phone svg {
    flex: 0 0 auto;
    width: 19.2px;
    height: 19.2px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .hero-contact-row .portrait-note-mobile {
    position: static;
    display: contents;
  }

  .hero-contact-row .portrait-messenger {
    width: auto;
    min-width: 96px;
    min-height: 57.6px;
    height: 57.6px;
    gap: 8px;
    padding-inline: 16px;
    border-radius: 28.8px;
    color: var(--light);
    background: rgba(248, 248, 248, 0.1);
    backdrop-filter: blur(6px);
    font-size: 0.8rem;
    font-weight: 700;
  }

  .hero-contact-row .portrait-messenger img,
  .hero-contact-row .portrait-messenger svg {
    width: 19.2px;
    height: 19.2px;
  }

  .hero-contact-row .portrait-messenger img {
    filter: invert(1);
  }

  .hero-actions .button {
    min-height: 57.6px;
    gap: 9.6px;
    padding: 0 26.4px;
    border-radius: 28.8px;
    font-size: 16.8px;
  }

  .button-click-icon {
    display: block;
    width: 19.2px;
    height: 19.2px;
  }
}

@media (min-width: 1101px) {
  .nav a,
  .header-action {
    font-size: 14.4px;
  }

  .profile-reviews-desktop {
    display: grid;
  }

  .profile-reviews-mobile {
    display: none;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding-left: 24px;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
  }

  .nav,
  .header-action {
    display: none;
  }

  .nav.is-open {
    position: fixed;
    inset: 74px 20px auto;
    display: grid;
    justify-content: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: 20px;
    background: var(--light);
    box-shadow: var(--shadow);
  }

  .nav.is-open a {
    justify-content: flex-start;
    min-height: 46px;
    color: var(--dark);
    font-size: 15px;
  }

  .nav.is-open a:focus-visible {
    outline-color: var(--dark);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 108px;
  }

  .hero-portrait {
    min-height: 0;
    max-width: none;
  }

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

  .work-process {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 44px;
    margin-block: 28px 40px;
    border-radius: 28px;
  }

  .work-steps {
    grid-template-columns: 1fr;
  }

  .task-card:nth-child(1),
  .task-card:nth-child(7) {
    grid-column: span 1;
  }

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

  .profile-copy {
    padding-block: 0;
  }

  .profile-panel {
    min-height: 760px;
  }

  .check,
  .contacts {
    grid-template-columns: 1fr;
  }

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

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

  .tab-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    inset: 10px 10px auto;
    height: 44px;
    padding: 0 6px 0 18px;
  }

  .brand span {
    font-size: 16px;
  }

  .nav.is-open {
    inset: 62px 10px auto;
  }

  .section,
  .section-dark {
    padding: 64px 10px;
  }

  #tasks {
    padding-top: 56px;
    padding-bottom: 32px;
  }

  #tasks .tasks-annotation {
    max-width: 340px;
    margin-top: 12px;
    font-size: 12px;
  }

  .profile {
    gap: 36px;
    padding-top: 29px;
    padding-bottom: 29px;
  }

  .profile-kicker {
    min-height: 30px;
    margin-bottom: 24px;
    padding-inline: 28px;
  }

  .profile-copy h2 {
    margin-bottom: 28px;
    font-size: 4.25rem;
  }

  .profile-copy > p:not(.profile-kicker) {
    font-size: 16px;
    line-height: 1.38;
  }

  .profile-panel {
    min-height: 850px;
    border-radius: 20px;
  }

  .profile-stats {
    width: 100%;
    gap: 34px;
    padding: 42px 26px;
  }

  .profile-stats dt {
    font-size: 44px;
  }

  .profile-stats dd {
    max-width: 355px;
    font-size: 18px;
  }

  .profile-panel > img {
    right: -10%;
    width: 105%;
    height: 55%;
  }

  .profile-reviews {
    left: 26px;
    top: 52%;
    bottom: auto;
    width: 158px;
    gap: 14px;
  }

  .profile-reviews h3 {
    margin-bottom: 4px;
    font-size: 19px;
  }

  .profile-reviews a {
    min-height: 40px;
    padding-inline: 9px;
    border-width: 2px;
    font-size: 13px;
    font-weight: 800;
  }

  .profile-reviews a > img,
  .profile-reviews a > svg {
    left: 10px;
    width: 20px;
    height: 20px;
  }

  .profile-reviews .avito-icon {
    left: 10px;
    width: 20px;
    height: 20px;
  }

  .profile-reviews .avito-icon img {
    height: 20px;
  }

  .case-study {
    padding-top: 29px;
    padding-bottom: 58px;
  }

  .case-heading {
    margin-bottom: 32px;
  }

  .case-badge {
    min-height: 30px;
    margin-bottom: 24px;
    padding-inline: 20px;
  }

  .case-heading h2 {
    max-width: 380px;
    font-size: 3.25rem;
    line-height: 0.98;
  }

  .case-heading h2 span {
    border-bottom-width: 6px;
  }

  .case-heading > p:last-child {
    max-width: 350px;
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.4;
  }

  .case-comparison {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-card {
    min-height: 0;
    padding: 28px 24px;
  }

  .case-card h3 {
    min-height: 0;
    margin-bottom: 26px;
    font-size: 14px;
  }

  .case-price {
    margin-bottom: 24px;
    font-size: 34px;
  }

  .case-card li {
    min-height: 46px;
    gap: 10px;
    font-size: 14px;
  }

  .case-saving {
    width: 100%;
    margin: 22px 0 0;
    padding: 14px 16px;
    text-align: left;
    font-size: 15px;
    line-height: 1.35;
  }

  .case-saving strong {
    font-size: 26px;
  }

  .case-more {
    min-height: 44px;
    padding-inline: 20px;
    font-size: 13px;
  }

  .work-process {
    width: calc(100% - 20px);
    display: block;
    margin: 20px auto 32px;
    padding: 48px 24px;
    border: 0;
    border-radius: 24px;
  }

  .work-process-heading {
    margin-bottom: 34px;
  }

  .work-process-heading h2 {
    max-width: 360px;
    margin-bottom: 18px;
    font-size: 3.25rem;
  }

  .work-process-heading > p:last-child {
    font-size: 15px;
  }

  .work-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .work-steps li {
    min-height: 84px;
    grid-template-columns: 66px minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: stretch;
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
    padding: 14px 0;
    border-radius: 0;
  }

  .work-steps li > span {
    grid-column: 1;
    grid-row: 1 / 3;
    width: auto;
    height: auto;
    font-size: 14px;
  }

  .work-steps h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: 14px;
    line-height: 1.2;
  }

  .work-steps p {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    font-size: 12px;
    line-height: 1.35;
  }

  .hero {
    --preview-depth: 0px;
    row-gap: 12px;
    padding-top: 92px;
    padding-bottom: 30px;
  }

  .hero-location {
    gap: 0;
  }

  .hero-location .location-icon {
    display: none;
  }

  .hero-location .eyebrow {
    max-width: 100%;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3.25rem;
  }

  h3 {
    font-size: 22px;
  }

  .hero-lead,
  .about-intro > p:not(.eyebrow),
  .section-heading p:not(.eyebrow),
  .check-copy p:not(.eyebrow),
  .contacts-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-lead {
    width: min(54%, 240px);
    max-width: 240px;
    margin-right: auto;
    font-size: 14px;
  }

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

  .hero-actions {
    width: min(100%, 420px);
    align-items: start;
  }

  .hero-actions .button-primary {
    order: 2;
    min-height: 48px;
    gap: 8px;
    padding: 0 12px;
    font-size: 14.3px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }

  .hero-actions .button-phone {
    order: 0;
    min-height: 48px;
    display: inline-flex;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    gap: 5px;
    padding-inline: 8px;
    color: var(--light);
    border-color: rgba(248, 248, 248, 0.24);
    background: rgba(248, 248, 248, 0.1);
    backdrop-filter: blur(6px);
    font-size: 0.8rem;
    line-height: 1;
    white-space: nowrap;
  }

  .hero-contact-row {
    order: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  .button-phone svg {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .hero-actions .button-ghost {
    order: 1;
    width: 120px;
  }

  .trust-strip,
  .task-grid,
  .about-facts,
  .benefit-list,
  .timeline,
  .proof-grid,
  .tab-panel ul,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: none;
  }

  .trust-strip div {
    min-width: 0;
    min-height: 72px;
    padding: 12px 10px;
    border-radius: 16px;
  }

  .trust-strip dt {
    font-size: 16px;
  }

  .trust-strip dd {
    font-size: 10px;
  }

  .about-intro {
    margin-bottom: 32px;
  }

  .about-intro h2 {
    margin-bottom: 18px;
  }

  .about-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .about-facts article {
    min-height: 190px;
    gap: 14px;
    padding: 20px 14px;
  }

  .about-icon {
    width: 52px;
    height: 52px;
  }

  .about-facts h3 {
    font-size: 19px;
  }

  .about-facts p {
    font-size: 12px;
  }

  .hero-portrait img {
    top: -16px;
    left: 0;
    width: 132%;
    height: calc(100% + 16px);
    object-position: 30% 16%;
  }

  .hero-portrait picture::after {
    background: rgba(47, 55, 64, 0.54);
  }

  .portrait-note {
    position: relative;
    right: auto;
    bottom: auto;
    order: 0;
    width: auto;
    margin-top: 0;
    justify-self: start;
  }

  .portrait-note-desktop {
    display: none;
  }

  .portrait-note-mobile {
    display: flex;
    flex: 0 0 auto;
  }

  .task-card,
  .benefit-list article,
  .timeline li,
  .proof-grid article,
  .check-panel,
  .contact-form {
    padding: 22px;
  }

  .task-card,
  .timeline li,
  .proof-grid article {
    min-height: 190px;
  }

  .tab-list {
    grid-template-columns: 1fr 1fr;
  }

  .tab {
    min-height: 52px;
    padding: 0 16px;
    font-size: 13px;
  }

  .tab-panel {
    min-height: auto;
    padding: 24px;
  }

  .tab-panel h3 {
    font-size: 30px;
  }

  .faq-item button {
    min-height: 68px;
    padding: 0 20px;
    font-size: 17px;
  }

  .faq-content p {
    padding-inline: 20px;
    font-size: 15px;
  }

  .site-footer {
    min-height: 260px;
    padding: 28px 20px;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    width: 100%;
  }

  .hero-actions .button-primary {
    padding-inline: 12px;
    font-size: 13.2px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .profile-copy h2 {
    font-size: 3.8rem;
  }

  .profile-panel {
    min-height: 800px;
  }

  .profile-stats {
    gap: 30px;
    padding: 34px 22px;
  }

  .profile-stats dt {
    font-size: 40px;
  }

  .profile-stats dd {
    max-width: 320px;
    font-size: 16px;
  }

  .profile-reviews {
    left: 22px;
    width: 152px;
  }

  .about-facts {
    gap: 8px;
  }

  .about-facts article {
    min-height: 168px;
    gap: 12px;
    padding: 16px 10px;
  }

  .about-icon {
    width: 48px;
    height: 48px;
  }

  .about-icon svg {
    width: 24px;
    height: 24px;
  }

  .about-facts h3 {
    font-size: 17px;
  }

  .about-facts p {
    font-size: 11px;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

}

/* Final responsive refinements */
.portrait-messenger {
  width: auto;
  padding: 0 14px;
  gap: 8px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(248, 248, 248, 0.42);
  color: var(--light);
  background: rgba(248, 248, 248, 0.08);
  backdrop-filter: blur(6px);
}

.portrait-messenger span {
  white-space: nowrap;
}

.portrait-max {
  min-width: 88px;
}

.portrait-telegram {
  min-width: 124px;
}

.portrait-max img {
  filter: invert(1);
}

.portrait-telegram svg {
  fill: currentColor;
}

.portrait-messenger:hover,
.portrait-messenger:focus-visible {
  background: rgba(248, 248, 248, 0.16);
}

.profile-reviews .avito-icon {
  width: 29px;
  height: 24px;
}

.profile-reviews .avito-icon img {
  height: 24px;
}

.contact-links .contact-messenger {
  gap: 8px;
}

.contact-messenger img,
.contact-messenger svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.contact-messenger img {
  filter: invert(1);
}

.contact-messenger svg {
  fill: currentColor;
}

.contact-messenger:hover img,
.contact-messenger:focus-visible img {
  filter: none;
}

#faq,
#contacts {
  padding-top: 48px;
  padding-bottom: 48px;
}

#faq-title,
#contacts-title {
  font-weight: 700;
}

.contacts-divider {
  margin: 20px 0 0;
  color: var(--text-dark-soft);
  font-size: 15px;
  font-weight: 700;
}

@media (min-width: 761px) {
  #tasks .task-card > p {
    font-size: 13.5px;
  }
}

@media (max-width: 760px) {
  .trust-strip div {
    min-height: 76px;
    padding: 10px 8px;
  }

  .trust-strip dt {
    font-size: 18px;
  }

  .trust-strip dd {
    font-size: 10px;
  }

  .portrait-note {
    gap: 6px;
  }

  .portrait-messenger {
    min-height: 48px;
    padding: 0 10px;
    font-size: 12px;
  }

  .portrait-max {
    min-width: 82px;
  }

  .portrait-telegram {
    min-width: 116px;
  }

  .hero-contact-row .portrait-messenger {
    min-height: 48px;
    gap: 5px;
    padding-inline: 6px;
    font-size: 10.5px;
  }

  .hero-contact-row .portrait-messenger img,
  .hero-contact-row .portrait-messenger svg {
    width: 18px;
    height: 18px;
  }

  .hero-contact-row .portrait-max {
    min-width: 64px;
  }

  .hero-contact-row .portrait-telegram {
    min-width: 92px;
  }

  .profile-reviews .avito-icon {
    width: 25px;
    height: 22px;
  }

  .profile-reviews .avito-icon img {
    height: 22px;
  }

  #faq,
  #contacts {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .contacts-divider {
    margin-top: 16px;
    text-align: left;
    font-size: 14px;
  }

  #tasks .tasks-annotation {
    font-size: 18px;
  }

  #tasks {
    padding-bottom: 16px;
  }

  #profile {
    padding-top: 16px;
  }
}

@media (max-width: 360px) {
  .hero-contact-row .button-phone svg {
    display: none;
  }

  .hero-contact-row .button-phone {
    padding-inline: 6px;
    font-size: 0.6rem;
  }

  .hero-contact-row .portrait-telegram {
    min-width: 88px;
  }
}
