:root {
  --bg: #f6f8f6;
  --surface: #ffffff;
  --surface-dark: #18332f;
  --text-main: #13211f;
  --text-soft: #5c6b68;
  --border-soft: #dfe8e4;
  --button-dark: #13211f;
  --brand-violet: #0f8f75;
  --brand-violet-deep: #0b6f5d;
  --brand-orange: #f2a65a;
  --brand-coral: #e66f51;
  --brand-sky: #73bfb8;
  --radius-card: 16px;
  --radius-button: 12px;
  --shadow-soft: 0 18px 44px rgba(19, 33, 31, 0.08);
  --shadow-card-hover: 0 24px 64px rgba(19, 33, 31, 0.14);
  --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;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbfcfb 0%, #f3f7f5 100%);
  color: var(--text-main);
  font-family: "Inter", "Manrope", 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(22px);
  background: rgba(248, 248, 250, 0.78);
  border-bottom: 1px solid rgba(231, 233, 242, 0.88);
}

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

.brandmark img {
  width: 238px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

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

.site-nav a::after,
.site-nav button::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,
.site-nav button:hover,
.site-nav button: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,
.site-nav button:hover::after,
.site-nav button:focus-visible::after,
.site-nav button.is-active::after {
  transform: scaleX(1);
}

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

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

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

.site-nav .nav-trigger {
  gap: 7px;
  white-space: nowrap;
}

.nav-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.62;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.nav-dropdown.is-open .nav-caret {
  transform: translateY(1px) rotate(225deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 60;
  display: grid;
  width: min(340px, 86vw);
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(15, 143, 117, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(19, 33, 31, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
}

.nav-dropdown-menu-wide {
  width: min(520px, 88vw);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-dropdown-menu-projects {
  width: min(560px, 88vw);
}

.nav-dropdown-menu-apartments {
  width: min(760px, 92vw);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nav-dropdown-column {
  display: grid;
  gap: 6px;
  align-content: start;
}

.nav-dropdown-title {
  display: block;
  padding: 4px 12px 2px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.site-nav .nav-dropdown-link {
  display: grid;
  min-height: 0;
  gap: 2px;
  padding: 11px 12px;
  border-radius: 14px;
  color: var(--text-main);
  transition: background 160ms ease, transform 160ms ease;
}

.site-nav .nav-dropdown-link::after {
  display: none;
}

.site-nav .nav-dropdown-link:hover,
.site-nav .nav-dropdown-link:focus-visible {
  background: rgba(15, 143, 117, 0.08);
  transform: translateY(-1px);
}

.nav-dropdown-link span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.nav-dropdown-link small {
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-soft);
}

.nav-dropdown-link-with-meta small {
  color: var(--brand-green-dark);
  font-weight: 750;
}

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

.city-switcher-current {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(15, 143, 117, 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(15, 143, 117, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(19, 33, 31, 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(15, 143, 117, 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(15, 143, 117, 0.1);
  color: var(--brand-violet-deep);
}

.button-ghost {
  background: rgba(15, 143, 117, 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, #73bfb8 0%, #0f8f75 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(15, 143, 117, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(19, 33, 31, 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;
}

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

.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(15, 143, 117, 0.12) 0%, rgba(242, 166, 90, 0.12) 100%),
    #ffffff;
}

.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;
}

.hero-headline-line {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.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(15, 143, 117, 0.08);
}

.developer-company-profile-item:first-child {
  border-top: 1px solid rgba(15, 143, 117, 0.08);
}

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

.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;
  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, #0f8f75 0%, #18332f 100%);
  color: #fff;
}

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

.home-stats-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: 38px;
  background: linear-gradient(135deg, #0f8f75 0%, #18332f 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.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;
}

.mortgage-section {
  padding-top: 18px;
}

.mortgage-calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(15, 143, 117, 0.16);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.mortgage-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  min-width: 0;
}

.mortgage-copy h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.mortgage-copy p {
  margin: 0;
  max-width: 620px;
  color: var(--text-soft);
  font-size: 17px;
}

.mortgage-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border-radius: var(--radius-card);
  background: #f7faf8;
}

.mortgage-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.mortgage-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(15, 143, 117, 0.18);
  border-radius: 10px;
  background: #fff;
  color: var(--text-main);
  font: inherit;
  font-weight: 700;
}

.mortgage-result {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 12px;
  background: #13211f;
  color: #fff;
}

.mortgage-result span,
.mortgage-result small {
  color: rgba(255, 255, 255, 0.72);
}

.mortgage-result strong {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.mortgage-form .button {
  grid-column: 1 / -1;
  width: 100%;
}

.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(15, 143, 117, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 143, 117, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #edf7f4 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(15, 143, 117, 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 .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;
}

.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(15, 143, 117, 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: rgba(15, 143, 117, 0.1);
  color: var(--brand-violet-deep);
  box-shadow: inset 0 0 0 1px rgba(15, 143, 117, 0.2);
}

.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-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: 12px;
  background: #f7faf8;
  border: 1px solid rgba(15, 143, 117, 0.12);
}

.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;
  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(15, 143, 117, 0.16);
  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(15, 143, 117, 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(15, 143, 117, 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(15, 143, 117, 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);
}

.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;
}

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

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

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

.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;
  will-change: transform;
}

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

.card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  height: 200px;
  min-height: 200px;
  background:
    linear-gradient(160deg, rgba(15, 143, 117, 0.18) 0%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(135deg, #e6f4ef 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(19, 33, 31, 0.04) 0%, rgba(19, 33, 31, 0.44) 100%);
  transition: opacity 280ms ease;
}

.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, #0f8f75 0%, #0b6f5d 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, #73bfb8 0%, #9fd8d3 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;
}

.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(15, 143, 117, 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 {
  margin-top: 12px;
}

.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(15, 143, 117, 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(15, 143, 117, 0.22);
  box-shadow: 0 14px 28px rgba(19, 33, 31, 0.12);
}

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

.project-map-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(15, 143, 117, 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(15, 143, 117, 0.22);
  box-shadow: 0 14px 28px rgba(19, 33, 31, 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(15, 143, 117, 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(15, 143, 117, 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(15, 143, 117, 0.14);
  background: linear-gradient(135deg, rgba(15, 143, 117, 0.1) 0%, rgba(115, 191, 184, 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(15, 143, 117, 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(15, 143, 117, 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, #18332f 0%, #0f8f75 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: 14px;
  border: 1px solid rgba(15, 143, 117, 0.16);
  border-radius: var(--radius-card);
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-soft);
}

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

.quiz-band-copy {
  display: grid;
  align-content: center;
  gap: 0;
  min-width: 0;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: 12px;
  background: #18332f;
  color: #ffffff;
}

.quiz-band-copy h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(26px, 3.45vw, 46px);
  line-height: 0.95;
  letter-spacing: 0;
  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(15, 143, 117, 0.08);
  color: var(--text-soft);
  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(15, 143, 117, 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: var(--text-main);
  transform: translateY(-1px);
}

.quiz-progress-step.is-active {
  background: rgba(15, 143, 117, 0.14);
}

.quiz-progress-step.is-complete {
  background: rgba(242, 166, 90, 0.16);
}

.quiz-progress-step.is-complete span {
  background: rgba(242, 166, 90, 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(15, 143, 117, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-violet-deep);
}

.quiz-panel {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(15, 143, 117, 0.12);
  border-radius: 12px;
  background: #f7faf8;
  box-shadow: none;
}

.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;
  text-transform: uppercase;
  color: var(--brand-violet-deep);
}

.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: var(--brand-violet-deep);
}

.quiz-step-backlink:hover {
  background: transparent;
  color: var(--text-main);
}

.quiz-step-hint {
  font-size: 12px;
  color: var(--text-soft);
}

.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 var(--text-soft);
  border-bottom: 2px solid var(--text-soft);
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

.quiz-select {
  width: 100%;
  min-height: 48px;
  padding: 0 46px 0 16px;
  border: 1px solid rgba(15, 143, 117, 0.18);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text-main);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  cursor: pointer;
}

.quiz-select:focus {
  outline: 2px solid rgba(15, 143, 117, 0.26);
  outline-offset: 2px;
}

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

.quiz-text-input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(15, 143, 117, 0.18);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text-main);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}

.quiz-text-input:focus {
  outline: 2px solid rgba(15, 143, 117, 0.26);
  outline-offset: 2px;
}

.quiz-options {
  gap: 8px;
}

.quiz-option {
  flex: 1 1 calc(50% - 12px);
  min-width: 190px;
  min-height: 42px;
  border-color: rgba(15, 143, 117, 0.14);
  background: #ffffff;
}

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

.quiz-option.is-active {
  background: rgba(15, 143, 117, 0.1);
  box-shadow: inset 0 0 0 1px rgba(15, 143, 117, 0.22);
}

.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: var(--brand-violet-deep);
}

.quiz-nav .button-link:hover {
  background: rgba(15, 143, 117, 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: var(--text-soft);
}

.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: var(--text-soft);
}

.quiz-step-form input {
  background: #ffffff;
  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: 26px;
}

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

.lead-form {
  display: grid;
  gap: 18px;
}

.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-radius: var(--radius-card);
  background: #18332f;
  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-radius: 0;
  background: transparent;
}

.hero-panel-form .lead-form-dark h3,
.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: var(--radius-card);
  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-radius: var(--radius-card);
  background: #18332f;
  color: #fff;
  box-shadow: none;
}

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

.project-hero-form .lead-form-dark h3 {
  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: 10px;
}

.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 h3 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1;
}

.lead-form p {
  margin: 0;
}

.lead-note {
  font-size: 13px;
}

.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 h3 {
  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: 12px;
}

.lead-form-feature {
  gap: 18px;
  width: 100%;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-card);
  background: #18332f;
  box-shadow: var(--shadow-soft);
}

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

.lead-form-feature h3 {
  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: 10px;
  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 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--grid-space);
  margin-bottom: 0;
}

.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(15, 143, 117, 0.06);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.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(15, 143, 117, 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(15, 143, 117, 0.05);
  border: 1px solid rgba(15, 143, 117, 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(15, 143, 117, 0.05);
  border: 1px solid rgba(15, 143, 117, 0.08);
}

.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);
}

.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: var(--radius-card);
}

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

.developer-lead-form-shell .lead-form-feature h3 {
  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: 10px;
}

.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;
  white-space: nowrap;
}

.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);
}

.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(115, 191, 184, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(15, 143, 117, 0.1) 0%, rgba(255, 138, 61, 0.12) 100%);
}

.error-page-violet .error-page-copy {
  background:
    radial-gradient(circle at top right, rgba(115, 191, 184, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(15, 143, 117, 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;
  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;
}

.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, #18332f 0%, #0f8f75 100%);
  color: #fff;
}

.error-page-panel-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  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;
}

.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(15, 143, 117, 0.08);
  color: var(--brand-violet-deep);
  font-size: 13px;
  font-weight: 600;
}

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

.tag-0 {
  background: rgba(15, 143, 117, 0.1);
  color: #0b6f5d;
}

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

.tag-2 {
  background: rgba(115, 191, 184, 0.14);
  color: #12508a;
}

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

.tag-4 {
  background: rgba(19, 33, 31, 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-top: 28px;
}

.news-index-hero-inner {
  max-width: 760px;
  display: grid;
  gap: 12px;
}

.news-index-hero-inner h1 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 0.98;
  letter-spacing: 0;
}

.news-index-hero-inner p {
  margin: 0;
  font-size: 18px;
  color: var(--text-soft);
}

.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(19, 33, 31, 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;
}

.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(19, 33, 31, 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: var(--radius-card);
  background: #18332f;
  box-shadow: var(--shadow-soft);
  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: 10px;
  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: 10px;
  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: 30px;
  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);
}

.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;
  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, #18332f 0%, #0f8f75 100%);
  color: #fff;
}

.news-inline-cta-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  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;
}

.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%;
}

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

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

.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;
}

.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(19, 33, 31, 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(15, 143, 117, 0.26);
}

.news-tag-chip.is-active {
  border-color: transparent;
  background: rgba(15, 143, 117, 0.1);
  color: var(--brand-violet-deep);
  box-shadow: inset 0 0 0 1px rgba(15, 143, 117, 0.2);
}

.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 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(19, 33, 31, 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(15, 143, 117, 0.28);
  box-shadow: 0 18px 44px rgba(19, 33, 31, 0.12);
}

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

.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: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.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: 1.3fr repeat(3, 1fr);
  gap: 24px;
  padding: 48px 0 56px;
}

.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;
}

.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;
  color: rgba(255, 255, 255, 0.58);
}

.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,
  .mortgage-calculator,
  .error-page,
  .quiz-band,
  .promo-band,
  .footer-grid {
    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);
  }

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

  .site-nav,
  .hide-mobile {
    display: none;
  }

  .brandmark img {
    width: 220px;
  }

  .mortgage-calculator {
    padding: 18px;
  }

  .mortgage-form {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .city-switcher-current {
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-copy,
  .hero-panel,
  .home-stats-panel,
  .filter-panel,
  .quiz-band,
  .quiz-panel,
  .cta-surface {
    padding: 24px;
  }

  .home-stats-panel {
    grid-template-columns: 1fr;
  }

  .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 h3 {
    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 h3 {
    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));
  }

  .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 {
    font-size: 38px;
    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;
  }

  .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;
  }
}

@media (max-width: 680px) {
  .news-masthead-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-news-grid {
    grid-template-columns: 1fr;
  }
}
