:root {
  --bg: #f5f5f5;
  --text: #09080d;
  --muted: rgba(9, 8, 13, 0.52);
  --card: #ffffff;
  --red: #e60707;
  --dark: #09080d;
  --white: #ffffff;
  --hero-scale: 1;
}

@property --card-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --card-border-alpha {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, Arial, sans-serif;
  letter-spacing: 0;
}

#custom-cursor {
  display: none;
}

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

button {
  color: inherit;
  font: inherit;
}

@media (pointer: fine) {
  body {
    cursor: none;
  }

  body:has(a:hover, button:hover, [role="button"]:hover, summary:hover) {
    cursor: pointer;
  }

  body:has(input:hover, textarea:hover) {
    cursor: text;
  }

  a,
  button,
  [role="button"],
  summary {
    cursor: pointer;
  }

  input,
  textarea {
    cursor: text;
  }

  select,
  label {
    cursor: pointer;
  }

  #custom-cursor {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #e60707;
    box-shadow: 0 0 18px rgba(230, 7, 7, 0.38);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0) scale(1);
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    will-change: left, top, transform;
  }

  #custom-cursor.is-visible {
    opacity: 1;
  }

  #custom-cursor.is-clicking {
    box-shadow: 0 0 22px rgba(249, 17, 17, 0.36);
    opacity: 0.36;
    transform: translate3d(-50%, -50%, 0) scale(1.8);
  }

  #custom-cursor.is-native {
    opacity: 1;
  }

  body.map-cursor-active #custom-cursor {
    opacity: 0;
  }
}

body.quiz-modal-open {
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 20px;
  left: 50%;
  display: flex;
  align-items: center;
  width: min(1300px, calc(100% - 40px));
  height: 62px;
  padding: 10px 10px 10px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition: background 0.25s ease, color 0.25s ease;
}

.logo {
  display: flex;
  flex: 0 0 168px;
  align-items: center;
}

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

.logo .logo-dark {
  display: none;
}

.top-nav {
  display: flex;
  flex: 0 0 492px;
  gap: 24px;
  width: 492px;
  margin-left: 99px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.header-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-left: auto;
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.soc_links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.soc_links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, transform 0.2s ease;
}

.soc_links a:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.soc_links img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.soc_links + .header-contact {
  margin-left: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.01em;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.site-header .btn {
  flex: 0 0 215px;
  width: 215px;
  margin-left: 31px;
  white-space: nowrap;
}

.header-cta {
  min-width: 215px;
}

.site-header.is-past-hero {
  background: rgba(9, 8, 13, 0.1);
  color: var(--text);
}

.site-header.is-past-hero .top-nav,
.site-header.is-past-hero .header-contact {
  color: var(--text);
}

.site-header.is-past-hero .soc_links a {
  background: rgba(9, 8, 13, 0.08);
}

.site-header.is-past-hero .soc_links a:hover {
  background: rgba(9, 8, 13, 0.14);
}

.site-header.is-past-hero .menu-toggle {
  color: var(--text);
}

.site-header.is-past-hero .logo-white {
  display: none;
}

.site-header.is-past-hero .logo-dark {
  display: block;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 847px;
  isolation: isolate;
  background: #111;
}

.hero::after {
  content: none;
}

.hero-media {
  position: absolute;
  inset: -18px;
  z-index: 0;
  overflow: hidden;
  transform-origin: center center;
}

.hero-photo,
.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 66%;
  filter: brightness(1.27);
  transition: opacity 0.8s ease;
}

.hero-photo {
  z-index: 1;
  opacity: 1;
}

.hero-video {
  z-index: 2;
  opacity: 0;
}

.hero-media.is-video-ready .hero-photo {
  opacity: 0;
}

.hero-media.is-video-ready .hero-video {
  opacity: 1;
}

.headlight,
.light-beam {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.hero.is-video-loaded .headlight,
.hero.is-video-loaded .light-beam {
  display: none;
}

.headlight {
  width: clamp(108px, 9.6vw, 142px);
  height: clamp(28px, 3vw, 42px);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 28% 50%, rgba(238, 252, 255, 0.9) 0%, rgba(91, 185, 255, 0.62) 14%, rgba(0, 70, 216, 0.22) 34%, transparent 56%),
    radial-gradient(ellipse at 66% 50%, rgba(238, 252, 255, 0.86) 0%, rgba(76, 176, 255, 0.58) 14%, rgba(0, 58, 196, 0.2) 34%, transparent 56%),
    linear-gradient(90deg, transparent 4%, rgba(214, 246, 255, 0.18) 12%, rgba(29, 128, 255, 0.28) 50%, rgba(214, 246, 255, 0.16) 88%, transparent 96%);
  filter: blur(2.8px) saturate(1.28);
  mix-blend-mode: screen;
  opacity: 0;
  overflow: visible;
  animation: headlightPulse 4.2s ease-in-out infinite;
}

.headlight::before,
.headlight::after {
  content: "";
  position: absolute;
}

.headlight::before {
  top: 46%;
  left: 9%;
  width: 82%;
  height: 16%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(235, 252, 255, 0.88) 16%, rgba(160, 225, 255, 0.96) 34%, rgba(0, 102, 255, 0.72) 55%, rgba(210, 246, 255, 0.8) 78%, transparent 100%);
  box-shadow: 0 0 10px rgba(116, 204, 255, 0.68), 0 0 22px rgba(0, 76, 232, 0.46);
  transform: translateY(-50%);
}

.headlight::after {
  inset: -72% -30%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(28, 122, 255, 0.24), rgba(0, 42, 156, 0.14) 38%, transparent 72%);
  filter: blur(14px);
  z-index: -1;
}

.headlight-left {
  left: 26.4%;
  top: 55%;
  transform: rotate(1deg);
}

.headlight-right {
  left: 52.8%;
  top: 55.1%;
  transform: rotate(-1deg);
  animation-delay: 0.18s;
}

.light-beam {
  width: clamp(170px, 19vw, 286px);
  height: clamp(70px, 8.2vw, 124px);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 18% 52%, rgba(88, 184, 255, 0.3), rgba(0, 72, 220, 0.16) 36%, rgba(0, 18, 132, 0.08) 58%, transparent 78%),
    linear-gradient(90deg, rgba(0, 42, 156, 0.12), transparent 62%);
  filter: blur(25px) saturate(1.28);
  mix-blend-mode: screen;
  opacity: 0;
  transform-origin: left center;
  animation: beamPulse 4.2s ease-in-out infinite;
}

.beam-left {
  left: 25.9%;
  top: 54.2%;
  transform: rotate(2deg);
}

.beam-right {
  left: 52.2%;
  top: 54.3%;
  transform: rotate(-2deg);
  animation-delay: 0.18s;
}

.hero-copy {
  position: absolute;
  z-index: 4;
  left: max(20px, calc(50% - 650px));
  bottom: 117px;
  width: 593px;
  color: var(--white);
  font-family: Manrope, Arial, sans-serif;
  text-shadow: none;
}

.hero-copy p {
  width: 414px;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0;
  font-variation-settings: "wght" 400;
}

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

.hero-copy h1 {
  margin: 0;
  font-size: 70px;
  font-weight: 700;
  line-height: 75px;
  letter-spacing: -0.05em;
  font-variation-settings: "wght" 700;
  text-wrap: balance;
}

.mini-quiz {
  position: absolute;
  z-index: 4;
  right: max(20px, calc(50% - 650px));
  bottom: 117px;
  width: 443px;
  min-height: 327px;
  padding: 20px;
  border-radius: 10px;
  background: var(--white);
}

.mini-quiz.is-success {
  width: 446px;
  min-height: 226px;
  padding: 0;
}

.mini-quiz.is-success .hero-quiz {
  min-height: 226px;
}

.hero-quiz {
  min-height: 288px;
}

.mini-top h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.03em;
}

.mini-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-meta,
.quiz-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--muted);
}

.quiz-meta {
  font-size: 14px;
  line-height: 14px;
}

.quiz-meta b,
.quiz-line b {
  color: var(--text);
  font-weight: 500;
}

.quiz-meta b span:first-child,
.quiz-line b span:first-child {
  color: var(--text);
}

.quiz-meta b span:last-child,
.quiz-line b span:last-child {
  color: var(--muted);
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin: 12px 0 14px;
}

.progress span,
.quiz-bar {
  height: 3px;
  background: rgba(9, 8, 13, 0.52);
}

.progress span.is-active,
.quiz-bar {
  background: var(--text);
}

.hero-quiz.is-success .mini-top,
.hero-quiz.is-success .progress {
  display: none;
}

.mini-question {
  margin: 0 0 12px;
}

.mini-question h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.03em;
}

.mini-question p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: -0.03em;
}

.mini-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 7px;
}

.mini-options button {
  position: relative;
  z-index: 0;
  overflow: hidden;
  min-height: 56px;
  border: 1px solid rgba(9, 8, 13, 0.08);
  border-radius: 10px;
  padding: 8px 15px;
  background: rgba(9, 8, 13, 0.04);
  text-align: left;
  cursor: pointer;
}

.mini-options button.selected,
.quiz-options button.selected {
  border-color: rgba(249, 17, 17, 0.55);
  background: rgba(249, 17, 17, 0.08);
}

.mini-options span,
.mini-options small {
  display: block;
}

.mini-options span {
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.mini-options small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.05em;
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: block;
}

.quiz-step .quiz-next-btn.wide {
  margin-top: 12px;
}

.quiz-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 11px;
}

.btn-muted {
  background: #a7a7a9;
  color: var(--white);
}

.quiz-field {
  display: block;
}

.quiz-field span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: -0.03em;
}

.quiz-field.full {
  margin-bottom: 9px;
}

.quiz-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.quiz-field input,
.quiz-field select {
  width: 100%;
  height: 36px;
  border: 1px solid rgba(9, 8, 13, 0.08);
  border-radius: 9px;
  padding: 0 13px;
  background: rgba(9, 8, 13, 0.04);
  color: #09080d;
  font-family: Manrope, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.01em;
  outline: none;
}

.quiz-field select {
  appearance: none;
  padding-right: 34px;
  background: rgba(9, 8, 13, 0.04);
}

.quiz-field select:has(option:checked[value=""]) {
  color: rgba(9, 8, 13, 0.42);
}

.quiz-select {
  position: relative;
}

.quiz-select.is-customized select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select-button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 36px;
  border: 1px solid rgba(9, 8, 13, 0.08);
  border-radius: 9px;
  padding: 0 34px 0 13px;
  background: rgba(9, 8, 13, 0.04);
  color: rgba(9, 8, 13, 0.42);
  font-family: Manrope, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
}

.quiz-select.has-value .custom-select-button {
  color: #09080d;
}

.custom-select-button span {
  display: block;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  overflow-y: auto;
  max-height: 210px;
  border: 1px solid rgba(9, 8, 13, 0.08);
  border-radius: 9px;
  padding: 4px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(9, 8, 13, 0.14);
}

.quiz-select.is-open-up .custom-select-menu {
  top: auto;
  bottom: calc(100% + 4px);
}

.hero-quiz .custom-select-menu {
  top: auto;
  bottom: calc(100% + 4px);
}

.custom-select-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 0 9px;
  background: transparent;
  color: var(--text);
  font-family: Manrope, Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
  text-align: left;
  cursor: pointer;
}

.custom-select-menu button:hover,
.custom-select-menu button.is-selected {
  background: rgba(9, 8, 13, 0.06);
}

.quiz-modal .quiz-step[data-step="4"] .custom-select-menu,
.hero-quiz .quiz-step[data-step="4"] .custom-select-menu {
  top: auto;
  bottom: calc(100% + 4px);
}

.quiz-modal .quiz-step[data-step="4"] .quiz-select.is-open-up .custom-select-menu,
.hero-quiz .quiz-step[data-step="4"] .quiz-select.is-open-up .custom-select-menu {
  top: auto;
  bottom: calc(100% + 4px);
}

.quiz-select::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 15px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(9, 8, 13, 0.32);
  border-bottom: 1.5px solid rgba(9, 8, 13, 0.32);
  pointer-events: none;
  transform: rotate(45deg);
}

.year-picker {
  position: relative;
}

.year-picker input {
  padding-right: 34px;
}

.year-toggle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.year-toggle::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(9, 8, 13, 0.32);
  border-bottom: 1.5px solid rgba(9, 8, 13, 0.32);
  transform: rotate(45deg);
}

.year-menu {
  position: absolute;
  z-index: 120;
  right: 0;
  left: 0;
  top: calc(100% + 4px);
  overflow-y: auto;
  max-height: 220px;
  border: 1px solid rgba(9, 8, 13, 0.08);
  border-radius: 9px;
  padding: 4px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(9, 8, 13, 0.14);
}

.year-picker.is-open-up .year-menu {
  top: auto;
  bottom: calc(100% + 4px);
}

.hero-quiz .year-menu {
  top: auto;
  bottom: calc(100% + 4px);
}

.year-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 0 9px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
  text-align: left;
  cursor: pointer;
}

.year-menu button:hover {
  background: rgba(9, 8, 13, 0.06);
}

.quiz-field input::placeholder {
  color: rgba(9, 8, 13, 0.42);
  opacity: 1;
}

.quiz-field.is-invalid input,
.quiz-field.is-invalid select,
.quiz-field.is-invalid .custom-select-button,
.mini-options.is-invalid button,
.quiz-options.is-invalid button {
  border-color: rgba(249, 17, 17, 0.48);
  box-shadow: 0 0 0 1px rgba(249, 17, 17, 0.12);
}

.quiz-consent {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: -0.01em;
  text-align: center;
}

.quiz-success {
  display: none;
  width: 446px;
  height: 226px;
  padding: 26px 20px 20px;
  text-align: center;
}

.success-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(9, 8, 13, 0.08);
}

.success-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
}

.success-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M3 7.3 7.1 11.2 15 3' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translate(-50%, -50%);
}

.quiz-success > span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-bottom: 17px;
  border-radius: 4px;
  padding: 3px 10px;
  background: rgba(9, 8, 13, 0.06);
  font-size: 12px;
}

.quiz-success > span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(249, 17, 17, 0.25);
}

.quiz-success h3 {
  margin: 0 0 7px;
  font-size: 22px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.03em;
}

.quiz-success p {
  width: 322px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 14px;
}

@keyframes headlightPulse {
  0% {
    opacity: 0.03;
    filter: blur(5.8px) saturate(1);
    scale: 0.9;
  }

  18% {
    opacity: 0.16;
    filter: blur(4.8px) saturate(1.08);
    scale: 0.96;
  }

  34% {
    opacity: 0.82;
    filter: blur(2.2px) saturate(1.48) brightness(1.1);
    scale: 1.06;
  }

  47% {
    opacity: 0.58;
    filter: blur(3.4px) saturate(1.28);
    scale: 1.01;
  }

  64% {
    opacity: 0.76;
    filter: blur(2.7px) saturate(1.42) brightness(1.07);
    scale: 1.04;
  }

  82% {
    opacity: 0.22;
    filter: blur(4.8px) saturate(1.14);
    scale: 0.96;
  }

  100% {
    opacity: 0.04;
    filter: blur(5.8px) saturate(1);
    scale: 0.9;
  }
}

@keyframes beamPulse {
  0% {
    opacity: 0;
    filter: blur(32px) saturate(1);
    scale: 0.88;
  }

  22% {
    opacity: 0.05;
    filter: blur(30px) saturate(1.08);
    scale: 0.94;
  }

  38% {
    opacity: 0.3;
    filter: blur(23px) saturate(1.34);
    scale: 1.04;
  }

  64% {
    opacity: 0.24;
    filter: blur(24px) saturate(1.28);
    scale: 1.03;
  }

  100% {
    opacity: 0;
    filter: blur(32px) saturate(1);
    scale: 0.9;
  }
}

.wide {
  width: 100%;
}

.mini-quiz .wide {
  margin-top: 12px;
}

.section,
.quiz-block {
  width: min(1300px, calc(100% - 40px));
  margin: 170px auto 0;
}

#problems {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: -68px;
  padding: 170px max(20px, calc((100% - 1300px) / 2)) 0;
  border-radius: 30px 30px 0 0;
  background: var(--bg);
  grid-template-columns: 420px minmax(0, 860px);
  overflow: hidden;
}

.split {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 20px;
}

.section-title p,
.section-head p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.section-title h2,
.section-head h2 {
  margin: 30px 0 0;
  font-size: 56px;
  font-weight: 600;
  line-height: 65px;
  letter-spacing: -0.05em;
}

.sticky-title {
  align-self: start;
}

.problems-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.number-card,
.benefits-grid article,
.service-card,
.service-feature,
.price-panel,
.review,
.start-card {
  border-radius: 10px;
  background: var(--white);
}

.service-card,
.problems-grid .number-card,
.benefits-grid article,
.steps .number-card,
.start-card,
.work-card,
.review {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
}

.steps .number-card > b {
  z-index: 2;
}

@keyframes cardGradientSpin {
  to {
    --card-border-angle: 360deg;
  }
}

.number-card {
  position: relative;
  min-height: 237px;
  padding: 119px 30px 30px;
}

.number-card b {
  position: absolute;
  top: 30px;
  right: 30px;
  color: rgba(230, 7, 7, 0.3);
  font-family: Inter, Manrope, sans-serif;
  font-size: 84px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.number-card h3,
.benefits-grid h3,
.service-card h3,
.start-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.02em;
}

.number-card p,
.benefits-grid p,
.service-card p,
.start-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 40px;
  margin-bottom: 30px;
}

.section-head h2 {
  max-width: 844px;
  margin: 0;
}

.section-head p {
  margin-top: 15px;
  white-space: nowrap;
}

.section-head.reverse {
  grid-template-columns: auto 640px;
  justify-content: space-between;
}

.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-main {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
}

.service-main::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--text);
  transform: translateX(-1px);
  pointer-events: none;
}

.service-feature,
.price-panel {
  position: relative;
  z-index: 0;
  min-height: 507px;
  padding: 30px;
  background: var(--white);
}

.service-feature {
  display: flex;
  flex-direction: column;
  border-radius: 16px 0 0 16px;
}

.service-feature .btn {
  margin-top: auto;
}

.price-panel {
  padding-top: 38px;
  border-radius: 0 16px 16px 0;
}

.badge {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 54px;
  color: var(--text);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.badge-star {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  fill: var(--red);
  stroke: var(--red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.service-feature h3 {
  margin: 0 0 16px;
  font-size: 45px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: -0.05em;
}

.service-feature p {
  max-width: 589px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.01em;
}

.service-feature strong {
  display: block;
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.price-panel > p {
  margin-bottom: 68px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.price-panel dl,
.price-panel div {
  margin: 0;
}

.price-panel div {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 16px;
}

.price-panel dt {
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.02em;
}

.price-panel dt span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.price-panel dd {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.service-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  min-height: 276px;
  padding: 30px;
  background: var(--white);
}

.service-card.small {
  grid-column: span 2;
}

.service-card h3 {
  margin-bottom: 16px;
}

.service-card strong {
  display: block;
  margin: 24px 0 24px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.service-card strong span {
  color: var(--muted);
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 25px;
}

.service-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: auto;
}

.service-actions .service-toggle,
.service-actions .service-calc {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 10px 6px;
  background: var(--dark);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.service-actions .service-calc {
  display: none;
}

.service-card.is-open .service-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card.is-open .service-toggle {
  background: #a7a7a9;
}

.service-card.is-open .service-calc {
  display: flex;
}

.service-card.small.is-open .service-toggle,
.service-card.small.is-open .service-calc {
  min-height: 38px;
  font-size: 14px;
  line-height: 18px;
}

.service-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease, margin-bottom 0.25s ease;
}

.service-card.is-open .service-details {
  max-height: 760px;
  margin-top: 20px;
  margin-bottom: 20px;
  opacity: 1;
}

.service-details-inner {
  border-top: 1px solid rgba(9, 8, 13, 0.1);
  padding-top: 20px;
}

.service-price-group + .service-price-group {
  margin-top: 18px;
}

.service-details h5 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: -0.01em;
}

.service-description ul {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  padding-left: 17px;
  color: rgba(9, 8, 13, 0.68);
}

.service-description li,
.service-description p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.01em;
}

.service-description p {
  color: var(--text);
}

.service-description p + p {
  margin-top: 6px;
}

.service-details dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.service-details dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
}

.service-details dt,
.service-details dd {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.01em;
}

.service-details dt {
  color: rgba(9, 8, 13, 0.68);
}

.service-details dd {
  color: var(--text);
  text-align: right;
  white-space: nowrap;
}

.portfolio-section {
  margin-top: 170px;
}

.portfolio-head {
  grid-template-columns: 148px 640px;
  justify-content: start;
  gap: 496px;
  margin-bottom: 30px;
}

.portfolio-head h2 {
  max-width: 640px;
}

.portfolio-showcase {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 640px);
  gap: 24px 20px;
  align-items: stretch;
}

.portfolio-case {
  align-self: center;
  min-width: 0;
}

.portfolio-case h3 {
  max-width: 640px;
  margin: 0 0 35px;
  white-space: pre-line;
  color: var(--text);
  font-size: 40px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: -0.05em;
}

.portfolio-case-list {
  display: grid;
  gap: 22px;
}

.portfolio-case-section {
  min-height: 103px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(9, 8, 13, 0.4);
}

.portfolio-case-section h4 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.02em;
}

.portfolio-case-section p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.01em;
}

.portfolio-case-section:nth-child(2) p {
  max-width: 613px;
}

.portfolio-case-section:nth-child(3) p {
  max-width: 581px;
}

.portfolio-media {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  width: 100%;
  min-height: 500px;
  max-height: 600px;
  height: auto;
  border-radius: 16px;
  background: rgba(9, 8, 13, 0.04);
}

.portfolio-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
}

.portfolio-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: linear-gradient(180deg, rgba(9, 8, 13, 0.04), rgba(9, 8, 13, 0.24));
  cursor: pointer;
}

.portfolio-play[hidden] {
  display: none;
}

.portfolio-play svg {
  width: clamp(72px, 10vw, 112px);
  height: clamp(72px, 10vw, 112px);
  filter: drop-shadow(0 18px 38px rgba(9, 8, 13, 0.28));
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.portfolio-play circle {
  fill: rgba(255, 255, 255, 0.92);
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 2;
}

.portfolio-play path {
  fill: var(--text);
}

.portfolio-play:hover svg {
  opacity: 0.96;
  transform: scale(1.04);
}

.portfolio-photo-arrows {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border-radius: 10px;
  background: #ddddde;
}

.portfolio-photo-arrow,
.portfolio-case-arrow {
  position: relative;
  width: 32px;
  height: 32px;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.portfolio-photo-arrow {
  background: #ddddde;
  color: var(--text);
}

.portfolio-photo-arrow:hover {
  background: #ddddde;
  opacity: 0.9;
}

.portfolio-photo-arrow::before,
.portfolio-case-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translate(-50%, -50%);
}

.portfolio-photo-arrow::before {
  width: 20px;
  height: 20px;
  background-image: url("assets/figma/portfolio-arrow-left.svg");
}

.portfolio-photo-arrow.next::before {
  background-image: url("assets/figma/portfolio-arrow-right.svg");
}

.portfolio-case-arrow::before {
  width: 24px;
  height: 24px;
  background-image: url("assets/figma/portfolio-control-arrow-left.svg");
}

.portfolio-case-arrow.next::before {
  background-image: url("assets/figma/portfolio-control-arrow-right.svg");
}

.portfolio-showcase.has-single-image .portfolio-photo-arrows {
  display: none;
}

.portfolio-controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  margin-left: calc(50% - 92px);
}

.portfolio-controls p {
  margin: 0;
  color: rgba(9, 8, 13, 0.4);
  font-family: Inter, Manrope, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 27px;
  letter-spacing: -0.05em;
}

.portfolio-controls p span:first-child {
  color: var(--text);
}

.portfolio-controls div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.portfolio-case-arrow {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background: rgba(9, 8, 13, 0.1);
  color: var(--text);
}

.portfolio-case-arrow.next {
  background: var(--text);
  color: var(--white);
}

.portfolio-case-arrow.next:hover {
  background: var(--text);
  opacity: 0.86;
}

.benefits-grid article {
  min-height: 212px;
  padding: 30px;
}

.benefits-grid article:nth-child(n + 3) {
  min-height: 244px;
}

.benefits-grid i {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  font-style: normal;
}

.benefits-grid i img {
  display: block;
  width: 44px;
  height: 44px;
}

.quiz-block {
  width: 100%;
  min-height: 833px;
  margin-top: 100px;
  padding: 85px 30px;
  border: 0;
  border-radius: 30px 30px 0 0;
  background: var(--white);
  text-align: center;
}

.quiz-block h2 {
  margin: 0 0 24px;
  font-size: 56px;
  font-weight: 600;
  line-height: 65px;
  letter-spacing: -0.05em;
}

.quiz-panel {
  width: min(1241px, 100%);
  margin: 0 auto;
  text-align: left;
}

.big-quiz {
  position: relative;
}

.quiz-block .progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 24px 0 0;
}

.quiz-block .progress span {
  height: 3px;
  background: rgba(9, 8, 13, 0.24);
}

.quiz-heading {
  margin-top: 24px;
}

.quiz-line {
  font-size: 22px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.01em;
  color: rgba(9, 8, 13, 0.4);
}

.quiz-line span {
  display: inline;
  max-width: none;
  white-space: nowrap;
}

.quiz-line b {
  display: inline-flex;
  align-items: baseline;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.quiz-bar {
  margin: 24px 0 0;
}

.quiz-heading h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.03em;
}

.quiz-heading p {
  margin: 0;
  color: rgba(9, 8, 13, 0.48);
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.01em;
}

.quiz-panel h3 {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.quiz-options button {
  position: relative;
  z-index: 0;
  overflow: hidden;
  min-height: 102px;
  border: 1px solid rgba(9, 8, 13, 0.08);
  border-radius: 10px;
  padding: 8px 15px;
  background: rgba(9, 8, 13, 0.04);
  text-align: left;
  cursor: pointer;
}

.mini-options button,
.quiz-options button {
  --card-border-angle: 0deg;
  --card-border-alpha: 0;
  isolation: isolate;
}

.mini-options button::before,
.quiz-options button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--card-border-angle),
    rgba(230, 7, 7, 0),
    rgba(230, 7, 7, 0.18),
    rgba(230, 7, 7, 0.85),
    rgba(230, 7, 7, 0.18),
    rgba(230, 7, 7, 0),
    rgba(230, 7, 7, 0.18),
    rgba(230, 7, 7, 0.85),
    rgba(230, 7, 7, 0.18),
    rgba(230, 7, 7, 0)
  );
  opacity: var(--card-border-alpha);
  pointer-events: none;
  transition: opacity 0.28s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.mini-options button:hover,
.quiz-options button:hover {
  --card-border-alpha: 1;
  animation: cardGradientSpin 3s linear infinite;
}

.quiz-options strong,
.quiz-options em,
.quiz-options span {
  display: block;
}

.quiz-options strong {
  float: left;
  font-size: 22px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.02em;
}

.quiz-options em {
  float: right;
  margin-top: 10px;
  font-family: Inter, Manrope, sans-serif;
  font-size: 18px;
  font-weight: 300;
  font-style: normal;
  line-height: 22px;
  letter-spacing: -0.05em;
}

.quiz-options span {
  clear: both;
  padding-top: 10px;
  color: rgba(9, 8, 13, 0.4);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.01em;
}

.quiz-next {
  width: 452px;
  margin-top: 24px;
}

.big-quiz-next {
  display: block;
  width: min(452px, 100%);
  margin: 24px auto 0;
}

.big-quiz .quiz-field {
  margin-top: 24px;
}

.big-quiz .quiz-field.full {
  margin-bottom: 0;
}

.big-quiz .quiz-field-row {
  gap: 20px;
}

.big-quiz .quiz-field span {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: -0.01em;
}

.big-quiz .quiz-field input,
.big-quiz .quiz-field select {
  height: 56px;
  border-radius: 10px;
  padding: 0 20px;
  color: #09080d;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
}

.big-quiz .custom-select-button {
  height: 56px;
  border-radius: 10px;
  padding: 0 56px 0 20px;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
}

.big-quiz .custom-select-button span {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.big-quiz .custom-select-menu {
  top: calc(100% + 8px);
  max-height: 240px;
  border-radius: 10px;
  padding: 8px;
}

.big-quiz .quiz-select.is-open-up .custom-select-menu {
  top: auto;
  bottom: calc(100% + 8px);
}

.big-quiz .custom-select-menu button {
  min-height: 40px;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 16px;
}

.big-quiz .quiz-field select {
  padding-right: 56px;
}

.big-quiz .quiz-select::after {
  right: 22px;
  bottom: 24px;
  width: 9px;
  height: 9px;
}

.big-quiz .year-picker input {
  padding-right: 56px;
}

.big-quiz .year-toggle {
  width: 56px;
  height: 56px;
}

.big-quiz .year-toggle::after {
  right: 22px;
  top: 20px;
  width: 9px;
  height: 9px;
}

.big-quiz .year-menu {
  top: calc(100% + 8px);
  max-height: 240px;
  padding: 8px;
}

.big-quiz .year-menu button {
  height: 40px;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 16px;
}

.quiz-field-row-large {
  grid-template-columns: 1fr 1fr;
}

.quiz-actions-large {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  width: min(932px, 100%);
  max-width: 100%;
  gap: 20px;
  margin: 24px auto 0;
}

.quiz-actions-large .btn {
  width: 456px;
  max-width: 100%;
  min-height: 42px;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.quiz-modal .quiz-actions-large .btn {
  width: 100%;
}

.quiz-options-compact button {
  min-height: 102px;
  padding: 8px 15px;
}

.quiz-options-compact strong {
  float: none;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: -0.02em;
}

.quiz-options-compact span {
  padding-top: 10px;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.01em;
}

.quiz-consent-large {
  margin-top: 12px;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
}

.quiz-success-large {
  width: 100%;
  height: auto;
  min-height: 340px;
  padding: 22px 20px 24px;
}

.quiz-success-large .success-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 22px;
}

.quiz-success-large .success-icon::before {
  width: 46px;
  height: 46px;
}

.quiz-success-large .success-icon::after {
  width: 22px;
  height: 17px;
}

.quiz-success-large > span {
  min-height: 60px;
  margin-bottom: 36px;
  border-radius: 14px;
  padding: 12px 22px;
  background: rgba(9, 8, 13, 0.08);
  font-size: 20px;
  line-height: 27px;
  letter-spacing: -0.02em;
}

.quiz-success-large > span::before {
  width: 14px;
  height: 14px;
  margin-right: 14px;
  background: rgba(249, 17, 17, 0.22);
}

.quiz-success-large h3 {
  margin-bottom: 16px;
  font-size: 68px;
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.quiz-success-large p {
  width: 768px;
  max-width: 100%;
  font-size: 18px;
  line-height: 22px;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.quiz-block.is-success {
  min-height: 0;
  padding-top: 30px;
  padding-bottom: 30px;
}

.quiz-block.is-success > h2,
.quiz-block.is-success .quiz-line,
.quiz-block.is-success .quiz-bar {
  display: none;
}

.quiz-block.is-success .quiz-panel {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.quiz-block.is-success .quiz-step {
  display: none;
}

.quiz-block.is-success .quiz-step.is-active.quiz-success-large {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.quiz-modal.is-open {
  display: flex;
}

.quiz-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 8, 13, 0.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.quiz-modal-card {
  position: relative;
  z-index: 1;
  width: min(1340px, 100%);
  max-height: calc(100vh - 64px);
  overflow: auto;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 30px 100px rgba(9, 8, 13, 0.28);
}

.quiz-modal-close {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(9, 8, 13, 0.22);
}

.quiz-modal-close::before,
.quiz-modal-close::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 14px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

.quiz-modal-close::before {
  transform: rotate(45deg);
}

.quiz-modal-close::after {
  transform: rotate(-45deg);
}

.quiz-modal .quiz-block {
  min-height: auto;
  margin-top: 0;
  padding: 72px 48px 64px;
  border-radius: 30px;
}

.quiz-modal .quiz-block.is-success {
  padding: 48px;
}

.quiz-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 160;
  max-width: min(340px, calc(100% - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(249, 17, 17, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 48px rgba(9, 8, 13, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.quiz-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-marquee {
  width: 100%;
  overflow: hidden;
  --gallery-item-width: 360px;
  --gallery-item-height: 154px;
  --gallery-set-width: 1800px;
}

.gallery-marquee-track {
  display: flex;
  width: calc(var(--gallery-set-width) * 2);
  will-change: transform;
  animation: galleryScroll 34s linear infinite;
}

.gallery-marquee-set {
  display: flex;
  flex: 0 0 auto;
  width: var(--gallery-set-width);
}

.gallery-marquee-track img {
  display: block;
  width: var(--gallery-item-width);
  height: var(--gallery-item-height);
  flex: 0 0 auto;
  object-fit: cover;
}

@keyframes galleryScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--gallery-set-width)));
  }
}

.process {
  margin-top: 170px;
}

.process .section-title h2 {
  max-width: 470px;
  font-size: 42px;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: -0.05em;
}

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

.steps {
  display: grid;
  gap: 20px;
}

.steps .number-card {
  min-height: 200px;
  padding-top: 82px;
}

.steps .taller {
  min-height: 222px;
}

.start-card {
  min-height: 192px;
  padding: 30px;
}

.start-card .btn {
  margin-top: 24px;
}

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

.review {
  min-height: 275px;
  padding: 30px;
}

.review > div {
  display: flex;
  align-items: center;
  gap: 23px;
}

.avatar {
  display: block;
  overflow: hidden;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: transparent;
  flex: 0 0 53px;
}

.avatar img {
  display: block;
  width: 53px;
  height: 53px;
}

.avatar.image {
  background:
    radial-gradient(circle at 50% 34%, #f1d2ba 0 22%, transparent 23%),
    radial-gradient(circle at 50% 70%, #6f533f 0 17%, transparent 18%),
    radial-gradient(circle at 50% 78%, #131313 0 34%, transparent 35%),
    linear-gradient(180deg, #6b5a47 0 32%, #2d2d2d 33% 100%);
}

.avatar.red {
  background: #cd5e5e;
}

.avatar.blue {
  background: #5e76cd;
}

.avatar.dark-ring {
  position: relative;
  background: #09080d;
}

.avatar.dark-ring::before,
.avatar.dark-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.avatar.dark-ring::before {
  inset: 5px;
  border: 3px solid #f91111;
}

.avatar.dark-ring::after {
  inset: 18px;
  background: #f91111;
}

.avatar.cyan {
  background: #8bd5ff;
  font-size: 20px;
}

.review h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
  letter-spacing: -0.05em;
}

.review small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: -0.02em;
}

.stars {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  font-size: 14px;
  letter-spacing: 0;
}

.stars > img {
  display: block;
  width: 80px;
  height: 16px;
  flex: 0 0 80px;
}

.stars em {
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

blockquote {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.review-source {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: -0.02em;
  text-decoration: underline;
  transition: color 0.25s ease;
}

.review-source:hover {
  color: var(--red);
}

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

.review-actions .btn {
  width: 456px;
  min-height: 52px;
  justify-content: center;
}

.service-card,
.problems-grid .number-card,
.benefits-grid article,
.steps .number-card,
.start-card,
.review,
.work-card {
  --card-border-angle: 0deg;
  --card-border-alpha: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    conic-gradient(
      from var(--card-border-angle),
      rgba(230, 7, 7, 0),
      rgba(230, 7, 7, calc(var(--card-border-alpha) * 0.28)),
      rgba(230, 7, 7, var(--card-border-alpha)),
      rgba(230, 7, 7, calc(var(--card-border-alpha) * 0.28)),
      rgba(230, 7, 7, 0),
      rgba(230, 7, 7, calc(var(--card-border-alpha) * 0.28)),
      rgba(230, 7, 7, var(--card-border-alpha)),
      rgba(230, 7, 7, calc(var(--card-border-alpha) * 0.28)),
      rgba(230, 7, 7, 0)
    ) border-box;
  transition: --card-border-alpha 0.35s ease;
}

.service-main {
  border: 0;
  border-radius: 16px;
  background: var(--white);
  transition: none;
}

.service-card:hover,
.problems-grid .number-card:hover,
.benefits-grid article:hover,
.steps .number-card:hover,
.start-card:hover,
.review:hover,
.work-card:hover {
  --card-border-alpha: 1;
  animation: cardGradientSpin 4.8s linear infinite;
}

.map-shell {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  min-height: 560px;
  background: #e8e8e8;
}

.map-shell,
.map-shell * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Ccircle cx='7.5' cy='7.5' r='7.5' fill='%23e60707'/%3E%3C/svg%3E") 8 8, auto !important;
}

.yandex-map {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-info-card {
  position: absolute;
  z-index: 2;
  top: 78px;
  left: 30px;
  width: 506px;
  min-height: 389px;
  padding: 30px;
  border-radius: 10px;
  background: var(--white);
}

.map-found-pill {
  position: absolute;
  left: 30px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 30px rgba(9, 8, 13, 0.12);
}

.map-found-pill {
  top: 24px;
  padding: 7px 14px;
}

.map-status {
  position: absolute;
  top: 45px;
  right: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: -0.02em;
}

.map-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(9, 8, 13, 0.3);
}

.map-status.is-open .map-status-dot {
  background: #f91111;
  animation: mapStatusPulse 1.7s ease-in-out infinite;
}

.map-status.is-closed .map-status-dot {
  background: rgba(9, 8, 13, 0.3);
  animation: none;
}

.map-info-list {
  display: grid;
  gap: 14px;
  max-width: 292px;
}

.map-info-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.01em;
}

.map-icon,
.map-social-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
}

.map-icon {
  width: 44px;
  height: 44px;
  background: transparent center / contain no-repeat;
}

.map-icon::before,
.map-social-icon::before {
  content: "";
  display: block;
  background: #f91111;
}

.map-icon-phone::before {
  width: 25px;
  height: 25px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.62 2.75 7 6.08 5.86 7.2c.82 1.7 2.24 3.12 3.94 3.94L10.92 10l3.33 1.38v3.06c0 .44-.35.8-.79.8A10.7 10.7 0 0 1 2.75 4.54c0-.44.36-.79.8-.79h2.07Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.62 2.75 7 6.08 5.86 7.2c.82 1.7 2.24 3.12 3.94 3.94L10.92 10l3.33 1.38v3.06c0 .44-.35.8-.79.8A10.7 10.7 0 0 1 2.75 4.54c0-.44.36-.79.8-.79h2.07Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.map-icon-time {
  position: relative;
}

.map-icon-time::before {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f91111;
}

.map-icon-time::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.2 4.35h1.6v4.05h3.35V10H8.2V4.35Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.2 4.35h1.6v4.05h3.35V10H8.2V4.35Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.map-icon-pin::before {
  width: 29px;
  height: 29px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 1.88a5.25 5.25 0 0 0-5.25 5.25c0 3.94 5.25 9 5.25 9s5.25-5.06 5.25-9A5.25 5.25 0 0 0 9 1.88Zm0 7.12a1.88 1.88 0 1 1 0-3.75A1.88 1.88 0 0 1 9 9Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 1.88a5.25 5.25 0 0 0-5.25 5.25c0 3.94 5.25 9 5.25 9s5.25-5.06 5.25-9A5.25 5.25 0 0 0 9 1.88Zm0 7.12a1.88 1.88 0 1 1 0-3.75A1.88 1.88 0 0 1 9 9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.map-icon-phone,
.map-icon-time,
.map-icon-pin {
  background-size: 44px 44px;
}

.map-icon-phone {
  background-image: url("assets/figma/map-icon-phone.svg");
}

.map-icon-time {
  background-image: url("assets/figma/map-icon-clock.svg");
}

.map-icon-pin {
  background-image: url("assets/figma/map-icon-pin.svg");
}

.map-icon-phone::before,
.map-icon-time::before,
.map-icon-time::after,
.map-icon-pin::before {
  display: none;
}

.map-socials {
  display: grid;
  grid-template-columns: 216px 210px;
  gap: 20px;
  margin-top: 24px;
}

.map-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(9, 8, 13, 0.08);
  border-radius: 10px;
  background: rgba(9, 8, 13, 0.04);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.map-social-icon {
  width: 26px;
  height: 26px;
  display: inline-block;
  flex: 0 0 26px;
  background: transparent center center / 26px 26px no-repeat;
  transform: translateZ(0);
}

.map-social-icon.whatsapp {
  background-image: url("assets/figma/map-social-whatsapp.svg");
}

.map-social-icon.telegram {
  background-image: url("assets/figma/map-social-telegram.svg");
}

.map-social-icon.whatsapp::before,
.map-social-icon.telegram::before {
  content: none;
  display: none;
}

.map-cta {
  width: 100%;
  min-height: 42px;
  margin-top: 60px;
}

@keyframes mapStatusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 17, 17, 0.42);
    transform: scale(1);
  }

  65% {
    box-shadow: 0 0 0 8px rgba(249, 17, 17, 0);
    transform: scale(1.18);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(249, 17, 17, 0);
    transform: scale(1);
  }
}

.footer {
  width: 100%;
  margin-top: 170px;
  padding: 0;
  border-radius: 30px 30px 0 0;
  background: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

.footer-inner {
  display: grid;
  grid-template-columns: 319px 840px;
  column-gap: 122px;
  row-gap: 0;
  width: min(1300px, calc(100% - 40px));
  margin: 0 auto;
  padding: 106px 0 100px;
  box-sizing: border-box;
}

.footer-brand img {
  width: 292px;
  height: auto;
}

.footer-brand p {
  max-width: 319px;
  margin-top: 29px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  letter-spacing: -0.01em;
}

.footer-cols {
  display: grid;
  grid-template-columns: 302px 141px 233px;
  justify-content: end;
  gap: 50px;
}

.footer-cols div {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-cols p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
  letter-spacing: -0.01em;
}

.footer-cols b,
.footer-cols a {
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.01em;
}

.footer a {
  transition: color 0.25s ease;
}

.footer a:hover {
  color: var(--red);
}

.footer-cols div > p:not(:first-child) {
  margin-top: 20px;
}

.footer-cols div > a + a,
.footer-cols div > b + b {
  margin-top: 8px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: max-content max-content max-content max-content;
  justify-content: space-between;
  column-gap: 0;
  margin-top: 100px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 22px;
  letter-spacing: -0.01em;
}

.footer-bottom a {
  white-space: nowrap;
}

.policy-page {
  min-height: 100vh;
  background: var(--bg);
}

.policy-shell {
  width: min(1300px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 100px;
}

.policy-logo {
  display: inline-flex;
  width: 292px;
  margin-bottom: 70px;
}

.policy-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.policy-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 424px;
  row-gap: 18px;
  align-items: start;
  margin-bottom: 200px;
}

.policy-hero p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
  letter-spacing: -0.02em;
}

.policy-hero h1 {
  max-width: 790px;
  margin: 0;
  color: var(--text);
  font-size: 72px;
  font-weight: 600;
  line-height: 78px;
  letter-spacing: -0.06em;
}

.policy-hero > span {
  grid-column: 2;
  margin-top: 0;
  color: var(--muted);
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.02em;
}

.policy-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.policy-aside,
.policy-document {
  border-radius: 16px;
  background: var(--white);
}

.policy-aside {
  position: sticky;
  top: 116px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 30px;
}

.policy-aside p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
  letter-spacing: -0.02em;
}

.policy-aside b {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.02em;
}

.policy-aside span,
.policy-aside a:not(.btn) {
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.01em;
}

.policy-aside a:not(.btn) {
  transition: color 0.25s ease;
}

.policy-aside a:not(.btn):hover,
.policy-document a:hover {
  color: var(--red);
}

.policy-back {
  width: 100%;
  margin-top: auto;
}

.policy-document {
  padding: 50px;
}

.policy-document section {
  padding: 0 0 32px;
  border-bottom: 1px solid rgba(9, 8, 13, 0.12);
}

.policy-document section + section {
  padding-top: 32px;
}

.policy-document section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.policy-document h2 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--text);
  font-size: 32px;
  font-weight: 500;
  line-height: 37px;
  letter-spacing: -0.03em;
}

.policy-document p,
.policy-document li {
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.01em;
}

.policy-document p {
  margin: 0;
}

.policy-document p + p,
.policy-document ul + p,
.policy-document p + ul {
  margin-top: 14px;
}

.policy-document ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.policy-document li {
  position: relative;
  padding-left: 22px;
}

.policy-document li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.policy-document a {
  color: var(--text);
  transition: color 0.25s ease;
}

.cookie-banner {
  position: fixed;
  z-index: 9998;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1300px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid rgba(9, 8, 13, 0.08);
  border-radius: 16px;
  padding: 18px 20px 18px 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 60px rgba(9, 8, 13, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.32s ease, transform 0.32s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.01em;
}

.cookie-banner a {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.cookie-banner a:hover {
  color: var(--red);
}

.cookie-banner .btn {
  flex: 0 0 160px;
  min-height: 44px;
  white-space: nowrap;
}
.footer-cols div.soc_links a {
    margin: 0;
}
.footer-cols div.soc_links {
    flex-direction: row;
    margin: 10px 0 0 -7px;
}
@media (max-width: 1320px) {
  .site-header {
    padding-left: 16px;
  }

  .logo {
    flex-basis: 146px;
  }

  .logo img {
    width: 146px;
    height: 28px;
  }

  .top-nav {
    flex-basis: auto;
    width: auto;
    gap: 18px;
    margin-left: 15px;
    font-size: 15px;
  }

  .header-contact {
    font-size: 13px;
  }

  .soc_links {
    gap: 6px;
  }

  .soc_links a {
    width: 32px;
    height: 32px;
  }

  .soc_links + .header-contact {
    margin-left: 12px;
  }

.site-header .btn {
        flex-basis: 180px;
        width: 180px;
        margin-left: 13px;
        padding-right: 5px;
        padding-left: 5px;
        font-size: 14px;
        flex: 0 0 180px;
        min-width: 180px;
    }

  .header-cta {
    min-width: 205px;
  }

  #problems {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-right: 36px;
    padding-left: 36px;
  }

  #problems .section-title h2 {
    max-width: 980px;
    margin-top: 16px;
    font-size: 56px;
    line-height: 65px;
  }

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

  #services .section-head {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
  }

  #services .section-head p {
    order: -1;
    margin-top: 0;
  }

  #services .section-head h2 {
    max-width: 980px;
  }

  .footer-inner {
    grid-template-columns: 280px minmax(270px, 302px) minmax(0, 1fr);
    grid-template-areas:
      "brand work nav"
      "brand requisites legal";
    column-gap: 48px;
    row-gap: 56px;
    width: min(1300px, calc(100% - 40px));
  }

  .footer-brand {
    grid-area: brand;
  }

  .footer-cols {
    display: contents;
  }

  .footer-cols > div:nth-child(1) {
    grid-area: work;
  }

  .footer-cols > div:nth-child(2) {
    grid-area: nav;
  }

  .footer-cols > div:nth-child(3) {
    grid-area: requisites;
  }

  .footer-bottom {
    grid-area: legal;
    grid-template-columns: 1fr;
    justify-content: start;
    gap: 10px;
    margin-top: 0;
  }

  .policy-hero {
    grid-template-columns: 180px minmax(0, 1fr);
    column-gap: 96px;
    row-gap: 16px;
  }

  .policy-hero h1 {
    font-size: 64px;
    line-height: 70px;
  }

  .policy-layout {
    grid-template-columns: 320px minmax(0, 1fr);
  }
}

@media (min-width: 1141px) and (max-width: 1320px) {
  .site-header {
    justify-content: space-between;
  }

  .top-nav {
    position: absolute;
    left: 180px;
    width: auto;
    margin-left: 0;
    transform: none;
  }

  .process .section-title h2 {
    max-width: 470px;
  }

  .steps {
    gap: 16px;
  }

  .steps .number-card {
    min-height: 168px;
    padding: 66px 24px 24px;
  }

  .steps .taller {
    min-height: 176px;
  }

  .steps .number-card > b {
    top: 22px;
    right: 24px;
    font-size: 58px;
  }

  .steps .number-card h3 {
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 29px;
  }

  .steps .number-card p {
    font-size: 16px;
    line-height: 21px;
  }

  .start-card {
    min-height: 154px;
    padding: 24px;
  }

  .start-card h3 {
    font-size: 26px;
    line-height: 31px;
  }

  .start-card p {
    margin-top: 8px;
    font-size: 16px;
    line-height: 21px;
  }

  .start-card .btn {
    min-height: 38px;
    margin-top: 16px;
    font-size: 14px;
  }

  #contacts .section-head h2 {
    max-width: none;
    white-space: nowrap;
  }

  #contacts .section-head h2 br {
    display: none;
  }
}

@media (min-width: 1101px) {
  #reviews .section-head h2 br,
  #contacts .section-head h2 br {
    display: none;
  }

  .process-title-break {
    display: initial;
  }

  #reviews .section-head h2,
  #contacts .section-head h2 {
    max-width: none;
    white-space: nowrap;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 32px;
  background: rgba(9, 8, 13, 0.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lightbox.open {
  display: flex;
}

body.case-modal-open {
  overflow: hidden;
}

.case-modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(480px, 1fr);
  gap: 30px;
  align-items: start;
  width: min(1240px, 100%);
  max-height: calc(100vh - 64px);
  overflow: auto;
  padding: 42px;
  border-radius: 30px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 30px 100px rgba(9, 8, 13, 0.28);
}

.case-modal-info h2 {
  margin: 0 0 38px;
  white-space: pre-line;
  font-size: clamp(36px, 3.1vw, 50px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.case-modal-section {
  border-bottom: 1px solid rgba(9, 8, 13, 0.34);
  padding: 0 0 16px;
  margin-bottom: 22px;
}

.case-modal-section h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.case-modal-section p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.case-modal-media {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 430px;
  border-radius: 16px;
  background: rgba(9, 8, 13, 0.04);
}

.case-modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 16px;
}

.case-modal-arrows {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #ddddde;
}

.case-modal.has-single-image .case-modal-arrows {
  display: none;
}

.case-modal-arrow {
  position: relative;
  width: 36px;
  height: 34px;
  border: 0;
  background: #ddddde;
  cursor: pointer;
  transition: background 0.2s ease;
}

.case-modal-arrow:hover {
  background: #ddddde;
  opacity: 0.9;
}

.case-modal-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: url("assets/figma/portfolio-arrow-left.svg") center / contain no-repeat;
  transform: translate(-50%, -50%);
}

.case-modal-arrow.next::before {
  background-image: url("assets/figma/portfolio-arrow-right.svg");
}

.case-modal-close {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(9, 8, 13, 0.22);
}

.case-modal-close::before,
.case-modal-close::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 14px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

.case-modal-close::before {
  transform: rotate(45deg);
}

.case-modal-close::after {
  transform: rotate(-45deg);
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 135;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(9, 8, 13, 0.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.photo-modal.open {
  display: flex;
}

.photo-modal-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1180px, 100%);
  max-height: calc(100vh - 64px);
}

.photo-modal-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 64px);
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 30px 100px rgba(9, 8, 13, 0.28);
}

.photo-modal-arrows {
  position: fixed;
  right: 28px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border-radius: 10px;
  background: #ddddde;
}

.photo-modal.has-single-image .photo-modal-arrows {
  display: none;
}

.photo-modal-arrow {
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  background: #ddddde;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.photo-modal-arrow:hover {
  opacity: 0.9;
}

.photo-modal-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: url("assets/figma/portfolio-arrow-left.svg") center / contain no-repeat;
  transform: translate(-50%, -50%);
}

.photo-modal-arrow.next::before {
  background-image: url("assets/figma/portfolio-arrow-right.svg");
}

.photo-modal-close {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(9, 8, 13, 0.22);
}

.photo-modal-close::before,
.photo-modal-close::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 14px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

.photo-modal-close::before {
  transform: rotate(45deg);
}

.photo-modal-close::after {
  transform: rotate(-45deg);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 138;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(9, 8, 13, 0.74);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.video-modal.open {
  display: flex;
}

.video-modal-stage {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100vh - 64px);
}

.video-modal-stage video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 64px);
  border-radius: 16px;
  background: #000;
  box-shadow: 0 30px 100px rgba(9, 8, 13, 0.32);
}

.video-modal-close {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(9, 8, 13, 0.22);
}

.video-modal-close::before,
.video-modal-close::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 14px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

.video-modal-close::before {
  transform: rotate(45deg);
}

.video-modal-close::after {
  transform: rotate(-45deg);
}

@media (max-width: 1100px) {
  .lightbox {
    padding: 76px 20px 30px;
  }

  .case-modal-card {
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .case-modal-media {
    height: clamp(250px, 58vw, 520px);
    min-height: auto;
    max-height: none;
    aspect-ratio: 16 / 10;
  }

  .case-modal-media img {
    min-height: auto;
  }

  .quiz-modal {
    padding: 20px;
  }

  .quiz-modal-card {
    max-height: calc(100vh - 40px);
  }

  .quiz-modal .quiz-block {
    padding: 56px 28px 40px;
  }

  .site-header {
    height: auto;
    min-height: 62px;
    padding: 9px 12px 9px 18px;
  }

  .top-nav,
  .header-contact {
    display: none;
  }

  .soc_links {
    display: flex;
    margin-left: auto;
  }

  .soc_links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
  }

  .soc_links img {
    width: 24px;
    height: 24px;
  }

  .site-header .header-cta {
    display: none;
  }

  .menu-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 44px;
    flex: 0 0 48px;
    margin-left: 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--white);
    font-size: 0;
    cursor: pointer;
  }

  .menu-toggle::before {
    content: "";
    display: block;
    width: 28px;
    height: 21px;
    background:
      linear-gradient(currentColor, currentColor) left top / 28px 3px no-repeat,
      linear-gradient(currentColor, currentColor) left 9px / 28px 3px no-repeat,
      linear-gradient(currentColor, currentColor) left 18px / 28px 3px no-repeat;
    border-radius: 2px;
  }

  .site-header.open .top-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: auto;
    margin-left: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(9, 8, 13, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 22px 70px rgba(9, 8, 13, 0.28);
  }

  .site-header.open:not(.is-past-hero) .top-nav {
    border-color: rgba(9, 8, 13, 0.08);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 70px rgba(9, 8, 13, 0.2);
  }

  .site-header.open .top-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    border-radius: 10px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 16px;
    line-height: 22px;
  }

  .site-header.open:not(.is-past-hero) .top-nav a {
    background: rgba(9, 8, 13, 0.04);
    color: var(--text);
  }

  .site-header.open .top-nav a:hover {
    background: rgba(230, 7, 7, 0.92);
    color: var(--white);
  }

  .site-header.open:not(.is-past-hero) .top-nav a:hover {
    background: rgba(230, 7, 7, 0.1);
    color: var(--red);
  }

  .hero {
    min-height: 900px;
  }

  .hero-copy {
    left: 20px;
    right: auto;
    bottom: 480px;
    width: min(650px, calc(100% - 40px));
  }

  .hero-copy p {
    width: min(560px, 100%);
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 30px;
  }

  .hero-copy h1 {
    font-size: 58px;
    line-height: 64px;
  }

  .mini-quiz {
    right: 20px;
    left: 20px;
    bottom: 108px;
    width: auto;
    min-height: 0;
    padding: 16px;
    transform: none;
  }

  .hero-quiz {
    min-height: 0;
  }

  .mini-top h2 {
    font-size: 22px;
    line-height: 23px;
  }

  .quiz-meta {
    font-size: 14px;
    line-height: 14px;
  }

  .mini-question {
    margin-bottom: 10px;
  }

  .mini-question h3 {
    font-size: 17px;
    line-height: 18px;
  }

  .mini-question p {
    font-size: 13px;
    line-height: 15px;
  }

  .mini-options button {
    min-height: 58px;
    padding: 9px 14px;
  }

  .mini-options span {
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
  }

  .mini-options small {
    margin-top: 5px;
    color: rgba(9, 8, 13, 0.58);
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
  }

  .progress {
    margin: 10px 0 12px;
  }

  .mini-quiz .wide {
    min-height: 42px;
    margin-top: 12px;
  }

  .quiz-meta b,
  .quiz-line b {
    font-size: 20px;
    line-height: 1;
  }

  .section-title h2,
  .section-head h2,
  .quiz-block h2 {
    font-size: 42px;
    line-height: 48px;
  }

  .section-title h2 {
    margin-top: 20px;
  }

  .section-head,
  .section-head.reverse {
    gap: 0;
    margin-bottom: 25px;
  }

  .section-head p {
    margin-bottom: 20px;
  }

  .section,
  .quiz-block,
  .footer {
    margin-top: 120px;
  }

  .quiz-block {
    min-height: 0;
  }

  .big-quiz .custom-select-menu,
  .big-quiz .quiz-select.is-open-up .custom-select-menu {
    top: auto;
    bottom: calc(100% + 8px);
  }

  .big-quiz .year-menu,
  .big-quiz .year-picker.is-open-up .year-menu {
    top: auto;
    bottom: calc(100% + 8px);
  }

  #problems {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 120px;
  }

  #problems .section-title h2 {
    max-width: 980px;
    margin-top: 20px;
    font-size: 42px;
    line-height: 48px;
  }

  .portfolio-section,
  .process {
    margin-top: 120px;
  }

  .split,
  .section-head,
  .section-head.reverse,
  .footer-inner,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand brand"
      "work nav"
      "requisites legal";
    column-gap: 50px;
    row-gap: 48px;
  }

  .footer-cols > div {
    min-width: 0;
  }

  .policy-logo {
    margin-bottom: 64px;
  }

  .policy-hero,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-hero {
    gap: 18px;
    margin-bottom: 200px;
  }

  .policy-layout {
    gap: 30px;
  }

  .policy-hero > span {
    grid-column: auto;
    margin-top: 0;
  }

  .policy-aside {
    position: static;
    min-height: 0;
  }

  .services,
  .reviews-grid,
  .quiz-options,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

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

  .problems-grid .number-card {
    min-height: 220px;
    padding: 96px 26px 26px;
  }

  .problems-grid .number-card b {
    top: 24px;
    right: 26px;
    font-size: 68px;
  }

  .problems-grid .number-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.03em;
  }

  .problems-grid .number-card p {
    max-width: 320px;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: -0.01em;
  }

  .benefits-grid article:nth-child(n + 3) {
    min-height: 212px;
  }

  .service-feature,
  .price-panel,
  .service-card,
  .service-card.small {
    grid-column: span 1;
    border-radius: 16px;
  }

  .service-main {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 16px;
  }

  .service-main::before {
    top: 50%;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 2px;
    transform: translateY(-1px);
  }

  .portfolio-head {
    gap: 0;
    margin-bottom: 25px;
  }

  #services .section-head,
  #portfolio .section-head {
    gap: 0;
    margin-bottom: 25px;
  }

  #services .section-head p,
  #portfolio .section-head p {
    margin-bottom: 20px;
  }

  .section-head p {
    order: -1;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .section-head h2 {
    max-width: 980px;
  }

  #portfolio .section-head h2 {
    max-width: none;
    white-space: nowrap;
  }

  #portfolio .section-head h2 br {
    display: none;
  }

  #benefits .section-title h2 {
    max-width: none;
    white-space: nowrap;
  }

  #benefits .section-title h2 br {
    display: none;
  }

  .portfolio-showcase {
    grid-template-columns: 1fr;
  }

  .portfolio-case h3 {
    max-width: none;
    margin-bottom: 28px;
    font-size: 36px;
    line-height: 44px;
  }

  .portfolio-media {
    height: auto;
    min-height: auto;
    align-self: auto;
    aspect-ratio: 640 / 500;
  }

  .portfolio-controls {
    margin-left: 0;
  }

  .gallery-marquee-track {
    animation-duration: 30s;
  }

  .review-actions {
    display: flex;
    justify-content: center;
  }

  .review-actions .btn {
    width: min(456px, 100%);
  }

  .map-shell {
    display: grid;
    grid-template-columns: minmax(310px, 388px) minmax(0, 1fr);
    gap: 16px;
    overflow: visible;
    min-height: 300px;
    border-radius: 0;
    background: transparent;
  }

  .yandex-map {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    min-height: 300px;
    border-radius: 10px;
  }

  .map-info-card {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 300px;
    padding: 18px;
    border-radius: 10px;
  }

  .map-found-pill {
    top: 14px;
    left: calc(388px + 32px);
  }

  .map-status {
    position: absolute;
    top: 22px;
    right: 18px;
    display: inline-flex;
    margin: 0;
    gap: 7px;
    font-size: 12px;
    line-height: 16px;
  }

  .map-info-list {
    gap: 9px;
    max-width: none;
  }

  .map-info-list div {
    gap: 12px;
    min-height: 38px;
    font-size: 15px;
    line-height: 20px;
    white-space: nowrap;
  }

  .map-icon {
    width: 38px;
    height: 38px;
    background-size: 38px 38px;
  }

  .map-icon::before {
    width: 16px;
    height: 16px;
  }

  .map-socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .map-socials a {
    min-height: 36px;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 16px;
  }

  .map-social-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    background-size: 22px 22px;
  }

  .map-social-icon::before {
    content: none;
    display: none;
  }

  .map-cta {
    min-height: 38px;
    margin-top: 50px;
    font-size: 13px;
    line-height: 17px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
.headlight {
    animation: headlightPulse 3.2s ease-in-out infinite;
}

.mob_hide {
    display: none !important;
}
.hero-media .headlight {
    display: block !important;
}

.headlight.headlight-left {
    left: calc(50% - 157px);
    top: 336px;
}
.headlight-right {
        left: calc(50% + 99px);
        top: 336px !important;
        transform: rotate(-1deg);
        animation-delay: 0.18s;
    }
.headlight {
    width: clamp(76px, 9.6vw, 142px);
    height: clamp(21px, 3vw, 42px);
}

img.hero-photo.hero_pc {
    display: none !important;
}
img.hero-photo.hero_mob {
    display: block !important;
}
.hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 96px 12px 96px;
        background: #4c4c4c;
    }
    .hero-media {
        height: 500px;
        box-shadow: 0 0 49px 30px #1d1d1dba;
    }
    .hero-copy {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 300px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 10px;
    }

  .hero-copy p {
    width: min(560px, 100%);
    margin-bottom: 14px;
  }

  .hero-copy h1 {
    font-size: 44px;
    line-height: 49px;
  }

  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    background: rgba(9, 8, 13, 0.2);
    pointer-events: none;
  }

  .mini-quiz {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 28px;
    transform: none;
  }

  .hero-quiz {
    min-height: 0;
  }
}

@media (max-width: 640px) {

@keyframes headlightPulse {
  0% {
    opacity: 0.03;
    filter: blur(5.8px) saturate(1);
    scale: 0.9;
  }

  18% {
    opacity: 0.16;
    filter: blur(4.8px) saturate(1.08);
    scale: 0.96;
  }

  34% {
    opacity: 0.82;
    filter: blur(2.2px) saturate(1.48) brightness(1.1);
    scale: 1.06;
  }

  47% {
    opacity: 0.58;
    filter: blur(5.4px) saturate(1.28);
    scale: 1.01;
  }

  64% {
    opacity: 0.96;
    filter: blur(2.7px) saturate(1.82) brightness(1.07);
    scale: 1.04;
  }

  82% {
    opacity: 0.22;
    filter: blur(4.8px) saturate(1.14);
    scale: 0.96;
  }

  100% {
    opacity: 0.04;
    filter: blur(5.8px) saturate(1);
    scale: 0.9;
  }
}

@keyframes beamPulse {
  0% {
    opacity: 0;
    filter: blur(32px) saturate(1);
    scale: 0.88;
  }

  22% {
    opacity: 0.05;
    filter: blur(30px) saturate(1.08);
    scale: 0.94;
  }

  38% {
    opacity: 0.3;
    filter: blur(23px) saturate(1.34);
    scale: 1.04;
  }

  64% {
    opacity: 0.24;
    filter: blur(24px) saturate(1.28);
    scale: 1.03;
  }

  100% {
    opacity: 0;
    filter: blur(32px) saturate(1);
    scale: 0.9;
  }
}











  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "work"
      "nav"
      "requisites"
      "legal";
  }

  .portfolio-case h3 {
    font-size: 34px;
    line-height: 39px;
  }

  .portfolio-case-section {
    min-height: auto;
  }

  .portfolio-case-section h4 {
    font-size: 24px;
    line-height: 28px;
  }

  .portfolio-case-section p {
    font-size: 16px;
    line-height: 20px;
  }

  .portfolio-controls {
    gap: 20px;
  }

  .case-modal-info h2 {
    margin-bottom: 32px;
  }

  .case-modal-section {
    margin-bottom: 22px;
    padding-bottom: 16px;
  }

  .case-modal-card {
    gap: 26px;
  }

  .quiz-notice {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }

  .quiz-modal {
    align-items: flex-start;
    padding: 12px;
  }

  .quiz-modal-card {
    max-height: calc(100vh - 24px);
    border-radius: 20px;
  }

  .quiz-modal-close {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }

  .quiz-modal-close::before,
  .quiz-modal-close::after {
    top: 20px;
    left: 12px;
    width: 18px;
  }

  .quiz-modal .quiz-block {
    padding: 56px 16px 24px;
    border-radius: 20px;
  }

  .quiz-modal .quiz-block.is-success {
    padding: 28px 16px;
  }

  .site-header {
    width: calc(100% - 24px);
    top: 12px;
  }

  #problems {
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 80px;
  }

  .site-header .header-cta {
    display: none;
  }

  .menu-toggle {
    margin-left: 0;
  }

  .site-header.open .top-nav {
    grid-template-columns: 1fr;
  }

  .logo,
  .logo img {
    width: 138px;
  }

  .hero-copy h1,
  .section-title h2,
  .section-head h2,
  .quiz-block h2 {
    font-size: 34px;
    line-height: 40px;
  }

  #problems .section-title h2 {
    font-size: 34px;
    line-height: 40px;
  }

  #benefits .section-title h2 {
    white-space: normal;
  }

  #benefits .section-title h2 br {
    display: initial;
  }

  .hero-copy p {
    width: auto;
    font-size: 18px;
    line-height: 25px;
  }

  .hero-copy h1 {
    font-size: 44px;
    line-height: 49px;
  }

  .mini-options {
    grid-template-columns: 1fr;
  }

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

  .problems-grid .number-card {
    min-height: 237px;
    padding: 119px 30px 30px;
  }

  .quiz-field-row-large,
  .quiz-actions-large,
  .quiz-options {
    grid-template-columns: 1fr;
  }

  .quiz-actions-large {
    width: 100%;
  }

  .quiz-block {
    padding: 20px;
  }

  .quiz-next,
  .review-actions .btn {
    width: 100%;
  }

  .map-shell {
    display: block;
    overflow: hidden;
    min-height: 0;
    border-radius: 10px;
    padding: 370px 12px 12px;
    background: #e8e8e8;
  }

  .yandex-map {
    position: absolute;
    inset: 0 0 auto;
    grid-column: auto;
    grid-row: auto;
    bottom: auto;
    width: 100%;
    height: 360px;
    min-height: 0;
    border-radius: 0;
  }

  .map-found-pill {
    top: 16px;
    left: 16px;
  }

  .map-info-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 0;
    padding: 20px;
  }

  .map-status {
    display: inline-flex;
    position: static;
    margin-bottom: 16px;
  }

  .map-socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .map-cta {
    margin-top: 24px;
  }

  .big-quiz-next,
  .quiz-success-large p {
    width: 100%;
  }

  .footer {
    border-radius: 28px 28px 0 0;
  }

  .footer-inner {
    width: calc(100% - 24px);
    padding: 48px 0 40px;
    gap: 40px;
  }

  .footer-brand img {
    width: 240px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-cols p {
    font-size: 16px;
    line-height: 22px;
  }

  .footer-cols b,
  .footer-cols a {
    font-size: 16px;
    line-height: 22px;
  }

  .policy-shell {
    width: calc(100% - 24px);
    padding: 28px 0 64px;
  }

  .policy-logo {
    width: 240px;
    margin-bottom: 36px;
  }

  .policy-hero {
    gap: 14px;
    margin-bottom: 200px;
  }

  .policy-hero p {
    margin-top: 0;
    font-size: 16px;
    line-height: 22px;
  }

  .policy-hero h1 {
    font-size: 42px;
    line-height: 48px;
  }

  .policy-hero > span {
    margin-top: 0;
    font-size: 18px;
    line-height: 24px;
  }

  .policy-aside,
  .policy-document {
    border-radius: 16px;
  }

  .policy-aside {
    padding: 24px;
  }

  .policy-aside b {
    font-size: 24px;
    line-height: 29px;
  }

  .policy-aside span,
  .policy-aside a:not(.btn),
  .policy-document p,
  .policy-document li {
    font-size: 16px;
    line-height: 22px;
  }

  .policy-document {
    padding: 24px;
  }

  .policy-document h2 {
    font-size: 26px;
    line-height: 31px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: calc(100% - 24px);
    padding: 18px;
    border-radius: 16px;
  }

  .cookie-banner p {
    font-size: 14px;
    line-height: 20px;
  }

  .cookie-banner .btn {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .number-card,
  .problems-grid .number-card,
  .benefits-grid article,
  .service-card,
  .start-card {
    min-height: 190px;
    padding: 84px 24px 24px;
  }

  .number-card b,
  .problems-grid .number-card b {
    top: 22px;
    right: 24px;
    font-size: 58px;
    line-height: 1;
  }

  .number-card h3,
  .problems-grid .number-card h3,
  .benefits-grid h3,
  .service-card h3,
  .start-card h3 {
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 26px;
    letter-spacing: -0.03em;
  }

  .problems-grid .number-card h3 {
    font-size: 20px;
    line-height: 24px;
  }

  .number-card p,
  .problems-grid .number-card p,
  .benefits-grid p,
  .service-card p,
  .start-card p {
    max-width: none;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: -0.01em;
  }

  .problems-grid .number-card p {
    font-size: 14px;
    line-height: 19px;
    text-wrap: balance;
  }

  .service-feature,
  .price-panel,
  .service-card {
    padding: 24px;
  }

  .service-feature,
  .price-panel {
    min-height: 0;
  }

  .service-feature .btn {
    margin-top: 18px;
    margin-bottom: 10px;
  }

  .service-feature p {
    margin-bottom: 18px;
  }

  .service-feature strong {
    margin-bottom: 18px;
  }

  .price-panel {
    padding-bottom: 20px;
  }

  #portfolio .section-head h2,
  #benefits .section-title h2,
  #reviews .section-head h2,
  #contacts .section-head h2 {
    white-space: normal;
  }

  #portfolio .section-head h2 br,
  #benefits .section-title h2 br,
  #reviews .section-head h2 br,
  #contacts .section-head h2 br {
    display: initial;
  }

  .badge {
    margin-bottom: 34px;
    font-size: 22px;
    line-height: 27px;
  }

  .badge-star {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .service-feature h3 {
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 39px;
  }

  .service-feature p,
  .price-panel dd,
  .service-details,
  .service-detail-list,
  .service-detail-note {
    font-size: 15px;
    line-height: 20px;
  }

  .service-feature strong,
  .service-card strong,
  .price-panel dt,
  .price-panel dd {
    font-size: 22px;
    line-height: 27px;
  }

  .price-panel > p {
    margin-bottom: 34px;
    font-size: 18px;
    line-height: 24px;
  }

  .price-panel div {
    gap: 18px;
    margin-bottom: 12px;
  }

  .quiz-meta {
    font-size: 14px;
    line-height: 18px;
  }

  .quiz-meta b {
    font-size: 13px;
  }

  .service-card.is-open .service-toggle,
  .service-card.is-open .service-calc {
    min-height: 38px;
    font-size: 14px;
    line-height: 18px;
  }

  .portfolio-case h3 {
    font-size: 30px;
    line-height: 35px;
  }

  .portfolio-case-section h4,
  .steps .number-card h3 {
    font-size: 22px;
    line-height: 26px;
  }

  .portfolio-case-section p,
  .review-text,
  .review-service,
  .steps .number-card p {
    font-size: 15px;
    line-height: 20px;
  }

  .review {
    padding: 22px;
  }

  .review-name {
    font-size: 20px;
    line-height: 25px;
  }

  .review-date,
  .review-link {
    font-size: 15px;
    line-height: 20px;
  }

  .map-shell {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .map-info-card {
    width: 100%;
  }

  .map-status {
    position: absolute;
    top: 20px;
    right: 20px;
    margin: 0;
  }

  .map-icon {
    background-position: center;
  }

  .footer-cols div > p:not(:first-child) {
    margin-top: 8px;
  }

  .footer-cols div > a + a,
  .footer-cols div > b + b {
    margin-top: 5px;
  }

  .benefits-grid article {
    min-height: 0;
    padding: 22px;
  }

  .benefits-grid article:nth-child(n + 3) {
    min-height: 0;
  }

  .benefits-grid i {
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
  }

  .benefits-grid i img {
    width: 38px;
    height: 38px;
  }

  .quiz-block {
    min-height: 0;
    padding: 28px 16px;
  }

  .quiz-block h2 {
    font-size: 30px;
    line-height: 34px;
  }

  .quiz-line {
    gap: 12px;
    font-size: 15px;
    line-height: 19px;
  }

  .quiz-line b {
    font-size: 18px;
  }

  .quiz-heading p {
    font-size: 14px;
    line-height: 18px;
  }

  .quiz-panel h3 {
    font-size: 20px;
    line-height: 24px;
  }

  .quiz-options strong,
  .quiz-options-compact strong {
    font-size: 18px;
    line-height: 23px;
  }

  .quiz-options em {
    font-size: 14px;
    line-height: 18px;
  }

  .quiz-options span,
  .quiz-options-compact span,
  .big-quiz .quiz-field span {
    font-size: 14px;
    line-height: 18px;
  }

  .big-quiz .quiz-field input,
  .big-quiz .quiz-field select,
  .big-quiz .custom-select-button {
    height: 48px;
    font-size: 15px;
    line-height: 20px;
  }

  .quiz-field.full {
    margin-bottom: 6px;
  }

  .quiz-field-row {
    gap: 5px;
  }

  .quiz-actions {
    margin-top: 8px;
  }

  .big-quiz .quiz-field {
    margin-top: 14px;
  }

  .big-quiz .quiz-field-row,
  .quiz-actions-large {
    gap: 10px;
  }

  .quiz-actions-large {
    margin-top: 16px;
  }

  .quiz-options button,
  .quiz-options-compact button {
    min-height: 78px;
  }

  .start-card {
    min-height: 0;
    padding: 22px;
  }

  .start-card .btn {
    margin-top: 18px;
  }

  .review {
    min-height: 0;
    padding: 20px;
  }

  .review > div {
    gap: 14px;
  }

  .avatar,
  .avatar img {
    width: 46px;
    height: 46px;
  }

  .avatar {
    flex-basis: 46px;
  }

  .stars {
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
  }

  .stars > img {
    margin-top: 2px;
  }

  .stars em,
  .review-source {
    font-size: 13px;
    line-height: 18px;
  }

  blockquote {
    font-size: 15px;
    line-height: 20px;
  }
}

.form-trap{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);pointer-events:none}.consent-control{display:flex;align-items:flex-start;gap:10px;text-align:left}.consent-control input{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;accent-color:#141414}.consent-control a{text-decoration:underline}.consent-control input.is-invalid{outline:2px solid #c43b3b}.cookie-actions{display:flex;gap:8px;flex-wrap:wrap}.cookie-actions .btn{white-space:nowrap}
