:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-dark: #201d1e;
  --text-main: #201d1e;
  --text-soft: #777173;
  --border-soft: #e6e0dc;
  --button-dark: #201d1e;
  --brand-violet: #403fb8;
  --brand-violet-deep: #12132c;
  --brand-orange: #ff7b3a;
  --brand-coral: #ff4248;
  --brand-sky: #3d97f2;
  --brand-warm: #f7f2ed;
  --radius-card: 30px;
  --radius-button: 999px;
  --shadow-soft: 0 18px 52px rgba(32, 29, 30, 0.08);
  --shadow-card-hover: 0 26px 70px rgba(32, 29, 30, 0.16);
  --page-gutter: clamp(24px, 3.4vw, 56px);
  --section-space-top: clamp(24px, 3vw, 38px);
  --section-space-bottom: clamp(56px, 6vw, 92px);
  --section-heading-gap: clamp(24px, 2.8vw, 38px);
  --block-space: clamp(32px, 4vw, 56px);
  --grid-space: clamp(18px, 2.2vw, 28px);
  --developer-hero-height: 472px;
}

@font-face {
  font-family: "LabGrotesque";
  src: url("/assets/static.tildacdn.com/LabGrotesque-Regular-4c84db273d.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "LabGrotesque";
  src: url("/assets/static.tildacdn.com/LabGrotesque-Medium-2b4a80e252.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "DXRigraf";
  src: url("/assets/static.tildacdn.com/DXRigraf-SemiBold-7303fc10b9.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text-main);
  font-family: "LabGrotesque", Arial, system-ui, sans-serif;
  line-height: 1.5;
}

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

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

.container {
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: none;
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(230, 224, 220, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brandmark img {
  width: 202px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.header-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--brand-sky);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(61, 151, 242, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.header-telegram:hover,
.header-telegram:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(61, 151, 242, 0.3);
}

.telegram-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mobile-menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--surface-dark);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(32, 29, 30, 0.16);
}

.mobile-menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin: -1px 0 0 -9px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.mobile-menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 2px;
  color: var(--text-soft);
  font-weight: 500;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-violet);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text-main);
  transform: translateY(-1px);
}

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

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: var(--text-main);
}

.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  font-weight: 700;
}

.site-nav-trigger {
  gap: 6px;
}

.site-nav-trigger::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  order: 2;
  opacity: 0.72;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-nav-dropdown:hover .site-nav-trigger::before,
.site-nav-dropdown:focus-within .site-nav-trigger::before {
  transform: rotate(225deg) translateY(-1px);
  opacity: 1;
}

.site-nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -14px;
  z-index: 300;
  display: grid;
  min-width: 238px;
  padding: 10px;
  border: 1px solid rgba(75, 73, 200, 0.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(23, 22, 54, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-nav-menu-wide {
  grid-template-columns: minmax(220px, max-content) minmax(176px, max-content);
  column-gap: 10px;
  min-width: 456px;
}

.site-nav-menu-three {
  grid-template-columns: minmax(220px, max-content) minmax(320px, max-content) minmax(176px, max-content);
  min-width: 820px;
}

.site-nav-menu-four {
  grid-template-columns: minmax(210px, max-content) minmax(190px, max-content) minmax(300px, max-content) minmax(176px, max-content);
  min-width: 960px;
}

.site-nav-menu-purchase {
  grid-template-columns: minmax(210px, max-content) minmax(206px, 1fr);
  min-width: 468px;
}

.site-nav-menu-promotions {
  min-width: 276px;
}

.site-nav-menu-blog {
  min-width: 180px;
}

.site-nav-menu-column {
  display: grid;
  align-content: start;
  gap: 2px;
}

.site-nav-menu-column + .site-nav-menu-column {
  padding-left: 10px;
  border-left: 1px solid rgba(75, 73, 200, 0.1);
}

.site-nav-menu-title {
  padding: 8px 12px 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-nav-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.site-nav-dropdown:hover .site-nav-menu,
.site-nav-dropdown:focus-within .site-nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.site-nav .site-nav-menu a {
  min-height: 0;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--brand-violet-deep);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.site-nav .site-nav-menu a::after {
  display: none;
}

.site-nav .site-nav-menu a:hover,
.site-nav .site-nav-menu a:focus-visible {
  background: rgba(75, 73, 200, 0.08);
  color: var(--text-main);
  transform: none;
}

.site-nav .site-nav-menu a.is-highlight {
  color: #ef4b3f;
}

.site-nav .site-nav-menu a.site-nav-menu-link-with-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  white-space: normal;
}

.site-nav-menu-label,
.site-nav-menu-meta {
  display: block;
}

.site-nav-menu-label {
  max-width: 320px;
}

.site-nav-menu-meta {
  color: #8f94a8;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
}

.site-nav-menu-purchase .site-nav-menu-column:last-child a {
  white-space: normal;
}

.site-nav-menu-purchase .site-nav-menu-column:last-child .site-nav-menu-label,
.site-nav-menu-purchase .site-nav-menu-column:last-child a {
  max-width: 182px;
}

.site-nav-menu-promotions .site-nav-menu-label {
  max-width: 236px;
}

@media (max-width: 1120px) {
  .site-nav-menu-wide {
    grid-template-columns: 1fr;
    min-width: 260px;
  }

  .site-nav-menu-three {
    min-width: min(360px, calc(100vw - 28px));
  }

  .site-nav-menu-four {
    grid-template-columns: 1fr;
    min-width: min(360px, calc(100vw - 28px));
  }

  .site-nav-menu-purchase {
    min-width: min(320px, calc(100vw - 28px));
  }

  .site-nav-menu-promotions {
    min-width: min(300px, calc(100vw - 28px));
  }

  .site-nav-menu-column + .site-nav-menu-column {
    margin-top: 4px;
    padding-top: 6px;
    padding-left: 0;
    border-top: 1px solid rgba(75, 73, 200, 0.1);
    border-left: 0;
  }
}

.city-switcher {
  position: relative;
  flex: 0 0 auto;
}

.city-switcher-current {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(75, 73, 200, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-main);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.city-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 45;
  display: grid;
  min-width: 220px;
  padding: 8px;
  border: 1px solid rgba(75, 73, 200, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(43, 44, 88, 0.16);
}

.city-switcher-menu[hidden] {
  display: none !important;
}

.city-switcher-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-soft);
  font-weight: 600;
}

.city-switcher-menu a:hover,
.city-switcher-menu a.is-active {
  background: rgba(75, 73, 200, 0.08);
  color: var(--text-main);
}

.muted {
  color: var(--text-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-button);
  padding: 14px 22px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-dark {
  background: var(--button-dark);
  color: #fff;
  box-shadow: 0 12px 24px rgba(31, 26, 30, 0.2);
}

.button-soft {
  background: rgba(75, 73, 200, 0.1);
  color: var(--brand-violet-deep);
}

.button-ghost {
  background: rgba(75, 73, 200, 0.08);
  color: var(--brand-violet-deep);
}

.button-link {
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  color: var(--brand-violet);
}

.notice-bar {
  padding: 12px 0;
  background: linear-gradient(135deg, #57a6ff 0%, #4b49c8 100%);
  color: #fff;
  font-weight: 600;
}

.cookie-consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: min(440px, calc(100vw - 48px));
  padding: 18px 20px;
  border: 1px solid rgba(75, 73, 200, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(43, 44, 88, 0.16);
  backdrop-filter: blur(18px);
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-soft);
}

.cookie-consent a {
  color: var(--brand-violet);
  font-weight: 700;
}

.cookie-consent .button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 12px 18px;
  white-space: nowrap;
}

.city-confirm {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(31, 26, 30, 0.34);
  backdrop-filter: blur(8px);
}

.city-confirm[hidden] {
  display: none !important;
}

.city-confirm-dialog {
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(31, 26, 30, 0.24);
}

.city-confirm-dialog h2 {
  margin: 6px 0 18px;
  font-size: 28px;
  line-height: 1.1;
}

.city-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-confirm-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.city-confirm-list[hidden] {
  display: none !important;
}

.lead-success-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lead-success-modal[hidden] {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

.lead-success-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(31, 26, 30, 0.38);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.lead-success-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 16px;
  width: min(480px, 100%);
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(75, 73, 200, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 123, 58, 0.12) 0%, rgba(61, 151, 242, 0.1) 100%),
    #ffffff;
  box-shadow: 0 34px 100px rgba(31, 26, 30, 0.24);
}

.lead-success-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 29, 30, 0.08);
  color: var(--text-main);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lead-success-close:hover,
.lead-success-close:focus-visible {
  background: var(--button-dark);
  color: #ffffff;
  outline: none;
}

.lead-success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--brand-sky);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(61, 151, 242, 0.24);
}

.lead-success-mark svg {
  width: 30px;
  height: 30px;
}

.lead-success-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lead-success-dialog h2 {
  margin: 0;
  max-width: 360px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.98;
}

.lead-success-dialog p {
  margin: -4px 0 4px;
  max-width: 360px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.4;
}

.lead-success-dialog .button {
  min-height: 50px;
  padding: 12px 22px;
}

.lead-popup-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lead-popup-modal[hidden] {
  display: none !important;
}

.lead-popup-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(31, 26, 30, 0.42);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.lead-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 123, 58, 0.1) 0%, rgba(61, 151, 242, 0.1) 100%),
    #ffffff;
  box-shadow: 0 34px 100px rgba(31, 26, 30, 0.26);
}

.lead-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 29, 30, 0.08);
  color: var(--text-main);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lead-popup-close:hover,
.lead-popup-close:focus-visible {
  background: var(--button-dark);
  color: #ffffff;
  outline: none;
}

.lead-form-popup {
  gap: 14px;
  padding: 30px;
  border: 0;
  border-radius: 30px;
  background: transparent;
  box-shadow: none;
}

.lead-form-popup .lead-form-title {
  max-width: 320px;
  padding-right: 42px;
  font-size: 32px;
  line-height: 0.98;
}

.lead-form-popup .lead-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.lead-form-popup input {
  min-height: 56px;
  border-radius: 20px;
}

.lead-form-popup .button {
  width: 100%;
  min-height: 54px;
}

.lead-form-popup .lead-note {
  font-size: 10px;
  line-height: 1.35;
  color: var(--text-soft);
}

.video-player-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 36px);
}

.video-player-modal[hidden] {
  display: none !important;
}

.video-player-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(31, 26, 30, 0.54);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.video-player-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(1040px, 100%);
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 123, 58, 0.09) 0%, rgba(61, 151, 242, 0.1) 100%),
    #ffffff;
  box-shadow: 0 34px 110px rgba(31, 26, 30, 0.34);
}

.video-player-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.video-player-topbar h2 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.video-player-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(32, 29, 30, 0.08);
  color: var(--text-main);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.video-player-close:hover,
.video-player-close:focus-visible {
  background: var(--button-dark);
  color: #ffffff;
  outline: none;
}

.video-player-frame-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #151315;
}

.video-player-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-source-link {
  width: fit-content;
}

.city-confirm-list a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(75, 73, 200, 0.08);
  color: var(--brand-violet-deep);
  font-weight: 700;
}

.breadcrumbs {
  width: calc(100% - (var(--page-gutter) * 2));
  margin: 22px auto -18px;
  color: var(--text-soft);
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.4;
}

.breadcrumbs-list li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumbs-list li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: rgba(47, 47, 88, 0.34);
}

.breadcrumbs-list a {
  color: var(--text-soft);
  text-decoration: none;
}

.breadcrumbs-list a:hover,
.breadcrumbs-list a:focus-visible {
  color: var(--brand-violet);
}

.breadcrumbs-list span {
  max-width: min(720px, 70vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-main);
}

.hero {
  padding: 56px 0 32px;
}

.hero-small {
  padding-top: 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.developer-hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.hero-grid.narrow {
  grid-template-columns: 1fr;
}

.hero-project .hero-grid {
  grid-template-columns: 1.25fr 0.9fr;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.hero-visual,
.filter-panel {
  border-radius: 38px;
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  padding: 48px;
  background: linear-gradient(135deg, rgba(75, 73, 200, 0.08) 0%, rgba(255, 138, 61, 0.1) 100%);
}

.developer-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  height: var(--developer-hero-height);
  min-height: var(--developer-hero-height);
  max-height: var(--developer-hero-height);
}

.hero-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-headline-line {
  display: block;
}

.hero-small .hero-copy h1,
.hero-project .hero-copy h1 {
  font-size: clamp(36px, 4.8vw, 62px);
}

.developer-company-profile {
  display: grid;
  gap: 10px;
  margin: -2px 0 auto;
}

.developer-company-profile-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(75, 73, 200, 0.08);
}

.developer-company-profile-item:first-child {
  border-top: 1px solid rgba(75, 73, 200, 0.08);
}

.developer-company-profile-item strong {
  font-size: 13px;
  line-height: 1.3;
  color: var(--brand-violet);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.developer-company-profile-item span {
  display: block;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text);
}

.developer-company-profile-item-wide {
  grid-template-columns: 128px minmax(0, 1fr);
}

.developer-company-profile-link {
  width: fit-content;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-violet);
}

.developer-company-profile-summary {
  margin: 2px 0 0;
  max-width: 92%;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
}

.hero-copy p {
  max-width: 700px;
  font-size: 18px;
  color: var(--text-soft);
}

.eyebrow {
  color: var(--brand-violet);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #4b49c8 0%, #3c2aa8 100%);
  color: #fff;
}

.metric-card {
  padding: 18px 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  min-height: 108px;
}

.metric-card span {
  display: block;
  font-size: 13px;
  opacity: 0.78;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
}

.hero-panel-form {
  grid-column: 1 / -1;
  padding: 10px 4px 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(255, 138, 61, 0.9) 0%, rgba(255, 74, 79, 0.88) 100%),
    linear-gradient(180deg, #f8f8fa 0%, #f3f5fb 100%);
}

.hero-visual.has-image {
  background-color: #e7e9f2;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-lock {
  overflow: hidden;
}

.hero-gallery-shell {
  position: relative;
  min-width: 0;
}

.developer-hero-gallery-shell,
.developer-hero-visual {
  height: var(--developer-hero-height);
  min-height: var(--developer-hero-height);
  max-height: var(--developer-hero-height);
}

.hero-gallery {
  position: relative;
  display: grid;
  gap: 14px;
  height: 100%;
}

.developer-hero-gallery {
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
}

.developer-hero-gallery .hero-gallery-stage {
  height: 100%;
  min-height: 0;
}

.developer-hero-gallery .hero-gallery-stage img {
  min-height: 0;
}

.hero-gallery-stage {
  position: relative;
  display: block;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 38px;
  background: #dfe3f1;
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}

.hero-gallery-stage img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.hero-gallery-stage:hover img {
  transform: scale(1.02);
}

.hero-gallery-badge,
.hero-gallery-hint {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31, 26, 30, 0.72);
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero-gallery-badge {
  top: 18px;
  right: 18px;
  font-size: 13px;
  font-weight: 700;
}

.hero-gallery-hint {
  left: 18px;
  bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}

.hero-gallery-nav,
.gallery-lightbox-nav,
.gallery-lightbox-close {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 26, 30, 0.74);
  color: #fff;
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.hero-gallery-nav {
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 34px;
  transform: translateY(-50%);
}

.hero-gallery-nav-prev,
.gallery-lightbox-nav-prev {
  left: 18px;
}

.hero-gallery-nav-next,
.gallery-lightbox-nav-next {
  right: 18px;
}

.hero-gallery-thumbs,
.gallery-lightbox-thumbs {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-gallery-thumbs::-webkit-scrollbar,
.gallery-lightbox-thumbs::-webkit-scrollbar {
  display: none;
}

.hero-gallery-thumb,
.gallery-lightbox-thumb {
  flex: 0 0 auto;
  width: 96px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.hero-gallery-thumb:hover,
.gallery-lightbox-thumb:hover {
  transform: translateY(-1px);
}

.hero-gallery-thumb.is-active,
.gallery-lightbox-thumb.is-active {
  border-color: var(--brand-violet);
}

.hero-gallery-thumb img,
.gallery-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 24, 0.88);
  backdrop-filter: blur(20px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  width: min(1440px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  padding: 24px;
  border-radius: 32px;
  background: rgba(21, 23, 34, 0.86);
  color: #fff;
}

.gallery-lightbox-close {
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  font-size: 32px;
}

.gallery-lightbox-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-right: 64px;
}

.gallery-lightbox-topline strong {
  font-size: 18px;
}

.gallery-lightbox-topline-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.gallery-lightbox-zoom-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-lightbox-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-tool:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gallery-lightbox-topline span {
  color: rgba(255, 255, 255, 0.7);
}

.gallery-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.gallery-lightbox-stage img {
  width: 100%;
  max-height: calc(100vh - 240px);
  object-fit: contain;
  transition: transform 180ms ease;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-lightbox-stage.is-zoomed {
  cursor: grab;
}

.gallery-lightbox-stage.is-zoomed img {
  cursor: grab;
}

.gallery-lightbox-stage.is-dragging,
.gallery-lightbox-stage.is-dragging img {
  cursor: grabbing;
}

.gallery-lightbox-nav {
  top: 50%;
  width: 56px;
  height: 56px;
  font-size: 36px;
  transform: translateY(-50%);
}

.plan-visual {
  min-height: 420px;
}

.plan-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
  background:
    linear-gradient(rgba(75, 73, 200, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 73, 200, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #f0f1ff 0%, #fbfbff 100%);
  background-size: 32px 32px, 32px 32px, auto;
  color: var(--brand-violet);
}

.plan-placeholder-content {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 320px;
  text-align: center;
}

.plan-placeholder-icon {
  width: clamp(132px, 16vw, 190px);
  height: auto;
  color: var(--brand-violet);
}

.plan-placeholder-icon rect,
.plan-placeholder-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plan-placeholder-icon rect {
  opacity: 0.28;
}

.plan-placeholder-copy {
  display: grid;
  gap: 4px;
}

.plan-placeholder-copy strong {
  color: var(--text-main);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.12;
}

.plan-placeholder-copy span {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
}

.plan-placeholder-cover {
  display: flex;
  height: 200px;
  min-height: 200px;
  padding: 0;
  background-size: 24px 24px, 24px 24px, auto;
}

.plan-placeholder-cover-content {
  gap: 0;
  width: 100%;
  max-width: none;
}

.plan-placeholder-cover-icon {
  width: 86px;
  color: rgba(75, 73, 200, 0.72);
}

.plan-placeholder-cover-icon rect,
.plan-placeholder-cover-icon path {
  stroke-width: 8;
}

.plan-gallery .hero-gallery-stage {
  min-height: 420px;
  background: #fff;
}

.plan-gallery .gallery-lightbox-stage,
.plan-gallery .hero-gallery-thumb,
.plan-gallery .gallery-lightbox-thumb {
  background: #fff;
}

.plan-gallery .hero-gallery-stage img,
.plan-gallery .gallery-lightbox-stage img {
  object-fit: contain;
  background: #fff;
}

.plan-gallery .hero-gallery-thumb img,
.plan-gallery .gallery-lightbox-thumb img {
  object-fit: contain;
  background: #fff;
}

.apartment-hero .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: start;
}

.apartment-hero .hero-copy {
  box-sizing: border-box;
  min-height: clamp(330px, 28vw, 460px);
  padding: clamp(30px, 2.8vw, 38px);
}

.apartment-hero .hero-copy h1 {
  margin-top: 24px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 56px);
}

.apartment-hero .hero-copy::after {
  z-index: 0;
  right: 22px;
  bottom: 20px;
  width: 104px;
  height: 104px;
  opacity: 0.2;
}

.apartment-hero .hero-actions {
  margin-top: 18px;
}

.apartment-hero .hero-gallery-shell {
  align-self: start;
  justify-self: end;
  width: 100%;
  max-width: 620px;
}

.apartment-hero .hero-gallery {
  height: auto;
}

.apartment-hero .plan-gallery .hero-gallery-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(330px, 28vw, 460px);
  min-height: 0;
  padding: clamp(14px, 1.6vw, 24px);
  border-radius: 30px;
  background: #ffffff;
}

.apartment-hero .plan-gallery .hero-gallery-stage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.apartment-hero .hero-gallery-hint {
  top: 18px;
  bottom: auto;
  left: 18px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .apartment-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .apartment-hero .hero-copy {
    min-height: 0;
  }

  .apartment-hero .plan-gallery .hero-gallery-stage {
    height: clamp(320px, 70vw, 480px);
  }
}

@media (max-width: 560px) {
  .apartment-hero .plan-gallery .hero-gallery-stage {
    height: 320px;
    padding: 12px;
    border-radius: 26px;
  }
}

.filter-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--surface);
}

.filter-panel-head {
  display: grid;
  gap: 6px;
}

.filter-panel-fields-inside {
  gap: 12px;
}

.filter-panel-fields-inside label {
  gap: 0;
}

.filter-panel-fields-inside label > span:not(.search-field-icon) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.filter-panel-fields-inside .collection-down-payment-filter {
  margin-top: 0;
}

.filter-panel-compact {
  gap: 18px;
  padding: 24px;
  border-radius: 32px;
}

.filter-panel-horizontal .filter-panel-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(5, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
}

.project-list-filter-shell {
  margin-top: 22px;
}

.filter-panel-count,
.filter-panel-summary,
.filter-hint {
  margin: 0;
}

.filter-panel-count {
  font-size: 18px;
  color: var(--text-soft);
}

.filter-panel-summary,
.filter-hint {
  font-size: 14px;
  color: var(--text-soft);
}

.filter-hint {
  margin-top: 10px;
}

.filter-panel label,
.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-soft);
}

.filter-field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.filter-select-group {
  display: grid;
  gap: 10px;
}

.filter-group {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 14px;
}

.filter-group-title {
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.search-field {
  position: relative;
  display: block;
}

.search-field input {
  padding-left: 56px;
  min-height: 60px;
  border-radius: 24px;
  font-size: 18px;
}

.filter-panel-compact .search-field input,
.inline-filter-form-compact select,
.inline-filter-form-compact input {
  min-height: 54px;
  font-size: 16px;
}

.search-field-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 24px;
  height: 24px;
  color: #9da3ba;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-field-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filter-actions-compact,
.inline-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filter-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-chip-grid-compact .filter-chip {
  min-width: 74px;
}

.filter-chip-grid-budget .filter-chip {
  min-width: 142px;
}

.filter-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0;
  border-radius: 20px;
  border: 1px solid #d9dce7;
  background: #fff;
  color: var(--button-dark);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.filter-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(75, 73, 200, 0.26);
}

.filter-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.filter-chip span {
  padding: 0 18px;
  font-size: 18px;
  line-height: 1.1;
  text-align: center;
}

.filter-chip.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(75, 73, 200, 0.12) 0%, rgba(87, 166, 255, 0.16) 100%);
  color: var(--brand-violet-deep);
  box-shadow: inset 0 0 0 1px rgba(75, 73, 200, 0.1);
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.collection-filter-panel {
  width: 100%;
  gap: 16px;
  padding: 24px;
}

.collection-down-payment-filter {
  margin-top: 16px;
}

.collection-hero-copy {
  padding-right: 48px;
}

.collection-hero-title {
  max-width: 980px;
}

.collection-filter-head {
  grid-column: 1 / -1;
}

.collection-secondary-head {
  margin-top: clamp(34px, 4vw, 56px);
}

.collection-filter-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.collection-range-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 14px;
}

.collection-range-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(75, 73, 200, 0.06) 0%, rgba(87, 166, 255, 0.08) 100%);
  border: 1px solid rgba(75, 73, 200, 0.08);
}

.collection-select-card {
  align-content: start;
}

.collection-range-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.collection-range-head span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.collection-range-head strong {
  font-size: 14px;
  color: var(--text-main);
}

.collection-select-card select {
  min-height: 64px;
  border-color: rgba(75, 73, 200, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.collection-range-card input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  accent-color: var(--brand-violet);
}

.collection-dual-range {
  position: relative;
  height: 28px;
}

.collection-dual-range::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 6px;
  border-radius: 999px;
  background: rgba(75, 73, 200, 0.14);
  transform: translateY(-50%);
}

.collection-range-card input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}

.collection-range-card input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}

.collection-range-card input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand-violet);
  box-shadow: 0 4px 12px rgba(75, 73, 200, 0.24);
  pointer-events: auto;
  cursor: pointer;
}

.collection-range-card input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
}

.collection-range-card input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand-violet);
  box-shadow: 0 4px 12px rgba(75, 73, 200, 0.24);
  pointer-events: auto;
  cursor: pointer;
}

.collection-filter-actions {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0;
}

.collection-load-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text-main);
  background: #fff;
}

.filter-panel select,
.filter-panel input:not([type="range"]),
.inline-filter-form select,
.inline-filter-form input:not([type="range"]) {
  box-sizing: border-box;
  height: 64px;
  min-height: 64px;
  border-radius: 24px;
  border-color: #e1e4ef;
  padding: 0 20px;
  background-color: #fff;
}

.filter-panel select,
.inline-filter-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23292845' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 18px center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
}

.filter-panel .search-field input {
  padding-left: 56px;
}

.filter-panel input::placeholder,
.inline-filter-form input::placeholder {
  color: var(--text-main);
  opacity: 1;
}

select:disabled {
  color: #8f95ab;
  background: #f8f8fa;
}

textarea {
  resize: vertical;
}

.section {
  padding: var(--section-space-top) 0 var(--section-space-bottom);
}

.section-tight {
  padding: 24px 0 8px;
}

.tone-soft {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(231, 233, 242, 0.7);
  border-bottom: 1px solid rgba(231, 233, 242, 0.7);
}

.section-head,
.split-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--section-heading-gap);
}

.section-head h2,
.split-head h2,
.article-section h2,
.text-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.grid {
  display: grid;
  gap: var(--grid-space);
}

.section-head-inline {
  align-items: center;
}

.section-meta {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.seo-spotlight {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(75, 73, 200, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 10%, rgba(75, 73, 200, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f6f4ff 55%, #fff7f3 100%);
  box-shadow: 0 18px 52px rgba(35, 33, 79, 0.08);
}

.seo-spotlight-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.seo-spotlight-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.seo-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.seo-spotlight-grid-small {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 560px;
}

.seo-spotlight-card {
  display: grid;
  align-content: center;
  min-height: 78px;
  padding: 16px;
  border: 1px solid rgba(75, 73, 200, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-violet-deep);
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(35, 33, 79, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.seo-spotlight-card:hover,
.seo-spotlight-card:focus-visible {
  border-color: rgba(75, 73, 200, 0.3);
  box-shadow: 0 16px 34px rgba(35, 33, 79, 0.12);
  transform: translateY(-2px);
}

.seo-spotlight-card.is-accent {
  background: linear-gradient(135deg, rgba(75, 73, 200, 0.12), rgba(255, 112, 67, 0.1));
}

.seo-spotlight-card small {
  margin-top: 6px;
  color: #8f94a8;
  font-size: 12px;
  font-weight: 650;
}

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

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

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

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

.card,
.cta-surface,
.media-card,
.table-shell,
.article-body,
.article-side {
  position: relative;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-clickable {
  transform-origin: center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card-clickable:hover,
.card-clickable:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  height: 200px;
  min-height: 200px;
  background:
    linear-gradient(160deg, rgba(75, 73, 200, 0.18) 0%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(135deg, #dfe2ff 0%, #f8f8fa 100%);
  transition: transform 280ms ease, filter 280ms ease;
  transform-origin: center;
}

.card-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.card-cover.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 44, 88, 0.04) 0%, rgba(43, 44, 88, 0.44) 100%);
  transition: opacity 280ms ease;
}

.apartment-card-cover.has-image {
  background: #ffffff;
}

.apartment-card-cover.has-image img {
  object-fit: contain;
  background: #ffffff;
}

.apartment-card-cover.has-image::after {
  display: none;
}

.card-clickable:hover .card-cover,
.card-clickable:focus-within .card-cover {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.card-clickable:hover .card-cover.has-image::after,
.card-clickable:focus-within .card-cover.has-image::after {
  opacity: 0.78;
}

.gradient-violet {
  background: linear-gradient(135deg, #4b49c8 0%, #3c2aa8 100%);
}

.gradient-orange {
  background: linear-gradient(135deg, #ff8a3d 0%, #ffb36b 100%);
}

.gradient-coral {
  background: linear-gradient(135deg, #ff4a4f 0%, #ff7a7e 100%);
}

.gradient-sky {
  background: linear-gradient(135deg, #57a6ff 0%, #8ac8ff 100%);
}

.card-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(31, 26, 30, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-right: 8px;
}

.card-chip.soft {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.card-body h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.card-body p {
  margin: 0;
  color: var(--text-soft);
}

.apartment-down-payment {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(75, 73, 200, 0.06);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.25;
}

.apartment-down-payment span {
  color: var(--text-main);
  font-weight: 700;
}

.apartment-down-payment em {
  display: block;
  max-width: 240px;
  max-height: 0;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 12px;
  font-style: normal;
  opacity: 0;
  transition: max-height 180ms ease, opacity 180ms ease;
}

.apartment-card:hover .apartment-down-payment em,
.apartment-card:focus-within .apartment-down-payment em {
  max-height: 24px;
  opacity: 1;
}

.project-card .card-body {
  align-content: start;
  min-height: 100%;
  padding: 20px;
}

.project-card .card-body h3 {
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: 0;
}

.project-card .card-body p {
  font-size: 14px;
}

.project-card .card-actions {
  position: relative;
  z-index: 3;
  margin-top: 12px;
}

.project-video-button {
  padding-inline: 18px;
}

.project-location-card {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.project-location-card-wide {
  grid-column: 1 / -1;
}

.project-map-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(75, 73, 200, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-map-card:hover,
.project-map-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(75, 73, 200, 0.22);
  box-shadow: 0 14px 28px rgba(43, 44, 88, 0.12);
}

.project-map-widget {
  display: block;
  width: 100%;
  height: min(68vh, 640px);
  min-height: 360px;
  border: 0;
  background: linear-gradient(135deg, #dfe2ff 0%, #f8f8fa 100%);
}

.project-map-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(75, 73, 200, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-map-link:hover,
.project-map-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(75, 73, 200, 0.22);
  box-shadow: 0 14px 28px rgba(43, 44, 88, 0.12);
}

.project-map-link span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-violet-deep);
  background: rgba(75, 73, 200, 0.05);
}

.project-map-link span::after {
  content: "↗";
  font-size: 14px;
}

.collection-card .card-body {
  height: 100%;
  align-content: start;
}

.district-card {
  min-height: 0;
}

.district-card .card-body {
  gap: 12px;
  padding: 20px 20px 22px;
}

.district-card h3 {
  font-size: 22px;
}

.district-card p {
  font-size: 15px;
}

.district-card-price-line {
  display: flex;
  align-items: baseline;
}

.district-card-price {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.15;
}

.district-card .button {
  width: 100%;
  min-height: 52px;
}

.district-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.district-card .card-chip {
  margin-right: 0;
}

.district-card .card-chip.soft {
  background: rgba(75, 73, 200, 0.14);
  color: var(--brand-violet-deep);
  backdrop-filter: none;
}

.down-payment-home-section {
  background: rgba(255, 255, 255, 0.42);
}

.down-payment-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-space);
}

.down-payment-home-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.down-payment-home-head {
  display: grid;
  gap: 14px;
}

.down-payment-home-head h3 {
  margin: 4px 0 2px;
  font-size: 26px;
  line-height: 1.06;
}

.down-payment-home-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.down-payment-home-head .button {
  width: 100%;
  min-height: 48px;
}

.collection-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(75, 73, 200, 0.14);
  background: linear-gradient(135deg, rgba(75, 73, 200, 0.1) 0%, rgba(87, 166, 255, 0.12) 100%);
  color: var(--brand-violet-deep);
  margin-bottom: 10px;
}

.collection-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(75, 73, 200, 0.14);
  font-size: 16px;
  line-height: 1;
  transform-origin: center;
  animation: collection-emoji-float 3.6s ease-in-out infinite;
}

.collection-card:nth-child(2n) .collection-emoji {
  animation-delay: 0.45s;
}

.collection-card:nth-child(3n) .collection-emoji {
  animation-delay: 0.9s;
}

@keyframes collection-emoji-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  50% {
    transform: translateY(-3px) rotate(-4deg) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .collection-emoji {
    animation: none;
  }
}

.card-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.card-link-overlay:focus-visible {
  outline: 3px solid rgba(75, 73, 200, 0.42);
  outline-offset: -3px;
}

.card-clickable .button {
  position: relative;
  z-index: 3;
}

.promo-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 34px;
  border-radius: 38px;
  background: linear-gradient(135deg, #2f315b 0%, #4b49c8 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.promo-points {
  display: grid;
  gap: 14px;
  align-content: center;
}

.promo-points span {
  display: inline-flex;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
}

.quiz-band {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 14px;
  align-items: stretch;
  min-height: 224px;
  padding: 16px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top right, rgba(126, 154, 255, 0.34), transparent 34%),
    linear-gradient(135deg, #2d2f58 0%, #4b49c8 58%, #6e6ae8 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.quiz-band-compact {
  min-height: 148px;
  padding: 12px;
}

.quiz-band-copy {
  display: grid;
  align-content: center;
  gap: 0;
}

.quiz-band-copy h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(26px, 3.45vw, 46px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.quiz-band-copy p {
  margin: 0;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.84);
}

.quiz-band-compact .quiz-band-copy h2 {
  max-width: 11ch;
  font-size: clamp(22px, 2.7vw, 34px);
}

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

.quiz-progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.quiz-progress-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.quiz-progress-step strong {
  font-size: 14px;
  line-height: 1.1;
}

.quiz-progress-step.is-active,
.quiz-progress-step.is-complete {
  color: #fff;
  transform: translateY(-1px);
}

.quiz-progress-step.is-active {
  background: rgba(255, 255, 255, 0.18);
}

.quiz-progress-step.is-complete {
  background: rgba(92, 194, 124, 0.18);
}

.quiz-progress-step.is-complete span {
  background: rgba(92, 194, 124, 0.24);
}

.quiz-live-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quiz-live-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.quiz-panel {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.quiz-band-compact .quiz-panel {
  padding: 12px;
}

.quiz-step {
  display: grid;
  gap: 10px;
}

.quiz-step[hidden] {
  display: none !important;
}

.quiz-step-head {
  display: grid;
  gap: 6px;
}

.quiz-step-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quiz-step-counter {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.quiz-step h3 {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.08;
}

.quiz-step-emoji {
  display: inline-block;
  margin-left: 8px;
}

.quiz-step-backlink {
  padding: 0;
  min-height: auto;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.88);
}

.quiz-step-backlink:hover {
  background: transparent;
  color: #fff;
}

.quiz-step-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.quiz-inline-stack {
  display: grid;
  gap: 14px;
}

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

.quiz-select-wrap {
  position: relative;
  display: block;
}

.quiz-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(33, 28, 51, 0.82);
  border-bottom: 2px solid rgba(33, 28, 51, 0.82);
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

.quiz-select {
  width: 100%;
  min-height: 48px;
  padding: 0 46px 0 16px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  color: #211c33;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 10px 30px rgba(29, 23, 59, 0.1);
  cursor: pointer;
}

.quiz-select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.58);
  outline-offset: 2px;
}

.quiz-input-wrap {
  display: block;
}

.quiz-text-input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #211c33;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(29, 23, 59, 0.1);
}

.quiz-text-input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.58);
  outline-offset: 2px;
}

.quiz-options {
  gap: 8px;
}

.quiz-option {
  flex: 1 1 calc(50% - 12px);
  min-width: 190px;
  min-height: 42px;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.94);
}

.quiz-option span {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}

.quiz-option.is-active {
  background: linear-gradient(135deg, #fff3e9 0%, #eef3ff 100%);
  box-shadow: inset 0 0 0 1px rgba(75, 73, 200, 0.12);
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.quiz-step[data-quiz-step="0"] .quiz-nav {
  margin-top: 6px;
}

.quiz-nav .button-dark {
  min-width: 160px;
}

.quiz-nav .button-link {
  color: #fff;
}

.quiz-nav .button-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.quiz-nav .button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.quiz-step-form {
  gap: 6px;
}

.quiz-final-summary {
  max-width: none;
  font-size: 14px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.9);
}

.quiz-live-summary-final {
  margin: 2px 0 2px;
}

.quiz-step-form .lead-grid.quiz-contact-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
}

.quiz-step-form label,
.quiz-step-form .lead-note {
  color: rgba(255, 255, 255, 0.82);
}

.quiz-step-form input {
  background: rgba(255, 255, 255, 0.96);
  min-height: 48px;
}

.quiz-step-form .quiz-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.quiz-step-form .quiz-nav .button-dark {
  width: 100%;
  min-width: 0;
}

.quiz-step-form .quiz-nav .button-link {
  justify-self: start;
  padding-left: 0;
  padding-right: 0;
}

.cta-surface {
  padding: clamp(22px, 3vw, 34px);
}

.cta-surface-flat {
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.lead-form {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--border-soft);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.cta-surface > .lead-form,
.news-form-surface .lead-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.lead-form-head {
  display: grid;
  gap: 0;
}

.access-gate-shell {
  max-width: 560px;
}

.access-gate-card {
  display: grid;
  gap: 18px;
  padding: 32px;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.access-gate-card h1,
.access-gate-card p {
  margin: 0;
}

.access-gate-card p {
  color: var(--text-soft);
}

.access-gate-form {
  display: grid;
  gap: 14px;
}

.access-gate-error {
  margin: 0;
  color: #d54848;
  font-weight: 600;
}

.lead-form-dark {
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: linear-gradient(135deg, #4b49c8 0%, #3c2aa8 100%);
  color: #fff;
}

.lead-form-dark p,
.lead-form-dark label span,
.lead-form-dark .lead-note {
  color: rgba(255, 255, 255, 0.82);
}

.lead-form-dark input,
.lead-form-dark textarea {
  background: rgba(255, 255, 255, 0.96);
}

.hero-panel-form .lead-form-dark {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-panel-form .lead-form-dark .lead-form-title,
.hero-panel-form .lead-form-dark p,
.hero-panel-form .lead-form-dark label span,
.hero-panel-form .lead-form-dark .lead-note {
  color: rgba(255, 255, 255, 0.9);
}

.project-hero-form {
  display: grid;
  grid-column: auto;
  align-self: stretch;
  align-items: center;
  padding: 0;
  border-radius: 38px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.project-hero-form .lead-form {
  width: 100%;
  min-height: 100%;
}

.project-hero-form .lead-form-dark {
  align-content: center;
  gap: 12px;
  min-height: 100%;
  padding: clamp(24px, 2.4vw, 34px);
  border: 0;
  border-radius: 38px;
  background: linear-gradient(135deg, #2d2f58 0%, #4b49c8 58%, #6e6ae8 100%);
  color: #fff;
  box-shadow: none;
}

.project-hero-form .lead-form-head {
  gap: 6px;
}

.project-hero-form .lead-form-dark .lead-form-title {
  font-size: 24px;
  line-height: 1.05;
}

.project-hero-form .lead-form-dark p {
  font-size: 14px;
  line-height: 1.35;
}

.project-hero-form .lead-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.project-hero-form .lead-form-dark input {
  min-height: 50px;
  border-radius: 18px;
}

.project-hero-form .lead-form-dark .button {
  min-height: 50px;
}

.project-hero-form .lead-form-dark .lead-note {
  font-size: 10px;
  line-height: 1.3;
}

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

.lead-form-title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.lead-form p {
  margin: 0;
}

.lead-note {
  font-size: 11px;
  line-height: 1.35;
}

.lead-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.lead-form-compact {
  gap: 14px;
}

.lead-form-compact .lead-form-head {
  display: grid;
  gap: 6px;
}

.lead-form-compact .lead-form-title {
  margin-bottom: 0;
  font-size: 24px;
}

.lead-form-compact p {
  font-size: 14px;
  color: var(--text-soft);
}

.lead-form-dark.lead-form-compact p,
.lead-form-dark.lead-form-compact label span,
.lead-form-dark.lead-form-compact .lead-note {
  color: rgba(255, 255, 255, 0.84);
}

.lead-form-compact .lead-grid {
  gap: 12px;
}

.lead-form-compact input {
  min-height: 54px;
}

.lead-form-compact .button {
  width: 100%;
}

.lead-form-compact .lead-note {
  font-size: 11px;
}

.lead-form-feature {
  gap: 18px;
  width: 100%;
  padding: clamp(24px, 3vw, 36px);
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: linear-gradient(135deg, #2d2f58 0%, #4b49c8 58%, #6e6ae8 100%);
  box-shadow: var(--shadow-soft);
}

.lead-form-feature .lead-form-head {
  display: grid;
  gap: 10px;
}

.lead-form-feature .lead-form-title {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.lead-form-feature p,
.lead-form-feature label span,
.lead-form-feature .lead-note {
  color: rgba(255, 255, 255, 0.86);
}

.lead-form-feature .lead-grid {
  gap: 12px;
}

.lead-form-feature input,
.lead-form-feature textarea {
  min-height: 60px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
}

.lead-form-feature textarea {
  min-height: 160px;
}

.lead-form-feature .button {
  width: 100%;
}

.detail-grid,
.article-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--block-space);
}

.detail-wide-section {
  margin-top: var(--block-space);
}

.detail-main,
.detail-side {
  min-width: 0;
}

.detail-main-wide {
  width: 100%;
}

.inline-filter-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: var(--section-heading-gap);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: var(--block-space);
}

.hero-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.32fr);
  margin-top: auto;
  margin-bottom: 0;
}

.apartment-copy-info-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 0;
}

.apartment-copy-info-grid .info-card {
  min-height: 86px;
  padding: 16px 18px;
  border-radius: 20px;
}

.apartment-copy-info-grid .info-card span {
  font-size: 13px;
}

.apartment-copy-info-grid .info-card strong {
  margin-top: 9px;
  font-size: 18px;
  line-height: 1.18;
}

.apartment-info-card-address {
  grid-column: span 2;
}

.apartment-down-payment-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.apartment-down-payment-detail span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(75, 73, 200, 0.06);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.apartment-mortgage-section {
  padding-top: 0;
}

.apartment-mortgage-widget {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 18px;
  align-items: stretch;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(32, 29, 30, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 66, 72, 0.11), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(255, 123, 58, 0.12), transparent 30%),
    #fff;
  box-shadow: var(--shadow-soft);
}

.apartment-mortgage-inputs,
.apartment-mortgage-result-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  padding: clamp(16px, 2vw, 22px);
  border-radius: 20px;
}

.apartment-mortgage-inputs {
  border: 1px solid rgba(32, 29, 30, 0.08);
  background: var(--brand-warm);
}

.apartment-mortgage-result-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 66, 72, 0.2) 0%, transparent 42%),
    var(--surface-dark);
  color: #fff;
}

.apartment-mortgage-result-panel::after {
  content: "";
  position: absolute;
  right: clamp(16px, 2vw, 28px);
  top: clamp(18px, 2vw, 26px);
  width: clamp(82px, 9vw, 150px);
  height: 12px;
  border-radius: 999px;
  background: var(--brand-coral);
  transform: rotate(-8deg);
  opacity: 0.9;
  pointer-events: none;
}

.apartment-mortgage-result-panel > * {
  position: relative;
  z-index: 1;
}

.apartment-mortgage-inputs h2,
.apartment-mortgage-result-panel h2 {
  margin: 0;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.08;
}

.apartment-mortgage-result-panel .eyebrow,
.apartment-mortgage-result-panel .apartment-mortgage-result span,
.apartment-mortgage-result-panel .apartment-mortgage-metrics span {
  color: rgba(255, 255, 255, 0.68);
}

.apartment-mortgage-programs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.apartment-mortgage-programs button {
  min-height: 38px;
  border: 1px solid rgba(32, 29, 30, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--text-main);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 12px;
}

.apartment-mortgage-programs button.is-active {
  border-color: var(--brand-coral);
  background: var(--brand-coral);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 66, 72, 0.2);
}

.apartment-mortgage-result {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.apartment-mortgage-result span,
.apartment-mortgage-metrics span,
.apartment-mortgage-fields span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.apartment-mortgage-result strong {
  color: inherit;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.apartment-mortgage-metrics,
.apartment-mortgage-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.apartment-mortgage-metrics div,
.apartment-mortgage-fields label {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
}

.apartment-mortgage-result-panel .apartment-mortgage-metrics div {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.apartment-mortgage-metrics strong {
  color: inherit;
  font-size: 16px;
}

.apartment-mortgage-form {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

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

.apartment-mortgage-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(32, 29, 30, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--text-main);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  padding: 0 14px;
  outline: none;
}

.apartment-mortgage-fields input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(32, 29, 30, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--text-main);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  padding: 0 14px;
  outline: none;
}

.apartment-mortgage-fields input[readonly] {
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-soft);
}

.apartment-mortgage-form input:focus,
.apartment-mortgage-fields input:focus {
  border-color: rgba(255, 66, 72, 0.62);
  box-shadow: 0 0 0 4px rgba(255, 66, 72, 0.1);
}

.apartment-mortgage-form small {
  color: #8d92ad;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.apartment-mortgage-form .lead-grid {
  gap: 10px;
}

.apartment-mortgage-form .lead-grid input {
  background: rgba(255, 255, 255, 0.96);
}

.apartment-mortgage-form .button {
  width: 100%;
}

.apartment-mortgage-form .lead-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.45;
}

.apartment-mortgage-form .lead-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.apartment-detail-cta-section {
  margin-top: var(--block-space);
}

.apartment-detail-cta-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 clamp(24px, 4vw, 40px);
}

.info-card {
  padding: 20px;
  border-radius: 26px;
  background: rgba(75, 73, 200, 0.06);
}

.hero-info-card {
  background: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px);
}

.hero-info-card-price strong {
  white-space: nowrap;
}

.info-card span {
  display: block;
  color: var(--text-soft);
  font-size: 14px;
}

.info-card strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
}

.table-shell {
  padding: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
}

.media-card {
  padding: 12px;
  margin-bottom: 24px;
}

.media-card img {
  border-radius: 24px;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.media-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.media-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.media-gallery-item:hover img,
.media-gallery-item:focus-visible img {
  transform: scale(1.03);
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.developer-about-card {
  display: grid;
  gap: 14px;
  padding: 24px 28px;
  margin-bottom: 28px;
  border-radius: 28px;
  background: rgba(75, 73, 200, 0.05);
  border: 1px solid rgba(75, 73, 200, 0.08);
}

.developer-about-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

.developer-about-card a {
  width: fit-content;
  color: var(--brand-violet);
  font-weight: 600;
}

.brief-card,
.stack-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(75, 73, 200, 0.05);
  border: 1px solid rgba(75, 73, 200, 0.08);
}

.video-stack-card {
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 112px;
  padding: 12px 14px;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.video-stack-card:hover,
.video-stack-card:focus-visible {
  border-color: rgba(255, 123, 58, 0.3);
  box-shadow: 0 18px 42px rgba(31, 26, 30, 0.08);
  outline: none;
  transform: translateY(-2px);
}

.video-stack-cover {
  position: relative;
  display: block;
  overflow: hidden;
  width: 168px;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 16px;
  background: #ffffff;
}

.video-stack-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-stack-cover-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(75, 73, 200, 0.94) 0%, rgba(61, 151, 242, 0.78) 100%);
  color: #ffffff;
}

.video-stack-cover-placeholder span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 18px;
  line-height: 1;
}

.video-stack-content {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.video-stack-content strong {
  max-width: 620px;
}

.video-stack-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-main);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--border-soft);
}

.brief-card strong,
.stack-card strong {
  font-size: 18px;
  line-height: 1.15;
}

.brief-card span,
.stack-card p {
  margin: 0;
  color: var(--text-soft);
}

.brief-card-accent {
  background: rgba(255, 138, 61, 0.08);
  border-color: rgba(255, 138, 61, 0.16);
}

.stack-list {
  display: grid;
  gap: 14px;
  margin-bottom: var(--block-space);
}

.video-stack-list {
  gap: 10px;
}

@media (max-width: 720px) {
  .video-stack-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    min-height: 96px;
    padding: 10px;
  }

  .video-stack-cover {
    width: 112px;
    border-radius: 14px;
  }

  .video-stack-action {
    grid-column: 2;
    width: fit-content;
    min-height: 36px;
    padding: 8px 13px;
    font-size: 13px;
  }
}

.developer-detail-stack {
  display: grid;
  gap: var(--section-heading-gap);
}

.developer-detail-stack .brief-grid,
.developer-detail-stack .stack-list {
  margin-bottom: 0;
}

.developer-lead-form-shell {
  width: 100%;
}

.developer-lead-form-shell .lead-form-feature {
  gap: 14px;
  padding: clamp(18px, 2vw, 26px);
  border-radius: 28px;
}

.developer-lead-form-shell .lead-form-feature .lead-form-head {
  gap: 6px;
}

.developer-lead-form-shell .lead-form-feature .lead-form-title {
  font-size: clamp(24px, 2.2vw, 32px);
}

.developer-lead-form-shell .lead-form-feature p {
  font-size: 15px;
}

.developer-lead-form-shell .lead-form-feature input {
  min-height: 52px;
  border-radius: 18px;
}

.developer-lead-form-shell .lead-form-feature .button {
  min-height: 52px;
}

.developer-lead-form-shell .lead-note {
  font-size: clamp(9px, 0.72vw, 12px);
  line-height: 1.25;
}

.developer-project-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: var(--block-space);
}

.listing-results-anchor,
#apartments {
  scroll-margin-top: 112px;
}

.empty-state {
  max-width: 720px;
}

.error-hero {
  padding: 64px 0 24px;
}

.error-page {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.error-page-copy,
.error-page-panel {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  box-shadow: var(--shadow-soft);
}

.error-page-copy {
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(circle at top right, rgba(87, 166, 255, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(75, 73, 200, 0.1) 0%, rgba(255, 138, 61, 0.12) 100%);
}

.error-page-violet .error-page-copy {
  background:
    radial-gradient(circle at top right, rgba(87, 166, 255, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(75, 73, 200, 0.12) 0%, rgba(255, 138, 61, 0.12) 100%);
}

.error-page-coral .error-page-copy {
  background:
    radial-gradient(circle at top right, rgba(255, 122, 126, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(255, 74, 79, 0.14) 0%, rgba(255, 138, 61, 0.12) 100%);
}

.error-page-code {
  margin: 10px 0 14px;
  font-size: clamp(72px, 14vw, 148px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  font-weight: 800;
  color: var(--text-main);
}

.error-page-copy h1 {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.error-page-copy p {
  max-width: 720px;
  margin: 0;
  font-size: 18px;
  color: var(--text-soft);
}

.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.error-page-panel {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 30px;
  background: linear-gradient(135deg, #2f315b 0%, #4b49c8 100%);
  color: #fff;
}

.error-page-panel-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.error-page-tips {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.error-page-tips li {
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

.error-page-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.error-page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease;
}

.error-page-links a:hover,
.error-page-links a:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.article-shell {
  padding: 34px 0 0;
}

.article-hero {
  max-width: 900px;
}

.article-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 0.97;
  letter-spacing: -0.04em;
}

.article-lead {
  font-size: 22px;
  color: var(--text-soft);
}

.article-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  color: var(--text-soft);
}

.tag-row {
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(75, 73, 200, 0.08);
  color: var(--brand-violet-deep);
  font-size: 13px;
  font-weight: 600;
}

.tag-row.compact {
  margin-top: 6px;
}

.tag-0 {
  background: rgba(75, 73, 200, 0.1);
  color: #3c2aa8;
}

.tag-1 {
  background: rgba(255, 138, 61, 0.14);
  color: #9a4d0f;
}

.tag-2 {
  background: rgba(87, 166, 255, 0.14);
  color: #12508a;
}

.tag-3 {
  background: rgba(255, 74, 79, 0.12);
  color: #9d1f28;
}

.tag-4 {
  background: rgba(43, 44, 88, 0.1);
  color: #2b2c58;
}

.article-body,
.article-side {
  padding: 30px;
}

.article-grid-wide {
  grid-template-columns: 1fr;
}

.article-section + .article-section {
  margin-top: 26px;
}

.article-section p {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--text-soft);
}

.article-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.article-accent {
  padding-left: 18px;
  border-left: 4px solid var(--brand-orange);
  font-weight: 600;
  color: var(--text-main);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.button-light:hover,
.button-light:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.news-index-hero {
  padding: clamp(30px, 4.2vw, 58px) 0 clamp(18px, 2.6vw, 32px);
}

.news-index-hero-inner {
  width: min(760px, calc(100% - (var(--page-gutter) * 2)));
  max-width: none;
  margin-left: var(--page-gutter);
  margin-right: auto;
  display: grid;
  gap: 14px;
}

.news-index-hero-inner h1 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.96;
}

.news-index-hero-inner p {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.42;
  color: var(--text-soft);
}

.news-index-content {
  padding-top: 0;
}

.news-detail-shell {
  position: relative;
  padding: 28px 0 86px;
}

.news-detail-shell::before {
  content: none;
}

.news-masthead {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  display: flex;
  justify-content: center;
}

.news-masthead-panel {
  max-width: 960px;
  padding: 34px 38px;
  border: 1px solid rgba(222, 226, 240, 0.9);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 60px rgba(31, 40, 85, 0.08);
}

.news-masthead-copy {
  display: grid;
  gap: 16px;
}

.news-masthead-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.news-masthead-kicker {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.news-source-link {
  width: fit-content;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.news-source-link:hover,
.news-source-link:focus-visible {
  color: var(--brand-violet);
}

.news-masthead h1 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.news-masthead-lead {
  margin: 0;
  max-width: 760px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-soft);
}

.news-article-body {
  max-width: none;
  padding: 0;
}

.news-article-surface {
  display: grid;
  gap: 0;
  padding: 42px 46px 34px;
  border: 1px solid rgba(222, 226, 240, 0.86);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 54px rgba(31, 40, 85, 0.07);
}

.news-detail-layout {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  grid-template-columns: minmax(0, 760px) minmax(300px, 340px);
  align-items: start;
  justify-content: center;
  gap: 32px;
}

.news-sticky-cta {
  position: sticky;
  top: 112px;
  align-self: start;
  padding-top: 0;
}

.news-sidebar-conversion {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #24459f 0%, #365fce 100%);
  box-shadow: 0 18px 54px rgba(31, 40, 85, 0.18);
  color: #fff;
}

.news-sidebar-conversion h2 {
  margin: 0;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.08;
  color: #fff;
}

.news-sidebar-phone {
  display: grid;
  gap: 8px;
}

.news-sidebar-phone span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-sidebar-phone input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.news-sidebar-phone input:focus {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.news-sidebar-conversion .button {
  width: 100%;
  min-height: 58px;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.news-sidebar-note {
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 1.42;
}

.news-sidebar-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.news-article-header {
  display: grid;
  gap: 18px;
  padding-bottom: 30px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-soft);
}

.news-article-header h1 {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.news-article-section h2 {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.14;
}

.news-article-section p,
.news-article-section li {
  font-size: 18px;
  line-height: 1.65;
}

.article-internal-link {
  color: var(--brand-violet-deep);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.article-internal-link:hover {
  color: var(--brand-violet);
}

.news-article-section .article-accent {
  padding: 16px 18px;
  border-left: 3px solid var(--brand-orange);
  border-radius: 18px;
  background: rgba(255, 138, 61, 0.08);
}

.article-cover-figure {
  margin: 0 0 34px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--brand-violet);
  box-shadow: 0 22px 52px rgba(41, 40, 69, 0.12);
}

.article-cover-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-visual {
  margin: 24px 0 6px;
  overflow: hidden;
  border: 1px solid rgba(41, 40, 69, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(41, 40, 69, 0.08);
}

.article-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.article-visual figcaption {
  padding: 12px 16px 14px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
  background: rgba(246, 247, 252, 0.9);
}

.news-source-note {
  display: grid;
  gap: 7px;
  margin: 30px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-soft);
}

.news-source-note span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-source-note a {
  width: fit-content;
  color: var(--brand-violet-deep);
  font-size: 16px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.news-source-note a:hover,
.news-source-note a:focus-visible {
  color: var(--brand-violet);
}

.news-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0;
  padding: 18px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #1f3f8f 0%, #355cc7 100%);
  color: #fff;
}

.news-inline-cta-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.news-inline-cta h2 {
  margin: 4px 0 0;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.08;
  color: #fff;
}

.related-news-section {
  margin-top: 22px;
}

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

.related-news-card {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.related-news-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.related-news-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.48;
  color: var(--text-soft);
}

.related-news-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-violet);
}

.news-form-surface .lead-form {
  max-width: 960px;
  padding-top: 8px;
  margin: 0 auto;
}

.news-home-grid .material-card {
  height: 100%;
}

.content-home-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.content-home-column {
  min-width: 0;
}

.content-home-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.home-blog-section {
  padding: 26px 0 34px;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(231, 233, 242, 0.72);
}

.home-blog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.home-blog-head h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0;
}

.home-blog-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.home-blog-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-violet);
  text-decoration: none;
}

.home-blog-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-blog-card {
  min-width: 0;
}

.home-blog-card a {
  display: flex;
  min-height: 164px;
  height: 100%;
  flex-direction: column;
  padding: 15px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(230, 224, 220, 0.95);
  border-radius: 8px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-blog-card a:hover,
.home-blog-card a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 123, 58, 0.58);
  box-shadow: 0 16px 34px rgba(32, 29, 30, 0.1);
}

.home-blog-meta {
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--brand-violet);
  text-transform: uppercase;
}

.home-blog-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.12;
  letter-spacing: 0;
}

.home-blog-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-blog-open {
  margin-top: auto;
  padding-top: 12px;
  color: var(--brand-orange);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .home-blog-row {
    grid-template-columns: repeat(5, 224px);
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .home-blog-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 720px) {
  .home-blog-section {
    padding: 22px 0 28px;
  }

  .home-blog-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home-blog-head h2 {
    font-size: 28px;
  }

  .home-blog-links {
    justify-content: flex-start;
  }

  .home-blog-row {
    grid-template-columns: repeat(5, 210px);
    margin-right: -12px;
    padding-right: 12px;
  }

  .home-blog-card a {
    min-height: 154px;
    padding: 14px;
  }
}

.material-card-cover {
  height: 154px;
  min-height: 154px;
  border-radius: 0;
}

.material-card-list:has(.material-card-cover) {
  overflow: hidden;
}

.faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--border-soft);
}

.faq-item h3 {
  margin: 0 0 8px;
}

.seo-landing-section {
  padding-top: 0;
}

.seo-landing {
  display: grid;
  gap: 24px;
  max-width: 980px;
}

.seo-landing-copy {
  display: grid;
  gap: 12px;
}

.seo-landing-copy h2 {
  margin: 0;
}

.seo-landing-copy p,
.seo-landing-faq p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.seo-landing-faq {
  display: grid;
  gap: 0;
}

.seo-landing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-landing-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
}

.seo-landing-links a:hover,
.seo-landing-links a:focus-visible {
  border-color: rgba(75, 73, 200, 0.35);
  color: var(--brand-violet);
}

.text-card .card-body {
  padding: 32px;
}

.legal-page {
  padding: 135px 0;
  background: #fff;
}

.legal-page-shell {
  max-width: 860px;
}

.legal-page-head {
  margin-bottom: 45px;
}

.legal-page-title {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.legal-content {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-main);
  font-weight: 500;
}

.legal-content p,
.legal-content ul {
  margin: 0;
}

.legal-content ul {
  padding-left: 26px;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.material-card-list .card-body {
  gap: 12px;
}

.news-filter-shell {
  margin-bottom: 14px;
}

.news-filter-panel {
  border: 1px solid rgba(222, 226, 240, 0.78);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(43, 44, 88, 0.08);
}

.news-filter-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.6fr);
  gap: 14px;
  align-items: center;
}

.news-search-field input {
  min-height: 50px;
  border-radius: 10px;
}

.news-tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tag-chip {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d9dce7;
  border-radius: 999px;
  background: #fff;
  color: var(--text-main);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.news-tag-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(75, 73, 200, 0.26);
}

.news-tag-chip.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(75, 73, 200, 0.12) 0%, rgba(87, 166, 255, 0.16) 100%);
  color: var(--brand-violet-deep);
  box-shadow: inset 0 0 0 1px rgba(75, 73, 200, 0.1);
}

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

.journal-item {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 10px;
  min-height: 188px;
  padding: 18px 20px;
  border: 1px solid rgba(222, 226, 240, 0.78);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(43, 44, 88, 0.08);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.journal-item:hover {
  transform: translateY(-2px);
  border-color: rgba(75, 73, 200, 0.28);
  box-shadow: 0 18px 44px rgba(43, 44, 88, 0.12);
}

.journal-item[hidden],
.journal-item.is-hidden {
  display: none;
}

.journal-item-cover {
  overflow: hidden;
  aspect-ratio: 5 / 3;
  margin: -6px -8px 4px;
  border-radius: 10px;
  background: var(--brand-violet);
}

.journal-item-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-item h2 {
  margin: 0;
  min-width: 0;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

.journal-item h2 a {
  display: block;
  overflow-wrap: anywhere;
}

.journal-item p,
.journal-item-meta {
  margin: 0;
  color: var(--text-soft);
}

.journal-item p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 3em;
  font-size: 15px;
  line-height: 1.5;
}

.journal-item-meta,
.journal-item .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.journal-item-meta {
  font-size: 14px;
}

.journal-item .tag {
  padding: 8px 12px;
  font-size: 13px;
}

.news-empty-state {
  margin-top: 14px;
  padding: 22px;
  border: 1px solid rgba(222, 226, 240, 0.78);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 700;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 48px 0 56px;
}

.footer-brand-column {
  max-width: 420px;
}

.site-footer {
  margin-top: 42px;
  background: var(--surface-dark);
  color: #fff;
}

.site-footer a,
.site-footer p {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  margin: 10px 0 0;
}

.site-footer .footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-social-icon {
  flex: 0 0 18px;
}

.footer-contact-details {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.footer-contact-details span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 700;
}

.footer-contact-details strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.35;
}

.footer-hours {
  display: grid;
  gap: 6px;
  margin: 0;
}

.footer-hours div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.footer-hours dt,
.footer-hours dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.35;
}

.footer-hours dt {
  color: rgba(255, 255, 255, 0.48);
  font-weight: 700;
}

.footer-logo {
  width: 164px;
  margin-bottom: 16px;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal-inner {
  display: grid;
  gap: 18px;
  padding: 18px 0 26px;
}

.site-footer .footer-company {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.text-card-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--text-soft);
}

.text-card-list li + li {
  margin-top: 8px;
}

.contact-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-left: 0;
  list-style: none;
  color: inherit;
}

.contact-link-list li + li {
  margin-top: 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(75, 73, 200, 0.16);
  border-radius: 999px;
  background: rgba(75, 73, 200, 0.06);
  color: var(--text-main);
  font-weight: 800;
}

.contact-link-telegram {
  background: rgba(61, 151, 242, 0.1);
  border-color: rgba(61, 151, 242, 0.24);
  color: #176dbf;
}

.contacts-hero {
  padding: clamp(36px, 5vw, 72px) 0 clamp(22px, 3vw, 42px);
}

.contacts-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.62fr);
  gap: clamp(18px, 2.5vw, 34px);
  align-items: stretch;
}

.contacts-hero-copy,
.contacts-office-panel,
.contacts-map-copy,
.contacts-map-card,
.contacts-requisites-shell {
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.contacts-hero-copy {
  display: flex;
  min-height: clamp(320px, 30vw, 440px);
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 54px);
  background:
    linear-gradient(135deg, rgba(64, 63, 184, 0.96), rgba(61, 151, 242, 0.82) 58%, rgba(255, 123, 58, 0.9)),
    var(--brand-violet);
  color: #ffffff;
}

.contacts-hero-copy h1 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 500;
  line-height: 0.96;
}

.contacts-hero-copy p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.35;
}

.contacts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contacts-telegram-button {
  gap: 10px;
  background: #ffffff;
  color: var(--brand-violet-deep);
}

.contacts-telegram-icon {
  width: 18px;
  height: 18px;
}

.contacts-office-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--border-soft);
}

.contacts-office-item {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(24px, 3vw, 34px);
  background: #ffffff;
}

.contacts-office-item span,
.contacts-requisites-list dt {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contacts-office-item strong {
  color: var(--text-main);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.08;
}

.contacts-hours {
  display: grid;
  gap: 10px;
  margin: 0;
}

.contacts-hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-main);
  font-size: 18px;
  font-weight: 600;
}

.contacts-hours dt,
.contacts-hours dd {
  margin: 0;
}

.contacts-map-section,
.contacts-requisites-section {
  padding-top: 0;
}

.contacts-map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.5vw, 28px);
  align-items: stretch;
}

.contacts-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3vw, 34px);
}

.contacts-map-copy h2,
.contacts-requisites-head h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  line-height: 0.98;
}

.contacts-map-copy p,
.contacts-requisites-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.38;
}

.contacts-map-card {
  overflow: hidden;
}

.contacts-map-widget {
  display: block;
  width: 100%;
  height: min(64vh, 560px);
  min-height: 360px;
  border: 0;
  background: linear-gradient(135deg, #dfe2ff 0%, #f8f8fa 100%);
}

.contacts-requisites-shell {
  display: grid;
  grid-template-columns: minmax(190px, 0.22fr) minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  padding: clamp(18px, 2.4vw, 28px);
}

.contacts-requisites-head {
  display: grid;
  align-content: start;
  gap: 6px;
}

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

.contacts-requisites-list div {
  padding: 8px 0;
  border-bottom: 1px solid rgba(230, 224, 220, 0.9);
}

.contacts-requisites-list dt {
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.2;
}

.contacts-requisites-list dd {
  margin: 3px 0 0;
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .contacts-hero-grid,
  .contacts-map-grid,
  .contacts-requisites-shell {
    grid-template-columns: 1fr;
  }

  .contacts-hero-copy {
    min-height: 320px;
  }

  .contacts-map-widget {
    min-height: 320px;
  }

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

@media (max-width: 640px) {
  .contacts-actions,
  .contacts-actions .button {
    width: 100%;
  }

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

  .contacts-hours div {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}

.site-footer .footer-legal-links a,
.site-footer .footer-legal-note {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-legal-note {
  display: block;
}

@media (max-width: 1120px) {
  .apartment-copy-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel-horizontal .filter-panel-row,
  .inline-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .developer-lead-form-shell .lead-note {
    white-space: normal;
  }

  .grid-3,
  .media-gallery,
  .brief-grid,
  .hero-grid,
  .detail-grid,
  .article-grid,
  .dual-columns,
  .error-page,
  .quiz-band,
  .promo-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .apartment-mortgage-widget {
    grid-template-columns: 1fr;
  }

  .hero-project .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
    align-items: stretch;
  }

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

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

  .hero-gallery-thumbs,
  .gallery-lightbox-thumbs {
    padding-bottom: 4px;
  }

  .developer-hero-copy,
  .developer-hero-gallery-shell,
  .developer-hero-visual {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .developer-company-profile-item,
  .developer-company-profile-item-wide {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 820px) {
  .container {
    width: calc(100% - 24px);
  }

  .breadcrumbs {
    width: calc(100% - 24px);
    margin: 16px auto -12px;
  }

  .breadcrumbs-list span {
    max-width: 62vw;
  }

  .hero-project .hero-grid {
    grid-template-columns: 1fr;
  }

  .hide-mobile {
    display: none;
  }

  .brandmark img {
    width: 220px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .header-phone {
    font-size: 14px;
  }

  .city-switcher-current {
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-copy,
  .hero-panel,
  .filter-panel,
  .quiz-band,
  .quiz-panel,
  .cta-surface {
    padding: 24px;
  }

  .quiz-band-compact,
  .quiz-band-compact .quiz-panel {
    padding: 18px;
  }

  .access-gate-card {
    padding: 24px;
    border-radius: 26px;
  }

  .lead-form-feature {
    padding: 24px;
  }

  .lead-form-feature .lead-form-title {
    font-size: 30px;
  }

  .hero-panel-form {
    padding: 20px;
  }

  .project-hero-form {
    padding: 0;
    border-radius: 26px;
  }

  .project-hero-form .lead-form-dark {
    padding: 20px;
    border-radius: 26px;
  }

  .project-hero-form .lead-form-dark .lead-form-title {
    font-size: 22px;
  }

  .collection-filter-panel {
    width: 100%;
  }

  .collection-hero-copy {
    padding-right: 24px;
  }

  .collection-filter-body {
    grid-template-columns: 1fr 1fr;
  }

  .collection-range-grid {
    grid-template-columns: 1fr 1fr;
    grid-column: 1 / -1;
  }

  .collection-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .collection-range-head {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .footer-legal-links {
    gap: 10px 18px;
  }

  .news-detail-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .news-sticky-cta {
    position: static;
    padding-top: 0;
  }

  .news-sticky-cta .lead-form {
    border-radius: 26px;
  }

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

  .content-home-split {
    grid-template-columns: 1fr;
  }

  .filter-chip-grid-budget .filter-chip,
  .filter-chip {
    min-width: calc(50% - 6px);
  }

  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
  }

  .cookie-consent .button {
    width: 100%;
  }

  .filter-chip-grid-compact .filter-chip {
    min-width: calc(33.333% - 8px);
  }

  .hero-copy h1,
  .article-hero h1 {
    line-height: 1;
  }

  .news-masthead h1 {
    max-width: none;
  }

  .news-masthead-panel,
  .news-article-surface {
    padding: 26px 24px;
    border-radius: 26px;
  }

  .news-filter-row {
    grid-template-columns: 1fr;
  }

  .news-tag-filter {
    max-height: 144px;
    overflow: auto;
    padding-bottom: 2px;
  }

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

  .journal-item {
    min-height: 172px;
    padding: 16px;
  }

  .journal-item h2 {
    font-size: 20px;
  }

  .brandmark img {
    width: 240px;
  }

  .lead-grid,
  .info-grid,
  .developer-project-grid,
  .grid-4,
  .grid-3,
  .down-payment-home-grid,
  .media-gallery,
  .brief-grid,
  .quiz-progress {
    grid-template-columns: 1fr;
  }

  .apartment-copy-info-grid {
    grid-template-columns: 1fr;
  }

  .apartment-info-card-address {
    grid-column: auto;
  }

  .apartment-mortgage-widget {
    padding: 18px;
    border-radius: 24px;
  }

  .apartment-mortgage-copy h2 {
    font-size: 24px;
  }

  .apartment-mortgage-metrics,
  .apartment-mortgage-fields {
    grid-template-columns: 1fr;
  }

  .filter-panel-horizontal .filter-panel-row,
  .inline-filter-form {
    grid-template-columns: 1fr;
  }

  .filter-actions-compact,
  .inline-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-actions-compact .button,
  .inline-filter-actions .button {
    width: 100%;
  }

  .quiz-step-form .lead-grid.quiz-contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  .quiz-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .quiz-nav .button,
  .quiz-option {
    width: 100%;
  }

  .quiz-range-grid,
  .quiz-band-copy h2,
  .quiz-step h3 {
    max-width: none;
  }

  .quiz-range-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery-stage,
  .hero-gallery-stage img {
    min-height: 260px;
  }

  .hero-gallery-nav {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .hero-gallery-thumb,
  .gallery-lightbox-thumb {
    width: 82px;
    height: 62px;
  }

  .collection-hero-copy {
    padding-right: 24px;
  }

  .collection-hero-title-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .collection-title-emoji {
    margin-top: 6px;
    font-size: 40px;
  }

  .collection-filter-body {
    grid-template-columns: 1fr;
  }

  .collection-range-grid {
    grid-template-columns: 1fr;
  }

  .collection-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .collection-filter-actions .button {
    width: 100%;
  }

  .section-head,
  .split-head,
  .pagination {
    align-items: start;
    flex-direction: column;
  }

  .error-page-panel {
    padding: 24px;
  }

  .error-page-links {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    margin: 12px auto;
    padding: 18px;
    border-radius: 24px;
  }

  .gallery-lightbox-topline {
    display: grid;
    gap: 6px;
    padding-right: 56px;
  }

  .gallery-lightbox-topline-actions {
    justify-content: space-between;
  }

  .gallery-lightbox-stage img {
    max-height: calc(100vh - 220px);
  }

  .gallery-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .search-field input,
  .filter-chip span {
    font-size: 16px;
  }

  .seo-spotlight {
    padding: 18px;
    border-radius: 20px;
  }

  .seo-spotlight-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-spotlight-grid,
  .seo-spotlight-grid-small {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

}

@media (max-width: 680px) {
  .seo-spotlight-grid,
  .seo-spotlight-grid-small {
    grid-template-columns: 1fr;
  }

  .news-masthead-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-news-grid {
    grid-template-columns: 1fr;
  }
}

.formula-landing-statement {
  padding: clamp(40px, 6vw, 92px) 0 clamp(34px, 5vw, 74px);
  background: #ffffff;
}

.formula-statement-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.72fr);
  gap: clamp(34px, 6vw, 110px);
  align-items: start;
}

.formula-statement-grid h2,
.formula-statement-grid p,
.formula-service-card h2,
.formula-care-copy h2,
.formula-info-card h2 {
  margin: 0;
  color: #282947;
  font-family: "DXRigraf", "LabGrotesque", Arial, system-ui, sans-serif;
  letter-spacing: 0;
}

.formula-statement-grid h2 {
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 600;
  line-height: 1;
}

.formula-statement-grid p {
  max-width: 760px;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.14;
}

.formula-landing-services,
.formula-care-section,
.formula-info-section {
  padding: clamp(34px, 5vw, 76px) 0;
  background: #ffffff;
}

.formula-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}

.formula-service-card {
  position: relative;
  display: grid;
  min-height: 520px;
  overflow: hidden;
  border-radius: 54px;
  color: #ffffff;
  background: #3d42b9;
  box-shadow: 0 28px 80px rgba(32, 29, 30, 0.12);
}

.formula-service-card-online {
  background: #36279e;
}

.formula-service-card > div {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 22px;
  align-content: start;
  padding: clamp(34px, 4vw, 62px);
}

.formula-service-card h2 {
  max-width: 430px;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 78px);
  font-weight: 600;
  line-height: 0.98;
}

.formula-service-card p {
  margin: 0;
  max-width: 430px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.35;
}

.formula-mini-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 20px;
  align-self: end;
  margin-top: 0;
}

.formula-mini-form input {
  min-height: 66px;
  padding: 0 34px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  background: transparent;
}

.formula-mini-form input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.formula-mini-form .button {
  min-width: 200px;
  min-height: 66px;
  padding: 0 30px;
  font-size: 17px;
}

.formula-service-card .formula-mini-note {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: -6px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
}

.formula-service-card .formula-mini-note a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.formula-care-grid {
  display: grid;
  gap: clamp(52px, 7vw, 110px);
  padding: clamp(50px, 7vw, 104px) 0;
  overflow: visible;
  border-radius: 0;
  background: #ffffff;
}

.formula-care-copy {
  display: grid;
  align-content: start;
  gap: 20px;
}

.formula-care-copy h2 {
  max-width: 860px;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 600;
  line-height: 0.98;
}

.formula-care-copy p {
  margin: 0;
  max-width: 500px;
  color: #4d4649;
  font-size: 18px;
  line-height: 1.3;
}

.formula-specialists {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.formula-specialist-card {
  display: grid;
  gap: 18px;
  color: #282947;
  font-family: "DXRigraf", "LabGrotesque", Arial, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.formula-specialist-card > img,
.formula-specialist-photo-frame,
.formula-specialist-card-more {
  width: min(100%, 210px);
  aspect-ratio: 0.72;
  padding: 22px;
  border-radius: 38px;
  background: #ffffff;
  box-shadow: 0 26px 72px rgba(32, 29, 30, 0.1);
  transform: rotate(-4deg);
}

.formula-specialist-card > img {
  height: auto;
  object-fit: cover;
}

.formula-specialist-photo-frame {
  overflow: visible;
}

.formula-specialist-photo-frame span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.formula-specialist-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.formula-specialist-photo-frame-kirill img {
  transform: scale(1.55);
  transform-origin: center 18%;
}

.formula-specialist-card:nth-child(2) > img,
.formula-specialist-card:nth-child(2) .formula-specialist-photo-frame {
  transform: rotate(0deg);
}

.formula-specialist-card:nth-child(3) > img {
  transform: rotate(-7deg);
}

.formula-specialist-card-more {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 292px;
  transform: rotate(4deg);
}

.formula-specialist-card-more strong {
  font-size: 26px;
  line-height: 1;
}

.formula-specialist-card-more p {
  margin: 0;
  color: #aaa5a8;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
}

.formula-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}

.formula-info-card {
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 390px;
  padding: clamp(30px, 4vw, 56px);
  border-radius: 46px;
  color: #ffffff;
  background: #3d42b9;
  box-shadow: 0 24px 68px rgba(32, 29, 30, 0.1);
}

.formula-info-card-work {
  background: #ff4047;
}

.formula-info-card h2 {
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(38px, 4.6vw, 72px);
  font-weight: 600;
  line-height: 0.98;
}

.formula-info-card p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.42;
}

.formula-bank-tooltip {
  position: relative;
  justify-self: start;
  max-width: min(100%, 360px);
}

.formula-bank-tooltip-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  cursor: default;
  outline: none;
}

.formula-bank-tooltip-trigger::after {
  content: "i";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  border-radius: 50%;
  color: #3d42b9;
  font-size: 13px;
  font-weight: 900;
  background: #ffffff;
}

.formula-bank-tooltip-trigger:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

.formula-bank-tooltip-content {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  z-index: 8;
  width: min(360px, calc(100vw - 48px));
  padding: 14px 16px;
  border-radius: 16px;
  color: #282947;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(32, 29, 30, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.formula-bank-tooltip-content::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 100%;
  border: 8px solid transparent;
  border-top-color: #ffffff;
}

.formula-bank-tooltip:hover .formula-bank-tooltip-content,
.formula-bank-tooltip:focus-within .formula-bank-tooltip-content {
  opacity: 1;
  transform: translateY(0);
}

.formula-info-card .button {
  align-self: end;
  justify-self: start;
}

.formula-portal-divider {
  padding: clamp(64px, 8vw, 112px) 0 clamp(20px, 3vw, 42px);
  background: #ffffff;
}

.formula-portal-divider h2 {
  margin: 10px 0 0;
  max-width: 980px;
  color: #282947;
  font-family: "DXRigraf", "LabGrotesque", Arial, system-ui, sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 600;
  line-height: 1;
}

@media (max-width: 980px) {
  .formula-statement-grid,
  .formula-service-grid,
  .formula-info-grid {
    grid-template-columns: 1fr;
  }

  .formula-service-card,
  .formula-info-card {
    min-height: 360px;
    border-radius: 38px;
  }
}

@media (max-width: 680px) {
  .formula-landing-statement,
  .formula-landing-services,
  .formula-care-section,
  .formula-info-section {
    padding: 42px 0;
  }

  .formula-statement-grid {
    gap: 24px;
  }

  .formula-statement-grid h2 {
    font-size: 38px;
  }

  .formula-statement-grid p {
    font-size: 22px;
  }

  .formula-service-card,
  .formula-info-card {
    min-height: 320px;
    border-radius: 30px;
  }

  .formula-service-card > div,
  .formula-info-card {
    padding: 24px;
  }

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

  .formula-service-card h2,
  .formula-care-copy h2,
  .formula-info-card h2 {
    font-size: 38px;
  }

  .formula-bank-tooltip-content {
    left: 0;
    bottom: calc(100% + 10px);
    width: min(320px, calc(100vw - 48px));
    font-size: 14px;
  }

  .formula-specialists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .formula-specialist-card > img,
  .formula-specialist-photo-frame,
  .formula-specialist-card-more {
    width: 100%;
    padding: 14px;
    border-radius: 28px;
  }

  .formula-specialist-card-more {
    min-height: 230px;
  }
}

.finance-hero .hero-copy {
  max-width: 920px;
}

.finance-method-hero .hero-copy {
  max-width: none;
  min-height: 360px;
}

.finance-method-hero .hero-copy p {
  max-width: 680px;
}

.finance-hero-panel {
  display: grid;
  align-content: end;
  gap: 14px;
  min-height: 320px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(75, 73, 200, 0.12);
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(75, 73, 200, 0.92), rgba(47, 49, 91, 0.96)),
    var(--surface-dark);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.finance-hero-panel span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finance-hero-panel strong {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
}

.finance-hero-panel p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.finance-calculator-grid,
.finance-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: var(--grid-space);
  align-items: start;
}

.finance-calculator .card-body,
.finance-result .card-body {
  gap: 22px;
}

.finance-field {
  display: grid;
  gap: 9px;
}

.finance-field span {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.finance-field .finance-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.finance-mode-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid rgba(75, 73, 200, 0.14);
  border-radius: 999px;
  background: rgba(75, 73, 200, 0.08);
}

.finance-mode-toggle button {
  min-width: 38px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--brand-violet-deep);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 0 10px;
}

.finance-mode-toggle button.is-active {
  background: #fff;
  box-shadow: 0 8px 18px rgba(75, 73, 200, 0.14);
  color: var(--text-main);
}

.finance-field input {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(75, 73, 200, 0.14);
  border-radius: 18px;
  background: #fff;
  color: var(--text-main);
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  padding: 0 18px;
  outline: none;
}

.finance-field input:focus {
  border-color: rgba(75, 73, 200, 0.48);
  box-shadow: 0 0 0 4px rgba(75, 73, 200, 0.09);
}

.finance-field-helper {
  color: #8d92ad;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.finance-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.finance-rate-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.finance-rate-buttons button {
  min-height: 40px;
  border: 1px solid rgba(75, 73, 200, 0.14);
  border-radius: 999px;
  background: rgba(75, 73, 200, 0.08);
  color: var(--brand-violet-deep);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 9px 14px;
}

.finance-rate-buttons button:hover,
.finance-rate-buttons button:focus-visible {
  background: rgba(75, 73, 200, 0.14);
}

.finance-result {
  position: sticky;
  top: 104px;
  background:
    radial-gradient(circle at top right, rgba(255, 138, 61, 0.2), transparent 28%),
    #fff;
}

.finance-result h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.finance-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.finance-result-grid div {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(75, 73, 200, 0.07);
}

.finance-result-grid span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.finance-result-grid strong {
  font-size: 18px;
  line-height: 1.2;
}

.finance-disclaimer {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.finance-method-card .card-body {
  min-height: 100%;
}

.finance-method-card h2,
.finance-method-card h3 {
  margin: 0;
}

.finance-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.finance-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
}

.finance-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand-orange);
}

@media (max-width: 980px) {
  .finance-calculator-grid,
  .finance-info-grid {
    grid-template-columns: 1fr;
  }

  .finance-result {
    position: static;
  }
}

@media (max-width: 680px) {
  .finance-field-row,
  .finance-result-grid {
    grid-template-columns: 1fr;
  }

  .finance-hero-panel {
    min-height: 260px;
  }
}

/* Formula brand layer */
.city-switcher,
.city-confirm {
  display: none !important;
}

.site-nav a::after {
  background: var(--brand-orange);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.site-nav a[aria-current="page"],
.button-link {
  color: var(--brand-orange);
}

.button {
  min-height: 54px;
  border-radius: 999px;
  font-weight: 500;
}

.button-dark,
.quiz-nav .button-dark,
.lead-form-feature .button,
.lead-form-compact .button,
.apartment-mortgage-form .button,
.news-sidebar-conversion .button {
  color: #ffffff;
  background: var(--button-dark);
  border-color: var(--button-dark);
}

.button-dark:hover,
.quiz-nav .button-dark:hover,
.lead-form-feature .button:hover,
.lead-form-compact .button:hover {
  color: #ffffff;
  background: var(--brand-orange);
  border-color: var(--brand-orange);
}

.button-soft,
.button-ghost {
  color: var(--text-main);
  background: #ffffff;
  border-color: var(--border-soft);
}

.hero {
  padding-top: clamp(42px, 6vw, 86px);
}

.hero-copy,
.seo-spotlight,
.card,
.text-card,
.access-gate-card,
.lead-form,
.apartment-mortgage-shell,
.news-inline-cta,
.news-sidebar-conversion {
  border-color: var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  background: var(--brand-warm);
}

.hero-copy h1,
.article-hero h1,
.news-masthead h1,
.news-index-hero-inner h1 {
  max-width: 1040px;
  font-family: "LabGrotesque", Arial, system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-main);
}

.hero-headline-line {
  display: block;
}

.hero-panel,
.lead-form-dark,
.project-hero-form .lead-form-dark,
.quiz-band,
.news-sidebar-conversion,
.news-inline-cta {
  color: #ffffff;
  background: var(--surface-dark);
}

.metric-card {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.metric-card span,
.lead-form-dark p,
.lead-form-dark label span,
.lead-form-dark .lead-note,
.quiz-band p,
.news-sidebar-conversion p {
  color: rgba(255, 255, 255, 0.72);
}

.news-sidebar-conversion {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 20px;
  padding: clamp(24px, 2.4vw, 34px);
  border: 0;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.26), transparent 30%),
    linear-gradient(145deg, #4b49c8 0%, #3b2aa8 52%, #24459f 100%);
  box-shadow: 0 28px 68px rgba(56, 42, 168, 0.24);
  color: #ffffff;
}

.news-sidebar-conversion::before {
  content: "";
  position: absolute;
  right: -74px;
  bottom: -88px;
  z-index: -1;
  width: 240px;
  height: 240px;
  border: 44px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.news-sidebar-conversion::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 24px;
  width: 62px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-orange);
  box-shadow: 0 14px 34px rgba(255, 138, 61, 0.34);
}

.news-sidebar-conversion h2 {
  max-width: 10ch;
  padding-right: 72px;
  font-family: "LabGrotesque", Arial, system-ui, sans-serif;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 500;
  line-height: 0.98;
}

.news-sidebar-phone input {
  min-height: 62px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(41, 40, 69, 0.04);
}

.news-sidebar-phone input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.news-sidebar-conversion .button {
  min-height: 58px;
  background: var(--button-dark);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(31, 28, 29, 0.24);
}

.news-sidebar-conversion .button:hover,
.news-sidebar-conversion .button:focus-visible {
  background: var(--brand-orange);
  color: #ffffff;
}

.news-sidebar-note {
  color: rgba(255, 255, 255, 0.78);
}

.card,
.site-nav-menu,
.cookie-consent,
.city-confirm-dialog {
  border-radius: 30px;
}

.card-clickable:hover,
.card-clickable:focus-within {
  box-shadow: var(--shadow-card-hover);
}

.card-chip,
.tag,
.section-meta strong,
.apartment-down-payment span {
  color: var(--brand-violet-deep);
  background: #f7f2ed;
}

.gradient-violet {
  background: var(--brand-violet);
}

.gradient-orange {
  background: var(--brand-orange);
}

.gradient-coral {
  background: var(--brand-coral);
}

.gradient-sky {
  background: var(--brand-sky);
}

.site-footer {
  background: var(--surface-dark);
}

.footer-logo {
  width: 200px;
}

@media (max-width: 820px) {
  .header-inner {
    position: relative;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .brandmark img {
    width: min(220px, calc(100vw - 150px));
  }

  .mobile-menu-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    order: 4;
    display: none;
    width: 100%;
    max-height: calc(100vh - 132px);
    overflow: auto;
    gap: 8px;
    margin-top: 4px;
    padding: 10px;
    border: 1px solid rgba(75, 73, 200, 0.12);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(23, 22, 54, 0.14);
    scrollbar-width: thin;
  }

  .site-header.is-menu-open .site-nav {
    display: grid;
  }

  .site-nav a {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    justify-content: space-between;
    white-space: nowrap;
  }

  .site-nav a::after,
  .site-nav-menu::before {
    display: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    transform: none;
  }

  .site-nav-dropdown {
    display: grid;
    align-items: stretch;
    gap: 4px;
    padding: 6px 0;
    border-top: 1px solid rgba(230, 224, 220, 0.8);
  }

  .site-nav-dropdown:first-child {
    border-top: 0;
  }

  .site-nav-trigger::before {
    transform: rotate(45deg) translateY(-2px);
  }

  .site-nav-menu {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
    padding: 8px;
    border: 0;
    border-radius: 16px;
    background: rgba(247, 242, 237, 0.82);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .site-nav-menu-wide,
  .site-nav-menu-three,
  .site-nav-menu-four,
  .site-nav-menu-purchase,
  .site-nav-menu-promotions,
  .site-nav-menu-blog {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .site-nav-menu-column {
    display: grid;
    gap: 2px;
  }

  .site-nav-menu-column + .site-nav-menu-column {
    border-left: 0;
    border-top: 1px solid rgba(230, 224, 220, 0.9);
    margin-top: 6px;
    padding: 8px 0 0;
  }

  .site-nav .site-nav-menu a {
    min-height: 36px;
    padding: 7px 10px;
    white-space: normal;
  }

  .site-nav-menu-title {
    margin: 2px 10px 4px;
  }

  .header-actions {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .header-phone {
    margin-right: auto;
  }

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

  .metric-card {
    min-width: 0;
    padding: 18px;
  }

  .metric-card span {
    font-size: 13px;
    line-height: 1.25;
  }

  .metric-card strong {
    font-size: 44px;
    line-height: 0.95;
  }
}

/* Formula colorful homepage */
body {
  background:
    linear-gradient(180deg, #fff7f0 0, #ffffff 360px),
    #ffffff;
}

.hero {
  padding-top: clamp(30px, 4.4vw, 62px);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  gap: clamp(18px, 2.4vw, 34px);
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 560px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 123, 58, 0.18) 0%, rgba(255, 66, 72, 0.08) 40%, rgba(61, 151, 242, 0.14) 100%),
    #fff8f1;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 22px auto auto 22px;
  width: 96px;
  height: 12px;
  border-radius: 999px;
  background: var(--brand-orange);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 128px;
  height: 128px;
  border-radius: 32px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.82) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgba(255, 255, 255, 0.82) 46% 54%, transparent 54%),
    var(--brand-sky);
  transform: rotate(-8deg);
  opacity: 0.86;
  animation: formulaFloatMark 7.5s ease-in-out infinite;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin-top: 28px;
  max-width: 820px;
  font-weight: 500;
}

.hero-copy p {
  max-width: 600px;
  color: #4d4649;
}

.formula-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(26px, 3.4vw, 46px);
}

.formula-stat-card {
  min-width: 0;
  padding: 18px;
  border-radius: 26px;
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(32, 29, 30, 0.12);
}

.formula-stat-card span,
.formula-stat-card strong {
  display: block;
}

.formula-stat-card span {
  font-size: 13px;
  line-height: 1.2;
  opacity: 0.86;
}

.formula-stat-card strong {
  margin-top: 6px;
  font-size: clamp(30px, 2.6vw, 42px);
  line-height: 0.95;
  white-space: nowrap;
}

.formula-stat-card-blue,
.formula-color-tile-blue {
  background: var(--brand-violet);
}

.formula-stat-card-sky,
.formula-color-tile-sky {
  background: var(--brand-sky);
}

.formula-stat-card-orange,
.formula-color-tile-orange {
  background: var(--brand-orange);
}

.formula-stat-card-red,
.formula-color-tile-red {
  background: var(--brand-coral);
}

.formula-hero-media {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
  min-height: 560px;
  padding: 18px;
  overflow: hidden;
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(64, 63, 184, 0.96), rgba(61, 151, 242, 0.9) 48%, rgba(255, 123, 58, 0.95));
  box-shadow: var(--shadow-soft);
}

.formula-hero-media::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.formula-hero-media-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 8px 0;
  color: #ffffff;
}

.formula-hero-media-head span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 600;
}

.formula-hero-media-head strong {
  max-width: 290px;
  font-size: 20px;
  line-height: 1.12;
  text-align: right;
}

.formula-project-mosaic {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: 1fr 0.92fr 0.58fr;
  gap: 14px;
  min-height: 0;
}

.formula-project-tile {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 30px;
  color: #ffffff;
  box-shadow: 0 20px 44px rgba(32, 29, 30, 0.18);
}

.formula-project-tile-1 {
  grid-row: 1 / span 2;
}

.formula-project-tile-4 {
  grid-column: 1 / -1;
}

.formula-project-tile img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 220ms ease;
}

.formula-project-tile:hover img,
.formula-project-tile:focus-visible img {
  transform: scale(1.055);
}

.formula-project-tile-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(32, 29, 30, 0.04) 0%, rgba(32, 29, 30, 0.72) 100%),
    linear-gradient(135deg, rgba(64, 63, 184, 0.12), rgba(255, 123, 58, 0.16));
}

.formula-project-tile-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
}

.formula-project-tile-caption em,
.formula-project-tile-caption small {
  font-style: normal;
  font-size: 13px;
  line-height: 1.2;
  opacity: 0.88;
}

.formula-project-tile-caption strong {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.04;
}

.formula-quick-section {
  padding-top: 18px;
  padding-bottom: clamp(36px, 4vw, 58px);
}

.formula-color-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.formula-color-tile {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
  border-radius: 30px;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(32, 29, 30, 0.12);
  transform: translate3d(0, 0, 0);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.formula-color-tile::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 72px;
  height: 72px;
  border: 12px solid rgba(255, 255, 255, 0.34);
  border-radius: 22px;
  transform: rotate(10deg);
  animation: formulaFloatMark 7s ease-in-out infinite;
  transition: transform 180ms ease, opacity 180ms ease;
}

.formula-color-tile:nth-child(2)::after {
  animation-delay: -1.6s;
}

.formula-color-tile:nth-child(3)::after {
  animation-delay: -3.1s;
}

.formula-color-tile:nth-child(4)::after {
  animation-delay: -4.4s;
}

.formula-color-tile:hover,
.formula-color-tile:focus-visible {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 28px 58px rgba(32, 29, 30, 0.18);
  filter: saturate(1.04);
}

.formula-color-tile:hover::after,
.formula-color-tile:focus-visible::after {
  animation: none;
  transform: translate3d(8px, -8px, 0) rotate(16deg);
}

.formula-color-tile:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.82);
  outline-offset: 4px;
}

@keyframes formulaFloatMark {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(8deg);
  }

  35% {
    transform: translate3d(8px, -7px, 0) rotate(13deg);
  }

  68% {
    transform: translate3d(-5px, 6px, 0) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .formula-color-tile {
    transition: none;
  }

  .formula-color-tile::after {
    animation: none;
  }
}

.formula-color-tile span,
.formula-color-tile strong,
.formula-color-tile em {
  position: relative;
  z-index: 1;
}

.formula-color-tile span {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.8;
}

.formula-color-tile strong {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
}

.formula-color-tile em {
  max-width: 250px;
  font-style: normal;
  font-size: 15px;
  line-height: 1.3;
  opacity: 0.88;
}

.formula-home-lead-section {
  padding-top: 0;
}

.formula-home-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.75fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(64, 63, 184, 0.96), rgba(61, 151, 242, 0.88) 54%, rgba(255, 123, 58, 0.96));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.formula-home-lead h2 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 0.98;
}

.formula-home-lead-form .lead-form {
  position: relative;
  margin: 0;
  border: 0;
  padding: clamp(22px, 2.8vw, 34px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-main);
  box-shadow: 0 22px 52px rgba(32, 29, 30, 0.16);
}

.formula-home-lead-form .lead-form::before {
  content: "";
  position: absolute;
  inset: 10px 10px auto auto;
  width: 78px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-orange);
}

.formula-home-lead-form .lead-form-head {
  max-width: 620px;
  padding-right: 86px;
}

.formula-home-lead-form .lead-form-title {
  color: var(--text-main);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 0.96;
}

.formula-home-lead-form .lead-form p {
  color: var(--text-soft);
}

.formula-home-lead-form .lead-grid {
  gap: 12px;
}

.formula-home-lead-form input {
  min-height: 58px;
  border-color: #ded7d1;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-main);
  box-shadow: inset 0 0 0 1px rgba(32, 29, 30, 0.02);
}

.formula-home-lead-form input:focus {
  border-color: var(--brand-sky);
  box-shadow: 0 0 0 4px rgba(61, 151, 242, 0.16);
  outline: none;
}

.formula-home-lead-form .button {
  min-height: 58px;
  font-size: 15px;
}

.formula-home-lead-form .lead-note {
  max-width: 680px;
  color: #6f686b;
  font-size: 11px;
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy::after,
  .formula-color-tile::after,
  .formula-vacancies-cover::before,
  .formula-vacancies-cover::after {
    animation: none;
  }
}

@media (max-width: 1160px) {
  .hero-grid,
  .formula-home-lead {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .formula-hero-media {
    min-height: auto;
  }

  .formula-project-mosaic {
    min-height: 520px;
  }

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

@media (max-width: 760px) {
  .hero-copy {
    padding: 34px 22px 26px;
  }

  .hero-copy::after {
    width: 88px;
    height: 88px;
    right: 16px;
    bottom: 18px;
    opacity: 0.42;
  }

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

  .formula-stat-card {
    padding: 16px;
  }

  .formula-hero-media {
    min-height: 0;
    padding: 14px;
    border-radius: 30px;
  }

  .formula-hero-media-head {
    display: grid;
    justify-items: start;
  }

  .formula-hero-media-head strong {
    max-width: 100%;
    text-align: left;
  }

  .formula-project-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .formula-project-tile,
  .formula-project-tile-1 {
    grid-row: auto;
    min-height: 230px;
  }

  .formula-color-tiles {
    grid-template-columns: 1fr;
  }

  .formula-color-tile {
    min-height: 154px;
  }

  .formula-home-lead {
    padding: 22px;
    border-radius: 28px;
  }

  .formula-home-lead-form .lead-form {
    padding: 22px;
  }

  .formula-home-lead-form .lead-form-head {
    padding-right: 0;
  }

  .formula-home-lead-form .lead-form::before {
    position: static;
    display: block;
    width: 84px;
    margin-bottom: 6px;
  }
}

/* Formula landing hero from formula-agency.ru */
.formula-landing-hero {
  padding: clamp(86px, 9vw, 138px) 0 clamp(58px, 7vw, 108px);
  background: #ffffff;
}

.formula-landing-hero-inner {
  display: grid;
  gap: clamp(70px, 8vw, 118px);
}

.formula-landing-copy h1 {
  margin: 0;
  max-width: 1180px;
  color: #282947;
  font-family: "DXRigraf", "LabGrotesque", Arial, system-ui, sans-serif;
  font-size: clamp(58px, 7.8vw, 114px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.formula-landing-copy p {
  margin: 28px 0 0;
  color: #282947;
  font-family: "DXRigraf", "LabGrotesque", Arial, system-ui, sans-serif;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.1;
}

.formula-landing-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 2.4vw, 40px);
}

.formula-landing-card {
  position: relative;
  display: block;
  min-height: clamp(286px, 25vw, 396px);
  overflow: hidden;
  border-radius: 40px;
  color: #ffffff;
  box-shadow: 0 22px 54px rgba(32, 29, 30, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.formula-landing-card:hover,
.formula-landing-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 28px 72px rgba(32, 29, 30, 0.14);
}

.formula-landing-card-blue {
  background: #3d42b9;
}

.formula-landing-card-orange {
  background: #ff823c;
}

.formula-landing-card-red {
  background: #ff4047;
}

.formula-landing-card-sky {
  background: #3d97f2;
}

.formula-landing-card img {
  position: absolute;
  right: -2%;
  bottom: -2%;
  width: 100%;
  height: 76%;
  object-fit: cover;
  object-position: right bottom;
  pointer-events: none;
}

.formula-landing-card-blue img {
  width: 92%;
  height: 58%;
  right: -1%;
  bottom: -4%;
}

.formula-landing-card strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 82%;
  padding: 28px 28px 0;
  font-family: "DXRigraf", "LabGrotesque", Arial, system-ui, sans-serif;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 600;
  line-height: 1;
}

.formula-landing-card span {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  max-width: calc(100% - 56px);
  padding: 0 30px;
  border-radius: 999px;
  color: #ffffff;
  background: #201d1e;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

.formula-landing-card:hover span,
.formula-landing-card:focus-visible span {
  color: #201d1e;
  background: #ffffff;
}

@media (max-width: 1180px) {
  .formula-landing-hero {
    padding-top: clamp(68px, 8vw, 96px);
  }

  .formula-landing-cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0 var(--page-gutter) 6px;
    margin: 0 calc(var(--page-gutter) * -1);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .formula-landing-cards::-webkit-scrollbar {
    display: none;
  }

  .formula-landing-card {
    flex: 0 0 270px;
    min-height: 296px;
    scroll-snap-align: start;
  }

  .formula-landing-card strong {
    padding: 22px 20px 0;
    font-size: 26px;
  }

  .formula-landing-card span {
    left: 20px;
    bottom: 20px;
    min-height: 50px;
    padding: 0 24px;
    font-size: 16px;
  }
}

@media (max-width: 680px) {
  .formula-landing-hero {
    padding: 84px 0 58px;
  }

  .formula-landing-hero-inner {
    gap: 92px;
  }

  .formula-landing-copy h1 {
    max-width: 350px;
    font-size: 46px;
    line-height: 1.05;
  }

  .formula-landing-copy p {
    margin-top: 18px;
    font-size: 24px;
  }

  .formula-landing-card {
    flex-basis: 262px;
    min-height: 276px;
    border-radius: 30px;
  }

  .formula-landing-card strong {
    max-width: 88%;
    font-size: 26px;
  }

  .formula-landing-card span {
    max-width: calc(100% - 40px);
    font-size: 15px;
  }
}

/* Formula vacancies */
.formula-vacancies-hero {
  padding: clamp(44px, 5vw, 74px) 0 clamp(24px, 4vw, 48px);
  background: #ffffff;
}

.formula-vacancies-cover,
.formula-vacancy-detail-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(34px, 4vw, 58px);
  color: #ffffff;
  box-shadow: 0 28px 80px rgba(32, 29, 30, 0.12);
}

.formula-vacancies-cover {
  min-height: clamp(300px, 31vw, 430px);
  display: grid;
  align-items: end;
  padding: clamp(28px, 4vw, 54px);
  background:
    linear-gradient(135deg, rgba(255, 64, 71, 0.96), rgba(255, 64, 71, 0.98)),
    #ff4047;
}

.formula-vacancies-cover::before,
.formula-vacancy-detail-cover::before {
  content: "";
  position: absolute;
  right: clamp(-86px, -7vw, -34px);
  bottom: clamp(-108px, -8vw, -46px);
  z-index: -1;
  width: clamp(230px, 32vw, 440px);
  aspect-ratio: 1.45;
  border: clamp(32px, 5vw, 68px) solid rgba(255, 255, 255, 0.18);
  border-radius: 40px;
  transform: rotate(-18deg);
}

.formula-vacancies-cover::before {
  animation: formulaVacancyFrameDrift 10s ease-in-out infinite;
  will-change: transform;
}

.formula-vacancies-cover::after {
  content: "";
  position: absolute;
  top: clamp(34px, 5vw, 68px);
  right: clamp(30px, 6vw, 88px);
  z-index: -1;
  width: clamp(150px, 20vw, 290px);
  height: clamp(16px, 2vw, 28px);
  border-radius: 999px;
  background: #ffffff;
  opacity: 0.92;
  transform: rotate(-8deg);
  animation: formulaVacancyDashDrift 13s ease-in-out infinite;
  will-change: transform;
}

@keyframes formulaVacancyFrameDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-18deg);
  }

  30% {
    transform: translate3d(-12px, -8px, 0) rotate(-8deg);
  }

  62% {
    transform: translate3d(18px, 6px, 0) rotate(-29deg);
  }

  82% {
    transform: translate3d(7px, -5px, 0) rotate(-22deg);
  }
}

@keyframes formulaVacancyDashDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }

  48% {
    transform: translate3d(-20px, 7px, 0) rotate(-5deg);
  }

  76% {
    transform: translate3d(12px, -5px, 0) rotate(-10deg);
  }
}

.formula-vacancies-cover-copy {
  max-width: 980px;
}

.formula-vacancies-cover h1 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-family: "DXRigraf", "LabGrotesque", Arial, system-ui, sans-serif;
  font-size: clamp(48px, 6.6vw, 86px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.formula-vacancies-cover p {
  max-width: 620px;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.32;
}

.formula-vacancies-section {
  padding-top: clamp(20px, 3vw, 42px);
}

.formula-vacancies-section .section-head {
  display: none;
}

.formula-vacancy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.formula-vacancy-tile {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 2.8vw, 36px);
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(32, 29, 30, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.formula-vacancy-tile:hover,
.formula-vacancy-tile:focus-within {
  border-color: rgba(255, 64, 71, 0.32);
  box-shadow: 0 30px 80px rgba(32, 29, 30, 0.13);
  transform: translateY(-3px);
}

.formula-vacancy-tile h2 {
  margin: 0;
  color: var(--text-main);
  font-family: "LabGrotesque", Arial, system-ui, sans-serif;
  font-size: clamp(27px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.formula-vacancy-tile p {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.45;
}

.formula-vacancy-facts,
.formula-vacancy-hero-facts {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.formula-vacancy-facts li,
.formula-vacancy-hero-facts li {
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.32;
}

.formula-vacancy-tile-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.formula-vacancy-tile-actions .button {
  min-width: 210px;
}

.formula-vacancy-detail-hero {
  padding: clamp(54px, 7vw, 96px) 0 clamp(24px, 4vw, 54px);
  background: #ffffff;
}

.formula-vacancy-detail-cover {
  padding: clamp(34px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(61, 66, 185, 0.97), rgba(48, 34, 150, 0.98)),
    #3d42b9;
}

.formula-vacancy-detail-cover h1 {
  max-width: 980px;
  margin: 18px 0 0;
  color: #ffffff;
  font-family: "DXRigraf", "LabGrotesque", Arial, system-ui, sans-serif;
  font-size: clamp(46px, 5.8vw, 82px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.formula-vacancy-back {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.formula-vacancy-back:hover,
.formula-vacancy-back:focus-visible {
  color: #201d1e;
  background: #ffffff;
}

.formula-vacancy-hero-facts {
  max-width: 620px;
}

.formula-vacancy-hero-facts li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.formula-vacancy-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.formula-vacancy-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.formula-vacancy-content {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  padding: clamp(28px, 3.4vw, 46px);
  border: 1px solid var(--border-soft);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(32, 29, 30, 0.07);
}

.formula-vacancy-intro {
  display: grid;
  gap: 12px;
}

.formula-vacancy-intro p,
.formula-vacancy-condition p {
  margin: 0;
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.55;
}

.formula-vacancy-intro p:first-child {
  font-weight: 400;
}

.formula-vacancy-condition {
  display: grid;
  gap: 16px;
}

.formula-vacancy-condition h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: 0;
}

.formula-vacancy-condition h3 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.25;
}

.formula-vacancy-condition ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.formula-vacancy-condition li {
  position: relative;
  padding-left: 24px;
  color: #3d3d4f;
  font-size: 17px;
  line-height: 1.48;
}

.formula-vacancy-condition li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #3d42b9;
}

.formula-vacancy-condition-group {
  display: grid;
  gap: 8px;
}

.formula-vacancy-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.formula-vacancy-skills span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  background: #f2f4fb;
}

.formula-vacancy-response {
  position: sticky;
  top: 100px;
}

.formula-vacancy-form {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 30px;
  color: #ffffff;
  background: #201d1e;
  box-shadow: 0 28px 74px rgba(32, 29, 30, 0.18);
}

.formula-vacancy-form .lead-form-title {
  color: #ffffff;
  font-size: clamp(30px, 3vw, 42px);
}

.formula-vacancy-form input {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
}

.formula-vacancy-form .button {
  min-height: 58px;
  margin-top: 4px;
  background: #ff4047;
  border-color: #ff4047;
}

.formula-vacancy-form .button:hover,
.formula-vacancy-form .button:focus-visible {
  background: #3d42b9;
  border-color: #3d42b9;
}

.formula-vacancy-form .lead-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.36;
}

@media (max-width: 1120px) {
  .formula-vacancy-grid,
  .formula-vacancy-detail-grid {
    grid-template-columns: 1fr;
  }

  .formula-vacancy-tile {
    min-height: auto;
  }

  .formula-vacancy-response {
    position: static;
  }
}

@media (max-width: 680px) {
  .formula-vacancies-cover,
  .formula-vacancy-detail-cover {
    border-radius: 30px;
    padding: 26px;
  }

  .formula-vacancies-cover {
    min-height: 330px;
  }

  .formula-vacancies-cover h1 {
    font-size: 44px;
  }

  .formula-vacancy-detail-cover h1 {
    font-size: 42px;
  }

  .formula-vacancy-tile,
  .formula-vacancy-content,
  .formula-vacancy-form {
    border-radius: 24px;
  }

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

.listing-hero-copy {
  min-height: clamp(230px, 21vw, 320px);
  padding: clamp(30px, 3.2vw, 46px) clamp(30px, 4vw, 56px);
  border-radius: 30px;
}

.listing-hero-copy::before {
  inset: 18px auto auto 22px;
  width: 84px;
  height: 10px;
}

.listing-hero-copy::after {
  right: 22px;
  bottom: 22px;
  width: clamp(78px, 7vw, 108px);
  height: clamp(78px, 7vw, 108px);
  border-radius: 26px;
  opacity: 0.76;
}

.listing-hero-copy h1 {
  margin-top: 20px;
  margin-bottom: 16px;
  max-width: 760px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
}

.listing-hero-copy p {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.42;
}

.project-list-filter-shell {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .listing-hero-copy {
    min-height: 240px;
    padding: 30px 22px 24px;
  }

  .listing-hero-copy h1 {
    font-size: 34px;
  }

  .listing-hero-copy p {
    font-size: 15px;
  }
}

.hero-project {
  padding-top: clamp(22px, 3vw, 42px);
  padding-bottom: clamp(18px, 2.4vw, 28px);
}

.hero-project .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.78fr);
  gap: clamp(16px, 2vw, 28px);
}

.hero-project .hero-copy {
  min-height: clamp(310px, 30vw, 420px);
  padding: clamp(30px, 3.4vw, 50px);
  border-radius: 30px;
}

.hero-project .hero-copy::before {
  inset: 18px auto auto 22px;
  width: 84px;
  height: 10px;
}

.hero-project .hero-copy::after {
  right: 22px;
  bottom: 22px;
  width: clamp(76px, 7vw, 108px);
  height: clamp(76px, 7vw, 108px);
  border-radius: 26px;
  opacity: 0.72;
}

.hero-project .hero-copy h1 {
  margin-top: 20px;
  margin-bottom: 16px;
  max-width: 740px;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 0.98;
}

.hero-project .hero-copy p {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.38;
}

.project-hero-form {
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 66, 72, 0.1), transparent 32%),
    #ffffff;
}

.project-hero-form .lead-form-light {
  position: relative;
  overflow: hidden;
  align-content: center;
  gap: 14px;
  min-height: 100%;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid rgba(32, 29, 30, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 123, 58, 0.12) 0%, rgba(255, 66, 72, 0.06) 44%, rgba(255, 255, 255, 0.96) 100%),
    #ffffff;
  color: var(--text-main);
  box-shadow: none;
}

.project-hero-form .lead-form-light::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 22px;
  width: 78px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-coral);
}

.project-hero-form .lead-form-light > * {
  position: relative;
  z-index: 1;
}

.project-hero-form .lead-form-light .lead-form-title {
  max-width: 520px;
  color: var(--text-main);
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 700;
  line-height: 1.02;
}

.project-hero-form .lead-form-light input {
  min-height: 52px;
  border: 1px solid rgba(32, 29, 30, 0.1);
  border-radius: 999px;
  background: #ffffff;
}

.project-hero-form .lead-form-light input:focus {
  border-color: rgba(255, 66, 72, 0.56);
  box-shadow: 0 0 0 4px rgba(255, 66, 72, 0.1);
}

.project-hero-form .lead-form-light .button {
  min-height: 52px;
  color: #ffffff;
  background: var(--button-dark);
  border-color: var(--button-dark);
}

.project-hero-form .lead-form-light .button:hover,
.project-hero-form .lead-form-light .button:focus-visible {
  color: #ffffff;
  background: var(--brand-coral);
  border-color: var(--brand-coral);
}

.project-hero-form .lead-form-light .lead-note {
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.34;
}

@media (max-width: 1160px) {
  .hero-project .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-project .hero-copy {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .hero-project .hero-copy {
    min-height: 280px;
    padding: 30px 22px 24px;
  }

  .hero-project .hero-copy h1 {
    font-size: 40px;
  }

  .project-hero-form,
  .project-hero-form .lead-form-light {
    border-radius: 26px;
  }
}

.hero-grid.narrow .hero-copy,
.listing-hero-copy {
  max-width: none;
  min-height: clamp(230px, 21vw, 320px);
  padding: clamp(30px, 3.2vw, 46px) clamp(30px, 4vw, 56px);
  border-radius: 30px;
}

.hero-grid.narrow .hero-copy::before,
.listing-hero-copy::before {
  inset: 18px auto auto 22px;
  width: 84px;
  height: 10px;
}

.hero-grid.narrow .hero-copy::after,
.listing-hero-copy::after {
  right: 22px;
  bottom: 22px;
  width: clamp(78px, 7vw, 108px);
  height: clamp(78px, 7vw, 108px);
  border-radius: 26px;
  opacity: 0.76;
}

.hero-grid.narrow .hero-copy h1,
.listing-hero-copy h1 {
  margin-top: 20px;
  margin-bottom: 16px;
  max-width: min(1120px, calc(100% - 160px));
  font-size: clamp(34px, 3.2vw, 50px);
  line-height: 0.98;
}

.hero-grid.narrow .hero-copy p,
.listing-hero-copy p {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.42;
}

.hero-grid.narrow .hero-actions {
  gap: 10px;
  margin-top: 14px;
}

.hero-grid.narrow .hero-actions .button {
  min-height: 46px;
  padding: 10px 18px;
  font-size: 14px;
}

@media (max-width: 760px) {
  .hero-grid.narrow .hero-copy,
  .listing-hero-copy {
    min-height: 240px;
    padding: 30px 22px 24px;
  }

  .hero-grid.narrow .hero-copy h1,
  .listing-hero-copy h1 {
    font-size: 34px;
  }

  .hero-grid.narrow .hero-copy p,
  .listing-hero-copy p {
    font-size: 15px;
  }
}
