@font-face {
  font-family: 'Calibri';
  src: url('../fonts/calibri.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Calibri';
  src: url('../fonts/calibrib.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Calibri';
  src: url('../fonts/calibrii.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Calibri Light';
  src: url('../fonts/calibril.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Impact';
  src: url('../fonts/impact.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Segoe Script';
  src: url('../fonts/segoesc.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --design-canvas-width: 1900px;
  --page-max-width: 1900px;
  --page-scale: 1;
  --page-left: 0px;
  --scaled-page-height: auto;
  --f2-promo-seam: 34px;

  --bg-color: #2f3f46;
  --nav-bg: rgba(24, 28, 31, 0.72);
  --dot-color: rgba(255, 255, 255, 0.42);
  --dot-active: #e5c93d;

  --color-teal: #4b848c;
  --color-dark: #3b3b3b;
  --color-yellow: #d8b832;
  --color-light-teal: #85acb1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}

html,
body {
  width: 100%;
  min-height: var(--scaled-page-height);
  background: var(--bg-color);
  font-family: 'Calibri', Arial, sans-serif;
  scroll-behavior: smooth;
  color: #333;
  overflow-x: hidden;
  position: relative;
}

@supports (overflow: clip) {
  html {
    overflow-x: clip;
  }
}

/* ПК: см. desktopScaledTargetWidth + --page-scale в script.js (~75% vw, потолок ширины полотна 1900px).
 * Мобилка ≤1024: html.viewport--fluid-mobile — без масштаба полотна.
 * Десктоп: предпочтительно zoom (реальная ширина в потоке), иначе transform+absolute (фолбэк). */

.page {
  width: var(--design-canvas-width);
  margin: 0;
  background: #ffffff;
  overflow: hidden;
}

html.page-uses-zoom:not(.viewport--fluid-mobile) .page {
  position: relative;
  top: 0;
  left: 0;
  margin-left: auto;
  margin-right: auto;
  transform: none;
  zoom: var(--page-scale);
}

html:not(.page-uses-zoom):not(.viewport--fluid-mobile) .page {
  position: absolute;
  top: 0;
  left: var(--page-left);
  transform: scale(var(--page-scale));
  transform-origin: top left;
}

/* Common Components */
.btn-main {
  background: #3b4244;
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-size: 24px;
  font-family: 'Calibri', sans-serif;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.btn-main:hover {
  background: #4e575a;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.28);
}

.btn-main:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

.logo-text {
  font-family: 'Impact', sans-serif;
  font-size: 80px;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1;
}

.logo-text span {
  color: #d8b832;
}

.f2-handwriting {
  font-family: 'Segoe Script', cursive;
}

/* === Frame 1: Hero === */
.frame-1 {
  position: relative;
  width: 100%;
  background:
    linear-gradient(90deg, rgba(98, 119, 132, 0.93) 0%, rgba(98, 119, 132, 0.82) 43%, rgba(98, 119, 132, 0.26) 64%, rgba(98, 119, 132, 0.1) 100%),
    url('../images/blog-1/layer_8.png') no-repeat center center;
  background-size: cover;
  display: flex;
  color: #fff;
  overflow: hidden;
}

.f1-content {
  flex: 1;
  padding: 121px 0 24px 51px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 3;
}

.f1-top {
  display: flex;
  align-items: flex-start;
  width: min(93%, 760px);
  max-width: 100%;
  margin-bottom: 60px;
}

.f1-main-logo {
  display: block;
  position: relative;
  z-index: 9;
  width: 100%;
  max-width: 874px;
  height: auto;
}

.partner-logo {
  position: absolute;
  right: 4.3%;
  top: 24px;
  z-index: 5;
  pointer-events: none;
}

.partner-logo img {
  width: 255px;
  height: auto;
}

.f1-title {
  line-height: 1.05;
  margin-bottom: 90px;
  max-width: 62%;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 9;
}

.f1-title span {
  display: block;
  font-size: 67px;
  letter-spacing: 2px;
  line-height: 70px;
  color: #ffffff;
  font-weight: bold;
  font-family: "Calibri";
}

.f1-title-strong {
  font-size: 50px;
  font-weight: 700;
}

.f1-title-light {
  margin-top: 2px;
  font-size: 47px;
  font-weight: 300;
  font-family: 'Calibri Light', sans-serif;
}

.f1-desc {
  font-size: 67px;
  letter-spacing: 2px;
  line-height: 71px;
  color: #ffffff;
  font-weight: 400;
  font-family: "Calibri";
  max-width: 70%;
  margin-bottom: 40px;
  position: relative;
  z-index: 9;
}

.f1-price-label {
  font-size: 97px;
  letter-spacing: 2px;
  color: #35443c;
  font-weight: bold;
  font-family: "Segoe Script";
  position: relative;
  z-index: 9;
}

.f1-contact {
  height: 100%;
  margin-top: 2px;
  background: #e6efecc7;
  padding: 10px 0 40px;
  transform: translateX(-57px) rotate(-1deg);
  position: relative;
  z-index: 9;
}

.f1-phone {
  display: block;
  margin-bottom: 1px;
  padding-left: 18px;
  font-size: 103px;
  letter-spacing: 3px;
  color: #47584f;
  font-weight: bold;
  font-family: "Calibri";
  text-decoration: none;
}

.f1-hours {
  font-size: 53px;
  font-family: 'Calibri Light', sans-serif;
  color: #47584f;
  margin-bottom: 10px;
  padding-left: 210px;
  line-height: 1;
  letter-spacing: 0.3px;
}

.frame-1 .btn-main {
  position: relative;
  z-index: 40;
  margin-left: 210px;
  font-size: 40px;
  line-height: 1;
  padding: 11px 48px 12px;
  background: #3a4648;
  border-radius: 0;
  letter-spacing: 0.6px;
}

#frame-1 .btn-main:hover {
  background: #5c696e;
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.42),
    0 0 10px rgba(216, 184, 50, 0.3);
}

#frame-1 .btn-main:active {
  background: #6a7b80;
}

.frame-1 .btn-main:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

.f1-bald-man,
.f1-bald-man * {
  pointer-events: none !important;
}

.f1-bald-man {
  position: absolute;
  bottom: -134px;
  right: 2.5%;
  width: 45%;
  height: 100%;
  z-index: 14;
}

.f1-bald-man img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.f1-man-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.f1-man-bg * {
  pointer-events: none !important;
}

.f1-man-bg img {
  height: 100%;
  width: auto;
  display: block;
}

/* === Frame 2: Advantages === */
.frame-2 {
  background: #fff;
  color: #333;
  overflow-x: hidden;
}

.f2-top-dark {
  background: var(--color-teal);
  color: #fff;
  padding: 22px 30px 14px;
  position: relative;
  transform: translateY(-30px);
  z-index: 9;
}

.f2-top-grid {
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: start;
  column-gap: 18px;
}

.f2-top-dark h2 {
  font-size: 61px;
  margin-bottom: 130px;
  line-height: 1;
}

.f2-list {
  list-style: none;
  font-size: 58px;
  margin: 8px 0 75px;
  line-height: 1.1;
  color: #b3ccc6;
}

.f2-list li {
  margin-bottom: 24px;
}

.f2-handwriting-main {
  font-size: 61px;
  line-height: 0.95;
  margin-bottom: 0;
}

.f2-highlight-yellow {
  color: var(--color-yellow);
  font-size: 61px;
  font-weight: 700;
  line-height: 1;
  margin-top: -8px;
  text-align: end;
}

.f2-image-room {
  width: 100%;
  height: 587px;
  transform: translateY(-30px);
}

.f2-image-room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f2-promo-stack {
  margin-top: -12px;
  position: relative;
  z-index: 3;
  transform: rotate(354deg) translateY(-124px) translateX(-30px);
  overflow: hidden;
  width: 110%;
}

.f2-promo-stack .f2-teal-band+.f2-teal-band,
.f2-promo-stack .f2-teal-band+.f2-cashback-band {
  margin-top: calc(-1 * var(--f2-promo-seam));
}

.f2-teal-band {
  color: #e6eef0;
  margin: 0;
  padding: 0;
  position: relative;
}

.f2-teal-band--precalc {
  background: #81a4a6;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  padding: 34px 93px 38px;
}

.f2-teal-band--stages {
  background: #a9c1c1;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  padding: 34px 93px 38px;
}

.f2-teal-band--stages > p {
  color: #3d777b;
}

.f2-cb-muted {
  color: #b3ccc6;
  margin: 0;
}

.f2-teal-band p {
  margin: 0;
  padding: 0;
  font-size: 55px;
  line-height: 1.05;
  text-align: left;
}

.f2-cashback-band {
  background-color: #3d777b;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  padding: 24px 93px 200px;
  padding-right: 226px;
  transform: translateX(-18px);
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 16px;
  color: #fff;
  margin: 0;
  position: relative;
  z-index: 999;
}

.f2-cb-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 44px;
  line-height: 1.02;
  margin-bottom: 30px;
}

.f2-cb-text .f2-handwriting {
  font-size: 62px;
  line-height: 0.9;
}

.f2-cashback-band .btn-main {
  flex-shrink: 0;
  font-size: 53px;
  padding: 9px 28px;
  width: fit-content;
  align-self: flex-end;
  font-family: "Calibri";
  transform: rotate(4deg);
}

.f2-image-living {
  width: 100%;
  height: 788px;
  margin-top: -280px;
  position: relative;
  z-index: 9;
}

.f2-image-living img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f2-rules {
  padding: 40px 60px;
  font-size: 30px;
  line-height: 1.4;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
  color: #1a1a1a;
}

.f2-rules h3 {
  font-size: 38px;
  font-weight: bold;
  margin: 40px 0 20px;
  line-height: 1.2;
  text-align: justify;
  text-justify: inter-word;
}

.f2-rules ol {
  list-style: none;
  counter-reset: item-counter;
  padding-left: 0;
  margin: 25px 0;
}

.f2-rules li {
  counter-increment: item-counter;
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.f2-rules li::before {
  content: counter(item-counter) ") ";
  font-weight: normal;
}

.f2-rules p {
  margin-bottom: 25px;
}

/* === Frame 3: Price === */
.frame-3 {
  background: #e6ecef;
  padding-bottom: 60px;
}

.f3-header {
  background: #a9b7bb;
  padding: 10px 24px;
  color: #fff;
  text-align: center;
}

.f3-header h2 {
  font-size: 56px;
  font-family: 'Calibri', sans-serif;
  text-transform: uppercase;
}

.f3-room-bg {
  background: url('../images/blog-3/layer_2.png') no-repeat center center;
  background-size: cover;
  position: relative;
  min-height: 800px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

.f3-plan-info {
  background: rgba(255, 255, 255, 0.8);
  padding: 14px 16px 10px;
  width: 43%;
  max-width: 420px;
}

.f3-plan-info h3 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.f3-plan-info h4 {
  font-family: 'Impact', sans-serif;
  font-size: 66px;
  color: #a9b7bb;
  margin-bottom: 20px;
}

.f3-plan-info p {
  font-size: 32px;
  line-height: 1.08;
  color: #333;
  text-align: justify;
  text-justify: inter-word;
}

.f3-area-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 12px 24px;
}

.f3-area-badge .num {
  font-size: 116px;
  font-family: 'Calibri Light', sans-serif;
}

.f3-area-badge .unit {
  font-size: 71px;
}

.f3-plan-container {
  width: 100%;
}

.f3-plan-img {
  width: 100%;
  display: block;
}

.f3-cost-details {
  padding: 16px 12px 20px;
}

.f3-cost-details h2 {
  font-size: 56px;
  margin-bottom: 6px;
  text-align: center;
}

.f3-cost-subtitle {
  font-size: 41px;
  margin-bottom: 8px;
  text-align: center;
}

.f3-cost-columns {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 4px;
  font-size: 35px;
}

.f3-col p {
  margin-bottom: 2px;
}

.f3-cost-bottom {
  font-size: 35px;
  border-top: 2px solid rgba(93, 106, 112, 0.35);
  padding-top: 6px;
}

.f3-cost-bottom p {
  margin-bottom: 2px;
}

/* === Frame 4: Collab === */
.frame-4 {
  position: relative;
  background: #5a5f60;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.f4-big-text {
  position: absolute;
  font-family: 'Impact', sans-serif;
  font-size: 600px;
  color: rgba(255, 255, 255, 0.05);
  display: flex;
  width: 100%;
  justify-content: space-between;
  line-height: 0.8;
  z-index: 1;
}

.f4-logos {
  position: absolute;
  top: 50px;
  left: 80px;
  right: 80px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.f4-zemle {
  font-family: 'Impact', sans-serif;
  font-size: 80px;
  color: #a9b7bb;
}

.f4-leman img {
  height: 100px;
}

.f4-man {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 90%;
  z-index: 3;
}

.f4-man img {
  height: 100%;
}

.f4-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-light-teal);
  color: #fff;
  padding: 20px 80px;
  text-align: end;
  z-index: 4;
}

.f4-bottom-bar p {
  font-size: 52px;
}

/* === Frame 5: Double Benefit === */
.frame-5 {
  background: #fff;
}

.f5-dark {
  background: #3b4244;
  color: #fff;
  padding: 16px 20px;
  text-align: center;
}

.f5-dark h2 {
  font-size: 57px;
  letter-spacing: 0.6px;
}

.f5-teal {
  background: var(--color-teal);
  color: #fff;
  padding: 16px 34px 80px;
}

.f5-teal p {
  font-size: 72px;
  line-height: 1.05;
}

.f5-yellow {
  background: var(--color-yellow);
  color: #000;
  padding: 10px 26px 18px;
  transform: rotate(-3deg);
  margin: -2px -16px 18px;
  margin-top: -55px;
}

.f5-huge {
  font-size: 74px;
  text-align: center;
  line-height: 1.03;
}

.f5-huge span {
  display: block;
  text-align: right;
}

/* === Frame 6: Landscape === */
.frame-6 {
  background: var(--color-light-teal);
  color: #fff;
}

.f6-text-block {
  padding: 140px 22px 20px;
  font-size: 56px;
  line-height: 1.06;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
  margin-top: -75px;
}

.f6-text-block p {
  margin-bottom: 20px;
  text-align: justify;
}

.f6-image {
  width: 100%;
  height: 570px;
}

.f6-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f6-bottom-bar {
  background: var(--color-teal);
  padding: 12px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.f6-logo-img {
  width: 450px;
  height: auto;
  display: block;
}

.f6-phone {
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

/* === Frame 7: Footer === */
.frame-7 {
  background: #b5bbbc;
  padding: 18px 26px;
  text-align: left;
}

.f7-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.f7-legal {
  font-size: 50px;
  color: #000;
}

.frame-7 .btn-main {
  font-size: 56px;
  padding: 14px 46px;
}

/* === Quick Nav === */
.quick-nav {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 16px;
  background: var(--nav-bg);
  z-index: 20;
}

.quick-nav button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--dot-color);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.quick-nav button:hover {
  transform: scale(1.2);
}

.quick-nav button.is-active {
  background: var(--dot-active);
}

/* === To Top Button === */
.to-top {
  position: fixed;
  right: 14px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(24, 28, 31, 0.8);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* === Modal === */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modal__dialog {
  position: relative;
  width: min(92vw, 450px);
  padding: 22px 18px 20px;
  border-radius: 10px;
  background: #f4f6f7;
  color: #1b2327;
  z-index: 1;
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal__title {
  margin: 0 0 12px;
  font-size: 28px;
}

.lead-form {
  display: grid;
  gap: 8px;
}

.lead-form__label {
  font-size: 14px;
  line-height: 1.2;
}

.lead-form__input {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #95a1a8;
  border-radius: 6px;
  font-size: 16px;
}

.lead-form__error {
  min-height: 18px;
  margin: 2px 0 0;
  color: #c71919;
  font-size: 14px;
}

.lead-form__submit {
  margin-top: 6px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: #2f3f46;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.lead-form__submit:hover {
  background: #3f525c;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.lead-form__submit:focus-visible {
  outline: 2px solid rgba(174, 200, 210, 0.85);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------
   Резиновый мобильный режим (innerWidth ≤ 1024 задаёт класс viewport--fluid-mobile в script.js)
   Отключает общий zoom/scale полотна: контент занимает 100% окна и перестраивается блоками.
   ------------------------------------------------------------------ */

html.viewport--fluid-mobile body {
  min-height: auto;
}

html.viewport--fluid-mobile .page {
  position: relative;
  left: 0 !important;
  transform: none !important;
  zoom: 1 !important;
  width: 100%;
  max-width: 100%;
}

html.viewport--fluid-mobile .quick-nav {
  display: none;
}

html.viewport--fluid-mobile img {
  max-width: 100%;
  height: auto;
}

/* --- Hero --- */
html.viewport--fluid-mobile .frame-1 {
  flex-direction: column;
  min-height: auto;
}

html.viewport--fluid-mobile .f1-content {
  padding: clamp(72px, 18vw, 120px) clamp(14px, 4vw, 24px) 24px;
  flex: 0 0 auto;
}

html.viewport--fluid-mobile .f1-top {
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(36px, 8vw, 60px);
}

html.viewport--fluid-mobile .partner-logo {
  position: relative;
  right: auto;
  top: auto;
  align-self: flex-end;
  margin-bottom: clamp(8px, 2vw, 16px);
}

html.viewport--fluid-mobile .partner-logo img {
  width: min(220px, 58vw);
}

html.viewport--fluid-mobile .f1-title {
  max-width: 100%;
  margin-bottom: clamp(32px, 8vw, 90px);
}

html.viewport--fluid-mobile .f1-title span {
  font-size: clamp(22px, 5.6vw, 36px);
  line-height: 1.22;
}

html.viewport--fluid-mobile .f1-title-strong {
  font-size: clamp(20px, 5vw, 32px);
}

html.viewport--fluid-mobile .f1-title-light {
  font-size: clamp(18px, 4.5vw, 30px);
}

html.viewport--fluid-mobile .f1-desc {
  font-size: clamp(20px, 5.6vw, 38px);
  line-height: 1.22;
  max-width: 100%;
}

html.viewport--fluid-mobile .f1-price-label {
  font-size: clamp(36px, 11vw, 80px);
}

html.viewport--fluid-mobile .f1-contact {
  transform: none;
  margin-right: clamp(14px, 4vw, 24px);
  padding: clamp(12px, 3vw, 24px);
}

html.viewport--fluid-mobile .f1-phone {
  padding-left: 0;
  font-size: clamp(28px, 8.5vw, 52px);
  letter-spacing: 0.4px;
  word-break: break-word;
}

html.viewport--fluid-mobile .f1-hours {
  padding-left: 0;
  font-size: clamp(16px, 4vw, 24px);
}

html.viewport--fluid-mobile .frame-1 .btn-main {
  margin-left: 0;
  white-space: normal;
  font-size: clamp(18px, 4.5vw, 28px);
  padding: clamp(10px, 2.8vw, 14px) clamp(28px, 8vw, 48px);
}

html.viewport--fluid-mobile .f1-man-bg {
  display: none;
}

html.viewport--fluid-mobile .f1-bald-man {
  position: relative;
  bottom: auto;
  right: auto;
  width: min(460px, 92vw);
  height: auto;
  margin-top: clamp(8px, 2vw, 20px);
  align-self: center;
  pointer-events: none;
}

/* --- Block 2 --- */
html.viewport--fluid-mobile .f2-top-dark {
  transform: none;
  padding: clamp(16px, 4vw, 22px);
}

html.viewport--fluid-mobile .f2-top-grid {
  grid-template-columns: 1fr;
  column-gap: 0;
}

html.viewport--fluid-mobile .f2-top-dark h2 {
  margin-bottom: clamp(28px, 7vw, 80px);
  font-size: clamp(36px, 9vw, 56px);
}

html.viewport--fluid-mobile .f2-list {
  font-size: clamp(17px, 4.6vw, 30px);
  margin: clamp(16px, 4vw, 48px) 0;
}

html.viewport--fluid-mobile .f2-handwriting-main {
  font-size: clamp(26px, 6.8vw, 52px);
}

html.viewport--fluid-mobile .f2-highlight-yellow {
  text-align: left;
  font-size: clamp(20px, 5.2vw, 38px);
  margin-top: 0;
}

html.viewport--fluid-mobile .f2-image-room {
  transform: none;
  height: auto;
  min-height: clamp(220px, 52vw, 420px);
}

html.viewport--fluid-mobile .f2-promo-stack {
  width: 100%;
  margin-left: 0;
  transform: none;
}

html.viewport--fluid-mobile .f2-teal-band--precalc,
html.viewport--fluid-mobile .f2-teal-band--stages,
html.viewport--fluid-mobile .f2-cashback-band {
  padding-left: clamp(16px, 4vw, 56px);
  padding-right: clamp(16px, 4vw, 56px);
}

html.viewport--fluid-mobile .f2-cashback-band {
  transform: none;
  padding-bottom: clamp(48px, 12vw, 120px);
}

html.viewport--fluid-mobile .f2-teal-band p {
  font-size: clamp(17px, 4.5vw, 32px);
}

html.viewport--fluid-mobile .f2-cb-text {
  flex-direction: column;
  align-items: stretch;
}

html.viewport--fluid-mobile .f2-cashback-band .btn-main {
  transform: none;
  align-self: flex-start;
  white-space: normal;
  font-size: clamp(20px, 5vw, 36px);
}

html.viewport--fluid-mobile .f2-image-living {
  margin-top: clamp(-140px, -22vw, -60px);
  height: auto;
  min-height: clamp(260px, 62vw, 520px);
}

html.viewport--fluid-mobile .f2-rules {
  padding: clamp(24px, 5vw, 40px);
  font-size: clamp(15px, 3.6vw, 22px);
}

/* --- Price block --- */
html.viewport--fluid-mobile .f3-header h2 {
  font-size: clamp(26px, 6.2vw, 44px);
}

html.viewport--fluid-mobile .f3-room-bg {
  min-height: clamp(480px, 110vw, 720px);
  padding: clamp(12px, 3vw, 16px);
}

html.viewport--fluid-mobile .f3-plan-info {
  width: 100%;
  max-width: 100%;
}

html.viewport--fluid-mobile .f3-plan-info h3 {
  font-size: clamp(22px, 5.2vw, 32px);
}

html.viewport--fluid-mobile .f3-plan-info h4 {
  font-size: clamp(42px, 10vw, 66px);
}

html.viewport--fluid-mobile .f3-plan-info p {
  font-size: clamp(17px, 4.2vw, 28px);
}

html.viewport--fluid-mobile .f3-area-badge {
  position: relative;
  align-self: flex-end;
  margin-top: auto;
}

html.viewport--fluid-mobile .f3-area-badge .num {
  font-size: clamp(64px, 18vw, 116px);
}

html.viewport--fluid-mobile .f3-area-badge .unit {
  font-size: clamp(40px, 10vw, 71px);
}

html.viewport--fluid-mobile .f3-cost-details h2 {
  font-size: clamp(26px, 6vw, 48px);
}

html.viewport--fluid-mobile .f3-cost-subtitle {
  font-size: clamp(22px, 5.2vw, 36px);
}

html.viewport--fluid-mobile .f3-cost-columns {
  flex-direction: column;
}

html.viewport--fluid-mobile .f3-col,
html.viewport--fluid-mobile .f3-cost-bottom {
  font-size: clamp(16px, 3.9vw, 26px);
}

/* --- Collaboration --- */
html.viewport--fluid-mobile .frame-4 {
  height: auto;
  min-height: clamp(420px, 95vw, 600px);
  padding-bottom: clamp(90px, 22vw, 140px);
}

html.viewport--fluid-mobile .f4-big-text {
  font-size: clamp(120px, 28vw, 320px);
  opacity: 0.06;
}

html.viewport--fluid-mobile .f4-logos {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 3vw, 20px);
  padding: clamp(16px, 4vw, 32px);
}

html.viewport--fluid-mobile .f4-zemle {
  font-size: clamp(42px, 11vw, 72px);
}

html.viewport--fluid-mobile .f4-man {
  position: relative;
  left: auto;
  transform: none;
  height: auto;
  max-height: min(520px, 88vw);
  margin: 0 auto;
}

html.viewport--fluid-mobile .f4-man img {
  width: auto;
  height: auto;
  max-height: min(460px, 78vw);
}

html.viewport--fluid-mobile .f4-bottom-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: clamp(14px, 4vw, 20px);
  text-align: center;
}

html.viewport--fluid-mobile .f4-bottom-bar p {
  font-size: clamp(26px, 6.8vw, 44px);
}

/* --- Slogans --- */
html.viewport--fluid-mobile .f5-dark h2 {
  font-size: clamp(22px, 5.4vw, 44px);
}

html.viewport--fluid-mobile .f5-teal {
  padding: clamp(14px, 4vw, 24px);
}

html.viewport--fluid-mobile .f5-teal p {
  font-size: clamp(26px, 6.8vw, 48px);
}

html.viewport--fluid-mobile .f5-yellow {
  transform: rotate(-2deg);
  margin-left: clamp(6px, 2vw, 12px);
  margin-right: clamp(6px, 2vw, 12px);
}

html.viewport--fluid-mobile .f5-huge {
  font-size: clamp(26px, 6.8vw, 52px);
}

/* --- Landscapes --- */
html.viewport--fluid-mobile .f6-text-block {
  margin-top: 0;
  padding: clamp(48px, 12vw, 100px) clamp(14px, 4vw, 22px) clamp(24px, 6vw, 40px);
  font-size: clamp(20px, 5.2vw, 36px);
}

html.viewport--fluid-mobile .f6-image {
  height: auto;
  min-height: clamp(260px, 58vw, 420px);
}

html.viewport--fluid-mobile .f6-bottom-bar {
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(12px, 3vw, 20px);
}

html.viewport--fluid-mobile .f6-logo-img {
  width: min(360px, 88vw);
}

html.viewport--fluid-mobile .f6-phone {
  font-size: clamp(28px, 8vw, 52px);
  word-break: break-word;
}

/* --- Footer --- */
html.viewport--fluid-mobile .f7-content {
  flex-direction: column;
  align-items: stretch;
  gap: clamp(16px, 4vw, 24px);
}

html.viewport--fluid-mobile .frame-7 .btn-main {
  white-space: normal;
  margin-top: 0;
  font-size: clamp(22px, 5.8vw, 40px);
  padding: clamp(12px, 3vw, 14px);
}

html.viewport--fluid-mobile .f7-legal {
  font-size: clamp(22px, 5.4vw, 36px);
  text-align: left;
}

/**
 * Экспорты из SVOD (1.jpg … 7.jpg): визуал совпадает с макетом; кликабельные зоны — прозрачные,
 * с лёгким акцентом при hover/focus (текст и кнопки на картинке не дублируются).
 */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.frame--mock {
  width: 100%;
  line-height: 0;
  background: #fff;
}

/* Макет JPG + DOM поверх: % от слоя = площадь самого растра; обёртка без «лишней» высоты = нет люфта от object-fit cover / min-height */
.frame-mock-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: auto !important;
  overflow: hidden;
}

.frame-mock-wrap .frame-mock-img,
.frame--mock > .frame-mock-img {
  display: block;
  width: 100% !important;
  height: auto !important;
  vertical-align: top;
  object-fit: contain !important;
  pointer-events: none;
  user-select: none;
}

.frame-hitlayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Реальные ссылки/кнопки: текст для SEO/доступности, визуально скрыт — подложка остаётся JPG */
.mock-dom {
  position: absolute;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: transparent;
  text-shadow: none;
  caret-color: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  font: inherit;
  font-size: 1px;
  line-height: 1;
  border-radius: 4px;
  text-decoration: none;
  pointer-events: auto;
  user-select: none;
}

button.mock-dom {
  appearance: none;
  font-family: "Calibri", Arial, sans-serif;
}

.mock-dom:link,
.mock-dom:visited {
  color: transparent;
}

.mock-dom--tel {
  justify-content: flex-start;
}

.mock-dom--cta {
  justify-content: center;
  border-radius: 0;
}

/*
 * Координаты сняты с мастер-PSD: SVOD/SVOD/1.psd … 7.psd (телефон — текстовые слои;
 * кнопки блоков 1 и 7 — графические плашки «Слой 12» / «Слой 1», блок 2 — «knop»).
 * Пересборка процентов: python tools/extract_psd_hitboxes.py
 */
.mock-dom.frame-1-hit-phone {
  left: 2.05% !important;
  top: 71.46% !important;
  width: 43.16% !important;
  height: 7.54% !important;
}

.mock-dom.frame-1-hit-button {
  left: 10.47% !important;
  top: 88.23% !important;
  width: 26.32% !important;
  height: 6.92% !important;
}

.mock-dom.frame-2-hit-button {
  left: 70.63% !important;
  top: 36.69% !important;
  width: 26.32% !important;
  height: 1.75% !important;
}

.mock-dom.frame-6-hit-phone {
  left: 54.42% !important;
  top: 91.74% !important;
  width: 43.21% !important;
  height: 5.23% !important;
}

.mock-dom.frame-7-hit-button {
  left: 10.47% !important;
  top: 30% !important;
  width: 26.32% !important;
  height: 37.5% !important;
}

.mock-dom--cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.62);
  outline-offset: 3px;
}

.mock-dom--tel:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

@media (hover: hover) {
  html:not(.viewport--fluid-mobile) .mock-dom--cta:hover {
    background: rgba(78, 87, 90, 0.42);
    box-shadow:
      0 0 20px rgba(255, 255, 255, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  html:not(.viewport--fluid-mobile) .mock-dom--tel:hover {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
  }
}

.mock-dom--cta:active {
  background: rgba(54, 62, 64, 0.55);
}

.mock-dom--tel:active {
  background: rgba(255, 255, 255, 0.12);
}

html.viewport--fluid-mobile .mock-dom--cta {
  min-height: 52px;
}

html.viewport--fluid-mobile .mock-dom--tel {
  min-height: 48px;
}
