/*
 * YourFit — лендинг «Оснащение тренажёрных залов под ключ».
 * Все правила внутри .yf-landing: стили не выходят за блок лендинга,
 * а теговые стили шаблона сайта внутри блока перекрыты (раздел «База»).
 */

/* ===== База внутри блока =====
 * Заменяет сброс Tailwind (preflight), на котором собиралась React-версия.
 * :where() держит специфичность на уровне одного класса, поэтому любые
 * стили лендинга ниже его перекрывают, а теговые стили сайта (h2, p, ul…) — нет.
 */
.yf-landing,
.yf-landing *,
.yf-landing ::before,
.yf-landing ::after,
.yf-landing ::backdrop {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

.yf-landing {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

.yf-landing :where(h1, h2, h3, h4, h5, h6) {
  display: block;
  font-size: inherit;
  font-weight: inherit;
}

.yf-landing :where(a) {
  color: inherit;
  text-decoration: inherit;
  transition: none;
}

.yf-landing :where(b, strong) {
  font-weight: bolder;
}

.yf-landing :where(small) {
  font-size: 80%;
}

.yf-landing :where(ol, ul, menu) {
  list-style: none;
}

.yf-landing :where(img, svg, video, canvas, iframe) {
  display: block;
  vertical-align: middle;
}

.yf-landing :where(img, video) {
  max-width: 100%;
  height: auto;
}

.yf-landing :where(button, input, select, optgroup, textarea) {
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  opacity: 1;
}

.yf-landing :where(button, input[type="button"], input[type="submit"]) {
  appearance: button;
}

.yf-landing :where(input, textarea)::placeholder {
  opacity: 1;
  color: color-mix(in oklab, currentcolor 50%, transparent);
}

.yf-landing :where(textarea) {
  resize: vertical;
}

.yf-landing :where(summary) {
  display: list-item;
}

.yf-landing [hidden]:where(:not([hidden="until-found"])) {
  display: none !important;
}

/* ===== Защита от стилей шаблона сайта (Intec Universe) =====
 * Шаблон нумерует ol > li и ставит маркеры ul > li через ::before,
 * подчёркивает ссылки при наведении и убирает у них обводку фокуса.
 */
.yf-landing :where(ul, ol) > :where(li) {
  position: static;
}

/* У шаблона нумерация объявлена с !important, поэтому и здесь !important.
   Своих ::before у пунктов списков в лендинге нет. */
.yf-landing :where(ul, ol) > :where(li)::before {
  content: none !important;
}

.yf-landing a:is(:hover, :focus, :active) {
  text-decoration: none;
}

.yf-landing a:focus-visible {
  outline: 2px solid #a7795a;
  outline-offset: 2px;
}

/* ===== Стили лендинга ===== */

@font-face {
  font-family: Hoves;
  src: url('../assets/TT_Hoves_Pro_Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: HovesBold;
  src: url('../assets/TT_Hoves_Pro_Expanded_DemiBold.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

.yf-landing {
  font-family: Hoves,Arial,sans-serif!important;
}

.yf-landing h1,
.yf-landing h2,
.yf-landing h3,
.yf-landing b,
.yf-landing strong,
.yf-landing .button {
  font-family: HovesBold,Hoves,Arial,sans-serif;
}

@media(prefers-reduced-motion:reduce) {
  .yf-landing .calc-section {
    margin-top: 0!important;
  }
}

.yf-landing h1 em {
  white-space: nowrap;
}

@media(min-width:901px) {
  .yf-landing .hero {
    min-height: max(580px,calc(100svh - 139.47px))!important;
  }
}

@supports(animation-timeline:view()) {
  .yf-landing .calc-section {
    animation: yf-calc-rise linear both;
    animation-timeline: view();
    animation-range: entry -10% entry 48%;
  }
  @keyframes yf-calc-rise {
    from {
      transform: translateY(96px);
    }
    to {
      transform: translateY(0);
    }
  }
}

.yf-landing .service-progress button {
  transition: border-color .35s,color .35s!important;
}

.yf-landing .yf-logo>span {
  position: absolute;
  display: block;
}

.yf-landing .yf-logo>span>img {
  display: block!important;
  width: 100%!important;
  height: 100%!important;
  max-width: none!important;
}

.yf-landing .yf-logo>span:nth-child(1) {
  inset: 0 67.58% 3.27% 17.76%;
}

.yf-landing .yf-logo>span:nth-child(2) {
  inset: 1.73% 52.94% 3.26% 34.58%;
}

.yf-landing .yf-logo>span:nth-child(3) {
  inset: 1.73% 81.22% 5% 0;
}

.yf-landing .yf-logo>span:nth-child(4) {
  inset: 1.73% 36.33% 5% 49.61%;
}

.yf-landing .yf-logo>span:nth-child(5) {
  inset: 1.73% 20.98% 5% 65.79%;
}

.yf-landing .yf-logo>span:nth-child(6) {
  inset: 1.73% 15.7% 5% 81.13%;
}

.yf-landing .yf-logo>span:nth-child(7) {
  inset: 1.73% 0 5% 86.03%;
}

.yf-landing .yf-logo--inverse>span>img,
.yf-landing .brand-card-logo .yf-logo>span>img {
  filter: brightness(0) invert(1);
}

.yf-landing {
  --ink: #111;
  --paper: #fff;
  --sand: #efded3;
  --tan: #c9a68d;
  --brown: #825e45;
  --brown-deep: #4f3929;
  --muted: #68605b;
  --line: #d9d3ce;
  --dark: #232528;
}

.yf-landing,
.yf-landing * {
  box-sizing: border-box;
}

.yf-landing {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "TT Hoves Pro","Helvetica Neue",Arial,sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.yf-landing button,
.yf-landing input,
.yf-landing select,
.yf-landing textarea {
  font: inherit;
}

.yf-landing button,
.yf-landing a {
  -webkit-tap-highlight-color: transparent;
}

.yf-landing button {
  color: inherit;
}

.yf-landing a {
  color: inherit;
  text-decoration: none;
}

.yf-landing img {
  max-width: 100%;
}

.yf-landing .shell {
  width: min(1240px,calc(100% - 40px));
  margin-inline: auto;
  padding-inline: 20px;
}

.yf-landing .section-pad {
  padding: 112px 0;
}

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

.yf-landing h1,
.yf-landing h2,
.yf-landing h3,
.yf-landing .faq-list summary {
  text-wrap: balance;
}

.yf-landing p,
.yf-landing .faq-answer {
  text-wrap: pretty;
}

.yf-landing h1,
.yf-landing h2,
.yf-landing h3 {
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
}

.yf-landing h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(54px,5.3vw,80px);
}

.yf-landing h1 em {
  color: var(--tan);
  font-style: normal;
}

.yf-landing h2 {
  margin-bottom: 24px;
  font-size: clamp(40px,4vw,50px); /* заголовки секций: максимум 50px */
}

.yf-landing h3 {
  font-size: 25px;
}

.yf-landing .section-head {
  max-width: 900px;
  margin-bottom: 54px;
}

.yf-landing .section-head>p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.yf-landing .button {
  min-height: 58px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .35s,background-color .35s,border-color .35s,transform .35s;
}

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

.yf-landing .button:active {
  transform: none;
}

.yf-landing .button--dark {
  background: var(--dark);
  color: #fff;
}

.yf-landing .button--dark:hover {
  border-color: #3b3f41;
  background: #3b3f41;
}

.yf-landing .button--light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.yf-landing .button--light:hover {
  border-color: var(--sand);
  background: var(--sand);
}

.yf-landing .yf-logo {
  position: relative;
  display: block;
  width: 130px;
  aspect-ratio: 200/28;
}

.yf-landing .yf-logo>img {
  position: absolute;
  display: block;
  max-width: none;
}

.yf-landing .yf-logo>img:nth-child(1) {
  inset: 0 67.58% 3.27% 17.76%;
}

.yf-landing .yf-logo>img:nth-child(2) {
  inset: 1.73% 52.94% 3.26% 34.58%;
}

.yf-landing .yf-logo>img:nth-child(3) {
  inset: 1.73% 81.22% 5% 0;
}

.yf-landing .yf-logo>img:nth-child(4) {
  inset: 1.73% 36.33% 5% 49.61%;
}

.yf-landing .yf-logo>img:nth-child(5) {
  inset: 1.73% 20.98% 5% 65.79%;
}

.yf-landing .yf-logo>img:nth-child(6) {
  inset: 1.73% 15.7% 5% 81.13%;
}

.yf-landing .yf-logo>img:nth-child(7) {
  inset: 1.73% 0 5% 86.03%;
}

.yf-landing .yf-logo--inverse>img {
  filter: brightness(0) invert(1);
}

.yf-landing .hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #171717;
  color: #fff;
}

.yf-landing .hero-bg {
  object-fit: cover;
  object-position: center;
}

.yf-landing .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(10,10,10,.78) 0%,rgba(10,10,10,.46) 45%,rgba(10,10,10,.05) 76%);
}

.yf-landing .hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding-bottom: 70px;
}

.yf-landing .hero-copy {
  max-width: 890px;
}

.yf-landing .hero-copy p {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.55;
}

.yf-landing .brand-strip-wrap {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.yf-landing .brand-strip-wrap:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 88px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(255,255,255,0),#fff 58%);
}

.yf-landing .brand-strip {
  width: max-content;
  min-height: 120px;
  display: flex;
  align-items: center;
  will-change: transform;
  animation: yf-brand-marquee 40s linear infinite;
}

.yf-landing .brand-strip-group {
  width: max(100vw,1320px);
  flex: 0 0 max(100vw,1320px);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.yf-landing .brand-strip-item {
  width: 192px;
  height: 56px;
  display: flex;
  flex: 0 0 192px;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.yf-landing .brand-strip-item>img {
  display: block;
  width: 100%;
  max-width: 180px;
  max-height: 40px;
  object-fit: contain;
  filter: brightness(0);
  opacity: .68;
}

.yf-landing .brand-strip-item .yf-logo {
  width: 126px;
  opacity: .68;
}

.yf-landing .brand-strip-wrap.is-paused .brand-strip {
  animation-play-state: paused;
}

@media(hover:hover) {
  .yf-landing .brand-strip-wrap:hover .brand-strip {
    animation-play-state: paused;
  }
}

@keyframes yf-brand-marquee {
  to {
    transform: translateX(-50%);
  }
}

.yf-landing .service-story {
  position: relative;
  height: 620vh;
  background: #1a1a1a;
}

.yf-landing .service-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.yf-landing .service-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
}

.yf-landing .service-canvas>img {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .65s ease,transform 1.2s cubic-bezier(.2,.7,.2,1);
}

.yf-landing .service-canvas>img.is-active {
  opacity: 1;
  transform: scale(1);
}

.yf-landing .service-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg,rgba(12,12,12,.82) 0%,rgba(12,12,12,.35) 47%,rgba(12,12,12,.08) 75%),linear-gradient(0deg,rgba(8,8,8,.45),transparent 50%);
}

.yf-landing .service-content {
  position: relative;
  z-index: 3;
  height: 100%;
  color: #fff;
}

.yf-landing .service-heading {
  position: absolute;
  top: clamp(38px,7vh,78px);
  left: 20px;
  max-width: 670px;
}

.yf-landing .service-heading h2 {
  font-size: clamp(42px,4vw,50px);
}

.yf-landing .service-heading p {
  max-width: 560px;
  color: rgba(255,255,255,.76);
  font-size: 17px;
}

.yf-landing .service-progress {
  position: absolute;
  left: 20px;
  bottom: 52px;
  display: flex;
  gap: 8px;
}

.yf-landing .service-progress button {
  width: 56px;
  height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid rgba(255,255,255,.28);
  background: none;
  color: rgba(255,255,255,.55);
  text-align: left;
  cursor: pointer;
  transition: border-color .35s,color .35s,width .35s;
}

.yf-landing .service-progress button.is-active {
  width: 84px;
  border-color: var(--tan);
  color: #fff;
}

.yf-landing .service-progress span {
  font-size: 12px;
}

.yf-landing .service-cards {
  position: absolute;
  right: 20px;
  bottom: 52px;
  width: min(430px,38vw);
  min-height: 230px;
}

.yf-landing .service-cards article {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
  background: rgba(239,222,211,.96);
  color: var(--ink);
  border-radius: 24px;
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;
  transition: opacity .45s,transform .45s;
}

.yf-landing .service-cards article.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.yf-landing .service-cards article>span {
  color: var(--brown);
  font-size: 12px;
}

.yf-landing .service-cards h3 {
  margin: 44px 0 12px;
  font-size: 30px;
}

.yf-landing .service-cards p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.yf-landing .service-mobile {
  display: none;
}

.yf-landing .calc-section {
  position: relative;
  z-index: 5;
  margin-top: -112px;
  padding-bottom: 112px;
}

.yf-landing .split-form {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
  overflow: hidden;
  border-radius: 24px;
  background: var(--sand);
}

.yf-landing .split-form-copy {
  padding: 58px 52px;
}

.yf-landing .split-form-copy h2 {
  max-width: 560px;
  font-size: clamp(38px,4vw,50px);
}

.yf-landing .split-form-copy p {
  max-width: 500px;
  color: var(--muted);
  font-size: 18px;
}

.yf-landing .split-form-fields {
  padding: 36px;
  background: #f5ebe5;
  border-radius: 24px;
}

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

.yf-landing .lead-form--compact {
  grid-template-columns: 1fr;
}

.yf-landing .lead-form label {
  display: block;
}

.yf-landing .lead-form label:not(.consent)>span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.yf-landing .lead-form input,
.yf-landing .lead-form select,
.yf-landing .lead-form textarea {
  width: 100%;
  height: 64px;
  padding: 0 20px;
  border: 1px solid #8a8a8a;
  border-radius: 100px;
  background: transparent;
  color: #111;
  outline: none;
  transition: border-color .35s,color .35s;
}

.yf-landing .lead-form textarea {
  height: 112px;
  padding-top: 18px;
  border-radius: 24px;
  resize: vertical;
}

.yf-landing .lead-form input:hover,
.yf-landing .lead-form select:hover,
.yf-landing .lead-form textarea:hover {
  border-color: #5f5f5f;
}

.yf-landing .lead-form input:focus,
.yf-landing .lead-form select:focus,
.yf-landing .lead-form textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}

.yf-landing .lead-form input:invalid:not(:placeholder-shown) {
  border-color: #da3a3c;
}

.yf-landing .lead-form .field-wide {
  grid-column: 1/-1;
}

.yf-landing .lead-form .button {
  width: 100%;
  min-height: 60px;
  border-color: #232528;
  background: #232528;
}

.yf-landing .lead-form .button:hover {
  transform: none;
}

.yf-landing .lead-form .button:disabled {
  border-color: #c3c3c3;
  background: #c3c3c3;
  color: #fff;
  cursor: not-allowed;
}

.yf-landing .consent {
  display: flex!important;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0;
}

.yf-landing .consent>input {
  position: relative;
  flex: 0 0 28px;
  width: 28px!important;
  height: 28px!important;
  min-height: 28px!important;
  padding: 0!important;
  border: 0!important;
  border-radius: 0!important;
  appearance: none;
  background: transparent!important;
  cursor: pointer;
}

.yf-landing .consent>input:before,
.yf-landing .consent>input:after {
  content: "";
  position: absolute;
  inset: 0;
}

.yf-landing .consent>input:before {
  inset: 4px;
  border: 1.5px solid #494949;
  border-radius: 4px;
}

.yf-landing .consent>input:after {
  background: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg%3E%3Crect x='4' y='4' width='20' height='20' rx='4' fill='%23494949'/%3E%3Cpath d='M12.8743 15.8548C12.477 16.2953 11.7858 16.2951 11.3887 15.8544L9.62463 13.8964C9.31677 13.5547 8.78111 13.5538 8.47205 13.8944C8.20401 14.1898 8.20322 14.6402 8.47021 14.9365L11.3884 18.1754C11.7856 18.6163 12.4771 18.6163 12.8743 18.1754L20.533 9.67495C20.7984 9.38035 20.7984 8.93285 20.533 8.63825C20.2255 8.29697 19.6902 8.29685 19.3826 8.63798L12.8743 15.8548Z' fill='white'/%3E%3C/g%3E%3C/svg%3E") center/28px 28px no-repeat;
  opacity: 0;
}

.yf-landing .consent>input:checked:before {
  opacity: 0;
}

.yf-landing .consent>input:checked:after {
  opacity: 1;
}

.yf-landing .consent>input:focus-visible {
  outline: 2px solid #a7795a!important;
  outline-offset: 2px;
}

.yf-landing .consent>span {
  padding-top: 4px;
  color: #5f5f5f;
  font-size: 13px;
}

/* Ссылка «согласие» подчёркнута всегда, как на страницах opt сайта */
.yf-landing .consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yf-landing .consent a:hover,
.yf-landing .consent a:focus-visible,
.yf-landing .consent a:active {
  color: #111;
  text-decoration: underline;
}

.yf-landing .form-success {
  display: block;
  min-height: 280px;
  padding: 26px;
}

.yf-landing .form-success>span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 60px;
  place-items: center;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
}

.yf-landing .form-success h3 {
  margin-bottom: 12px;
}

.yf-landing .form-success p {
  max-width: 520px;
}

.yf-landing .form-success .ui-link {
  margin-top: 22px;
}

.yf-landing .formats-section {
  padding-top: 0;
  overflow: hidden;
}

.yf-landing .format-grid {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  grid-template-rows: auto auto;
  gap: 88px 20px;
  padding-bottom: 100px;
  align-items: start;
}

.yf-landing .format-card {
  min-width: 0;
}

.yf-landing .format-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--sand);
}

.yf-landing .format-card-image img {
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}

.yf-landing .format-card:hover .format-card-image img {
  transform: scale(1.025);
}

.yf-landing .format-card-copy {
  max-width: 620px;
  padding-top: 24px;
}

.yf-landing .format-card h3 {
  margin: 0 0 12px;
  font-size: clamp(26px,2.4vw,36px);
  line-height: 1.08;
}

.yf-landing .format-card p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.yf-landing .format-card--1 {
  grid-column: 1/span 7;
  grid-row: 1;
}

.yf-landing .format-card--1 .format-card-image,
.yf-landing .format-card--4 .format-card-image {
  aspect-ratio: 16/10;
}

.yf-landing .format-card--2 {
  grid-column: 9/span 4;
  grid-row: 1;
  margin-top: 112px;
}

.yf-landing .format-card--2 .format-card-image,
.yf-landing .format-card--3 .format-card-image {
  aspect-ratio: 4/5;
}

.yf-landing .format-card--3 {
  grid-column: 1/span 4;
  grid-row: 2;
  margin-top: -42px;
}

.yf-landing .format-card--4 {
  grid-column: 6/span 7;
  grid-row: 2;
  margin-top: 72px;
}

.yf-landing .zones-section {
  overflow: hidden;
  background: #f6f4f2;
}

.yf-landing .zone-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 20px;
  align-items: end;
}

.yf-landing .zone-heading h2 {
  max-width: 820px;
  margin: 0;
}

.yf-landing .zone-heading p {
  max-width: 350px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.yf-landing .zone-map-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 28px;
  background: #d7c7ba;
  box-shadow: 0 24px 70px rgba(61,45,35,.13);
}

.yf-landing .zone-map-image {
  object-fit: cover;
}

.yf-landing .zone-map-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(20,17,15,.08),transparent 38%,transparent 66%,rgba(20,17,15,.12));
  pointer-events: none;
}

.yf-landing .zone-hotspot {
  position: absolute;
  z-index: 4;
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%,-50%);
  cursor: pointer;
}

.yf-landing .zone-hotspot:before {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: rgba(35,37,40,.82);
  box-shadow: 0 5px 18px rgba(0,0,0,.28);
  transition: width .2s,height .2s,background-color .2s,box-shadow .2s;
}

.yf-landing .zone-hotspot>span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.yf-landing .zone-hotspot>b {
  position: absolute;
  top: 44px;
  left: 50%;
  padding: 5px 9px;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  color: #2b2927;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%,-4px);
  transition: opacity .2s,transform .2s;
  pointer-events: none;
}

.yf-landing .zone-hotspot:hover:before,
.yf-landing .zone-hotspot.is-active:before {
  width: 40px;
  height: 40px;
  background: var(--brown);
  box-shadow: 0 0 0 6px rgba(239,222,211,.45),0 6px 20px rgba(0,0,0,.3);
}

.yf-landing .zone-hotspot:hover>b,
.yf-landing .zone-hotspot:focus-visible>b,
.yf-landing .zone-hotspot.is-active>b {
  opacity: 1;
  transform: translate(-50%,0);
}

.yf-landing .zone-hotspot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.yf-landing .zone-card {
  display: grid;
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
}

.yf-landing .zone-card--desktop {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  width: min(450px,42%);
  min-height: 198px;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(26,20,16,.24);
  animation: yf-zone-card-in .22s ease-out both;
}

.yf-landing .zone-card-image {
  position: relative;
  min-height: 180px;
  background: #f1ebe7;
}

.yf-landing .zone-card-image img {
  object-fit: contain;
  padding: 12px;
}

.yf-landing .zone-card-body {
  padding: 22px 22px 20px;
}

.yf-landing .zone-card-body>span {
  color: var(--brown);
  font-size: 11px;
}

.yf-landing .zone-card-body h3 {
  margin: 18px 0 7px;
  font-size: 22px;
  line-height: 1.1;
}

.yf-landing .zone-card-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.yf-landing .zone-card-body .ui-link {
  font-size: 15px;
  line-height: 23px;
}

.yf-landing .zone-card-body .ui-link>img {
  width: 20px;
  height: 20px;
}

.yf-landing .zone-map-caption {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 18px;
  padding: 7px 11px;
  border-radius: 20px;
  background: rgba(35,37,40,.72);
  color: rgba(255,255,255,.88);
  font-size: 10px;
  letter-spacing: .02em;
}

.yf-landing .zone-card--mobile,
.yf-landing .zone-mobile-nav {
  display: none;
}

@keyframes yf-zone-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.yf-landing .brand-section {
  background: var(--sand);
}

.yf-landing .brand-cards {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: 20px;
}

.yf-landing .brand-card {
  grid-column: span 4;
  min-height: 420px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ded8d3;
  border-radius: 24px;
  background: #fff;
  color: #232528;
  transition: border-color .2s ease;
}

.yf-landing .brand-card:hover,
.yf-landing .brand-card:focus-within {
  border-color: #c9a68d;
}

.yf-landing .brand-card--4 {
  grid-column: 3/span 4;
}

.yf-landing .brand-card--5 {
  grid-column: 7/span 4;
}

.yf-landing .brand-card-logo {
  height: 112px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.yf-landing .brand-card-logo>img {
  width: auto;
  height: auto;
  max-width: min(240px,100%);
  max-height: 64px;
  object-fit: contain;
  filter: brightness(0);
}

.yf-landing .brand-card-logo .yf-logo {
  width: 180px;
  max-width: 100%;
}

.yf-landing .brand-card-logo .yf-logo>span>img {
  filter: brightness(0);
}

.yf-landing .brand-card>span {
  color: #232528;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.yf-landing .brand-card>p {
  margin: 10px 0 0;
  color: #5f5f5f;
  font-size: 16px;
  line-height: 24px;
}

.yf-landing .brand-card>.ui-link {
  margin-top: auto;
  padding-top: 24px;
  color: #825e45;
  border-color: #825e45;
  font-size: 18px;
  line-height: 26px;
}

.yf-landing .brand-card>.ui-link:hover,
.yf-landing .brand-card>.ui-link:focus-visible {
  color: #232528;
  border-color: #232528;
}

.yf-landing .ui-link {
  width: max-content;
  padding: 0 0 2px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 0;
  border-bottom: 2px solid #c9a68d;
  background: none;
  color: #c9a68d;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  cursor: pointer;
  transition: color .35s,border-color .35s;
}

.yf-landing .ui-link>img {
  width: 24px;
  height: 24px;
}

.yf-landing .ui-link:hover,
.yf-landing .ui-link:focus-visible {
  border-color: #825e45;
  color: #825e45;
}

.yf-landing .ui-link:focus-visible {
  outline: 2px solid #a7795a;
  outline-offset: 4px;
}

.yf-landing .ui-link:active {
  border-color: #a7795a;
  color: #a7795a;
}

.yf-landing .proof-section {
  background: var(--brown-deep);
  color: #fff;
}

.yf-landing .proof-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 70px;
}

.yf-landing .proof-layout>div:first-child>p {
  max-width: 430px;
  margin-bottom: 34px;
  color: #f3e9e2;
}

.yf-landing .proof-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  border-top: 1px solid rgba(255,255,255,.4);
}

.yf-landing .proof-grid div {
  min-height: 174px;
  padding: 22px 22px 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
}

.yf-landing .proof-grid div:nth-child(even) {
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.3);
}

.yf-landing .proof-grid .proof-item--wide {
  grid-column: 1 / -1;
  min-height: 0;
}

.yf-landing .proof-grid span,
.yf-landing .proof-grid b {
  display: block;
}

.yf-landing .proof-grid span {
  font-size: 12px;
}

.yf-landing .proof-grid b {
  margin-top: 20px;
  font-size: 18px;
}

.yf-landing .proof-grid p {
  margin: 8px 0 0;
  color: #f3e9e2;
  font-size: 13px;
}

.yf-landing .process-section {
  /* Размер иконки внутри места 56×56: 24px или 20px. Файлы иконок — 48×48 */
  --yf-process-icon: 24px;
  overflow: hidden;
  background: #fff;
}

.yf-landing .process-timeline {
  position: relative;
  margin: 0;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 8px;
  list-style: none;
}

/* линия проходит через центр мест под иконки: 22px отступ + 28px половина места */
.yf-landing .process-timeline:before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 49px;
  left: 8.333%;
  right: 8.333%;
  height: 2px;
  background: linear-gradient(90deg,#c9a68d,#825e45);
}

.yf-landing .process-step {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.yf-landing .process-step-icon {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  margin: 0 auto -16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(130,94,69,.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(72,52,39,.08);
}

.yf-landing .process-step-icon img {
  width: var(--yf-process-icon);
  height: var(--yf-process-icon);
  display: block;
}

.yf-landing .process-step-card {
  min-height: 284px;
  padding: 42px 14px 22px;
  border-radius: 22px;
  background: #f4ebe6;
}

.yf-landing .process-step-card>span {
  display: block;
  margin-bottom: 20px;
  color: var(--brown);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.yf-landing .process-step-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.1;
}

.yf-landing .process-step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.yf-landing .process-step:nth-child(even) .process-step-card {
  background: #f7f4f2;
}

.yf-landing .projects-section {
  background: #f6f4f2;
}

.yf-landing .projects-grid {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  gap: 20px;
  align-items: start;
}

.yf-landing .project-card--1 {
  grid-column: span 5;
}

.yf-landing .project-card--2 {
  grid-column: span 3;
  margin-top: 80px;
}

.yf-landing .project-card--3 {
  grid-column: span 4;
  margin-top: 24px;
}

.yf-landing .project-image {
  position: relative;
  height: 390px;
  overflow: hidden;
  border-radius: 24px;
}

.yf-landing .project-card--2 .project-image {
  height: 300px;
}

.yf-landing .project-card--3 .project-image {
  height: 450px;
}

.yf-landing .project-image img {
  object-fit: cover;
  transition: transform .6s;
}

.yf-landing .project-card:hover .project-image img {
  transform: scale(1.03);
}

.yf-landing .project-image:after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(0deg,rgba(0,0,0,.65),transparent);
}

.yf-landing .project-image span {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 20px;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
}

.yf-landing .project-card h3 {
  margin: 22px 0 8px;
}

.yf-landing .project-card p {
  color: var(--muted);
}

.yf-landing .seo-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
}

.yf-landing .seo-layout p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.yf-landing .faq-section {
  background: #f6f4f2;
}

.yf-landing .faq-layout>h2 {
  max-width: 900px;
  margin-bottom: 40px;
}

.yf-landing .faq-list details {
  margin-bottom: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #efded3;
  transition: background-color .3s;
}

.yf-landing .faq-list summary {
  position: relative;
  min-height: 72px;
  padding: 20px 88px 20px 28px;
  display: block;
  color: #404040;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: color .3s;
}

.yf-landing .faq-list summary::-webkit-details-marker {
  display: none;
}

.yf-landing .faq-list summary:focus-visible {
  outline: 2px solid #a7795a;
  outline-offset: -3px;
}

.yf-landing .faq-icon {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}

.yf-landing .faq-arrow {
  position: absolute;
  inset: 0;
  width: 48px;
  height: 48px;
  transform: rotate(0deg);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}

.yf-landing .faq-answer {
  padding: 0 28px 24px;
}

.yf-landing .faq-answer p {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

.yf-landing .faq-list details[open] {
  background: var(--brown);
}

.yf-landing .faq-list details[open] summary {
  color: #fff;
}

.yf-landing .faq-list details[open] .faq-arrow {
  transform: rotate(180deg);
}

.yf-landing .faq-list details[open] .faq-answer {
  animation: yf-faq-reveal .3s ease-out both;
}

@keyframes yf-faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.yf-landing .final-section {
  background: #fff;
}

.yf-landing .final-section .split-form {
  background: transparent;
}

.yf-landing .split-form--final {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
  overflow: visible;
  border-radius: 0;
}

.yf-landing .final-form-panel {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-radius: 24px;
  background: #efded3;
}

.yf-landing .split-form--final .split-form-copy {
  padding: 0;
}

.yf-landing .split-form--final .split-form-copy h2 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(38px,4vw,50px);
  line-height: 1.2;
}

.yf-landing .split-form--final .split-form-copy p {
  max-width: 520px;
  margin: 0;
  color: #111;
  font-size: 20px;
  line-height: 1.4;
}

.yf-landing .split-form--final .split-form-fields {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.yf-landing .lead-form--footer {
  grid-template-columns: 1fr;
  gap: 12px;
}

.yf-landing .lead-form--footer .field-wide {
  grid-column: 1;
}

.yf-landing .lead-form--footer textarea {
  height: 64px;
  padding-top: 18px;
  border-radius: 100px;
  resize: none;
}

.yf-landing .lead-form--footer .button {
  min-height: 60px;
  margin-top: 0;
}

.yf-landing .lead-form--footer .consent {
  margin: 0;
}

.yf-landing .lead-form--footer .consent>span {
  font-size: 14px;
  line-height: 1.4;
}

/* Визуал по брендбуку: надписи «В ритме» и YOURFIT уже в картинке.
   Картинка по ширине и прижата к низу, свободное место сверху — цвет её фона. */
.yf-landing .final-form-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #c4a891;
}

.yf-landing .final-form-visual>img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
}




/* Подложка на весь экран: браузер по умолчанию ограничивает <dialog> размером «экран − 38px»,
   из‑за этого справа и снизу оставалась светлая полоса, а открытый список вылезал за диалог и давал прокрутку */
.yf-landing .modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 20px;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 0;
  background: rgba(17,17,17,.68);
  backdrop-filter: blur(8px);
}

.yf-landing .modal[open] {
  display: grid;
  place-items: center;
}

.yf-landing .modal::backdrop {
  background: rgba(17,17,17,.68);
  backdrop-filter: blur(8px);
}

.yf-landing .modal-card {
  position: relative;
  width: min(850px,100%);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 54px;
  background: var(--sand);
  border-radius: 24px;
}

.yf-landing .modal-card>p {
  max-width: 620px;
  color: var(--muted);
}

.yf-landing .modal-card h2 {
  max-width: 720px;
  font-size: 44px;
}

.yf-landing .modal-card .lead-form {
  margin-top: 28px;
}

.yf-landing .modal-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 26px;
  cursor: pointer;
}

@media(max-width:900px) {
  .yf-landing .shell {
    width: min(100% - 24px,1240px);
    padding-inline: 8px;
  }
  .yf-landing .section-pad {
    padding: 78px 0;
  }
  .yf-landing .hero {
    min-height: 650px;
  }
  .yf-landing .hero-inner {
    padding-bottom: 54px;
  }
  .yf-landing .hero-copy {
    max-width: 680px;
  }
  .yf-landing .hero-copy p {
    font-size: 16px;
  }
  .yf-landing .service-story {
    height: auto;
    padding: 78px 0;
    background: #f6f4f2;
  }
  .yf-landing .service-sticky {
    display: none;
  }
  .yf-landing .service-mobile {
    display: block;
  }
  .yf-landing .service-mobile .section-head {
    margin-bottom: 40px;
  }
  .yf-landing .service-mobile article {
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 24px;
    background: #efded3;
  }
  .yf-landing .service-mobile-image {
    position: relative;
    height: 380px;
  }
  .yf-landing .service-mobile-image img {
    object-fit: cover;
  }
  .yf-landing .service-mobile article>div:last-child {
    padding: 24px;
  }
  .yf-landing .service-mobile article span {
    color: var(--brown);
    font-size: 12px;
  }
  .yf-landing .service-mobile article h3 {
    margin: 30px 0 10px;
  }
  .yf-landing .service-mobile article p {
    margin: 0;
    color: var(--muted);
  }
  .yf-landing .calc-section {
    margin-top: -48px;
    padding-bottom: 78px;
  }
  .yf-landing .split-form {
    grid-template-columns: 1fr;
  }
  .yf-landing .split-form-copy {
    padding: 40px 32px;
  }
  .yf-landing .split-form-fields {
    padding: 28px;
  }
  .yf-landing .formats-section {
    padding-top: 0;
  }
  .yf-landing .format-card--1,
  .yf-landing .format-card--2,
  .yf-landing .format-card--3,
  .yf-landing .format-card--4 {
    grid-column: span 6;
  }
  .yf-landing .zones-layout,
  .yf-landing .proof-layout,
  .yf-landing .seo-layout {
    grid-template-columns: 1fr;
  }
  .yf-landing .zones-copy img {
    width: 170px;
    margin: 20px 0 40px;
  }
  .yf-landing .brand-card--1,
  .yf-landing .brand-card--2,
  .yf-landing .brand-card--3,
  .yf-landing .brand-card--4 {
    grid-column: span 6;
  }
  .yf-landing .brand-card--5 {
    grid-column: span 12;
  }
  .yf-landing .process-timeline {
    padding: 0 0 0 30px;
    display: block;
  }
  .yf-landing .process-timeline:before {
    top: 50px;
    bottom: 50px;
    left: 14px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg,#c9a68d,#825e45);
  }
  .yf-landing .process-step {
    margin-bottom: 14px;
  }
  .yf-landing .process-step:last-child {
    margin-bottom: 0;
  }
  .yf-landing .process-step-icon {
    position: absolute;
    top: 22px;
    left: -30px;
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: 16px;
  }
  .yf-landing .process-step-card {
    min-height: 142px;
    padding: 24px 22px 24px 44px;
  }
  .yf-landing .process-step-card>span {
    margin-bottom: 12px;
  }
  .yf-landing .process-step-card h3 {
    font-size: 21px;
  }
}

@media(max-width:620px) {
  .yf-landing h1 {
    font-size: 42px;
    line-height: 1.02;
  }
  .yf-landing h2 {
    font-size: 34px;
  }
  .yf-landing .section-head {
    margin-bottom: 36px;
  }
  .yf-landing .hero {
    min-height: 690px;
  }
  .yf-landing .hero-bg {
    object-position: 62% center;
  }
  .yf-landing .hero-overlay {
    background: linear-gradient(0deg,rgba(8,8,8,.9) 0%,rgba(8,8,8,.54) 65%,rgba(8,8,8,.15) 100%);
  }
  .yf-landing .hero-inner {
    align-items: flex-end;
    padding-bottom: 36px;
  }
  .yf-landing .hero-copy p {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.45;
  }
  .yf-landing .hero-copy .button {
    width: 100%;
  }
  .yf-landing .brand-strip {
    min-height: 88px;
    animation-duration: 39s;
  }
  .yf-landing .brand-strip-group {
    width: 860px;
    flex-basis: 860px;
    padding: 0;
  }
  .yf-landing .brand-strip-item {
    width: 140px;
    height: 40px;
    flex-basis: 140px;
  }
  .yf-landing .brand-strip-item>img {
    max-width: 140px;
    max-height: 32px;
  }
  .yf-landing .brand-strip-item .yf-logo {
    width: 110px;
  }
  .yf-landing .brand-strip-wrap:after {
    width: 70px;
  }
  .yf-landing .service-story {
    padding: 64px 0 42px;
  }
  .yf-landing .service-mobile-image {
    height: 250px;
  }
  .yf-landing .service-mobile article>div:last-child {
    padding: 20px;
  }
  .yf-landing .service-mobile article h3 {
    margin-top: 24px;
    font-size: 23px;
  }
  .yf-landing .calc-section {
    margin-top: 0;
    padding-bottom: 64px;
    background: #f6f4f2;
  }
  .yf-landing .calc-section .shell {
    width: 100%;
    padding: 0 12px;
  }
  .yf-landing .split-form-copy {
    padding: 28px 20px 20px;
  }
  .yf-landing .split-form-copy p {
    font-size: 16px;
  }
  .yf-landing .split-form-fields {
    padding: 20px 12px;
    border-radius: 20px;
  }
  .yf-landing .lead-form {
    grid-template-columns: 1fr;
  }
  .yf-landing .lead-form .field-wide {
    grid-column: 1;
  }
  .yf-landing .lead-form input,
  .yf-landing .lead-form select {
    height: 52px;
  }
  .yf-landing .lead-form .button {
    min-height: 52px;
  }
  .yf-landing .format-grid {
    display: block;
  }
  .yf-landing .format-card {
    min-height: 270px;
    margin-bottom: 12px;
  }
  .yf-landing .format-card:hover {
    transform: none;
  }
  .yf-landing .zone-list a {
    grid-template-columns: 36px 1fr 22px;
  }
  .yf-landing .zone-list b {
    font-size: 18px;
  }
  .yf-landing .brand-cards {
    display: block;
  }
  .yf-landing .brand-card,
  .yf-landing .brand-card--5 {
    min-height: 500px;
    margin-bottom: 14px;
  }
  .yf-landing .brand-card--5 .brand-card-image {
    inset: 0;
    width: 100%;
    height: 48%;
    background: #d8c0af;
  }
  .yf-landing .brand-card--5 .brand-card-content {
    right: 24px;
  }
  .yf-landing .brand-card-content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }
  .yf-landing .brand-card-logo>img {
    max-width: 150px;
  }
  .yf-landing .ui-link {
    font-size: 18px;
  }
  .yf-landing .proof-grid {
    grid-template-columns: 1fr;
  }
  .yf-landing .proof-grid div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
  .yf-landing .process-timeline {
    padding-left: 24px;
  }
  .yf-landing .process-timeline:before {
    left: 11px;
  }
  .yf-landing .process-step-icon {
    left: -24px;
  }
  .yf-landing .process-step-card {
    min-height: 136px;
    padding: 22px 18px 22px 44px;
  }
  .yf-landing .process-step-card h3 {
    font-size: 19px;
  }
  .yf-landing .process-step-card p {
    font-size: 13px;
  }
  .yf-landing .projects-grid {
    display: block;
  }
  .yf-landing .project-card {
    margin: 0 0 42px;
  }
  .yf-landing .project-image,
  .yf-landing .project-card--2 .project-image,
  .yf-landing .project-card--3 .project-image {
    height: 300px;
  }
  .yf-landing .seo-layout {
    gap: 24px;
  }
  .yf-landing .seo-layout p {
    font-size: 15px;
  }
  .yf-landing .faq-layout>h2 {
    font-size: 32px;
  }
  .yf-landing .faq-list summary {
    min-height: 68px;
    padding: 18px 72px 18px 20px;
    font-size: 17px;
    line-height: 1.4;
  }
  .yf-landing .faq-icon {
    right: 12px;
  }
  .yf-landing .faq-answer {
    padding: 0 20px 20px;
  }
  .yf-landing .faq-answer p {
    font-size: 16px;
    line-height: 1.5;
  }
  .yf-landing .modal-card {
    padding: 48px 20px 24px;
  }
  .yf-landing .modal-card h2 {
    font-size: 32px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .yf-landing .brand-strip-wrap:after {
    display: none;
  }
  .yf-landing .brand-strip {
    width: 100%;
    animation: none;
    will-change: auto;
  }
  .yf-landing .brand-strip-group {
    width: 100%;
    flex: 0 0 100%;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
  }
  .yf-landing .brand-strip-group[aria-hidden=true] {
    display: none;
  }
  .yf-landing .brand-strip-item {
    width: 100%;
    height: 56px;
    min-width: 0;
  }
}

@media(max-width:900px) and (prefers-reduced-motion:reduce) {
  .yf-landing .brand-strip-group {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media(max-width:620px) and (prefers-reduced-motion:reduce) {
  .yf-landing .brand-strip {
    min-height: 0;
  }
  .yf-landing .brand-strip-group {
    padding: 24px 16px;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px 28px;
  }
  .yf-landing .brand-strip-item {
    width: 100%;
    height: 40px;
  }
  .yf-landing .brand-strip-item:last-child {
    grid-column: 1/-1;
  }
}

@media(max-width:900px) {
  .yf-landing .split-form--final {
    grid-template-columns: 1fr;
  }
  .yf-landing .final-form-panel {
    padding: 32px;
  }
  .yf-landing .final-form-visual {
    min-height: clamp(460px,70vw,620px);
  }
  .yf-landing .split-form--final .split-form-copy {
    padding: 0;
  }
  .yf-landing .split-form--final .split-form-fields {
    padding: 0;
  }
  .yf-landing .split-form--final .split-form-copy h2 {
    font-size: 40px;
  }
}

@media(max-width:620px) {
  .yf-landing .final-section .shell {
    width: 100%;
    padding-inline: 12px;
  }
  .yf-landing .split-form--final {
    gap: 12px;
  }
  .yf-landing .final-form-panel {
    padding: 24px 20px;
    gap: 28px;
    border-radius: 20px;
  }
  .yf-landing .split-form--final .split-form-copy h2 {
    font-size: 32px;
    line-height: 1.15;
  }
  .yf-landing .split-form--final .split-form-copy p {
    font-size: 16px;
  }
  .yf-landing .lead-form--footer input,
  .yf-landing .lead-form--footer textarea,
  .yf-landing .lead-form--footer .custom-select>button {
    height: 56px;
  }
  .yf-landing .lead-form--footer .button {
    min-height: 56px;
  }
  .yf-landing .final-form-visual {
    min-height: 460px;
    border-radius: 20px;
  }
}

@media(max-width:900px) {
  .yf-landing .zone-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .yf-landing .zone-heading p {
    max-width: 520px;
  }
  .yf-landing .zone-map-wrap {
    aspect-ratio: 16/10;
    border-radius: 22px;
  }
  .yf-landing .zone-card--desktop {
    display: none;
  }
  .yf-landing .zone-card--mobile {
    margin-top: 14px;
    grid-template-columns: 150px 1fr;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(61,45,35,.1);
    animation: yf-zone-card-in .22s ease-out both;
  }
  .yf-landing .zone-card--mobile .zone-card-image {
    min-height: 190px;
  }
  .yf-landing .zone-mobile-nav {
    margin-top: 14px;
    padding-bottom: 6px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .yf-landing .zone-mobile-nav::-webkit-scrollbar {
    display: none;
  }
  .yf-landing .zone-mobile-nav button {
    min-width: max-content;
    height: 40px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #c8c2bd;
    border-radius: 100px;
    background: transparent;
    color: #4b4845;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
  }
  .yf-landing .zone-mobile-nav button span {
    font-size: 12px;
  }
  .yf-landing .zone-mobile-nav button.is-active {
    border-color: var(--brown);
    background: var(--brown);
    color: #fff;
  }
}

@media(max-width:620px) {
  .yf-landing .zones-section {
    padding-top: 64px;
  }
  .yf-landing .zone-heading {
    margin-bottom: 24px;
  }
  .yf-landing .zone-heading h2 {
    font-size: 32px;
  }
  .yf-landing .zone-heading p {
    font-size: 13px;
  }
  .yf-landing .zone-map-wrap {
    aspect-ratio: 350/238;
    border-radius: 18px;
  }
  .yf-landing .zone-map-shade {
    background: linear-gradient(0deg,rgba(20,17,15,.12),transparent 45%);
  }
  .yf-landing .zone-hotspot {
    width: 44px;
    height: 44px;
  }
  .yf-landing .zone-hotspot:before {
    width: 27px;
    height: 27px;
  }
  .yf-landing .zone-hotspot:hover:before,
  .yf-landing .zone-hotspot.is-active:before {
    width: 33px;
    height: 33px;
    box-shadow: 0 0 0 4px rgba(239,222,211,.48),0 5px 14px rgba(0,0,0,.25);
  }
  .yf-landing .zone-hotspot>b {
    display: none;
  }
  .yf-landing .zone-map-caption {
    display: none;
  }
  .yf-landing .zone-card--mobile {
    grid-template-columns: 108px 1fr;
    border-radius: 18px;
  }
  .yf-landing .zone-card--mobile .zone-card-image {
    min-height: 100%;
  }
  .yf-landing .zone-card-image img {
    padding: 8px;
  }
  .yf-landing .zone-card-body {
    padding: 16px 16px 17px;
  }
  .yf-landing .zone-card-body h3 {
    margin: 12px 0 6px;
    font-size: 18px;
  }
  .yf-landing .zone-card-body p {
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.35;
  }
  .yf-landing .zone-card-body .ui-link {
    font-size: 14px;
  }
  .yf-landing .zone-mobile-nav {
    margin-right: -12px;
  }
  .yf-landing .zone-mobile-nav button {
    height: 38px;
    padding: 0 12px;
  }
  .yf-landing .zone-mobile-nav button span {
    font-size: 11px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .yf-landing,
  .yf-landing * {
    scroll-behavior: auto!important;
    transition: none!important;
    animation: none!important;
  }
  .yf-landing .service-story {
    height: auto;
    padding: 112px 0;
    background: #f6f4f2;
  }
  .yf-landing .service-sticky {
    display: none;
  }
  .yf-landing .service-mobile {
    display: block;
  }
  .yf-landing .service-mobile article {
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 24px;
    background: #efded3;
  }
  .yf-landing .service-mobile-image {
    position: relative;
    height: 420px;
  }
  .yf-landing .service-mobile-image img {
    object-fit: cover;
  }
  .yf-landing .service-mobile article>div:last-child {
    padding: 24px;
  }
  .yf-landing .service-mobile article span {
    color: var(--brown);
    font-size: 12px;
  }
  .yf-landing .service-mobile article h3 {
    margin: 30px 0 10px;
  }
  .yf-landing .service-mobile article p {
    margin: 0;
    color: var(--muted);
  }
}

.yf-landing .zone-card--desktop.zone-card--left {
  right: auto;
  left: 24px;
}

.yf-landing .zone-card--desktop {
  z-index: 6;
  width: min(620px, 54%);
  min-height: 250px;
  grid-template-columns: 260px minmax(0, 1fr);
}

.yf-landing .zone-card,
.yf-landing .zone-card-image {
  background: #fff;
}

.yf-landing .zone-card-image img {
  object-fit: contain !important;
  object-position: center !important;
  padding: 16px;
}

.yf-landing .zone-card-body {
  min-width: 0;
}

.yf-landing .zone-card-body h3 {
  margin-top: 0;
}

.yf-landing .zone-card-body .ui-link {
  width: fit-content;
  max-width: 100%;
  white-space: normal;
}

.yf-landing .zone-card-body .ui-link > span {
  min-width: 0;
}

.yf-landing .zone-card-body .ui-link > img {
  flex: 0 0 auto;
}

.yf-landing .media-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #d8d1cb;
  color: #625a55;
}

.yf-landing .media-placeholder span {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.yf-landing .media-placeholder b {
  max-width: 250px;
  font-size: 18px;
  line-height: 1.2;
}

.yf-landing .process-panel .media-placeholder {
  background: #655d57;
  color: rgba(255, 255, 255, .72);
}

.yf-landing .process-panel .media-placeholder b {
  color: rgba(255, 255, 255, .88);
}

.yf-landing .process-tabs button.is-active {
  border-radius: 0;
}

.yf-landing .format-card--3 .format-card-image img {
  object-position: 68% center;
}

.yf-landing .format-card--4 .format-card-image img {
  object-position: center 58%;
}

.yf-landing .project-image .media-placeholder {
  background: #d8d1cb;
}

/* Branded select shared by the calculator, request form and modal. */

.yf-landing .custom-select {
  position: relative;
  min-width: 0;
}

.yf-landing .custom-select-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.yf-landing .custom-select > button {
  position: relative;
  width: 100%;
  height: 64px;
  padding: 0 56px 0 20px;
  border: 1px solid #8a8a8a;
  border-radius: 999px;
  background: transparent;
  color: #111;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.yf-landing .custom-select > button > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yf-landing .custom-select > button .is-placeholder {
  color: #625d59;
}

.yf-landing .custom-select > button svg {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform .2s ease;
}

.yf-landing .custom-select > button:hover {
  border-color: #4d4946;
}

.yf-landing .custom-select > button:focus-visible {
  outline: 2px solid #a7795a;
  outline-offset: 3px;
}

.yf-landing .custom-select.is-open > button {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}

.yf-landing .custom-select.is-open > button svg {
  transform: translateY(-50%) rotate(180deg);
}

.yf-landing .custom-select.is-invalid > button {
  border-color: #c33b3d;
}

.yf-landing .custom-select-menu {
  position: fixed;
  z-index: 500;
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #c9a68d;
  border-radius: 20px;
  background: #f5ebe5;
  box-shadow: 0 18px 44px rgba(47, 34, 27, .18);
  transform-origin: top center;
  animation: yf-custom-select-in .16s ease-out both;
}

.yf-landing .custom-select-menu.is-above {
  transform-origin: bottom center;
}

.yf-landing .custom-select-menu [role='option'] {
  display: flex;
  min-height: 44px;
  padding: 10px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  color: #171513;
  font-size: 16px;
  line-height: 1.35;
  cursor: pointer;
}

.yf-landing .custom-select-menu [role='option'].is-active {
  background: #ead8cc;
}

.yf-landing .custom-select-menu [role='option'].is-selected {
  background: #825e45;
  color: #fff;
}

.yf-landing .custom-select-menu [role='option'] svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.yf-landing .custom-select-menu::-webkit-scrollbar {
  width: 8px;
}

.yf-landing .custom-select-menu::-webkit-scrollbar-thumb {
  border: 2px solid #f5ebe5;
  border-radius: 99px;
  background: #b8947b;
}

/* Дорожка скроллбара не заходит на скруглённые углы списка: отступ = радиус скругления */
.yf-landing .custom-select-menu::-webkit-scrollbar-track {
  margin-block: 20px;
  background: transparent;
}

@media (max-width: 620px) {
  .yf-landing .custom-select-menu::-webkit-scrollbar-track {
    margin-block: 16px;
  }
}

/* Firefox не поддерживает ::-webkit-scrollbar: тонкий скроллбар в цветах списка */
@supports not selector(::-webkit-scrollbar) {
  .yf-landing .custom-select-menu {
    scrollbar-width: thin;
    scrollbar-color: #b8947b transparent;
  }
}

@keyframes yf-custom-select-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .yf-landing .zone-card--mobile {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }
  .yf-landing .zone-card--mobile .zone-card-image {
    width: 100%;
    min-width: 0;
    height: clamp(280px, 46vw, 360px);
    min-height: 0;
    overflow: hidden;
  }
  .yf-landing .zone-mobile-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    margin-right: 0;
    padding-bottom: 0;
  }
  .yf-landing .zone-mobile-nav button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    height: auto;
    padding: 8px 12px;
    justify-content: center;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .yf-landing .zone-card--desktop {
    width: min(560px, 56%);
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .yf-landing .zone-card--desktop .zone-card-body {
    padding: 16px;
  }
  .yf-landing .zone-card--desktop .zone-card-body h3 {
    margin-top: 0;
    font-size: 18px;
  }
  .yf-landing .zone-card--desktop .zone-card-body .ui-link {
    width: auto;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .yf-landing .zone-map-wrap {
    aspect-ratio: 16 / 9;
  }
  .yf-landing .brand-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yf-landing .brand-card,
  .yf-landing .brand-card--1,
  .yf-landing .brand-card--2,
  .yf-landing .brand-card--3,
  .yf-landing .brand-card--4,
  .yf-landing .brand-card--5 {
    grid-column: auto;
    min-height: 420px;
    padding: 28px;
  }
  .yf-landing .brand-card-logo {
    height: 96px;
  }
  .yf-landing .brand-card-logo > img {
    max-width: min(220px, 100%);
    max-height: 60px;
  }
  .yf-landing .brand-card-logo .yf-logo {
    width: 170px;
  }
  .yf-landing .format-grid {
    gap: 56px 20px;
    padding-bottom: 72px;
  }
  .yf-landing .format-card--2 {
    margin-top: 72px;
  }
  .yf-landing .format-card--3 {
    margin-top: -24px;
  }
  .yf-landing .format-card--4 {
    margin-top: 48px;
  }
}

@media (max-width: 620px) {
  .yf-landing .zone-card--mobile {
    grid-template-columns: 1fr;
  }
  .yf-landing .zone-card--mobile .zone-card-image {
    height: 220px;
    min-height: 0;
  }
  .yf-landing .zone-card-image img {
    padding: 18px;
  }
  .yf-landing .zone-card-body {
    padding-top: 18px;
  }
  .yf-landing .zone-card-body h3 {
    margin-top: 0;
  }
  .yf-landing .zone-mobile-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-right: 0;
  }
  .yf-landing .zone-mobile-nav button {
    min-height: 44px;
    height: auto;
    padding: 9px 10px;
  }
  .yf-landing .brand-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .yf-landing .brand-card,
  .yf-landing .brand-card--1,
  .yf-landing .brand-card--2,
  .yf-landing .brand-card--3,
  .yf-landing .brand-card--4,
  .yf-landing .brand-card--5 {
    min-height: 0;
    padding: 24px;
    margin: 0;
  }
  .yf-landing .brand-card-logo {
    height: 88px;
    margin-bottom: 20px;
  }
  .yf-landing .brand-card-logo > img {
    max-width: min(210px, 100%);
    max-height: 56px;
  }
  .yf-landing .brand-card-logo .yf-logo {
    width: 160px;
  }
  .yf-landing .brand-card > span {
    font-size: 13px;
    line-height: 19px;
  }
  .yf-landing .brand-card > p {
    font-size: 15px;
    line-height: 23px;
  }
  .yf-landing .brand-card > .ui-link {
    font-size: 17px;
    line-height: 24px;
  }
  .yf-landing .format-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 40px;
    padding-bottom: 0;
  }
  .yf-landing .format-card,
  .yf-landing .format-card--1,
  .yf-landing .format-card--2,
  .yf-landing .format-card--3,
  .yf-landing .format-card--4 {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
    margin: 0;
  }
  .yf-landing .format-card--1 .format-card-image,
  .yf-landing .format-card--2 .format-card-image,
  .yf-landing .format-card--3 .format-card-image,
  .yf-landing .format-card--4 .format-card-image {
    aspect-ratio: 4 / 3;
  }
  .yf-landing .format-card-image {
    border-radius: 20px;
  }
  .yf-landing .format-card-copy {
    padding-top: 18px;
  }
  .yf-landing .format-card h3 {
    font-size: 26px;
  }
  .yf-landing .format-card p {
    font-size: 16px;
  }
  .yf-landing .format-card:hover .format-card-image img {
    transform: none;
  }
  .yf-landing .custom-select > button {
    height: 52px;
    padding-right: 52px;
    font-size: 16px;
  }
  .yf-landing .custom-select > button svg {
    right: 16px;
  }
  .yf-landing .custom-select-menu {
    border-radius: 16px;
  }
}

/* One continuous scroll-controlled scene for the turnkey service composition. */

.yf-landing .service-story {
  /* 100svh экран + 6 равных слайдов по 58,8svh (длина прокрутки слайда прежняя) */
  height: 452.8svh;
  padding: 0;
  background: #171717;
}

.yf-landing .service-sticky {
  display: block;
  height: 100svh;
}

.yf-landing .service-canvas > .service-frame {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: none;
  transition: opacity .48s cubic-bezier(.16, 1, .3, 1);
}

.yf-landing .service-canvas > .service-frame.is-active {
  opacity: 1;
  transform: none;
}

.yf-landing .service-shade {
  background: linear-gradient(180deg, rgba(10, 10, 10, .76) 0%, rgba(10, 10, 10, .28) 34%, transparent 58%),
    linear-gradient(90deg, rgba(10, 10, 10, .62) 0%, rgba(10, 10, 10, .16) 48%, rgba(10, 10, 10, .08) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, .44) 0%, transparent 36%);
}

.yf-landing .service-content {
  isolation: isolate;
}

.yf-landing .service-heading {
  top: clamp(36px, 6vh, 68px);
  left: 20px;
  max-width: 650px;
}

.yf-landing .service-heading h2 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(42px, 4vw, 50px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.yf-landing .service-heading p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.45;
}

.yf-landing .service-title-line {
  display: block;
  white-space: nowrap;
}

@media (min-width: 901px) {
  .yf-landing .hero-inner {
    align-items: center;
    padding-bottom: 0;
  }
  .yf-landing .hero-copy {
    max-width: 780px;
    transform: translateY(-4vh);
  }
  .yf-landing .hero-copy h1 {
    max-width: 780px;
    font-size: clamp(44px, 4vw, 62px);
  }
  .yf-landing .service-heading {
    max-width: 800px;
  }
  .yf-landing .service-heading h2 {
    max-width: 780px;
  }
}

@media (min-width: 621px) and (max-width: 900px) {
  .yf-landing .hero-inner {
    align-items: center;
    padding-bottom: 0;
  }
  .yf-landing .hero-copy {
    transform: translateY(-24px);
  }
  .yf-landing .hero-copy h1 {
    font-size: clamp(42px, 6vw, 50px);
  }
}

@media (max-width: 620px) {
  .yf-landing .hero-copy h1 {
    font-size: 36px;
  }
}

.yf-landing .service-cards {
  position: absolute;
  inset: 0 20px;
  width: auto;
  min-height: 0;
  pointer-events: none;
}

.yf-landing .service-cards .service-card {
  position: absolute;
  inset: auto;
  width: min(330px, 31vw);
  min-height: 0;
  padding: 22px;
  overflow: visible;
  border-radius: 14px;
  background: rgba(239, 222, 211, .97);
  box-shadow: 0 18px 50px rgba(10, 8, 7, .24);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  clip-path: inset(12% 0 0 0 round 14px);
  transform: translateY(18px);
  transition: opacity .3s ease, transform .42s cubic-bezier(.16, 1, .3, 1), clip-path .42s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .42s;
}

.yf-landing .service-cards .service-card.is-active {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 round 14px);
  transform: none;
  transition-delay: .08s, .08s, .08s, 0s;
}

.yf-landing .service-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.yf-landing .service-card p {
  margin: 0;
  color: #5e5651;
  font-size: 15px;
  line-height: 1.45;
}

.yf-landing .service-card-pointer {
  position: absolute;
  top: 50%;
  width: clamp(44px, 6vw, 88px);
  height: 1px;
  background: rgba(255, 255, 255, .82);
}

.yf-landing .service-card-pointer::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .2);
}

.yf-landing .service-cards .service-card--1,
.yf-landing .service-cards .service-card--3,
.yf-landing .service-cards .service-card--5 {
  left: 0;
}

.yf-landing .service-cards .service-card--2,
.yf-landing .service-cards .service-card--4,
.yf-landing .service-cards .service-card--6 {
  right: 0;
}

.yf-landing .service-cards .service-card--1 {
  top: 52%;
}

.yf-landing .service-cards .service-card--2 {
  bottom: 10%;
}

.yf-landing .service-cards .service-card--3 {
  bottom: 12%;
}

.yf-landing .service-cards .service-card--4 {
  top: 42%;
}

.yf-landing .service-cards .service-card--5 {
  top: 49%;
}

.yf-landing .service-cards .service-card--6 {
  bottom: 10%;
}

.yf-landing .service-card--1 .service-card-pointer,
.yf-landing .service-card--3 .service-card-pointer,
.yf-landing .service-card--5 .service-card-pointer {
  left: 100%;
}

.yf-landing .service-card--1 .service-card-pointer::after,
.yf-landing .service-card--3 .service-card-pointer::after,
.yf-landing .service-card--5 .service-card-pointer::after {
  right: -3px;
}

.yf-landing .service-card--2 .service-card-pointer,
.yf-landing .service-card--4 .service-card-pointer,
.yf-landing .service-card--6 .service-card-pointer {
  right: 100%;
}

.yf-landing .service-card--2 .service-card-pointer::after,
.yf-landing .service-card--4 .service-card-pointer::after,
.yf-landing .service-card--6 .service-card-pointer::after {
  left: -3px;
}

.yf-landing .service-progress {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  width: auto;
  height: 2px;
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, .26);
}

.yf-landing .service-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--tan);
  transform-origin: left center;
  will-change: transform;
}

.yf-landing .service-skip {
  position: absolute;
  left: 20px;
  bottom: 34px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.yf-landing .service-skip:focus-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  outline: 2px solid var(--tan);
  outline-offset: 3px;
}

.yf-landing .service-accessible-list {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.yf-landing .service-fallback {
  display: none;
}

.yf-landing .service-fallback-image {
  position: relative;
  aspect-ratio: 16 / 9;
}

.yf-landing .service-fallback-image img {
  object-fit: cover;
}

@media (max-width: 900px) {
  .yf-landing .service-title-line {
    white-space: normal;
  }
  .yf-landing .service-story {
    height: 402.4svh;
    padding: 0;
    background: #171717;
  }
  .yf-landing .service-sticky {
    display: block;
  }
  .yf-landing .service-content.shell {
    width: 100%;
    padding-inline: 20px;
  }
  .yf-landing .service-heading {
    top: max(24px, env(safe-area-inset-top));
    left: 20px;
    right: 20px;
    max-width: 560px;
  }
  .yf-landing .service-heading h2 {
    max-width: 540px;
    font-size: clamp(34px, 5.8vw, 44px);
  }
  .yf-landing .service-heading p {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.4;
  }
  .yf-landing .service-cards {
    inset-inline: 20px;
  }
  .yf-landing .service-cards .service-card {
    width: min(310px, 46vw);
    padding: 19px;
  }
  .yf-landing .service-card h3 {
    font-size: 21px;
  }
  .yf-landing .service-card p {
    font-size: 14px;
  }
  .yf-landing .service-cards .service-card--1 {
    top: auto;
    bottom: 18%;
  }
  .yf-landing .service-cards .service-card--2 {
    bottom: 8%;
  }
  .yf-landing .service-cards .service-card--3 {
    bottom: 10%;
  }
  .yf-landing .service-cards .service-card--4 {
    top: 43%;
  }
  .yf-landing .service-cards .service-card--5 {
    top: auto;
    bottom: 16%;
  }
  .yf-landing .service-cards .service-card--6 {
    bottom: 8%;
  }
}

@media (max-width: 620px) {
  .yf-landing .service-story {
    height: 163svh;
  }
  .yf-landing .service-content.shell {
    padding-inline: 16px;
  }
  .yf-landing .service-canvas > .service-frame {
    object-position: 63% center;
  }
  .yf-landing .service-canvas > .service-frame--1 {
    object-position: 35% center;
  }
  .yf-landing .service-canvas > .service-frame--2 {
    object-position: 64% center;
  }
  .yf-landing .service-canvas > .service-frame--3 {
    object-position: 62% center;
  }
  .yf-landing .service-canvas > .service-frame--4 {
    object-position: 61% center;
  }
  .yf-landing .service-canvas > .service-frame--5 {
    object-position: 73% center;
  }
  .yf-landing .service-canvas > .service-frame--6 {
    object-position: 62% center;
  }
  .yf-landing .service-shade {
    background: linear-gradient(180deg, rgba(9, 9, 9, .86) 0%, rgba(9, 9, 9, .45) 35%, transparent 58%),
      linear-gradient(0deg, rgba(9, 9, 9, .62) 0%, transparent 42%);
  }
  .yf-landing .service-heading {
    top: max(20px, env(safe-area-inset-top));
    left: 16px;
    right: 16px;
  }
  .yf-landing .service-heading h2 {
    max-width: 390px;
    margin-bottom: 12px;
    font-size: clamp(28px, 8.1vw, 34px);
    line-height: 1.04;
  }
  .yf-landing .service-heading p {
    max-width: 390px;
    font-size: 14px;
    line-height: 1.35;
  }
  .yf-landing .service-cards {
    inset-inline: 16px;
  }
  .yf-landing .service-cards .service-card {
    width: min(290px, calc(100vw - 48px));
    padding: 17px;
  }
  .yf-landing .service-card h3 {
    font-size: 20px;
  }
  .yf-landing .service-card p {
    font-size: 14px;
    line-height: 1.4;
  }
  .yf-landing .service-cards .service-card--1,
  .yf-landing .service-cards .service-card--3,
  .yf-landing .service-cards .service-card--5 {
    left: 0;
    right: auto;
  }
  .yf-landing .service-cards .service-card--2,
  .yf-landing .service-cards .service-card--4,
  .yf-landing .service-cards .service-card--6 {
    left: auto;
    right: 0;
  }
  .yf-landing .service-cards .service-card--1 {
    top: auto;
    bottom: 14%;
  }
  .yf-landing .service-cards .service-card--2 {
    bottom: 7%;
  }
  .yf-landing .service-cards .service-card--3 {
    bottom: 9%;
  }
  .yf-landing .service-cards .service-card--4 {
    top: 42%;
    bottom: auto;
  }
  .yf-landing .service-cards .service-card--5 {
    top: auto;
    bottom: 14%;
  }
  .yf-landing .service-cards .service-card--6 {
    bottom: 7%;
  }
  .yf-landing .service-card-pointer {
    width: 32px;
  }
  .yf-landing .service-progress {
    left: 16px;
    right: 16px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .yf-landing .service-skip {
    left: 16px;
    bottom: 30px;
  }
}

@media (max-width: 620px) {
  .yf-landing .zone-card--mobile {
    grid-template-columns: 1fr;
  }
  .yf-landing .zone-card--mobile .zone-card-image {
    height: 300px;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .yf-landing .zone-card--mobile .zone-card-image img {
    object-fit: contain !important;
    object-position: center !important;
    padding: 18px 24px;
  }
  .yf-landing .zone-mobile-nav {
    display: none;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .yf-landing .service-story {
    height: auto;
    padding: 64px 0;
    background: #f6f4f2;
  }
  .yf-landing .service-sticky,
  .yf-landing .service-accessible-list {
    display: none;
  }
  .yf-landing .service-fallback {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yf-landing .service-story {
    height: auto;
    padding: 96px 0;
    background: #f6f4f2;
  }
  .yf-landing .service-sticky,
  .yf-landing .service-accessible-list {
    display: none;
  }
  .yf-landing .service-fallback {
    display: block;
  }
  .yf-landing .service-fallback article {
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--sand);
  }
  .yf-landing .service-fallback article > div:last-child {
    padding: 22px;
  }
  .yf-landing .service-fallback article h3 {
    margin-bottom: 10px;
  }
  .yf-landing .service-fallback article p {
    margin: 0;
    color: var(--muted);
  }
}

@media (prefers-reduced-motion: reduce) {
  .yf-landing .faq-arrow {
    transition: none;
  }
  .yf-landing .custom-select-menu {
    animation: none;
  }
  .yf-landing .custom-select > button,
  .yf-landing .custom-select > button svg {
    transition: none;
  }
}

.yf-landing .seo-layout {
  display: block;
}

.yf-landing .faq-title-line {
  display: block;
  white-space: nowrap;
}

/* SEO-блок стоит сразу после финальной формы (обе секции белые): не складываем отступы */
.yf-landing .final-section + .seo-section {
  padding-top: 0;
}

/* SEO-блок: заголовок и текст в общем формате секций (размер h2 — общий, без отдельного) */
.yf-landing .seo-layout > h2 {
  max-width: 1120px;
  margin-bottom: clamp(32px, 3.4vw, 44px);
  text-wrap: balance;
}

.yf-landing .seo-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 84px);
}

.yf-landing .seo-column {
  padding-top: 8px;
}

.yf-landing .proof-grid b {
  margin-top: 0;
}

.yf-landing .project-image .media-placeholder span,
.yf-landing .project-image .media-placeholder b {
  display: none;
}

.yf-landing .seo-layout .seo-column p {
  max-width: 64ch;
  margin: 0 0 24px;
  color: #5f5955;
  font-size: 16px;
  line-height: 1.68;
}

@media (max-width: 760px) {
  .yf-landing .seo-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .yf-landing .seo-layout > h2 {
    margin-bottom: 28px;
  }
  .yf-landing .faq-title-line {
    white-space: normal;
  }
  .yf-landing .seo-column {
    padding-top: 0;
  }
  .yf-landing .seo-layout .seo-column p {
    max-width: none;
    font-size: 15px;
    line-height: 1.6;
  }
}

/* The estimate form closes the scroll story by physically covering its last card. */

.yf-landing .service-story {
  isolation: isolate;
  z-index: 0;
}

.yf-landing .calc-section {
  position: relative;
  z-index: 5;
  margin-top: calc(-1 * clamp(240px, 35svh, 400px));
  background: transparent;
}

.yf-landing .calc-section .split-form {
  box-shadow: 0 28px 70px rgba(10, 8, 7, .18);
}

@media (max-height: 560px) and (orientation: landscape), (prefers-reduced-motion: reduce) {
  .yf-landing .calc-section {
    margin-top: 0;
  }
}

/* ===== Добавлено для HTML-версии ===== */

/* Чекбокс согласия по макету Figma (node 6415:2211): общая обводка фокуса полей
   (.lead-form input:focus) не должна рисоваться вокруг зоны чекбокса 28×28.
   Для клавиатуры остаётся .consent>input:focus-visible. */
.yf-landing .lead-form .consent > input:focus {
  box-shadow: none;
}

/* Настоящий select под кастомным списком: хранит значение для отправки формы, визуально скрыт */
.yf-landing .custom-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* Планшет: блок визуала горизонтальный — картинка на всю ширину, лишнее обрезается сверху */
@media (min-width: 621px) and (max-width: 900px) {
  .yf-landing .final-form-visual>img {
    top: auto;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }
}

/* Бегущая строка: 3 бренда повторены дважды в каждой группе (6 логотипов), чтобы строка не выглядела пустой.
   На мобильном группа шире, длительность увеличена пропорционально — скорость движения прежняя. */
@media (max-width: 620px) and (prefers-reduced-motion: no-preference) {
  .yf-landing .brand-strip {
    animation-duration: 50s;
  }
  .yf-landing .brand-strip-group {
    width: 1100px;
    flex-basis: 1100px;
  }
}

/* В режиме «уменьшить движение» логотипы стоят сеткой — повторы не нужны */
@media (prefers-reduced-motion: reduce) {
  .yf-landing .brand-strip-item--dup {
    display: none;
  }
}
