* {
  box-sizing: border-box;
}

a[href],
button,
summary,
[role="button"],
.property-card,
.project-showcase-card,
.developer-card,
.new-project-row,
.dashboard-project-card,
.filter-chip,
.filter-accordion summary,
.pagination a,
.projects-pagination a,
.market-ranking-open,
.ui-tip-trigger {
  cursor: pointer;
}

a[href],
.property-card,
.project-showcase-card,
.developer-card,
.new-project-row {
  -webkit-user-drag: none;
}

/* O nas page */
.about-page .page-width,
.about-page .header-inner {
  width: min(1450px, calc(100% - 90px));
}

.about-page .site-header {
  height: 60px;
}

.about-page .brand {
  flex-basis: 195px;
}

.about-page .brand img {
  width: 42px;
}

.about-page .primary-nav {
  gap: 31px;
}

.about-page .header-actions {
  gap: 17px;
}

.about-page .primary-button {
  min-width: 107px;
  height: 34px;
}

.about-hero {
  position: relative;
  width: min(var(--content-max, 1200px), calc(100% - var(--content-gutter, 64px)));
  height: 500px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  background: #dfe8f2;
  box-shadow: 0 12px 28px rgba(14, 35, 71, .08);
}

.about-hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.about-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 29%, rgba(255, 255, 255, .78) 46%, rgba(255, 255, 255, .26) 66%, rgba(255, 255, 255, 0) 82%);
  content: "";
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
}

.about-breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 30px;
  font-size: 8px;
  font-weight: 650;
}

.about-breadcrumb span:last-child {
  color: var(--text-secondary);
}

.about-hero-copy {
  width: 100%;
  max-width: 50%;
  padding-top: 56px;
}

.about-hero-copy > span {
  font-size: 11px;
  font-weight: 800;
}

.about-hero-copy h1 {
  max-width: 100%;
  margin: 10px 0 15px;
  font-size: 48px;
  font-weight: 760;
  line-height: 1.18;
  text-wrap: balance;
}

.about-hero-copy h1 em {
  color: var(--brand-accent);
  font-style: normal;
}

.about-hero-copy p {
  max-width: 100%;
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.about-hero--search {
  height: 560px;
}

.about-hero--search .about-hero-copy {
  padding-top: 42px;
}

.about-values {
  padding-top: 17px;
}

.about-values > h2,
.about-origin h2,
.about-timeline > h2,
.about-help > h2,
.about-partners > h2 {
  margin: 0;
  font-size: 17px;
}

.about-value-grid {
  --bs-gutter-y: 0;
  margin-top: 8px;
}

.about-value-grid article {
  height: 150px;
  padding: 14px 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.about-value-grid svg {
  width: 39px;
  height: 39px;
  color: var(--navy-800);
}

.about-value-grid h3 {
  margin: 9px 0 5px;
  font-size: 11px;
}

.about-value-grid p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 8.5px;
  line-height: 1.7;
}

.about-stat-grid {
  --bs-gutter-y: 0;
  margin-top: 16px;
}

.about-stat-grid article {
  display: flex;
  align-items: center;
  gap: 17px;
  height: 92px;
  padding: 12px 19px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.about-stat-grid svg {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  color: var(--navy-800);
}

.about-stat-grid strong,
.about-stat-grid b,
.about-stat-grid small {
  display: block;
}

.about-stat-grid strong {
  color: var(--brand-accent);
  font-size: 19px;
  line-height: 1.05;
}

.about-stat-grid b {
  margin-top: 2px;
  font-size: 10px;
}

.about-stat-grid small {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 8px;
}

.about-origin {
  min-height: 159px;
  margin-top: 19px;
}

.about-origin > .row {
  min-height: 159px;
}

.about-origin-copy {
  padding-top: 3px;
}

.about-origin-copy p {
  margin: 16px 0 0;
  font-size: 10px;
  line-height: 1.65;
}

.about-origin-copy p + p {
  margin-top: 12px;
}

.about-origin-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 159px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.about-origin-benefits > div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 13px 21px;
}

.about-origin-benefits > div:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.about-origin-benefits > div:nth-child(-n + 2) {
  border-bottom: 1px solid var(--border);
}

.about-origin-benefits svg {
  flex: 0 0 auto;
  width: 41px;
  height: 41px;
  color: var(--navy-800);
}

.about-origin-benefits strong {
  font-size: 9px;
  line-height: 1.6;
}

.about-timeline {
  min-height: 139px;
  margin-top: 14px;
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  min-height: 116px;
  margin-top: 4px;
}

.timeline-track::before {
  position: absolute;
  top: 17px;
  right: 10px;
  left: 0;
  border-top: 1px solid var(--navy-700);
  content: "";
}

.timeline-track::after {
  position: absolute;
  top: 13px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--navy-700);
  border-right: 1px solid var(--navy-700);
  content: "";
  transform: rotate(45deg);
}

.timeline-track article {
  position: relative;
  z-index: 1;
  text-align: center;
}

.timeline-track i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 7px;
  color: var(--white);
  background: var(--brand-primary);
  border-radius: 50%;
}

.timeline-track i svg {
  width: 22px;
  height: 22px;
}

.timeline-track strong {
  display: block;
  font-size: 11px;
}

.timeline-track p {
  margin: 5px 0 0;
  color: var(--text-secondary);
  font-size: 8px;
  line-height: 1.55;
}

.about-help {
  margin-top: 15px;
}

.about-help > .row {
  --bs-gutter-y: 0;
  margin-top: 8px;
}

.help-card {
  position: relative;
  height: 151px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.help-copy {
  position: relative;
  z-index: 2;
  width: 70%;
  padding: 11px 15px;
}

.help-copy h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 8px;
  font-size: 15px;
}

.help-copy h3 svg {
  width: 28px;
  height: 28px;
  color: var(--navy-800);
}

.help-copy ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.help-copy li {
  position: relative;
  padding-left: 18px;
  font-size: 8px;
}

.help-copy li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 11px;
  height: 11px;
  color: var(--white);
  background: var(--brand-accent);
  border-radius: 50%;
  content: "✓";
  font-size: 7px;
  font-weight: 800;
}

.help-card > img {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 183px;
  height: 151px;
  object-fit: cover;
}

.help-card.developers > img {
  width: 202px;
}

.about-partners {
  margin-top: 14px;
}

.about-partner-logos {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  place-items: center;
  height: 53px;
  margin-top: 6px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.about-partner-logos > * {
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.about-partner-logos small {
  display: block;
  font-size: 6px;
  letter-spacing: 1px;
}

.about-cta {
  position: relative;
  display: grid;
  grid-template-columns: 65px minmax(250px, 1fr) 207px 155px 132px;
  align-items: center;
  height: 62px;
  margin-top: 16px;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-primary);
  border-radius: 7px;
}

.about-cta > svg {
  width: 42px;
  height: 42px;
  margin-left: 25px;
}

.about-cta h2 {
  margin: 0;
  color: var(--white);
  font-size: 16px;
}

.about-cta p {
  margin: 1px 0 0;
  font-size: 8.5px;
}

.about-cta > a {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 36px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 750;
}

.about-cta > a svg {
  width: 15px;
  height: 15px;
}

.about-cta-light {
  color: var(--brand-accent);
  background: var(--white);
}

.about-cta-accent {
  margin-left: 11px;
  color: var(--white);
  background: var(--brand-accent);
  border: 1px solid var(--white);
}

.about-cta > img {
  width: 132px;
  height: 62px;
  object-fit: cover;
}

.about-page .about-footer {
  height: 145px;
  margin-top: 9px;
  overflow: hidden;
}

.about-footer .footer-main-shell {
  padding-top: 9px;
  padding-bottom: 5px;
}

.about-footer .footer-main {
  min-height: 104px;
}

.about-footer .footer-about {
  grid-template-columns: 74px 1fr;
  column-gap: 11px;
}

.about-footer .footer-about > img {
  width: 42px;
}

.about-footer .footer-about p {
  font-size: 7px;
}

.about-footer .socials {
  gap: 9px;
  margin-top: 5px;
}

.about-footer .socials a {
  width: 15px;
  height: 15px;
  font-size: 0;
}

.about-footer .socials a svg {
  width: 8px;
  height: 8px;
}

.about-footer .footer-column {
  gap: 2px;
}

.about-footer .footer-column h2 {
  margin-bottom: 4px;
  font-size: 9px;
}

.about-footer .footer-column a,
.about-footer .footer-column p {
  font-size: 7px;
}

.about-footer .footer-bottom {
  min-height: 31px;
  font-size: 6.5px;
}

@media (max-width: 1100px) {
  .about-page .brand {
    flex-basis: 194px;
  }

  .about-page .primary-nav {
    gap: 28px;
  }

  .about-page .header-actions {
    gap: 14px;
  }

  .about-page .icon-link {
    gap: 6px;
    font-size: 9px;
  }
}

@media (max-width: 980px) {
  .about-page .page-width,
  .about-page .header-inner {
    width: min(100% - 32px, 920px);
  }

  .about-page .brand {
    flex-basis: auto;
  }

  .about-hero {
    height: 460px;
  }

  .about-hero::after {
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .95) 47%, rgba(255, 255, 255, .52) 73%, rgba(255, 255, 255, .12) 100%);
  }

  .about-hero-image {
    opacity: 1;
  }

  .about-hero-copy {
    padding-top: 48px;
  }

  .about-hero-copy h1 {
    font-size: 46px;
  }

  .about-hero--search {
    height: 520px;
  }

  .about-value-grid article {
    height: 165px;
  }

  .about-origin,
  .about-origin > .row {
    min-height: 0;
  }

  .about-origin-benefits {
    height: 220px;
  }

  .about-timeline {
    overflow-x: auto;
  }

  .timeline-track {
    width: 900px;
  }

  .about-help > .row {
    --bs-gutter-y: 16px;
  }

  .about-partner-logos {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    height: auto;
    min-height: 100px;
    padding-block: 12px;
  }

  .about-cta {
    grid-template-columns: 55px 1fr 190px;
    height: auto;
    min-height: 82px;
    padding: 10px 14px;
  }

  .about-cta > svg {
    margin-left: 0;
  }

  .about-cta-accent,
  .about-cta > img {
    display: none !important;
  }

  .about-page .about-footer {
    height: auto;
    overflow: visible;
  }
}

@media (max-width: 720px) {
  .about-page .site-header {
    height: 62px;
  }

  .about-page .brand img {
    width: 62px;
  }

  .about-hero {
    height: 550px;
    min-height: 550px;
    border-radius: 0 0 16px 16px;
  }

  .about-hero-image {
    opacity: 1;
    object-position: 66% center;
  }

  .about-hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 58%, rgba(255, 255, 255, .66) 100%);
  }

  .about-breadcrumb {
    padding-top: 24px;
  }

  .about-hero-copy {
    max-width: 100%;
    padding-top: 48px;
  }

  .about-hero-copy h1 {
    font-size: 38px;
    line-height: 1.2;
  }

  .about-hero-copy p {
    max-width: none;
    font-size: 15px;
    line-height: 1.5;
  }

  .about-hero-copy p br {
    display: none;
  }

  .about-hero--search {
    height: auto;
    min-height: 620px;
  }

  .about-origin-copy br {
    display: none;
  }

  .about-value-grid article {
    height: auto;
    min-height: 145px;
  }

  .about-stat-grid article {
    height: 84px;
  }

  .about-origin-benefits {
    grid-template-columns: 1fr;
    height: auto;
  }

  .about-origin-benefits > div {
    min-height: 90px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--border);
  }

  .about-origin-benefits > div:last-child {
    border-bottom: 0;
  }

  .help-copy {
    width: 78%;
  }

  .help-card > img {
    opacity: 0.45;
  }

  .about-partner-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-cta {
    grid-template-columns: 42px 1fr;
    gap: 8px;
    padding: 14px;
  }

  .about-cta h2 {
    font-size: 14px;
  }

  .about-cta-light {
    grid-column: 1 / -1;
  }
}

/* Shared page CTA */
.site-cta,
.about-cta,
.legal-help,
.help-support {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto 250px;
  align-items: center;
  gap: 18px;
  width: min(1137px, calc(100% - 64px));
  min-height: 156px;
  margin: var(--section-space) auto 0;
  padding: 24px 24px 24px 28px;
  overflow: hidden;
  color: #fff;
  background: #122650;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(12, 31, 68, 0.14);
}

.site-cta::before,
.about-cta::before,
.legal-help::before,
.help-support::before {
  position: absolute;
  z-index: -1;
  inset: 0 250px 0 0;
  content: "";
  background: linear-gradient(90deg, rgba(18, 38, 80, 0.98), rgba(18, 38, 80, 0.93));
}

.site-cta-icon,
.about-cta > svg,
.legal-help > i:first-child,
.help-support > i {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--brand-accent);
  background: #fff;
  border-radius: 50%;
}

.site-cta-icon svg,
.about-cta > svg,
.legal-help > i:first-child svg,
.help-support > i svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-cta-copy,
.about-cta > div,
.legal-help > div,
.help-support > div {
  min-width: 0;
}

.site-cta h2,
.about-cta h2,
.legal-help h2,
.help-support h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.18;
}

.site-cta p,
.about-cta p,
.legal-help p,
.help-support p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.45;
}

.site-cta > a,
.about-cta > a,
.legal-help > a,
.help-support > a,
.site-cta-actions > a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 18px;
  color: var(--brand-accent);
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.site-cta > a:hover,
.about-cta > a:hover,
.legal-help > a:hover,
.help-support > a:hover,
.site-cta-actions > a:hover { transform: translateY(-2px); }

.site-cta > a.accent,
.about-cta > a.about-cta-accent,
.legal-help > a.accent,
.help-support > a.accent,
.site-cta-actions > a.accent,
.site-cta-actions > a.about-cta-accent {
  color: #fff;
  background: var(--brand-accent);
  border-color: rgba(255, 255, 255, 0.7);
}

.site-cta > a svg,
.about-cta > a svg,
.site-cta-actions > a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.site-cta-media,
.site-cta > .site-cta-media,
.about-cta > img,
.legal-help::after,
.help-support::after {
  align-self: stretch;
  min-width: 0;
  min-height: 108px;
  overflow: hidden;
  border-radius: 8px;
}

.site-cta-media img,
.about-cta > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 108px;
  object-fit: cover;
  object-position: 76% center;
}

.legal-help,
.help-support { margin-top: 32px; }

.legal-help > i:nth-of-type(2),
.legal-help > div:nth-of-type(2) { display: none; }

.legal-help::after {
  display: block;
  content: "";
  background: url("../assets/cta-legal.png") 76% center / cover no-repeat;
}

.help-support::after {
  display: block;
  content: "";
  background: url("../assets/cta-help.png") 76% center / cover no-repeat;
}

.about-cta { margin-top: 32px; }
.about-cta > svg { flex: 0 0 64px; }
.about-cta > img { width: 250px; height: 108px; }

@media (max-width: 980px) {
  .site-cta,
  .about-cta,
  .legal-help,
  .help-support {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    width: calc(100% - 32px);
  }

  .site-cta::before,
  .about-cta::before,
  .legal-help::before,
  .help-support::before { inset: 0; }

  .site-cta-media,
  .about-cta > img,
  .legal-help::after,
  .help-support::after { display: none; }
}

@media (max-width: 620px) {
  .site-cta,
  .about-cta,
  .legal-help,
  .help-support {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    width: calc(100% - 24px);
    min-height: 0;
    padding: 20px;
  }

  .site-cta-icon,
  .about-cta > svg,
  .legal-help > i:first-child,
  .help-support > i { width: 52px; height: 52px; }
  .site-cta-icon svg,
  .about-cta > svg,
  .legal-help > i:first-child svg,
  .help-support > i svg { width: 27px; height: 27px; }
  .site-cta h2,
  .about-cta h2,
  .legal-help h2,
  .help-support h2 { font-size: 20px; }
  .site-cta p,
  .about-cta p,
  .legal-help p,
  .help-support p { font-size: 13px; }
  .site-cta > a,
  .about-cta > a,
  .legal-help > a,
  .help-support > a,
  .site-cta-actions { grid-column: 1 / -1; width: 100%; min-height: 46px; }
}

/* Contact page lower sections */
.contact-page .contact-people { margin-top: 42px; }
.contact-page .contact-people > h2,
.contact-page .contact-faq h2,
.contact-page .contact-office h2 { letter-spacing: 0; }
.contact-page .contact-people > h2 { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.12; margin-bottom: 0; }
.contact-page .contact-people > .row { --bs-gutter-x: 18px; --bs-gutter-y: 18px; margin-top: 18px; }
.contact-page .person-card {
  min-height: 360px; height: 100%; padding: 26px; display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
  box-shadow: 0 10px 28px rgba(12, 31, 68, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.contact-page .person-card:hover { transform: translateY(-3px); border-color: rgba(194, 30, 35, 0.28); box-shadow: 0 16px 34px rgba(12, 31, 68, 0.1); }
.contact-page .person-card header { min-height: 72px; align-items: flex-start; gap: 16px; }
.contact-page .person-card header i { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 50%; background: #f3f5f8; color: var(--navy); }
.contact-page .person-card header svg { width: 28px; height: 28px; }
.contact-page .person-card h3 { margin: 2px 0 5px; font-size: 20px; line-height: 1.2; }
.contact-page .person-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.contact-page .person { height: auto; margin: 30px 0 18px; gap: 14px; }
.contact-page .person img { width: 64px; height: 64px; border: 3px solid #fff; box-shadow: 0 3px 12px rgba(12, 31, 68, 0.12); }
.contact-page .person strong { font-size: 17px; line-height: 1.25; }
.contact-page .person small { margin-top: 4px; color: var(--muted); font-size: 13px; }
.contact-page .person-card > a:not(.person-button) { height: auto; min-height: 28px; margin-top: 9px; gap: 12px; color: var(--muted); font-size: 14px; }
.contact-page .person-card > a:not(.person-button) svg { width: 17px; height: 17px; color: var(--navy); }
.contact-page .person-button { width: 100%; height: 48px; margin-top: auto; padding: 0 16px; justify-content: space-between; gap: 0; border-radius: var(--btn-radius); font-size: 14px; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.contact-page .person-button:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.contact-page .contact-office { grid-template-columns: minmax(320px, 0.76fr) 1.6fr; height: 320px; margin-top: 32px; border-radius: 14px; box-shadow: 0 10px 28px rgba(12, 31, 68, 0.06); }
.contact-page .contact-office > div { padding: 30px 32px; }
.contact-page .contact-office h2 { margin-bottom: 18px; font-size: 28px; line-height: 1.15; }
.contact-page .contact-office p { gap: 14px; margin-bottom: 16px; font-size: 15px; line-height: 1.55; }
.contact-page .contact-office p svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--brand-accent); }
.contact-page .contact-office small { display: block; max-width: 280px; font-size: 13px; line-height: 1.55; }
.contact-page .contact-office a { width: 210px; height: 48px; margin-top: 20px; border-radius: var(--btn-radius); font-size: 14px; }
.contact-page .contact-office > img { height: 320px; object-fit: cover; object-position: center; filter: saturate(0.9) contrast(0.98); }
.contact-page .contact-faq { min-height: 0; margin-top: 32px; padding: 28px; border-radius: 14px; box-shadow: 0 10px 28px rgba(12, 31, 68, 0.06); }
.contact-page .contact-faq header { align-items: baseline; gap: 20px; }
.contact-page .contact-faq h2 { margin: 0; font-size: 28px; line-height: 1.15; }
.contact-page .contact-faq header a { font-size: 14px; white-space: nowrap; }
.contact-page .contact-faq-grid { gap: 14px; margin-top: 20px; }
.contact-page .contact-faq details { min-height: 86px; padding: 18px; border-radius: 10px; background: #fbfcfd; font-size: 14px; line-height: 1.4; transition: border-color 180ms ease, background-color 180ms ease; }
.contact-page .contact-faq details:hover,
.contact-page .contact-faq details[open] { border-color: rgba(194, 30, 35, 0.35); background: #fff; }
.contact-page .contact-faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; }
.contact-page .contact-faq summary::-webkit-details-marker { display: none; }
.contact-page .contact-faq summary::after { content: "+"; flex: 0 0 auto; color: var(--brand-accent); font-size: 22px; font-weight: 400; line-height: 0.8; }
.contact-page .contact-faq details[open] summary::after { content: "−"; }
.contact-page .contact-faq details p { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
@media (max-width: 980px) {
  .contact-page .contact-office { grid-template-columns: 1fr; height: auto; }
  .contact-page .contact-office > img { height: 280px; }
  .contact-page .contact-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .contact-page .contact-people { margin-top: 32px; }
  .contact-page .person-card { min-height: 340px; padding: 22px; }
  .contact-page .contact-office > div, .contact-page .contact-faq { padding: 22px; }
  .contact-page .contact-office h2, .contact-page .contact-faq h2 { font-size: 24px; }
  .contact-page .contact-office > img { height: 220px; }
  .contact-page .contact-faq header { align-items: flex-start; flex-direction: column; gap: 10px; }
  .contact-page .contact-faq-grid { grid-template-columns: 1fr; }
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-primary);
  background: var(--surface);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0;
}

button,
input {
  color: inherit;
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-width,
.header-inner,
.hero-inner {
  width: min(1450px, calc(100% - 60px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4000;
  height: 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.brand {
  display: flex;
  flex: 0 0 166px;
  align-items: center;
}

.brand img {
  display: block;
  width: 42px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: stretch;
  gap: 38px;
  height: 100%;
}

.primary-nav a {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.primary-nav a.active {
  color: var(--brand-primary);
  font-weight: 750;
}

.primary-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--brand-primary);
  content: "";
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* Temporarily hidden until auth is ready */
.header-actions .icon-link:has(use[href="#icon-user"]),
.header-actions .icon-link:has(use[href="#h-user"]) {
  display: none !important;
}

.icon-link svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.6;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 36px;
  padding: 0 16px;
  color: var(--white);
  background: var(--brand-primary);
  border-radius: var(--btn-radius);
  box-shadow: 0 6px 18px var(--shadow-primary);
  font-size: 10px;
  font-weight: 700;
}

.hero {
  height: 197px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  height: 100%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 50%;
  padding-top: 24px;
}

.hero h1 {
  margin: 0 0 9px;
  font-size: 44px;
  font-weight: 760;
  line-height: 1.12;
}

.hero p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.65;
}

.hero-image {
  position: absolute;
  z-index: 1;
  top: 0;
  right: calc((100vw - min(1450px, calc(100vw - 60px))) / -2);
  width: min(62vw, 798px);
  height: 194px;
  background: url("../assets/hero.png") left center / cover no-repeat;
}

.search-area {
  position: relative;
  z-index: 3;
  margin-top: -50px;
}

.property-tabs {
  display: flex;
  gap: 6px;
  width: fit-content;
  height: auto;
  margin-bottom: 13px;
  padding: 5px;
  background: rgba(242, 245, 248, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(14, 35, 71, 0.1);
}

.property-tabs button {
  min-width: 69px;
  min-height: 38px;
  padding: 0 18px;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: var(--btn-radius);
  font-size: 13px;
  font-weight: 700;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

@media (hover: hover) {
  .property-tabs button:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(6, 26, 63, 0.08);
    transform: translateY(-1px);
  }

  .property-tabs button.active:hover {
    color: var(--white);
    background: var(--brand-accent);
    box-shadow: 0 6px 16px var(--shadow-accent);
    transform: translateY(-1px);
  }
}

.property-tabs button.active {
  color: var(--white);
  background: var(--brand-accent);
  border-color: transparent;
  box-shadow: 0 4px 12px var(--shadow-accent);
}

.property-tabs button:active {
  transform: translateY(0);
}

.quick-search {
  display: grid;
  grid-template-columns: 1.35fr 0.88fr 0.9fr 0.95fr 0.95fr auto auto;
  align-items: stretch;
  min-height: 76px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(14, 35, 71, 0.16);
  backdrop-filter: blur(10px);
}

.quick-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  margin-block: 12px;
  padding: 0 16px;
  border-right: 1px solid #e8edf5;
}

.quick-field > svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  color: var(--navy-800);
}

.quick-field > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}

.quick-field strong {
  font-size: 10px;
  font-weight: 750;
}

.quick-field input,
.quick-field select {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 9.5px;
  line-height: 1.3;
}

.quick-field input::placeholder {
  color: var(--text-secondary);
  opacity: 1;
}

.quick-field input:focus,
.quick-field select:focus {
  color: var(--text-primary);
}

.quick-field select {
  appearance: none;
  cursor: pointer;
  color: var(--text-secondary);
}

.quick-field select:not([value=""]):valid,
.quick-field select:focus {
  color: var(--text-primary);
}

.quick-field.is-pulse,
.quick-field:has(.is-pulse) {
  animation: filterFlash 0.7s ease;
}

.quick-range {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.quick-range-sep,
.quick-range i {
  flex: 0 0 auto;
  width: 10px;
  height: 1.5px;
  margin: 0;
  border: 0;
  border-radius: 1px;
  background: color-mix(in srgb, var(--text-secondary) 55%, transparent);
  color: transparent;
  font-size: 0;
  font-style: normal;
  line-height: 0;
}

.quick-range input {
  width: 100%;
  min-width: 0;
}

.location-field {
  justify-content: flex-start;
}

.location-field.quick-dropdown {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.location-field .quick-dropdown-trigger {
  gap: 6px;
  color: var(--text-secondary);
}

.location-field.has-value .quick-dropdown-trigger,
.location-field.is-open .quick-dropdown-trigger {
  color: var(--text-primary);
}

.location-field .quick-dropdown-trigger svg {
  width: 14px;
  height: 14px;
}

.select-field {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
}

.quick-dropdown {
  z-index: 4;
}

.quick-dropdown.is-open {
  z-index: 30;
}

.quick-dropdown > strong {
  display: block;
  font-size: 10px;
  font-weight: 750;
}

.quick-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 22px;
  padding: 0;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 9.5px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.quick-dropdown.has-value .quick-dropdown-trigger,
.quick-dropdown.is-open .quick-dropdown-trigger {
  color: var(--text-primary);
}

.quick-dropdown-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-dropdown-trigger svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
  transition: transform 180ms ease;
}

.quick-dropdown.is-open .quick-dropdown-trigger svg {
  transform: rotate(180deg);
  color: var(--brand-accent);
}

.quick-dropdown-menu {
  position: absolute;
  z-index: 2000;
  top: calc(100% + 4px);
  left: 0;
  right: auto;
  min-width: 180px;
  max-height: min(320px, 50vh);
  margin: 0;
  padding: 8px;
  overflow: auto;
  overscroll-behavior: contain;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(12, 31, 68, 0.16);
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(#000, #000);
  mask-image: linear-gradient(#000, #000);
}

.quick-dropdown-menu::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.quick-dropdown-menu.is-scrollable.has-scroll-top.has-scroll-bottom {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}

.quick-dropdown-menu.is-scrollable.has-scroll-top:not(.has-scroll-bottom) {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 100%);
}

.quick-dropdown-menu.is-scrollable.has-scroll-bottom:not(.has-scroll-top) {
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 18px), transparent 100%);
}

.quick-dropdown-menu::before {
  display: none;
}

.quick-dropdown-menu [role="option"] {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--text-primary);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.quick-dropdown-menu [role="option"]:hover {
  background: rgba(12, 31, 68, 0.05);
}

.quick-dropdown-menu [role="option"].is-active {
  color: var(--brand-accent);
  background: rgba(196, 30, 58, 0.08);
  font-weight: 700;
}

.quick-dropdown-menu[hidden] {
  display: none !important;
}

.quick-dropdown-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

.filter-dropdown {
  position: relative;
  z-index: 2;
}

.filter-accordion .filter-dropdown {
  z-index: 3;
}

.filter-dropdown.is-open {
  z-index: 40;
}

.filter-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--text-primary);
  background: #f7f9fc;
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  font: inherit;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.filter-dropdown-trigger:hover {
  background-color: #f2f5fa;
}

.filter-dropdown.is-open .filter-dropdown-trigger,
.filter-dropdown-trigger:focus-visible {
  background: #fff;
  border-color: rgba(18, 53, 102, 0.22);
  box-shadow: 0 0 0 3px rgba(18, 53, 102, 0.08);
  outline: none;
}

.filter-dropdown-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-dropdown-trigger svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  transition: transform 180ms ease;
}

.filter-dropdown.is-open .filter-dropdown-trigger svg {
  transform: rotate(180deg);
  color: var(--brand-accent);
}

.select-field > svg {
  display: none;
}

.more-filters,
.search-button {
  align-self: center;
  height: 42px;
  border: 0;
  font-weight: 700;
}

.more-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  margin-right: 18px;
  padding: 0 8px;
  color: var(--text-primary);
  background: transparent;
  font-size: 10px;
  white-space: nowrap;
}

.more-filters svg {
  width: 17px;
  height: 17px;
}

.search-button {
  min-width: 92px;
  margin-right: 18px;
  padding: 0 20px;
  color: var(--white);
  background: var(--brand-primary);
  border-radius: var(--btn-radius);
  box-shadow: 0 8px 18px rgba(8, 34, 79, 0.2);
  font-size: 11px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.search-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(8, 34, 79, 0.24);
}

/* Home: filter sits over the bottom of the hero */
.about-hero--home {
  height: 560px;
  overflow: visible;
}

.about-hero--home .about-hero-image,
.about-hero--home::after {
  border-radius: 0 0 20px 20px;
}

.about-hero--home .about-hero-inner {
  display: flex;
  flex-direction: column;
}

.about-hero--home .about-hero-copy {
  padding-top: 72px;
}

.about-hero--home .search-area {
  z-index: 40;
  width: 100%;
  margin-top: auto;
  margin-bottom: 28px;
}

.about-hero--home .property-tabs {
  background: rgba(242, 245, 248, 0.94);
}

.about-hero--home .property-tabs button {
  background: transparent;
  backdrop-filter: none;
}

.about-hero--home .property-tabs button.active {
  color: var(--white);
  background: var(--brand-accent);
}

.about-hero--home .quick-search {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 36px rgba(14, 35, 71, 0.16);
}

/* Novostavby: summary + search sit in hero like homepage */
.about-hero--projects {
  height: auto;
  min-height: 640px;
  overflow: visible;
}

.about-hero--projects .about-hero-image,
.about-hero--projects::after {
  border-radius: 0 0 20px 20px;
}

.about-hero--projects .about-hero-inner {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding-bottom: 28px;
}

.about-hero--projects .about-hero-copy {
  max-width: 50%;
  padding-top: 12px;
}

.about-hero--projects .projects-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.about-hero--projects .projects-summary {
  position: relative;
  z-index: 3;
  flex: 0 0 250px;
  width: 250px;
  min-height: 0;
  margin-top: 8px;
  box-shadow: 0 14px 36px rgba(14, 35, 71, 0.14);
}

.about-hero--projects .projects-summary > strong {
  white-space: nowrap;
}

.about-hero--projects .projects-hero-panel {
  z-index: 40;
  width: 100%;
  margin-top: auto;
}

.about-hero--projects .projects-search {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 40px rgba(14, 35, 71, 0.16);
  backdrop-filter: blur(10px);
}

.projects-benefits-bar {
  margin-top: 28px;
  margin-bottom: 8px;
  padding: 22px 0;
}

.projects-benefits-bar .projects-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  margin-top: 0;
}

.projects-benefits-bar .projects-benefits > div {
  gap: 14px;
}

.projects-benefits-bar .projects-benefits svg {
  width: 28px;
  height: 28px;
}

.projects-benefits-bar .projects-benefits strong {
  font-size: 14px;
  line-height: 1.25;
}

.projects-benefits-bar .projects-benefits small {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
}

.quick-search.is-type-switch .quick-field[data-quick="plocha"],
.quick-search.is-type-switch .quick-field[data-quick="primary"],
.quick-search.is-type-switch .quick-field[data-quick="secondary"] {
  animation: quickFieldSwap 380ms ease;
}

.quick-field.is-field-pulse {
  animation: quickFieldPulse 420ms ease;
}

@keyframes quickFieldSwap {
  0% { opacity: 0.35; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes quickFieldPulse {
  0% { background: transparent; }
  35% { background: rgba(196, 30, 58, 0.06); }
  100% { background: transparent; }
}

.filters [data-side-primary].is-updating {
  animation: quickFieldSwap 380ms ease;
}

.catalog {
  --bs-gutter-x: 18px;
  margin-top: 9px;
}

.filters-column,
.catalog-column {
  display: flex;
  min-width: 0;
}

.filters,
.filters,
.catalog-main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--surface);
  /* border: 1px solid var(--border); */
  border-radius: 12px;
}

.filters {
  position: sticky;
  top: 24px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  width: 100%;
  min-height: 0;
  padding: 24px 22px 22px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(6, 26, 63, 0.06);
}

.filters-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
}

.filters-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.filters-heading h2,
.catalog-toolbar h2,
.market-item h2,
.footer-column h2 {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
}

.filters-heading button {
  padding: 6px 10px;
  color: var(--brand-accent);
  background: rgba(194, 13, 24, 0.06);
  border: 0;
  border-radius: var(--btn-radius);
  font-size: 8.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 160ms ease;
}

.filters-heading button:hover {
  background: rgba(194, 13, 24, 0.12);
}

.filter-block {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.filter-block h3 {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

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

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

.filter-field > span:not(.visually-hidden) {
  display: block;
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 650;
}

.filter-field input,
.filter-field select,
.filter-block input[type="text"],
.double-input input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  color: var(--text-primary);
  background: #f7f9fc;
  border: 1px solid transparent;
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.filter-field select {
  appearance: none;
  padding-right: 36px;
  background-color: #f7f9fc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23123566' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 5 3.5 3.5L10.5 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.filters.is-linked {
  animation: filterPanelLink 0.85s ease;
}

.filters.is-reveal {
  box-shadow: 0 0 0 3px rgba(194, 13, 24, 0.18), 0 18px 40px rgba(6, 26, 63, 0.12);
}

.filter-block.is-pulse,
details.is-pulse,
.quick-field:has([data-sync].is-pulse),
[data-sync].is-pulse {
  animation: filterFlash 0.75s ease;
}

@keyframes filterFlash {
  0% { box-shadow: 0 0 0 0 rgba(194, 13, 24, 0); }
  35% { box-shadow: 0 0 0 3px rgba(194, 13, 24, 0.18); background-color: rgba(194, 13, 24, 0.04); }
  100% { box-shadow: 0 0 0 0 rgba(194, 13, 24, 0); }
}

@keyframes filterPanelLink {
  0% { transform: translateY(0); }
  40% { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(6, 26, 63, 0.12); }
  100% { transform: translateY(0); }
}

.filter-block,
.quick-field,
details[data-block] {
  border-radius: 12px;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.filter-field input:hover,
.filter-field select:hover,
.filter-block input[type="text"]:hover {
  background-color: #f2f5fa;
}

.filter-field input:focus,
.filter-field select:focus,
.filter-block input[type="text"]:focus {
  background: #fff;
  border-color: rgba(18, 53, 102, 0.22);
  box-shadow: 0 0 0 3px rgba(18, 53, 102, 0.08);
}

.filter-field input::placeholder,
.filter-block input[type="text"]::placeholder {
  color: var(--text-secondary);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  margin-top: 12px;
  color: var(--text-primary);
  font-size: 14px;
  cursor: pointer;
}

.checkbox-row input {
  appearance: none;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid #c9d3e2;
  border-radius: 5px;
  background: #fff;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.checkbox-row input:checked {
  background: var(--brand-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.2 6.4 11l6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--brand-accent);
}

.range-meta,
.range-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 13px;
}

.range-meta strong {
  color: var(--text-primary);
  font-weight: 700;
}

.range-input {
  display: block;
  margin-top: 10px;
}

.range-input input[type="range"] {
  display: block;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  accent-color: var(--brand-accent);
}

.range-input input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(90deg, #d3141f, #c20d18);
  border-radius: 999px;
}

.range-input input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -7px;
  background: #fff;
  border: 2.5px solid var(--brand-accent);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(6, 26, 63, 0.16);
}

.range-input input[type="range"]::-moz-range-track {
  height: 6px;
  background: #e7edf5;
  border-radius: 999px;
}

.range-input input[type="range"]::-moz-range-progress {
  height: 6px;
  background: linear-gradient(90deg, #d3141f, #c20d18);
  border-radius: 999px;
}

.range-input input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2.5px solid var(--brand-accent);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(6, 26, 63, 0.16);
}

.range {
  position: relative;
  height: 22px;
  margin-top: 10px;
}

.range::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 6px;
  background: #e7edf5;
  border-radius: 999px;
  transform: translateY(-50%);
  content: "";
}

.range span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #d3141f, #c20d18);
  border-radius: 999px;
  transform: translateY(-50%);
}

.range span::before,
.range span::after {
  position: absolute;
  top: 50%;
  z-index: 1;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2.5px solid var(--brand-accent);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(6, 26, 63, 0.16);
  transform: translate(-50%, -50%);
  content: "";
}

.range span::before {
  left: 0;
}

.range span::after {
  left: 100%;
}

.double-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.double-input .filter-range-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  padding: 0 12px;
  overflow: hidden;
  background: #f7f9fc;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.double-input .filter-range-field:hover {
  background-color: #f2f5fa;
}

.double-input .filter-range-field:focus-within {
  background: #fff;
  border-color: rgba(18, 53, 102, 0.22);
  box-shadow: 0 0 0 3px rgba(18, 53, 102, 0.08);
}

.double-input .filter-range-field > span {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  pointer-events: none;
}

.double-input .filter-range-field input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 50px;
  padding: 0 !important;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
  font-weight: 650;
}

.double-input .filter-range-field input:hover,
.double-input .filter-range-field input:focus {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.filter-chips {
  display: grid;
  gap: 8px;
}

.filter-chip {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  color: var(--text-primary);
  background: #f7f9fc;
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.filter-chip:hover {
  background: #f2f5fa;
}

.filter-chip:has(input:checked) {
  background: #fff;
  border-color: rgba(194, 13, 24, 0.28);
  box-shadow: 0 0 0 3px rgba(194, 13, 24, 0.08);
}

.filter-chip input {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid #c9d3e2;
  border-radius: 5px;
  background: #fff;
}

.filter-chip input:checked {
  background: var(--brand-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.2 6.4 11l6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--brand-accent);
}

.filter-chip b {
  color: var(--text-secondary);
  font-weight: 650;
}

.filter-accordion {
  margin-top: 4px;
}

.filter-accordion details {
  border-bottom: 1px solid var(--border);
}

.filter-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 12px 2px;
  color: var(--text-primary);
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: color 140ms ease;
}

.filter-accordion summary::-webkit-details-marker {
  display: none;
}

.filter-accordion summary:hover {
  color: var(--brand-accent);
}

.filter-accordion summary svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  transition: transform 160ms ease;
}

.filter-accordion details[open] summary svg {
  transform: rotate(180deg);
}

.filter-accordion details > :not(summary) {
  margin-bottom: 14px;
}

.show-results {
  width: 100%;
  height: 46px;
  margin-top: auto;
  flex-shrink: 0;
  color: #fff;
  background: var(--brand-primary);
  border: 0;
  border-radius: var(--btn-radius);
  box-shadow: 0 10px 22px rgba(8, 34, 79, 0.18);
  font-size: 11px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.show-results:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(8, 34, 79, 0.22);
}

.catalog-main {
  min-width: 0;
  padding: 0 12px 6px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  height: 61px;
}

.catalog-toolbar h2 {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  font-weight: 750;
}

.catalog-toolbar h2::before {
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 3px;
  background: var(--brand-accent);
  border-radius: 2px;
  content: "";
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 13px;
}

.sort-control .sort-dropdown {
  flex: 0 0 auto;
  min-width: 180px;
}

.sort-control .filter-dropdown-trigger {
  min-height: 42px;
  padding: 0 14px;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 550;
}

.sort-control .filter-dropdown-trigger:hover {
  background: #f8fafc;
}

.sort-control .filter-dropdown.is-open .filter-dropdown-trigger,
.sort-control .filter-dropdown-trigger:focus-visible {
  background: #fff;
  border-color: rgba(18, 53, 102, 0.28);
  box-shadow: 0 0 0 3px rgba(18, 53, 102, 0.08);
}

.sort-control .filter-dropdown-trigger svg {
  width: 14px;
  height: 14px;
}

.sort-control select {
  display: none;
}

.property-fav.is-active {
  color: var(--brand-accent);
}

.view-switch {
  display: flex;
  gap: 6px;
  width: fit-content;
  padding: 5px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.view-switch button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  height: auto;
  padding: 0 16px;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: var(--btn-radius);
  font-size: 13px;
  font-weight: 700;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

@media (hover: hover) {
  .view-switch button:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(6, 26, 63, 0.08);
    transform: translateY(-1px);
  }

  .view-switch button.active:hover {
    color: var(--white);
    background: var(--brand-accent);
    box-shadow: 0 6px 16px var(--shadow-accent);
    transform: translateY(-1px);
  }
}

.view-switch button.active {
  color: var(--white);
  background: var(--brand-accent);
  box-shadow: 0 4px 12px var(--shadow-accent);
}

.view-switch button:active {
  transform: translateY(0);
}

.view-switch svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-grid {
  --bs-gutter-x: 14px;
  --bs-gutter-y: 16px;
}

.property-grid > .col {
  display: flex;
}

.property-card {
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 6px 18px var(--shadow-card);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

@media (hover: hover) {
  .property-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 12px 28px var(--shadow-color);
    transform: translateY(-3px);
  }
}

.property-media {
  position: relative;
  overflow: hidden;
}

.property-card img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.property-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  color: #fff;
  background: var(--brand-accent);
  border-radius: var(--btn-radius);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(194, 13, 24, 0.28);
  pointer-events: none;
}

.property-badge--navy {
  background: var(--brand-primary);
  box-shadow: 0 6px 16px rgba(6, 26, 63, 0.28);
}

.property-fav {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(6, 26, 63, 0.14);
  cursor: pointer;
}

.property-fav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px 16px 14px;
}

.property-body h3 {
  overflow: hidden;
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.property-location svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.specs,
.meta {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
}

.specs {
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 12px;
}

.specs span,
.meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.specs svg,
.meta svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.specs i {
  width: auto;
  height: auto;
  color: var(--gray-500);
  background: none;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.price {
  display: block;
  margin: 14px 0 12px;
  color: var(--brand-accent);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.meta {
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}

.meta span {
  min-width: 0;
}

.meta span:last-child {
  justify-content: flex-end;
  text-align: right;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 28px 0;
  height: auto;
  min-height: 40px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.pagination a.active {
  color: var(--white);
  background: var(--brand-accent);
}

.pagination a:focus-visible {
  outline: 2px solid rgba(18, 53, 102, 0.28);
  outline-offset: 2px;
}

.market-section {
  margin-top: var(--section-space);
  margin-bottom: var(--section-space);
}

.market-strip {
  --bs-gutter-x: 0;
  align-items: stretch;
  min-height: 0;
  margin-top: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px var(--shadow-card);
}

.market-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
  height: auto;
  padding: var(--panel-pad-y) var(--panel-pad-x);
}

.market-item + .market-item::before {
  position: absolute;
  top: var(--panel-pad-y);
  bottom: var(--panel-pad-y);
  left: 0;
  width: 1px;
  background: var(--border);
  content: "";
}

.market-item h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 750;
}

.market-item h2 svg {
  width: 15px;
  height: 15px;
  color: var(--text-secondary);
}

.market-price-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.market-price-content small,
.market-price-content strong,
.market-price-content span {
  display: block;
}

.market-price-content small {
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 8px;
}

.market-price-content strong {
  color: var(--brand-accent);
  font-size: 18px;
  font-weight: 780;
  line-height: 1.1;
}

.market-price-content strong em {
  color: var(--brand-accent);
  font-size: 14px;
  font-style: normal;
  font-weight: 750;
}

.market-price-content span {
  margin-top: 6px;
  color: var(--brand-accent);
  font-size: 8px;
  font-weight: 700;
}

.chart {
  flex: 0 0 auto;
  width: 150px;
  height: 58px;
  color: var(--brand-accent);
}

.chart polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.locations {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: 0;
}

.locations ol {
  flex: 1 1 auto;
  margin: 16px 0;
  padding: 0;
  list-style: none;
  counter-reset: loc;
  color: var(--text-secondary);
  font-size: 9px;
}

.locations li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  counter-increment: loc;
}

.locations li::before {
  flex: 0 0 auto;
  width: 1.2em;
  color: var(--text-secondary);
  content: counter(loc) ".";
}

.locations li span {
  flex: 1 1 auto;
  min-width: 0;
}

.locations li b {
  flex: 0 0 auto;
  color: var(--text-primary);
  font-weight: 650;
}

.market-item a,
.market-ranking-open {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  color: var(--brand-accent);
  background: none;
  border: 0;
  appearance: none;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  cursor: pointer;
  text-decoration: none;
}

.market-item a svg,
.market-ranking-open svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-item a:hover,
.market-ranking-open:hover {
  text-decoration: underline;
}

.tip {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tip-intro {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
  margin: 16px 0;
}

.tip .bulb {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  justify-self: center;
  align-self: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  aspect-ratio: 1 / 1;
  color: #a67c00;
  background: #fff6d6;
  border-radius: 50%;
  line-height: 0;
}

.tip .bulb svg {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tip .bulb svg use {
  fill: none;
  stroke: currentColor;
}

.tip p {
  max-width: 320px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 9px;
  line-height: 1.55;
}

.tip > a {
  margin-top: auto;
}

.site-footer {
  margin-top: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-main-shell {
  padding-top: 19px;
  padding-bottom: 12px;
}

.footer-main {
  min-height: 136px;
}

.footer-about {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-content: start;
  column-gap: 17px;
}

.footer-about > img {
  width: 48px;
  height: auto;
}

.footer-about p {
  margin: 3px 0 0;
  color: var(--text-secondary);
  font-size: 8px;
  line-height: 1.55;
}

.socials {
  display: flex;
  grid-column: 1 / -1;
  gap: 17px;
  margin-top: 13px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--white);
  background: var(--brand-primary);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.socials a:hover {
  background: var(--brand-accent);
  transform: translateY(-1px);
}

.socials a svg {
  display: block;
  width: 52%;
  height: 52%;
  fill: currentColor;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.footer-column h2 {
  margin: 1px 0 8px;
  font-size: 11px;
}

.footer-column a,
.footer-column p {
  color: var(--text-secondary);
  font-size: 8.5px;
}

.contact a,
.contact p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

.contact svg {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 1px;
  color: var(--navy-800);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  font-size: 8px;
}

.footer-bottom div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom i {
  width: 1px;
  height: 10px;
  background: var(--border-strong);
}

@media (max-width: 1100px) {
  .brand {
    flex-basis: 220px;
  }

  .primary-nav {
    gap: 26px;
  }

  .header-actions {
    gap: 20px;
  }
}

@media (max-width: 980px) {
  .page-width,
  .header-inner,
  .hero-inner {
    width: min(100% - 32px, 920px);
  }

  .primary-nav {
    display: none;
  }

  .hero-image {
    right: -16px;
    width: 64vw;
  }

  .quick-search {
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  }

  .quick-field:nth-of-type(5),
  .more-filters {
    display: none;
  }

  .market-item:nth-child(3)::before {
    top: 0;
    right: 24px;
    bottom: auto;
    left: 24px;
    width: auto;
    height: 1px;
  }

}

@media (max-width: 720px) {
  body {
    font-size: 11px;
  }

  .site-header {
    height: 62px;
  }

  .brand {
    flex-basis: auto;
  }

  .brand img {
    width: 62px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-actions .icon-link span,
  .header-actions .primary-button {
    display: none;
  }

  .hero {
    height: 210px;
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 25px;
  }

  .hero h1 {
    max-width: 270px;
    font-size: 35px;
  }

  .hero p {
    max-width: 270px;
    font-size: 10.5px;
  }

  .hero p br {
    display: none;
  }

  .hero-image {
    right: -16px;
    width: 74vw;
    opacity: 0.45;
  }

  .search-area {
    margin-top: -36px;
  }

  .property-tabs {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .property-tabs button {
    flex: 0 0 auto;
  }

  .quick-search {
    grid-template-columns: 1fr auto;
    min-height: 64px;
  }

  .quick-field {
    display: none;
  }

  .quick-field.location-field {
    display: flex;
  }

  .search-button {
    margin-right: 18px;
  }

  .filters-column {
    display: none;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 78px;
    gap: 10px;
  }

  .sort-control {
    display: none;
  }

  .view-switch span {
    display: none;
  }

  .property-card img {
    height: 190px;
  }

  .market-item + .market-item::before {
    top: 0;
    right: var(--panel-pad-x);
    bottom: auto;
    left: var(--panel-pad-x);
    width: auto;
    height: 1px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 12px;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* Pro developery page */
.developers-page .page-width,
.developers-page .header-inner {
  width: min(1450px, calc(100% - 82px));
}

.developers-page .site-header {
  height: 68px;
}

.developers-page .primary-button {
  background: var(--brand-accent);
  box-shadow: 0 6px 18px var(--shadow-accent);
}

.developer-hero {
  height: 438px;
  overflow: hidden;
  background: var(--surface);
}

.developer-hero-row {
  --bs-gutter-x: 32px;
  height: 438px;
}

.developer-pitch {
  padding-top: 25px;
}

.developer-eyebrow {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 14px;
  color: var(--navy-800);
  background: var(--blue-100);
  border-radius: var(--btn-radius);
  font-size: 8.5px;
  font-weight: 700;
}

.developer-pitch h1 {
  width: 405px;
  max-width: none;
  margin: 19px 0 22px;
  font-size: 31px;
  font-weight: 760;
  line-height: 1.19;
}

.developer-pitch h1 em {
  color: var(--brand-accent);
  font-style: normal;
}

.developer-pitch > p {
  max-width: 400px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.7;
  text-wrap: pretty;
}

.developer-actions {
  display: flex;
  gap: 14px;
  margin-top: 17px;
}

.developer-primary-cta,
.developer-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  height: 38px;
  padding: 0 22px;
  border-radius: var(--btn-radius);
  font-size: 10px;
  font-weight: 700;
}

.developer-primary-cta {
  color: var(--white);
  background: var(--brand-primary);
  box-shadow: 0 6px 15px var(--shadow-primary-soft);
}

.developer-secondary-cta {
  border: 1px solid var(--brand-primary);
}

.developer-primary-cta svg,
.developer-secondary-cta svg {
  width: 16px;
  height: 16px;
}

.developer-mini-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 31px;
}

.developer-mini-benefits > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  height: 57px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.developer-mini-benefits svg {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  color: var(--navy-800);
}

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

.developer-mini-benefits span {
  font-size: 7.8px;
}

.developer-mini-benefits small {
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 7px;
}

.developer-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 143px;
  gap: 10px;
  height: 426px;
  padding-top: 14px;
}

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

.dashboard-projects,
.performance-card,
.dashboard-map,
.monthly-leads,
.lead-sources {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
}

.dashboard-projects {
  min-height: 242px;
  padding: 10px;
}

.dashboard-projects > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 23px;
}

.dashboard-projects h2,
.performance-card h2,
.dashboard-map h2,
.monthly-leads h2,
.lead-sources h2 {
  margin: 0;
  font-size: 9px;
}

.dashboard-projects > header button {
  height: 24px;
  padding: 0 9px;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 7px;
}

.dashboard-project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 5px;
}

.dashboard-project-card img {
  display: block;
  width: 100%;
  height: 91px;
  object-fit: fill;
}

.dashboard-project-card h3,
.dashboard-project-card p,
.dashboard-project-card strong,
.dashboard-project-card span,
.dashboard-project-card small {
  display: block;
  overflow: hidden;
  margin-right: 6px;
  margin-left: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-project-card h3 {
  margin-top: 7px;
  margin-bottom: 0;
  font-size: 7.4px;
}

.dashboard-project-card p {
  margin-top: 3px;
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 6.7px;
}

.dashboard-project-card strong {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1;
}

.dashboard-project-card span {
  margin-top: 3px;
  font-size: 6.7px;
}

.dashboard-project-card small {
  margin-top: 5px;
  margin-bottom: 7px;
  color: var(--green-600);
  font-size: 7px;
  font-weight: 700;
}

.dashboard-project-card small i {
  color: var(--text-secondary);
  font-style: normal;
  font-weight: 500;
}

.dashboard-bottom {
  margin-top: 0;
}

.dashboard-bottom article {
  min-height: 160px;
  margin-top: 8px;
}

.performance-card {
  position: relative;
  padding: 10px 10px 7px;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
  font-size: 6.5px;
}

.chart-legend span::before {
  display: inline-block;
  width: 8px;
  height: 2px;
  margin-right: 4px;
  vertical-align: middle;
  background: var(--brand-primary);
  content: "";
}

.chart-legend span:nth-child(2)::before {
  background: var(--gray-500);
}

.chart-legend span:nth-child(3)::before {
  background: var(--brand-accent);
}

.performance-card > svg {
  width: 100%;
  height: 91px;
  margin-top: 2px;
}

.performance-card polyline {
  fill: none;
  stroke-width: 1.8;
}

.performance-card .views {
  stroke: var(--brand-primary);
}

.performance-card .interest {
  stroke: var(--gray-500);
}

.performance-card .leads {
  stroke: var(--brand-accent);
}

.performance-card circle {
  fill: var(--brand-accent);
  stroke: none;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 6px;
}

.dashboard-map {
  padding: 10px 9px 7px;
}

.dashboard-map img {
  display: block;
  width: 100%;
  height: 104px;
  margin-top: 4px;
  object-fit: fill;
}

.dashboard-map > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  font-size: 6.5px;
}

.dashboard-map > div i {
  height: 5px;
  background: linear-gradient(90deg, var(--blue-100), var(--navy-800));
  border-radius: 5px;
}

.dashboard-side {
  padding-top: 43px;
}

.monthly-leads {
  height: 154px;
  padding: 14px 12px 9px;
}

.monthly-leads > strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.monthly-leads > strong small {
  color: var(--brand-accent);
  font-size: 8px;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  height: 57px;
  margin: 8px 3px 0;
}

.bar-chart i {
  width: 7px;
  background: var(--brand-primary);
}

.bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 5px;
}

.lead-sources {
  height: 202px;
  margin-top: 10px;
  padding: 14px 12px;
}

.lead-sources ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.lead-sources li {
  display: grid;
  grid-template-columns: 13px 1fr auto;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  font-size: 7.5px;
}

.lead-sources li span {
  color: var(--brand-accent);
  font-weight: 800;
}

.lead-sources li b,
.lead-sources li em {
  font-style: normal;
  font-weight: 600;
}

.why-frs {
  min-height: 95px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-frs > div,
.why-frs .row {
  min-height: 95px;
}

.why-frs-title h2 {
  margin: 0 0 5px;
  font-size: 19px;
}

.why-frs-title p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 8.5px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.why-item svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--navy-800);
}

.why-item span,
.why-item strong,
.why-item small {
  display: block;
}

.why-item strong {
  font-size: 8px;
}

.why-item small {
  max-width: 145px;
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 7px;
  line-height: 1.5;
}

.developer-services {
  padding-top: 14px !important;
}

.developer-services > header h2 {
  margin: 0;
  font-size: 19px;
}

.developer-services > header p {
  margin: 2px 0 7px;
  color: var(--text-secondary);
  font-size: 8.5px;
}

.service-grid article {
  height: 149px;
  padding: 9px 10px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.service-grid article > img {
  display: block;
  width: 100%;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
}

.service-grid article > svg {
  width: 48px;
  height: 48px;
  margin: 4px auto 18px;
  color: var(--navy-800);
}

.service-grid h3 {
  margin: 8px 0 5px;
  font-size: 11px;
}

.service-grid p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 7.5px;
  line-height: 1.5;
}

.developer-kpis {
  margin-top: 6px;
}

.developer-kpis article {
  position: relative;
  min-height: 74px;
  padding: 16px 11px 10px 59px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.developer-kpis svg {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 30px;
  height: 30px;
  color: var(--navy-800);
}

.developer-kpis strong,
.developer-kpis small {
  display: block;
}

.developer-kpis strong {
  font-size: 16px;
  line-height: 1;
}

.developer-kpis small {
  margin-top: 7px;
  color: var(--text-secondary);
  font-size: 7px;
}

.developer-kpis small b {
  color: var(--brand-primary);
}

.cooperation-process {
  min-height: 83px;
  margin-top: 10px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.cooperation-process > h2 {
  margin: 0 0 5px;
  font-size: 16px;
}

.process-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding-left: 38px;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -13px;
  width: 73px;
  border-top: 2px dotted var(--navy-800);
  content: "";
}

.process-step > b {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--brand-primary);
  border-radius: 50%;
  font-size: 12px;
}

.process-step span,
.process-step strong,
.process-step small {
  display: block;
}

.process-step strong {
  font-size: 8px;
}

.process-step small {
  max-width: 170px;
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 7px;
}

.case-study {
  --bs-gutter-y: 0;
  min-height: 157px;
  margin-top: 13px;
}

.case-study-image {
  display: block;
  width: 100%;
  height: 157px;
  object-fit: fill;
  border-radius: 7px;
}

.case-study-copy {
  padding-top: 6px;
}

.case-study-copy > span {
  color: var(--brand-accent);
  font-size: 8px;
  font-weight: 700;
}

.case-study-copy h2 {
  margin: 3px 0 6px;
  font-size: 21px;
}

.case-study-copy > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 8.5px;
  line-height: 1.6;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.case-results > div {
  height: 57px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.case-results strong,
.case-results small {
  display: block;
}

.case-results strong {
  color: var(--brand-accent);
  font-size: 15px;
}

.case-results small {
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 6.5px;
}

.case-study blockquote {
  margin: 0;
  padding: 8px 25px 0;
  border-left: 1px solid var(--border);
}

.quote-mark {
  height: 31px;
  color: var(--brand-accent);
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.case-study blockquote > p {
  margin: 0;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.65;
}

.case-study blockquote footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.case-study blockquote footer img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.case-study blockquote footer strong,
.case-study blockquote footer small {
  display: block;
}

.case-study blockquote footer strong {
  font-size: 8px;
}

.case-study blockquote footer small {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 6.8px;
}

.trusted-developers {
  min-height: 51px;
  margin-top: 24px;
}

.trusted-developers h2 {
  margin: 0 0 5px;
  font-size: 11px;
}

.trusted-logos {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 30px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
}

.trusted-logos > * {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.trusted-logos small {
  display: block;
  margin-top: 2px;
  font-size: 5px;
}

.developer-final-cta {
  display: grid;
  grid-template-columns: 76px 1fr 160px 138px;
  align-items: center;
  gap: 15px;
  min-height: 68px;
  margin-top: 13px;
  padding: 0 31px;
  color: var(--white);
  background: var(--brand-primary);
  border-radius: 7px;
}

.developer-final-cta > svg {
  width: 45px;
  height: 45px;
}

.developer-final-cta h2 {
  margin: 0;
  font-size: 16px;
  color: var(--white);
}

.developer-final-cta p {
  margin: 2px 0 0;
  font-size: 8px;
}

.developer-final-cta > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 38px;
  border: 1px solid var(--white);
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
}

.developer-final-cta > a.light {
  color: var(--brand-primary);
  background: var(--white);
}

.developer-final-cta a svg {
  width: 15px;
  height: 15px;
  color: var(--brand-accent);
}

.developers-footer {
  margin-top: 6px;
}

.developers-footer .footer-main-shell {
  padding-top: 15px;
  padding-bottom: 9px;
}

.developers-footer .footer-main {
  min-height: 112px;
}

.developers-footer .footer-bottom {
  min-height: 41px;
}

@media (max-width: 1100px) {
  .developer-pitch h1 {
    font-size: 29px;
  }

  .developer-dashboard {
    grid-template-columns: minmax(0, 1fr) 135px;
  }

  .trusted-logos {
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .developer-hero {
    height: auto;
    overflow: visible;
  }

  .developer-hero-row {
    height: auto;
  }

  .developer-pitch {
    min-height: 430px;
  }

  .developer-pitch h1 {
    width: auto;
    max-width: 100%;
  }

  .developer-dashboard {
    grid-template-columns: minmax(0, 1fr) 150px;
    height: auto;
    padding-bottom: 18px;
  }

  .why-frs,
  .why-frs > div,
  .why-frs .row {
    min-height: auto;
  }

  .why-frs {
    padding-block: 18px;
  }

  .service-grid article {
    height: 160px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .trusted-logos {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 14px;
    padding-block: 10px;
  }

  .developer-final-cta {
    grid-template-columns: 50px 1fr 150px;
  }

  .developer-final-cta > a:last-child {
    display: none;
  }
}

@media (max-width: 720px) {
  .developer-pitch {
    min-height: 500px;
    padding-top: 24px;
  }

  .developer-pitch h1 {
    font-size: 33px;
  }

  .developer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .developer-primary-cta,
  .developer-secondary-cta {
    padding-inline: 12px;
  }

  .developer-mini-benefits {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 22px;
  }

  .developer-mini-benefits > div {
    height: 50px;
  }

  .developer-dashboard {
    display: block;
  }

  .dashboard-projects {
    overflow-x: auto;
  }

  .dashboard-projects > .row {
    width: 680px;
  }

  .dashboard-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 8px;
  }

  .lead-sources {
    height: 154px;
    margin-top: 0;
    overflow: hidden;
  }

  .lead-sources li {
    min-height: 21px;
  }

  .service-grid article {
    height: auto;
    min-height: 145px;
  }

  .cooperation-process {
    padding-bottom: 14px;
  }

  .process-step {
    padding-left: 12px;
  }

  .case-study-copy {
    padding-top: 2px;
  }

  .case-study blockquote {
    padding: 8px 14px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .trusted-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .developer-final-cta {
    grid-template-columns: 42px 1fr;
    padding: 16px;
  }

  .developer-final-cta > a {
    grid-column: 1 / -1;
  }
}

/* Novostavby page */
.projects-page {
  background: var(--surface);
}

.projects-hero {
  position: relative;
  height: 321px;
  overflow: hidden;
  background: var(--surface);
}

.projects-hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: min(42vw, 540px);
  height: 321px;
  background: url("../assets/novostavby-hero.png") center / cover no-repeat;
}

.projects-hero-photo::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  background: linear-gradient(90deg, var(--surface), transparent);
  content: "";
}

.projects-hero-inner {
  position: relative;
  height: 100%;
}

.projects-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 50%;
  padding-top: 36px;
}

.projects-hero-copy h1 {
  margin: 0 0 12px;
  font-size: 41px;
  font-weight: 760;
  line-height: 1.16;
}

.projects-hero-copy > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.65;
}

.projects-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 580px;
  margin-top: 29px;
}

.projects-benefits > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.projects-benefits svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--navy-800);
}

.projects-benefits span,
.projects-benefits strong,
.projects-benefits small {
  display: block;
}

.projects-benefits strong {
  font-size: 7.6px;
  white-space: nowrap;
}

.projects-benefits small {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 6.8px;
  white-space: nowrap;
}

.projects-summary {
  position: static;
  z-index: auto;
  top: auto;
  right: auto;
  width: 270px;
  min-height: 240px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(6, 26, 63, 0.08);
}

.projects-summary > svg {
  width: 30px;
  height: 30px;
  margin-bottom: 9px;
  color: var(--navy-800);
}

.projects-summary h2 {
  margin: 0 0 13px;
  font-size: 11px;
  line-height: 1.6;
}

.projects-summary > strong,
.projects-summary > p {
  display: block;
  margin: 0;
  font-size: 11px;
}

.projects-summary > strong em {
  color: var(--brand-accent);
  font-size: 18px;
  font-style: normal;
}

.projects-summary > p {
  margin-top: 2px;
  font-weight: 700;
}

.projects-summary > a,
.section-heading a,
.localities-panel a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-accent);
  font-size: 9px;
  font-weight: 700;
}

.projects-summary > a {
  margin-top: 17px;
}

.projects-summary a svg,
.section-heading a svg,
.localities-panel a svg {
  width: 13px;
  height: 13px;
}

.projects-search {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  padding: 18px !important;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(6, 26, 63, 0.07);
}

.projects-search-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 62px;
  height: auto;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  text-align: left;
  cursor: pointer;
}

.projects-search-field > svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-right: 10px;
  color: var(--navy-800);
}

.projects-search-field > span {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.projects-search-field strong {
  display: block;
  margin: 0;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.2;
}

.projects-search-field .quick-dropdown-trigger {
  min-height: 18px;
  font-size: 11px;
  color: var(--text-secondary);
  pointer-events: none;
}

.projects-search-field.has-value .quick-dropdown-trigger,
.projects-search-field.is-open .quick-dropdown-trigger {
  color: var(--text-primary);
}

.projects-search-field .quick-dropdown-trigger svg {
  width: 12px;
  height: 12px;
  margin-left: auto;
}

.projects-search-field .quick-dropdown-menu {
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
}

.projects-search-actions {
  display: flex;
  align-items: stretch;
}

.map-search-button,
.show-projects-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 62px;
  height: 100%;
  border-radius: var(--btn-radius);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.map-search-button {
  display: none;
}

.show-projects-button {
  color: var(--white);
  background: var(--brand-primary);
  border: 1px solid var(--brand-primary);
  box-shadow: 0 5px 13px var(--shadow-primary-soft);
}

.projects-showcase {
  margin-top: 21px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 750;
}

.project-tabs {
  display: flex;
  gap: 26px;
  height: 31px;
  margin-bottom: 5px;
}

.project-tabs button {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 8.5px;
  font-weight: 650;
  white-space: nowrap;
}

.project-tabs button.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brand-accent);
  content: "";
}

.project-showcase-card {
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-card);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.project-showcase-card > img {
  display: block;
  width: 100%;
  height: 135px;
  object-fit: fill;
}

.project-showcase-card > div {
  min-height: 149px;
  padding: 9px 11px 10px;
}

.project-showcase-card h3 {
  margin: 0 0 2px;
  font-size: 11px;
}

.project-showcase-card p,
.developer-line {
  display: block;
  margin: 0;
  color: var(--text-secondary);
  font-size: 8px;
}

.developer-line {
  margin-top: 5px;
}

.project-showcase-card > div > strong {
  display: block;
  margin-top: 7px;
  color: var(--brand-accent);
  font-size: 12px;
}

.project-specs {
  display: flex;
  gap: 18px;
  margin-top: 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 7.5px;
}

.project-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.project-specs svg {
  width: 13px;
  height: 13px;
}

.project-showcase-card > div > small {
  display: block;
  margin-top: 9px;
  color: var(--text-secondary);
  font-size: 7.5px;
}

@media (hover: hover) {
  .project-showcase-card:hover {
    box-shadow: 0 10px 24px var(--shadow-color);
    transform: translateY(-2px);
  }
}

.developers-section {
  margin-top: 20px;
}

.developers-section .section-heading {
  min-height: 19px;
  margin-bottom: 7px;
}

.developer-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 66px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
}

.developer-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1;
}

.developer-card:nth-child(2) strong,
.developer-card.central strong {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.developer-card small {
  margin-top: 7px;
  color: var(--text-secondary);
  font-size: 7.5px;
  font-weight: 600;
}

.developer-card.central strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.developer-card.central i {
  width: 13px;
  height: 13px;
  background: var(--brand-accent);
  border: 3px solid var(--yellow);
  border-radius: 50%;
}

.projects-market {
  margin-top: var(--section-space);
}

.projects-market > .section-heading {
  margin-bottom: 9px;
}

.market-metrics article,
.market-details article {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
}

.market-metrics article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 120px;
  padding: 16px 18px 18px;
}

.market-metrics h3,
.market-details h3 {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
}

.market-metrics strong,
.market-metrics p,
.market-metrics small {
  display: block;
  margin: 0;
  font-size: 8px;
}

.market-metrics strong {
  margin-top: 14px;
  padding-right: 48px;
  line-height: 1.2;
}

.market-metrics strong em {
  color: var(--brand-accent);
  font-size: 16px;
  font-style: normal;
  font-weight: 780;
}

.market-metrics p {
  margin-top: 6px;
  color: var(--text-secondary);
}

.market-metrics small {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 7px;
  font-weight: 650;
}

.metric-icon {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  color: var(--brand-accent);
  opacity: 0.9;
}

.mini-line {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: auto;
  width: 72px;
  height: 28px;
  color: var(--brand-accent);
}

.mini-line polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.donut {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  background: conic-gradient(var(--brand-accent) 0 25%, var(--brand-primary) 25% 63%, var(--gray-200) 63% 100%);
  border-radius: 50%;
}

.donut::after {
  position: absolute;
  inset: 9px;
  background: var(--surface);
  border-radius: 50%;
  content: "";
}

.market-details {
  margin-top: 0;
}

.market-details article {
  height: 167px;
  min-height: 165px;
}

.localities-panel {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
}

.localities-panel-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.localities-panel ol {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.localities-panel li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 28px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 7.8px;
}

.localities-panel li::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--navy-700);
  border-radius: 50%;
  content: "";
}

.localities-panel li span {
  flex: 1;
}

.localities-panel li b {
  font-weight: 600;
  color: var(--text-primary);
}

.localities-panel a {
  margin-top: auto;
  padding-top: 16px;
}

.localities-panel img {
  align-self: center;
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.new-projects-panel {
  display: flex;
  flex-direction: column;
  padding: 18px 0 10px;
}

.new-projects-panel > h3 {
  padding: 0 22px 10px;
}

.new-project-row {
  display: grid;
  grid-template-columns: 44px 72px minmax(0, 1fr) minmax(110px, auto) 16px;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 22px;
  border-top: 1px solid var(--border);
  cursor: pointer;
  transition: background-color 140ms ease;
}

.new-project-row:hover {
  background: #f8fafc;
}

.new-project-row > span:not(.new-project-row-icon) {
  display: grid;
  place-items: center;
  height: 24px;
  padding: 0 8px;
  color: var(--white);
  background: var(--brand-accent);
  border-radius: var(--btn-radius);
  font-size: 7px;
  font-weight: 700;
}

.new-project-row > img {
  width: 72px;
  height: 42px;
  object-fit: cover;
  border-radius: var(--btn-radius);
}

.new-project-row > div,
.new-project-row > div strong,
.new-project-row > div small,
.new-project-row > b,
.new-project-row > b small {
  display: block;
  min-width: 0;
}

.new-project-row > div strong {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.new-project-row > div small,
.new-project-row > b small {
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 7px;
  font-weight: 500;
}

.new-project-row > b {
  color: var(--brand-accent);
  font-size: 8.5px;
  text-align: right;
}

.new-project-row > i {
  color: var(--brand-primary);
  font-size: 18px;
  font-style: normal;
  opacity: 0.55;
}

.projects-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 28px;
  height: auto;
  min-height: 40px;
}

.projects-pagination a,
.projects-pagination span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 26px;
  border-radius: var(--btn-radius);
  font-size: 8px;
  font-weight: 700;
}

.projects-pagination a:hover {
  background: #f2f5fa;
}

.projects-pagination a.active {
  color: var(--white);
  background: var(--brand-primary);
}

.footer-column a.footer-active {
  color: var(--brand-accent);
  font-weight: 700;
}

.projects-footer {
  border-right: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: 8px 8px 0 0;
}

.projects-footer .footer-main {
  min-height: 112px;
}

.projects-footer .footer-main-shell {
  padding-top: 15px;
  padding-bottom: 9px;
}

@media (max-width: 1100px) {
  .projects-benefits {
    width: min(520px, 100%);
    gap: 12px;
  }
}

@media (max-width: 980px) {
  .projects-hero {
    height: 330px;
  }

  .projects-hero-photo {
    width: 52vw;
    height: 330px;
  }

  .projects-hero-copy {
    width: 100%;
    max-width: 50%;
  }

  .projects-summary {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
  }

  .projects-benefits {
    grid-template-columns: repeat(2, 1fr);
    width: min(310px, 100%);
    gap: 10px 16px;
    margin-top: 20px;
  }

  .projects-search {
    margin-top: -24px;
  }

  .project-showcase-card > img {
    height: 170px;
  }

  .market-metrics article {
    min-height: 112px;
  }
}

@media (max-width: 720px) {
  .projects-hero {
    height: 430px;
  }

  .projects-hero-photo {
    width: 78vw;
    height: 430px;
    opacity: 0.42;
  }

  .projects-hero-copy {
    width: 100%;
    max-width: 100%;
    padding-top: 28px;
  }

  .projects-hero-copy h1 {
    max-width: 310px;
    font-size: 35px;
  }

  .projects-hero-copy > p {
    max-width: 330px;
    font-size: 10.5px;
  }

  .projects-hero-copy > p br {
    display: none;
  }

  .projects-benefits {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 350px;
    margin-top: 24px;
  }

  .projects-benefits strong {
    font-size: 8px;
  }

  .projects-benefits small {
    font-size: 7px;
  }

  .projects-summary {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    min-height: 0;
    padding: 20px;
  }

  .projects-summary > svg {
    float: none;
    margin: 0 0 10px;
  }

  .projects-summary h2 {
    margin-bottom: 6px;
    line-height: 1.35;
  }

  .projects-summary > a {
    position: static;
    margin-top: 12px;
  }

  .projects-search {
    margin-top: 20px;
  }

  .projects-search-field {
    min-height: 54px;
  }

  .show-projects-button {
    min-height: 54px;
  }

  .section-heading h2 {
    font-size: 16px;
  }

  .section-heading a {
    font-size: 0;
  }

  .section-heading a svg {
    width: 18px;
    height: 18px;
  }

  .project-tabs {
    gap: 21px;
    overflow-x: auto;
  }

  .project-showcase-card > img {
    height: 205px;
  }

  .developer-card strong {
    font-size: 16px;
  }

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

  .market-details article {
    height: auto;
  }

  .localities-panel img {
    max-height: 170px;
    margin-top: 6px;
  }

  .new-project-row {
    grid-template-columns: 36px 62px minmax(0, 1fr) 12px;
  }

  .new-project-row > img {
    width: 62px;
  }

  .new-project-row > b {
    display: none;
  }
}

/* Contact, legal and help pages */
.inner-page-width,
.content-page .header-inner {
  width: min(1450px, calc(100% - 80px));
  margin-inline: auto;
}

.content-page .brand {
  flex-basis: 200px;
}

.content-page .brand img {
  width: 42px;
}

.content-page .primary-nav {
  gap: 31px;
}

.content-page .header-actions {
  gap: 18px;
}

.content-page .primary-button {
  background: var(--brand-accent);
}

.inner-header { height: 64px; }
.inner-header .primary-nav a.active::after { bottom: 0; background: var(--brand-accent); }

.contact-hero {
  position: relative;
  height: 258px;
  overflow: hidden;
}

.contact-hero > img {
  position: absolute;
  top: 0;
  right: 0;
  width: 589px;
  height: 258px;
  object-fit: cover;
}

.contact-hero-copy { position: relative; z-index: 1; width: 100%; max-width: 50%; padding-top: 39px; }
.contact-hero-copy > span { color: var(--brand-accent); font-size: 10px; font-weight: 800; }
.contact-hero-copy h1 { margin: 12px 0 9px; font-size: 44px; line-height: 1; }
.contact-hero-copy p { margin: 0; font-size: 12px; line-height: 1.75; }

.contact-panels { height: 350px; margin-top: -40px; }
.contact-form,
.person-card,
.contact-office,
.contact-faq { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
/* Legacy contact-info-panel row styles removed - layout lives in pages.css */

.contact-form { height: 350px; padding: 18px 20px; }
.contact-form > p { margin: 3px 0 14px; color: var(--text-secondary); font-size: 9px; }
.contact-form .row { --bs-gutter-y: 10px; }
.contact-form label:not(.contact-consent) { position: relative; display: block; }
.contact-form label:not(.contact-consent) > span { position: absolute; z-index: 1; top: 11px; left: 13px; color: var(--text-secondary); font-size: 9px; pointer-events: none; }
.contact-form label:has(select) > span { display: none; }
.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea { width: 100%; color: var(--text-primary); background: var(--surface); border: 1px solid var(--border); border-radius: 5px; font: inherit; }
.contact-form input:not([type="checkbox"]), .contact-form select { height: 36px; padding: 0 12px; }
.contact-form textarea { height: 88px; padding: 31px 12px 8px; resize: vertical; }
.contact-consent { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-size: 8.5px; }
.contact-consent input { width: 13px; height: 13px; }
.contact-consent a { color: var(--brand-accent); }
.contact-form button { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; height: 37px; color: var(--white); background: var(--brand-primary); border: 0; border-radius: var(--btn-radius); font-weight: 700; }
.contact-form button svg { width: 17px; height: 17px; }

.contact-people { margin-top: 14px; }
.contact-people > .row { --bs-gutter-y: 0; margin-top: 8px; }
.person-card { height: 230px; padding: 12px 18px; }
.person-card header { display: flex; gap: 13px; min-height: 56px; }
.person-card header i { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; background: var(--gray-100); border-radius: 50%; }
.person-card header svg { width: 29px; height: 29px; }
.person-card h3 { margin: 1px 0 2px; font-size: 11px; }
.person-card p { margin: 0; color: var(--text-secondary); font-size: 8.5px; line-height: 1.5; }
.person { display: flex; align-items: center; gap: 12px; height: 55px; }
.person img { width: 43px; height: 43px; border-radius: 50%; }
.person strong, .person small { display: block; }
.person strong { font-size: 10px; }
.person small { margin-top: 2px; color: var(--text-secondary); font-size: 8px; }
.person-card > a:not(.person-button) { display: flex; align-items: center; gap: 10px; height: 24px; color: var(--text-secondary); font-size: 9px; }
.person-card > a svg { width: 13px; height: 13px; color: var(--navy-800); }
.person-button { display: flex; align-items: center; justify-content: center; gap: 120px; height: 34px; margin-top: 4px; border: 1px solid var(--navy-800); border-radius: var(--btn-radius); font-size: 9px; font-weight: 700; }

.contact-office { display: grid; grid-template-columns: 300px 1fr; height: 194px; margin-top: 10px; overflow: hidden; }
.contact-office > div { padding: 15px 19px; }
.contact-office p { display: flex; gap: 11px; margin: 8px 0 6px; font-size: 9px; }
.contact-office p svg { width: 21px; height: 21px; color: var(--brand-accent); }
.contact-office small { color: var(--text-secondary); font-size: 8px; line-height: 1.5; }
.contact-office a { display: flex; align-items: center; justify-content: center; gap: 30px; width: 168px; height: 35px; margin-top: 9px; color: var(--brand-accent); border: 1px solid var(--brand-accent); border-radius: 5px; font-size: 9px; font-weight: 700; }
.contact-office a svg { width: 15px; height: 15px; }
.contact-office > img { width: 100%; height: 194px; object-fit: cover; }

.contact-faq { height: 103px; margin-top: 10px; padding: 10px 18px; }
.contact-faq header { display: flex; align-items: center; justify-content: space-between; }
.contact-faq header a { display: flex; gap: 8px; color: var(--brand-accent); font-size: 8px; }
.contact-faq header svg { width: 14px; height: 14px; }
.contact-faq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 7px; }
.contact-faq details { min-height: 51px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 5px; font-size: 8px; }
.contact-faq summary { font-weight: 700; cursor: pointer; }
.contact-faq details p { margin: 8px 0 0; color: var(--text-secondary); }

.contact-cta { position: relative; display: grid; grid-template-columns: 92px 1fr 117px 122px 175px; align-items: center; height: 90px; margin-top: 10px; overflow: hidden; color: var(--white); background: var(--brand-primary); border-radius: 8px; }
.contact-cta > i { display: grid; place-items: center; width: 62px; height: 62px; margin-left: 23px; color: var(--brand-accent); background: var(--white); border-radius: 50%; }
.contact-cta > i svg { width: 37px; height: 37px; }
.contact-cta h2 { margin: 0; color: var(--white); font-size: 18px; }
.contact-cta p { margin: 3px 0 0; font-size: 8.5px; }
.contact-cta > a { position: relative; z-index: 2; display: grid; place-items: center; height: 40px; margin-right: 12px; color: var(--brand-accent); background: var(--white); border-radius: 5px; font-size: 9px; font-weight: 700; }
.contact-cta > a.accent { color: var(--white); background: var(--brand-accent); border: 1px solid var(--white); }
.contact-cta > img { width: 175px; height: 90px; object-fit: cover; }

.content-footer { height: 164px; margin-top: 6px; overflow: hidden; }
.content-footer .footer-main-shell { padding-top: 12px; padding-bottom: 5px; }
.content-footer .footer-main { min-height: 114px; }
.content-footer .footer-about { grid-template-columns: 68px 1fr; }
.content-footer .footer-about > img { width: 42px; }
.content-footer .footer-about p { font-size: 7px; }
.content-footer .socials { gap: 10px; margin-top: 7px; }
.content-footer .socials a { width: 16px; height: 16px; font-size: 0; }
.content-footer .socials a svg { width: 8px; height: 8px; }
.content-footer .footer-column { gap: 2px; }
.content-footer .footer-column h2 { margin-bottom: 4px; font-size: 9px; }
.content-footer .footer-column a, .content-footer .footer-column p { font-size: 7px; }
.content-footer .footer-bottom { min-height: 32px; font-size: 6.5px; }

/* Legal pages */
.legal-header { height: 70px; }
.legal-page .brand img { width: 42px; }
.legal-shell { padding-top: 27px; }
.legal-breadcrumb { display: flex; align-items: center; gap: 12px; height: 20px; font-size: 9px; }
.legal-breadcrumb svg { width: 18px; height: 18px; }
.legal-intro h1 { margin: 24px 0 12px; font-size: 40px; line-height: 1; }
.legal-updated { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 10px; }
.legal-updated svg { width: 18px; height: 18px; }
.legal-intro > p:last-child { margin: 21px 0 0; font-size: 10px; line-height: 1.6; }
.legal-layout { --bs-gutter-y: 0; margin-top: 22px; }
.legal-side, .legal-article, .privacy-nav, .privacy-cookie { border: 1px solid var(--border); border-radius: 7px; }
.legal-side { height: 644px; padding: 22px 13px; }
.legal-side h2 { margin: 0 10px 16px; font-size: 14px; }
.legal-side ol { display: grid; gap: 14px; margin: 0 8px; padding: 0; list-style: none; }
.legal-side li a { display: flex; align-items: center; gap: 11px; font-size: 9px; font-weight: 650; }
.legal-side li b { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; color: var(--white); background: var(--brand-primary); border-radius: 50%; }
.legal-download { display: grid; grid-template-columns: 38px 1fr; gap: 9px; margin-top: 34px; padding: 17px 18px; background: var(--gray-25); border: 1px solid var(--border); border-radius: 7px; }
.legal-download > svg { width: 32px; height: 32px; }
.legal-download strong { font-size: 10px; }
.legal-download p { margin: 5px 0 0; color: var(--text-secondary); font-size: 8px; line-height: 1.6; }
.legal-download a { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 12px; height: 41px; margin-top: 8px; color: var(--brand-accent); border: 1px solid var(--brand-accent); border-radius: var(--btn-radius); font-size: 9px; font-weight: 700; }
.legal-download a svg { width: 17px; height: 17px; }
.legal-consent { display: flex; gap: 12px; margin: 20px 6px 0; padding-top: 20px; color: var(--text-secondary); border-top: 1px solid var(--border); font-size: 7.5px; }
.legal-consent svg { flex: 0 0 auto; width: 29px; height: 29px; }
.legal-article { min-height: 851px; padding: 7px 25px; }
.legal-article section { padding: 13px 0 17px; border-bottom: 1px solid var(--border); scroll-margin-top: 80px; }
.legal-article section:last-child { border-bottom: 0; }
.legal-article h2 { display: flex; align-items: center; gap: 13px; margin: 0 0 8px; font-size: 18px; }
.terms-article h2 b { display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; color: var(--white); background: var(--brand-primary); border-radius: 50%; font-size: 11px; }
.legal-article p, .legal-article li { margin: 0; font-size: 9px; line-height: 1.6; }
.legal-help { display: grid; grid-template-columns: 70px 1fr 54px 165px 160px; align-items: center; height: 95px; margin-top: 10px; padding: 0 27px; border: 1px solid var(--border); border-radius: 7px; }
.legal-help > i { display: grid; place-items: center; width: 55px; height: 55px; background: var(--gray-100); border-radius: 50%; }
.legal-help > i svg { width: 33px; height: 33px; }
.legal-help h2 { margin: 0; font-size: 15px; }
.legal-help p { margin: 6px 0 0; font-size: 8px; }
.legal-help strong, .legal-help span { display: block; }
.legal-help strong { font-size: 14px; }
.legal-help span { color: var(--text-secondary); font-size: 8px; }
.legal-help > a { display: flex; align-items: center; justify-content: center; gap: 13px; height: 42px; color: var(--brand-accent); border: 1px solid var(--brand-accent); border-radius: var(--btn-radius); font-size: 9px; font-weight: 700; }
.legal-help > a svg { width: 18px; height: 18px; }
.legal-footer { height: 229px; margin-top: 20px; overflow: hidden; }
.legal-footer .footer-main-shell { padding-top: 25px; }
.legal-footer .footer-main { min-height: 169px; }

.privacy-page .legal-header { height: 64px; }
.privacy-page .legal-shell { padding-top: 25px; }
.privacy-intro h1 { margin-top: 20px; }
.privacy-intro > p { margin: 11px 0 0; font-size: 10px; line-height: 1.5; }
.privacy-intro .legal-updated { margin-top: 14px; }
.privacy-layout { margin-top: 21px; }
.privacy-nav { overflow: hidden; }
.privacy-nav h2 { margin: 0; padding: 18px; font-size: 12px; }
.privacy-nav a { display: block; min-height: 36px; padding: 11px 18px; font-size: 8.5px; }
.privacy-nav a.active { color: var(--white); background: var(--brand-primary); font-weight: 700; }
.privacy-cookie { display: grid; grid-template-columns: 37px 1fr; gap: 10px; margin-top: 15px; padding: 17px; }
.privacy-cookie > svg { width: 31px; height: 31px; }
.privacy-cookie strong { font-size: 9px; }
.privacy-cookie p { margin: 5px 0 0; color: var(--text-secondary); font-size: 8px; line-height: 1.5; }
.privacy-cookie a { grid-column: 1 / -1; display: flex; justify-content: center; gap: 18px; height: 40px; padding-top: 13px; border: 1px solid var(--border-strong); border-radius: var(--btn-radius); font-size: 8px; font-weight: 700; }
.privacy-cookie a svg { width: 14px; height: 14px; color: var(--brand-accent); }
.privacy-article { min-height: 1028px; padding: 9px 22px; }
.privacy-article section { padding: 12px 0 14px; }
.privacy-article h2 { display: block; margin-bottom: 5px; font-size: 16px; }
.privacy-article ul { margin: 5px 0 0; padding-left: 17px; }
.privacy-article li::marker { color: var(--brand-accent); }
.privacy-more { display: flex; gap: 7px; margin-top: 7px; color: var(--brand-accent); font-size: 8px; font-weight: 700; }
.privacy-more svg { width: 13px; height: 13px; }
.privacy-contact { display: grid; grid-template-columns: 1fr 1fr; margin: 7px 0 8px; padding: 9px 15px; border: 1px solid var(--border); border-radius: 6px; }
.privacy-contact > div + div { padding-left: 25px; border-left: 1px solid var(--border); }
.privacy-contact strong { font-size: 13px; }
.privacy-contact a { display: flex; align-items: center; gap: 9px; min-height: 21px; font-size: 8px; }
.privacy-contact a svg { width: 13px; height: 13px; }
.privacy-footer { height: 192px; margin-top: 0; }
.privacy-footer .footer-main-shell { padding-top: 17px; }
.privacy-footer .footer-main { min-height: 139px; }

/* Help page */
.help-header { height: 68px; }
.help-page .primary-button { background: var(--brand-primary); }
.help-hero { position: relative; height: 302px; overflow: hidden; }
.help-hero > img { position: absolute; top: 0; right: 0; width: 555px; height: 302px; object-fit: cover; }
.help-hero-copy { position: relative; z-index: 1; width: 100%; max-width: 50%; padding-top: 26px; }
.help-hero-copy > span { font-size: 9px; font-weight: 700; }
.help-hero-copy h1 { margin: 29px 0 11px; font-size: 57px; line-height: 1; }
.help-hero-copy > p { margin: 0; font-size: 14px; line-height: 1.6; }
.help-search { display: grid; grid-template-columns: 42px 1fr 122px; align-items: center; width: 650px; height: 57px; margin-top: 21px; padding: 7px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 5px 12px var(--shadow-color); }
.help-search > svg { width: 24px; height: 24px; margin-left: 10px; }
.help-search label span { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.help-search input { width: 100%; border: 0; outline: 0; font-size: 13px; }
.help-search button { height: 43px; color: var(--white); background: var(--brand-primary); border: 0; border-radius: var(--btn-radius); font-weight: 700; }
.help-categories { height: 227px; margin-top: -4px; }
.help-categories .row { --bs-gutter-y: 0; }
.help-categories article { height: 227px; padding: 20px 13px; text-align: center; border: 1px solid var(--border); border-radius: 8px; }
.help-categories article > svg { width: 49px; height: 49px; margin: 0 auto 12px; color: var(--navy-800); }
.help-categories h2 { margin: 0; font-size: 14px; }
.help-categories p { min-height: 69px; margin: 10px 0 0; font-size: 8.5px; line-height: 1.6; }
.help-categories a { display: flex; align-items: center; justify-content: center; gap: 15px; color: var(--brand-accent); font-size: 8px; font-weight: 700; }
.help-categories a svg { width: 14px; height: 14px; }
.help-faq { margin-top: 19px; }
.help-faq > h2, .help-guides > h2 { margin: 0; font-size: 20px; }
.help-faq > div { height: 267px; margin-top: 9px; padding: 6px 17px; border: 1px solid var(--border); border-radius: 8px; }
.help-faq details { border-bottom: 1px solid var(--border); }
.help-faq summary { min-height: 37px; padding: 12px 0; font-size: 8.5px; font-weight: 700; cursor: pointer; }
.help-faq details p { margin: 0 0 10px; color: var(--text-secondary); font-size: 8px; }
.help-faq button { display: block; height: 30px; margin: 10px auto 0; padding: 0 19px; color: var(--brand-accent); background: var(--surface); border: 1px solid var(--brand-accent); border-radius: var(--btn-radius); font-size: 8px; font-weight: 700; }
.help-guides { margin-top: 14px; }
.help-guides > .row { --bs-gutter-y: 0; margin-top: 8px; }
.help-guides article { height: 235px; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; }
.help-guides article > div { position: relative; height: 124px; }
.help-guides img { width: 100%; height: 124px; object-fit: cover; }
.help-guides article > div svg { position: absolute; top: 44px; left: calc(50% - 18px); width: 36px; height: 36px; color: var(--white); fill: var(--brand-primary); }
.help-guides article > div span { position: absolute; bottom: 4px; left: 5px; padding: 2px 6px; color: var(--white); background: var(--brand-primary); border-radius: 4px; font-size: 8px; }
.help-guides h3 { margin: 9px 10px 4px; font-size: 10px; }
.help-guides p { min-height: 43px; margin: 0 10px; font-size: 8px; line-height: 1.5; }
.help-guides article > a { display: flex; gap: 9px; margin: 5px 10px 0; color: var(--brand-accent); font-size: 8px; font-weight: 700; }
.help-guides article > a svg { width: 13px; height: 13px; }
.help-support { display: grid; grid-template-columns: 115px 1fr 205px 190px; align-items: center; height: 103px; margin-top: 20px; padding: 0 29px; border: 1px solid var(--navy-800); border-radius: 8px; }
.help-support > i { position: relative; display: grid; place-items: center; width: 76px; height: 76px; color: var(--white); background: var(--brand-primary); border-radius: 50%; }
.help-support > i::after { position: absolute; right: 4px; bottom: 4px; width: 12px; height: 12px; background: var(--brand-accent); border-radius: 50%; content: ""; }
.help-support > i svg { width: 42px; height: 42px; }
.help-support h2 { margin: 0; font-size: 17px; }
.help-support p { margin: 5px 0 0; font-size: 9px; }
.help-support > a { display: flex; align-items: center; justify-content: center; gap: 15px; height: 43px; margin-left: 16px; border: 1px solid var(--navy-800); border-radius: var(--btn-radius); font-size: 9px; font-weight: 700; }
.help-support > a svg { width: 18px; height: 18px; }
.help-support > a.accent { color: var(--white); background: var(--brand-accent); border-color: var(--brand-accent); }
.help-footer { height: 161px; margin-top: 14px; }

@media (max-width: 980px) {
  .inner-page-width, .content-page .header-inner { width: min(100% - 32px, 920px); }
  .content-page .brand { flex-basis: auto; }
  .contact-hero > img, .help-hero > img { width: 70vw; opacity: 0.35; }
  .contact-panels, .contact-form { height: auto; }
  .contact-panels { margin-top: 0; }
  .contact-form { min-height: 350px; }
  .contact-people > .row { --bs-gutter-y: 16px; }
  .contact-office { grid-template-columns: 1fr; height: auto; }
  .contact-office > img { height: 220px; }
  .contact-faq, .contact-cta, .content-footer, .legal-footer, .privacy-footer, .help-footer { height: auto; overflow: visible; }
  .contact-faq-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cta { grid-template-columns: 70px 1fr 120px; min-height: 100px; }
  .contact-cta > img, .contact-cta > a:not(.accent) { display: none; }
  .legal-layout { --bs-gutter-y: 24px; }
  .legal-side, .legal-article, .privacy-article { height: auto; min-height: 0; }
  .legal-help { grid-template-columns: 60px 1fr 150px; }
  .legal-help > i:nth-of-type(2), .legal-help > div:last-of-type { display: none; }
  .help-search { width: min(650px, 100%); }
  .help-categories { height: auto; }
  .help-categories .row { --bs-gutter-y: 16px; }
  .help-guides > .row { --bs-gutter-y: 16px; }
  .help-support { grid-template-columns: 75px 1fr 190px; }
  .help-support > a:first-of-type { display: none; }
}

@media (max-width: 720px) {
  .inner-header, .legal-header, .privacy-page .legal-header, .help-header { height: 62px; }
  .content-page .brand img { width: 40px; }
  .contact-hero { height: 330px; }
  .contact-hero > img { width: 100vw; height: 330px; opacity: 0.25; }
  .contact-hero-copy p br { display: none; }
  .contact-form { padding-inline: 14px; }
  .person-card { height: 235px; }
  .contact-faq { padding-bottom: 14px; }
  .contact-faq-grid { grid-template-columns: 1fr; }
  .contact-cta { grid-template-columns: 55px 1fr; padding: 15px; }
  .contact-cta > i { width: 48px; height: 48px; margin-left: 0; }
  .contact-cta > a.accent { grid-column: 1 / -1; margin-top: 10px; }
  .legal-intro h1 { font-size: 33px; }
  .legal-intro br { display: none; }
  .legal-help { grid-template-columns: 55px 1fr; height: auto; padding: 15px; }
  .legal-help > a { grid-column: 1 / -1; margin-top: 10px; }
  .privacy-contact { grid-template-columns: 1fr; }
  .privacy-contact > div + div { margin-top: 10px; padding: 10px 0 0; border-top: 1px solid var(--border); border-left: 0; }
  .help-hero { height: 380px; }
  .help-hero > img { width: 100vw; height: 380px; opacity: 0.25; }
  .help-hero-copy h1 { font-size: 45px; }
  .help-search { grid-template-columns: 38px 1fr; height: auto; }
  .help-search button { grid-column: 1 / -1; margin-top: 7px; }
  .help-support { grid-template-columns: 60px 1fr; height: auto; padding: 16px; }
  .help-support > a.accent { grid-column: 1 / -1; margin: 12px 0 0; }
}

/* Responsive design overhaul - optimized for 1440px laptops */
:root {
  --content-max: 1600px;
  --content-gutter: 64px;
}

body {
  min-width: 0;
  font-size: 16px;
  line-height: 1.55;
}

.page-width,
.header-inner,
.hero-inner,
.inner-page-width,
.content-page .header-inner,
.about-page .page-width,
.about-page .header-inner,
.developers-page .page-width,
.developers-page .header-inner {
  width: min(var(--content-max), calc(100% - var(--content-gutter)));
}

.site-header,
.about-page .site-header,
.developers-page .site-header,
.inner-header,
.legal-header,
.privacy-page .legal-header,
.help-header {
  height: 80px;
}

.brand,
.about-page .brand,
.content-page .brand {
  flex-basis: 190px;
}

.brand img,
.about-page .brand img,
.content-page .brand img,
.legal-page .brand img {
  width: 42px;
}

.primary-nav,
.about-page .primary-nav,
.content-page .primary-nav {
  gap: 32px;
}

.primary-nav a {
  font-size: 14px;
}

.header-actions,
.about-page .header-actions,
.content-page .header-actions {
  gap: 22px;
}

.icon-link {
  gap: 8px;
  font-size: 14px;
}

.icon-link svg {
  width: 22px;
  height: 22px;
}

.primary-button,
.about-page .primary-button,
.content-page .primary-button {
  min-width: 142px;
  height: 46px;
  padding-inline: 22px;
  border-radius: var(--btn-radius);
  font-size: 14px;
}

.site-footer,
.projects-footer,
.developers-footer,
.about-page .about-footer,
.content-footer,
.legal-footer,
.privacy-footer,
.help-footer {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.footer-main-shell,
.projects-footer .footer-main-shell,
.developers-footer .footer-main-shell,
.about-footer .footer-main-shell,
.content-footer .footer-main-shell,
.legal-footer .footer-main-shell,
.privacy-footer .footer-main-shell {
  padding-top: 36px;
  padding-bottom: 30px;
}

.footer-main,
.projects-footer .footer-main,
.developers-footer .footer-main,
.about-footer .footer-main,
.content-footer .footer-main,
.legal-footer .footer-main,
.privacy-footer .footer-main {
  min-height: 0;
}

.footer-about,
.about-footer .footer-about,
.content-footer .footer-about {
  grid-template-columns: 84px 1fr;
  column-gap: 18px;
}

.footer-about > img,
.about-footer .footer-about > img,
.content-footer .footer-about > img {
  width: 48px;
}

.footer-about p,
.about-footer .footer-about p,
.content-footer .footer-about p {
  max-width: 330px;
  font-size: 13px;
  line-height: 1.65;
}

.socials,
.about-footer .socials,
.content-footer .socials {
  gap: 12px;
  margin-top: 20px;
}

.socials a,
.about-footer .socials a,
.content-footer .socials a {
  width: 36px;
  height: 36px;
  font-size: 0;
}

.socials a svg,
.about-footer .socials a svg,
.content-footer .socials a svg {
  width: 16px;
  height: 16px;
}

.footer-column,
.about-footer .footer-column,
.content-footer .footer-column {
  gap: 8px;
}

.footer-column h2,
.about-footer .footer-column h2,
.content-footer .footer-column h2 {
  margin-bottom: 8px;
  font-size: 16px;
}

.footer-column a,
.footer-column p,
.about-footer .footer-column a,
.about-footer .footer-column p,
.content-footer .footer-column a,
.content-footer .footer-column p {
  font-size: 13px;
}

.contact svg {
  width: 16px;
  height: 16px;
}

.footer-bottom,
.about-footer .footer-bottom,
.content-footer .footer-bottom {
  min-height: 58px;
  font-size: 12px;
}

/* Prodej */
.hero {
  height: 310px;
}

.hero-copy {
  padding-top: 46px;
  max-width: 50%;
}

.hero h1 {
  margin-bottom: 14px;
  font-size: 52px;
}

.hero p {
  font-size: 17px;
}

.hero-image {
  width: min(62vw, 960px);
  height: 310px;
}

.search-area {
  margin-top: -58px;
}

.about-hero--home .search-area {
  margin-top: auto;
}

.property-tabs {
  height: auto;
  margin-bottom: 16px;
}

.property-tabs button {
  min-width: 96px;
  min-height: 42px;
  padding-inline: 22px;
  font-size: 14px;
}

.quick-search {
  min-height: 92px;
  padding: 0;
}

.quick-field {
  min-height: 66px;
  padding-inline: 18px;
}

.quick-field > svg {
  width: 25px;
  height: 25px;
}

.quick-field strong { font-size: 14px; }
.quick-field input, .quick-field select { font-size: 13px; }
.quick-dropdown > strong { font-size: 14px; }
.quick-dropdown-trigger { min-height: 24px; font-size: 13px; }
.quick-dropdown-trigger svg { width: 16px; height: 16px; }
.quick-dropdown-menu { min-width: 210px; padding: 10px; border-radius: 16px; }
.quick-dropdown-menu [role="option"] { min-height: 48px; padding-inline: 14px; font-size: 15px; }
.more-filters, .search-button { height: 48px; font-size: 14px; }
.more-filters { margin-left: 14px; margin-right: 20px; padding-inline: 8px; }
.search-button { margin-right: 20px; padding-inline: 24px; }
.catalog { margin-top: var(--section-space); }
.filters { display: flex; flex-direction: column; align-self: flex-start; width: 100%; min-height: 0; padding: 28px 24px; border-radius: 16px; background: var(--surface); box-shadow: 0 14px 36px rgba(6, 26, 63, 0.07); }
.filters-form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 100%; }
.filters-heading { margin-bottom: 10px; padding-bottom: 18px; }
.filters-heading h2, .catalog-toolbar h2 { font-size: 20px; }
.market-item h2 { font-size: 16px; }
.filters-heading button { padding: 8px 12px; font-size: 13px; }
.filter-block { margin: 0; padding: 22px 0; }
.filter-block h3 { margin-bottom: 14px; font-size: 16px; }
.filter-field > span:not(.visually-hidden) { font-size: 13px; }
.filter-field input, .filter-field select, .filter-block input[type="text"], .double-input input { height: 52px; padding-inline: 16px; border-radius: 12px; font-size: 16px; }
.double-input { gap: 10px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.double-input .filter-range-field { min-height: 52px; min-width: 0; padding-inline: 12px; border-radius: 12px; }
.double-input .filter-range-field > span { font-size: 14px; }
.double-input .filter-range-field input { width: 100%; min-width: 0; min-height: 50px; padding: 0 !important; font-size: 15px; }
.checkbox-row { gap: 14px; min-height: 40px; margin-top: 14px; font-size: 16px; }
.checkbox-row input, .filter-chip input { width: 22px; height: 22px; }
.range-meta, .range-copy { margin-top: 16px; font-size: 14px; }
.range { height: 26px; margin-top: 12px; }
.range::before, .range span { right: auto; left: 0; height: 7px; }
.range span { width: 100%; }
.range span::before, .range span::after { width: 22px; height: 22px; border-width: 2.5px; }
.range span::before { left: 0; }
.range span::after { left: 100%; }
.filter-chip { min-height: 52px; padding-inline: 16px; border-radius: var(--btn-radius); font-size: 16px; }
.filter-accordion summary { min-height: 56px; font-size: 17px; }
.filter-accordion summary svg { width: 20px; height: 20px; }
.filter-dropdown-trigger { min-height: 52px; padding-inline: 16px; font-size: 16px; border-radius: var(--btn-radius); }
.filter-dropdown-trigger svg { width: 18px; height: 18px; }
.show-results { height: 56px; margin-top: auto; flex-shrink: 0; border-radius: var(--btn-radius); font-size: 16px; color: #fff; background: var(--brand-primary); border: 0; }
.catalog-main { padding: 0 18px; border-radius: 14px; }
.sort-control, .view-switch button { font-size: 13px; }
.catalog-toolbar { height: 82px; }
.catalog-toolbar h2 { font-size: 24px; }
.sort-control .sort-dropdown { min-width: 200px; }
.sort-control .filter-dropdown-trigger { min-height: 42px; font-size: 13px; border-radius: var(--btn-radius); }
.view-switch button { min-height: 38px; height: auto; padding-inline: 16px; }
.property-grid { --bs-gutter-x: 20px; --bs-gutter-y: 20px; }
.property-card { border-radius: 14px; }
.property-card img { height: 220px; object-fit: cover; }
.property-badge { top: 14px; left: 14px; padding: 6px 12px; font-size: 12px; }
.property-fav { top: 12px; right: 12px; width: 40px; height: 40px; }
.property-fav svg { width: 18px; height: 18px; }
.property-body { padding: 18px; }
.property-body h3 { margin-bottom: 8px; font-size: 18px; }
.property-location, .specs, .meta { font-size: 13px; }
.price { margin: 16px 0 14px; font-size: 22px; }
.pagination { margin: 28px 0; height: auto; min-height: 40px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; font-size: 14px; }
.market-strip { min-height: 0; margin-top: 0; border-radius: 14px; box-shadow: 0 10px 28px rgba(6, 26, 63, 0.06); }
.market-item { padding: var(--panel-pad-y) var(--panel-pad-x); }
.market-item + .market-item::before { top: var(--panel-pad-y); bottom: var(--panel-pad-y); }
.market-item h2 { font-size: 16px; }
.market-price-content { margin-top: 16px; }
.market-price-content small { font-size: 13px; }
.market-price-content strong { font-size: 28px; }
.market-price-content strong em { font-size: 18px; }
.market-price-content span { font-size: 13px; }
.chart { width: 180px; height: 70px; }
.locations ol { margin: 16px 0; font-size: 14px; }
.locations li { padding: 5px 0; }
.market-item a { font-size: 13px; }
.tip-intro { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
.tip .bulb { width: 44px; height: 44px; min-width: 44px; min-height: 44px; max-width: 44px; max-height: 44px; }
.tip .bulb svg { width: 24px; height: 24px; stroke-width: 2; }
.tip p { margin: 0; font-size: 13px; line-height: 1.6; }
.market-item a,
.market-ranking-open { font-size: 13px; }

/* Pro developery */
.developer-hero {
  position: relative;
  height: auto;
  min-height: 610px;
  overflow: hidden;
}

.developer-hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  pointer-events: none;
}

.developer-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .96) 42%, rgba(255, 255, 255, .72) 68%, rgba(255, 255, 255, .28) 100%);
  content: "";
  pointer-events: none;
}

.developer-hero > .page-width,
.developer-hero > .container-fluid {
  position: relative;
  z-index: 2;
}

.developer-hero-row {
  height: auto;
  min-height: 610px;
  align-items: center;
}

.developer-pitch { padding-top: 40px; padding-bottom: 40px; }
.developer-eyebrow { height: 34px; padding-inline: 18px; font-size: 13px; }
.developer-pitch h1 { width: auto; max-width: 620px; margin: 26px 0 20px; font-size: 46px; line-height: 1.16; }
.developer-pitch > p { max-width: 620px; font-size: 16px; line-height: 1.7; }
.developer-actions { gap: 16px; margin-top: 26px; }
.developer-primary-cta, .developer-secondary-cta { height: 50px; padding-inline: 26px; font-size: 14px; }
.developer-mini-benefits { gap: 14px; margin-top: 32px; }
.developer-mini-benefits > div { height: 82px; padding: 14px; }
.developer-mini-benefits svg { width: 30px; height: 30px; }
.developer-mini-benefits span { font-size: 13px; }
.developer-mini-benefits small { font-size: 11px; }
.developer-dashboard { grid-template-columns: minmax(0, 1fr) 210px; height: auto; min-height: 560px; padding-block: 30px; }
.dashboard-projects { min-height: 300px; padding: 16px; }
.dashboard-projects h2, .performance-card h2, .dashboard-map h2, .monthly-leads h2, .lead-sources h2 { font-size: 13px; }
.dashboard-project-card h3 { font-size: 12px; }
.dashboard-project-card p, .dashboard-project-card span { font-size: 11px; }
.dashboard-project-card strong { font-size: 22px; }
.dashboard-project-card small { font-size: 11px; }
.performance-card, .dashboard-map { min-height: 220px; padding: 16px; }
.monthly-leads, .lead-sources { padding: 18px; }
.monthly-leads strong { font-size: 28px; }
.lead-sources li { font-size: 11px; }
.why-frs, .why-frs > div, .why-frs .row { min-height: 0; }
.why-frs { padding-block: 32px; }
.why-frs-title h2 { font-size: 28px; }
.why-frs-title p { font-size: 13px; }
.why-item { gap: 14px; }
.why-item svg { width: 30px; height: 30px; }
.why-item strong { font-size: 14px; }
.why-item small { max-width: 220px; font-size: 12px; }
.developer-services { padding-top: 38px !important; }
.developer-services > header h2 { font-size: 30px; }
.developer-services > header p { margin: 5px 0 18px; font-size: 14px; }
.service-grid article { height: 240px; padding: 18px; }
.service-grid article > img { height: 92px; }
.service-grid article > svg { width: 58px; height: 58px; margin: 16px auto 28px; }
.service-grid h3 { font-size: 16px; }
.service-grid p { font-size: 12px; }
.developer-kpis { margin-top: 18px; }
.developer-kpis article { min-height: 116px; padding: 25px 16px 16px 74px; }
.developer-kpis svg { top: 30px; left: 24px; width: 38px; height: 38px; }
.developer-kpis strong { font-size: 24px; }
.developer-kpis small { margin-top: 10px; font-size: 12px; }
.cooperation-process { min-height: 150px; margin-top: 24px; padding: 20px 24px; }
.cooperation-process > h2 { font-size: 24px; }
.process-step > b { width: 48px; height: 48px; font-size: 16px; }
.process-step strong { font-size: 14px; }
.process-step small { max-width: 270px; font-size: 12px; }
.case-study { min-height: 0; margin-top: 30px; }
.case-study-image { height: 300px; object-fit: cover; }
.case-study-copy > span { font-size: 13px; }
.case-study-copy h2 { font-size: 32px; }
.case-study-copy > p { font-size: 14px; }
.case-results > div { height: 86px; padding: 16px; }
.case-results strong { font-size: 22px; }
.case-results small { font-size: 11px; }
.case-study blockquote > p { font-size: 14px; }
.case-study blockquote footer strong { font-size: 13px; }
.case-study blockquote footer small { font-size: 11px; }
.trusted-developers { min-height: 0; margin-top: 34px; }
.trusted-developers h2 { font-size: 18px; }
.trusted-logos { min-height: 72px; }
.trusted-logos > * { font-size: 20px; }
.developer-final-cta { min-height: 92px; margin-top: 24px; }
.developer-final-cta h2 { font-size: 22px; }
.developer-final-cta p { font-size: 13px; }
.developer-final-cta > a { height: 46px; font-size: 13px; }

/* Novostavby */
.projects-hero { height: 500px; }
.projects-hero-photo { width: 56vw; height: 500px; }
.projects-hero-copy { padding-top: 60px; }
.projects-hero-copy h1 { font-size: 54px; }
.projects-hero-copy > p { max-width: 100%; font-size: 17px; }
.projects-benefits { width: min(720px, 100%); gap: 22px; margin-top: 0; }
.projects-benefits > div { gap: 12px; }
.projects-benefits svg { width: 30px; height: 30px; }
.projects-benefits strong { font-size: 13px; }
.projects-benefits small { font-size: 11px; }
.projects-summary { position: static; width: 270px; min-height: 240px; padding: 24px; }
.projects-summary h2 { font-size: 16px; }
.projects-summary > strong { font-size: 30px; }
.projects-summary > p, .projects-summary > a { font-size: 13px; }
.projects-search { margin-top: 24px; min-height: 0; padding: 18px !important; }
.projects-search-field { min-height: 62px; height: auto; padding: 12px 16px; }
.projects-search-field strong { font-size: 13px; }
.projects-search-field .quick-dropdown-trigger { font-size: 13px; }
.projects-search-actions .show-projects-button { min-height: 62px; font-size: 14px; }
.section-heading h2 { font-size: 28px; }
.section-heading a, .project-tabs button { font-size: 13px; }
.project-showcase-card > img { height: 260px; object-fit: cover; }
.project-showcase-card h3 { font-size: 18px; }
.project-showcase-card p, .project-showcase-card small, .project-showcase-card li { font-size: 12px; }
.project-showcase-card strong { font-size: 20px; }
.developer-card { min-height: 94px; }
.developer-card strong { font-size: 20px; }
.developer-card small { font-size: 12px; }
.market-metrics article { min-height: 158px; padding: 22px 22px 20px; border-radius: var(--btn-radius); }
.market-metrics h3, .market-details h3 { font-size: 14px; }
.market-metrics strong { margin-top: 18px; padding-right: 56px; font-size: 22px; }
.market-metrics strong em { font-size: 26px; }
.market-metrics p { margin-top: 8px; font-size: 13px; }
.market-metrics small { margin-top: 6px; font-size: 12px; }
.metric-icon { right: 20px; bottom: 20px; width: 36px; height: 36px; }
.mini-line { right: 18px; bottom: 16px; width: 88px; height: 32px; }
.donut { right: 20px; bottom: 20px; width: 42px; height: 42px; }
.market-details article { min-height: 280px; padding: 0; border-radius: var(--btn-radius); }
.localities-panel { padding: 24px; gap: 20px; }
.localities-panel li { min-height: 32px; margin-bottom: 10px; font-size: 13px; }
.new-projects-panel > h3 { padding: 22px 24px 12px; }
.new-project-row { min-height: 76px; gap: 14px; padding: 12px 24px; grid-template-columns: 48px 80px minmax(0, 1fr) minmax(130px, auto) 18px; }
.new-project-row > span { height: 28px; padding-inline: 10px; font-size: 11px; }
.new-project-row > img { width: 80px; height: 48px; }
.new-project-row > div strong,
.new-project-row > b { font-size: 14px; }
.new-project-row > div small,
.new-project-row > b small { font-size: 12px; }

/* O nas */
.about-page .page-width, .about-page .header-inner { width: min(var(--content-max), calc(100% - var(--content-gutter))); }
.about-breadcrumb { font-size: 13px; }
.about-hero-copy > span { font-size: 14px; }
.about-hero-copy h1 { margin: 14px 0 20px; text-wrap: balance; }
.about-hero-copy p { max-width: 100%; font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.about-values { padding-top: 42px; }
.about-values > h2, .about-origin h2, .about-timeline > h2, .about-help > h2, .about-partners > h2 { font-size: 28px; }
.about-value-grid { margin-top: 18px; }
.about-value-grid article { height: 250px; padding: 24px; }
.about-value-grid svg { width: 52px; height: 52px; }
.about-value-grid h3 { font-size: 17px; }
.about-value-grid p { font-size: 13px; }
.about-stat-grid { margin-top: 22px; }
.about-stat-grid article { height: 128px; padding: 20px 28px; }
.about-stat-grid svg { width: 56px; height: 56px; }
.about-stat-grid strong { font-size: 26px; }
.about-stat-grid b { font-size: 14px; }
.about-stat-grid small { font-size: 12px; }
.about-origin, .about-origin > .row { min-height: 0; }
.about-origin { margin-top: 44px; }
.about-origin-copy p { font-size: 14px; }
.about-origin-benefits { height: 270px; }
.about-origin-benefits > div { padding: 24px; }
.about-origin-benefits svg { width: 52px; height: 52px; }
.about-origin-benefits strong { font-size: 14px; }
.about-timeline { min-height: 0; margin-top: 42px; }
.timeline-track { min-height: 170px; margin-top: 18px; }
.timeline-track::before { top: 27px; }
.timeline-track i { width: 56px; height: 56px; }
.timeline-track strong { font-size: 16px; }
.timeline-track p { font-size: 12px; }
.about-help { margin-top: 42px; }
.about-help > .row { margin-top: 18px; }
.help-card { height: 250px; }
.help-copy { padding: 22px; }
.help-copy h3 { font-size: 22px; }
.help-copy li { font-size: 12px; }
.help-card > img, .help-card.developers > img { width: 42%; height: 250px; object-fit: cover; }
.about-partners { margin-top: 36px; }
.about-partner-logos { height: 92px; margin-top: 14px; }
.about-partner-logos > * { font-size: 22px; }
.about-cta { grid-template-columns: 80px 1fr 250px 200px 170px; height: 96px; margin-top: 28px; }
.about-cta h2 { font-size: 22px; }
.about-cta p { font-size: 13px; }
.about-cta > a { height: 48px; font-size: 13px; }
.about-cta > img { width: 170px; height: 96px; object-fit: cover; }

/* Kontakt */
.contact-hero { height: 400px; }
.contact-hero > img { width: 62vw; height: 400px; object-fit: cover; }
.contact-hero-copy { max-width: 50%; padding-top: 72px; }
.contact-hero-copy > span { font-size: 14px; }
.contact-hero-copy h1 { margin: 18px 0 16px; font-size: 58px; }
.contact-hero-copy p { font-size: 16px; }
.contact-panels { height: auto; margin-top: -64px; }
.contact-form { height: auto; min-height: 500px; padding: 28px; }
.contact-form h2, .contact-people h2, .contact-office h2, .contact-faq h2 { font-size: 26px; }
.contact-form > p { font-size: 13px; }
.contact-form label:not(.contact-consent) > span { top: 15px; font-size: 13px; }
.contact-form input:not([type="checkbox"]), .contact-form select { height: 52px; font-size: 14px; }
.contact-form textarea { height: 138px; padding-top: 42px; font-size: 14px; }
.contact-consent { margin-block: 16px; font-size: 13px; }
.contact-consent input { width: 18px; height: 18px; }
.contact-form button { height: 52px; font-size: 14px; }
.contact-people { margin-top: 36px; }
.contact-people > .row { margin-top: 16px; }
.person-card { height: auto; min-height: 330px; padding: 22px; }
.person-card header { min-height: 86px; }
.person-card header i { width: 58px; height: 58px; }
.person-card h3 { font-size: 17px; }
.person-card p { font-size: 13px; }
.person { height: 78px; }
.person img { width: 58px; height: 58px; }
.person strong { font-size: 15px; }
.person small { font-size: 12px; }
.person-card > a:not(.person-button) { height: 34px; font-size: 13px; }
.person-button { height: 46px; margin-top: 10px; gap: 100px; font-size: 14px; }
.contact-office { grid-template-columns: 420px 1fr; height: 290px; margin-top: 28px; }
.contact-office > div { padding: 28px; }
.contact-office p { font-size: 14px; }
.contact-office small { font-size: 12px; }
.contact-office a { width: 210px; height: 46px; font-size: 13px; }
.contact-office > img { height: 290px; object-fit: cover; }
.contact-faq { height: auto; min-height: 170px; margin-top: 28px; padding: 22px; }
.contact-faq header a { font-size: 13px; }
.contact-faq-grid { margin-top: 16px; }
.contact-faq details { min-height: 78px; padding: 16px; font-size: 13px; }
.contact-cta { grid-template-columns: 105px 1fr 160px 170px 210px; height: 132px; margin-top: 28px; }
.contact-cta h2 { font-size: 26px; }
.contact-cta p { font-size: 13px; }
.contact-cta > a { height: 50px; font-size: 14px; }
.contact-cta > img { width: 210px; height: 132px; object-fit: cover; }

/* Pravni stranky */
.legal-shell { padding-top: 44px; }
.legal-breadcrumb { height: 28px; font-size: 14px; }
.legal-intro h1 { margin: 36px 0 20px; font-size: 54px; }
.legal-updated { font-size: 14px; }
.legal-intro > p:last-child, .privacy-intro > p { font-size: 15px; }
.legal-layout { margin-top: 36px; }
.legal-side { height: auto; padding: 28px 20px; }
.legal-side h2 { font-size: 20px; }
.legal-side ol { gap: 17px; }
.legal-side li a { font-size: 14px; }
.legal-side li b { width: 30px; height: 30px; }
.legal-download { margin-top: 36px; padding: 22px; }
.legal-download strong { font-size: 15px; }
.legal-download p { font-size: 13px; }
.legal-download a { height: 48px; font-size: 14px; }
.legal-consent { font-size: 12px; }
.legal-article, .privacy-article { min-height: 0; padding: 14px 34px; }
.legal-article section, .privacy-article section { padding: 22px 0; }
.legal-article h2, .privacy-article h2 { margin-bottom: 12px; font-size: 25px; }
.terms-article h2 b { width: 34px; height: 34px; font-size: 14px; }
.legal-article p, .legal-article li { font-size: 15px; line-height: 1.7; }
.legal-help { grid-template-columns: 90px 1fr 70px 220px 200px; height: auto; min-height: 132px; margin-top: 28px; padding: 20px 34px; }
.legal-help h2 { font-size: 22px; }
.legal-help p, .legal-help span { font-size: 13px; }
.legal-help strong { font-size: 19px; }
.legal-help > a { height: 50px; font-size: 14px; }
.privacy-nav h2 { padding: 22px; font-size: 18px; }
.privacy-nav a { min-height: 50px; padding: 15px 22px; font-size: 13px; }
.privacy-cookie { padding: 22px; }
.privacy-cookie strong { font-size: 15px; }
.privacy-cookie p { font-size: 13px; }
.privacy-cookie a { height: 48px; padding-top: 14px; font-size: 13px; }
.privacy-more { font-size: 13px; }
.privacy-contact { padding: 18px 22px; }
.privacy-contact strong { font-size: 19px; }
.privacy-contact a { min-height: 30px; font-size: 13px; }

/* Napoveda */
.help-hero { height: 430px; }
.help-hero > img { width: 62vw; height: 430px; object-fit: cover; }
.help-hero-copy { max-width: 50%; padding-top: 42px; }
.help-hero-copy > span { font-size: 14px; }
.help-hero-copy h1 { margin: 42px 0 16px; font-size: 64px; }
.help-hero-copy > p { font-size: 18px; }
.help-search { grid-template-columns: 52px 1fr 150px; width: 760px; height: 70px; margin-top: 28px; padding: 9px; }
.help-search input { font-size: 16px; }
.help-search button { height: 52px; font-size: 15px; }
.help-categories { height: auto; margin-top: -8px; }
.help-categories article { height: auto; min-height: 330px; padding: 30px 20px; }
.help-categories article > svg { width: 62px; height: 62px; }
.help-categories h2 { font-size: 19px; }
.help-categories p { min-height: 108px; font-size: 13px; }
.help-categories a { font-size: 13px; }
.help-faq { margin-top: 42px; }
.help-faq > h2, .help-guides > h2 { font-size: 30px; }
.help-faq > div { height: auto; margin-top: 18px; padding: 10px 24px 22px; }
.help-faq summary { min-height: 56px; padding: 18px 0; font-size: 14px; }
.help-faq details p { font-size: 13px; }
.help-faq button { height: 42px; margin-top: 20px; font-size: 13px; }
.help-guides { margin-top: 42px; }
.help-guides > .row { margin-top: 18px; }
.help-guides article { height: auto; min-height: 345px; }
.help-guides article > div, .help-guides img { height: 190px; }
.help-guides article > div svg { top: 70px; }
.help-guides article > div span { font-size: 12px; }
.help-guides h3 { margin: 14px 16px 7px; font-size: 15px; }
.help-guides p { min-height: 70px; margin-inline: 16px; font-size: 12px; }
.help-guides article > a { margin: 8px 16px 16px; font-size: 13px; }
.help-support { grid-template-columns: 120px 1fr 250px 230px; height: auto; min-height: 140px; margin-top: 38px; padding: 24px 36px; }
.help-support h2 { font-size: 24px; }
.help-support p { font-size: 14px; }
.help-support > a { height: 50px; font-size: 14px; }

@media (max-width: 1199px) {
  :root { --content-gutter: 40px; }
  .site-header, .about-page .site-header, .developers-page .site-header, .inner-header, .legal-header, .privacy-page .legal-header, .help-header { height: 72px; }
  .brand, .about-page .brand, .content-page .brand { flex-basis: 150px; }
  .primary-nav { gap: 20px; }
  .primary-nav a, .icon-link { font-size: 13px; }
  .developer-pitch h1 { font-size: 39px; }
  .service-grid article { height: 260px; }
  .about-value-grid article { height: 280px; }
  .contact-cta { grid-template-columns: 90px 1fr 145px 155px; }
  .contact-cta > img { display: none; }
  .help-categories article { min-height: 350px; }
}

@media (min-width: 981px) and (max-width: 1100px) {
  .developer-hero-row > .developer-pitch,
  .developer-hero-row > .developer-dashboard {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .developer-pitch {
    padding-right: 0;
  }

  .developer-dashboard {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .developers-page .case-study {
    grid-template-columns: 1fr;
  }

  .developers-page .case-study blockquote {
    padding: 22px 0 0;
    border-top: 1px solid var(--border-strong);
    border-left: 0;
  }

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

/* Developer proof section refresh */
.developers-page .cooperation-process {
  min-height: 0;
  margin-top: 32px;
  padding: 28px 32px 30px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.developers-page .process-heading > span,
.developers-page .trusted-heading > span {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.developers-page .process-heading h2,
.developers-page .trusted-heading h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
}

.developers-page .process-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr) 68px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.developers-page .process-step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 0;
}

.developers-page .process-step > b {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--navy-700);
  border-radius: 50%;
  background: var(--navy-800);
  color: white;
  font-size: 16px;
  line-height: 1;
}

.developers-page .process-step > div {
  min-width: 0;
}

.developers-page .process-step strong,
.developers-page .process-step small {
  display: block;
}

.developers-page .process-step strong {
  font-size: 15px;
  line-height: 1.3;
}

.developers-page .process-step small {
  max-width: 250px;
  margin-top: 7px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.developers-page .process-connector {
  display: block;
  height: 1px;
  border-top: 2px dotted var(--navy-500);
}

.developers-page .case-study {
  display: grid;
  grid-template-columns: minmax(290px, 1.05fr) minmax(390px, 1.25fr) minmax(235px, .8fr);
  gap: 28px;
  min-height: 0;
  margin: 32px 0 0;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.developers-page .case-study > [class*="col-"] {
  width: auto;
  max-width: none;
  padding-inline: 0;
}

.developers-page .case-study-image {
  height: 310px;
  object-fit: cover;
  border-radius: 10px;
}

.developers-page .case-study-copy {
  padding: 8px 0 0;
}

.developers-page .case-study-copy > span {
  font-size: 12px;
  letter-spacing: 0;
}

.developers-page .case-study-copy h2 {
  margin: 8px 0 10px;
  font-size: 32px;
  line-height: 1.15;
}

.developers-page .case-study-copy > p {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.65;
}

.developers-page .case-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.developers-page .case-results > div {
  height: auto;
  min-height: 100px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--gray-50);
}

.developers-page .case-results strong {
  display: block;
  color: var(--brand-accent);
  font-size: 24px;
}

.developers-page .case-results small {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
}

.developers-page .case-study blockquote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 12px 0 12px 28px;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid var(--border-strong);
}

.developers-page .case-study blockquote > p {
  font-size: 15px;
  line-height: 1.65;
}

.developers-page .case-study blockquote footer {
  margin-top: 20px;
}

.developers-page .case-study blockquote footer strong {
  font-size: 13px;
}

.developers-page .case-study blockquote footer small {
  font-size: 12px;
}

.developers-page .trusted-developers {
  margin-top: 32px;
}

.developers-page .trusted-heading h2 {
  font-size: 22px;
}

.developers-page .trusted-logos {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  min-height: 92px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.developers-page .developer-logo {
  display: flex;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  color: var(--navy-800);
  text-align: center;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.developers-page .developer-logo:hover,
.developers-page .developer-logo:focus-visible {
  color: var(--brand-accent);
  transform: translateY(-2px);
}

.developers-page .developer-logo b,
.developers-page .developer-logo > span {
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.developers-page .developer-logo small {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.developers-page .logo-finep {
  font-family: Georgia, serif;
  font-size: 22px;
}

.developers-page .logo-trigema {
  font-size: 19px;
  font-weight: 800;
}

.developers-page .logo-trigema i {
  font-style: normal;
  font-size: 21px;
}

.developers-page .logo-skanska b {
  letter-spacing: 0;
}

.developers-page .logo-yit,
.developers-page .logo-jrd {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.developers-page .logo-central b {
  font-size: 17px;
}

.developers-page .logo-linkcity {
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .developers-page .process-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .developers-page .process-step {
    padding-block: 15px;
  }

  .developers-page .process-connector {
    width: 1px;
    height: 18px;
    margin-left: 28px;
    border-top: 0;
    border-left: 2px dotted var(--navy-500);
  }

  .developers-page .case-study {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .developers-page .case-study-image {
    height: 300px;
  }

  .developers-page .case-study blockquote {
    padding: 22px 0 0;
    border-top: 1px solid var(--border-strong);
    border-left: 0;
  }

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

@media (max-width: 600px) {
  .developers-page .cooperation-process {
    padding: 22px 18px;
  }

  .developers-page .process-heading h2,
  .developers-page .trusted-heading h2 {
    font-size: 23px;
  }

  .developers-page .process-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
  }

  .developers-page .process-step > b {
    width: 48px;
    height: 48px;
    font-size: 14px;
  }

  .developers-page .process-step strong {
    font-size: 14px;
  }

  .developers-page .process-step small {
    font-size: 12px;
  }

  .developers-page .case-study {
    padding: 14px;
  }

  .developers-page .case-study-image {
    height: 230px;
  }

  .developers-page .case-study-copy h2 {
    font-size: 27px;
  }

  .developers-page .case-study-copy > p,
  .developers-page .case-study blockquote > p {
    font-size: 14px;
  }

  .developers-page .case-results {
    grid-template-columns: 1fr;
  }

  .developers-page .trusted-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }
}

@media (max-width: 980px) {
  :root { --content-gutter: 32px; }
  .page-width, .header-inner, .hero-inner, .inner-page-width, .content-page .header-inner, .about-page .page-width, .about-page .header-inner, .developers-page .page-width, .developers-page .header-inner { width: calc(100% - var(--content-gutter)); }
  .hero, .projects-hero, .contact-hero, .help-hero { height: auto; min-height: 460px; }
  .about-hero { height: 460px; min-height: 460px; }
  .about-hero--search { height: 520px; min-height: 520px; }
  .about-hero--home { height: auto; min-height: 520px; }
  .hero-image, .projects-hero-photo, .contact-hero > img, .help-hero > img { width: 72vw; min-height: 460px; opacity: 0.35; }
  .quick-search { grid-template-columns: repeat(2, 1fr); height: auto; }
  .quick-field { border-bottom: 1px solid var(--border); }
  .search-button { margin: 12px; }
  .property-grid > .col { width: 50%; }
  .developer-hero-row { min-height: 0; margin-inline: 0; }
  .developer-pitch { min-height: 0; }
  .developer-dashboard { min-height: 540px; }
  .service-grid article { height: 240px; }
  .case-study-image { height: 340px; }
  .projects-summary { position: static; width: 280px; margin-top: 30px; }
  .projects-search { margin-top: 24px; }
  .about-value-grid article { height: 230px; }
  .about-origin-benefits { height: auto; min-height: 320px; }
  .contact-panels { margin-top: 24px; }
  .contact-info-panel, .contact-form { min-height: 0; }
  .contact-office { grid-template-columns: 1fr; height: auto; }
  .contact-office > img { height: 300px; }
  .contact-faq-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cta { grid-template-columns: 90px 1fr 170px; padding: 20px; }
  .contact-cta > a:not(.accent) { display: none; }
  .help-categories article { min-height: 280px; }
  .help-guides article { min-height: 370px; }
  .legal-help { grid-template-columns: 80px 1fr 190px; }
  .legal-help > i:nth-of-type(2), .legal-help > div:last-of-type { display: none; }
}

@media (max-width: 720px) {
  :root { --content-gutter: 28px; }
  body { font-size: 15px; }
  .site-header, .about-page .site-header, .developers-page .site-header, .inner-header, .legal-header, .privacy-page .legal-header, .help-header { height: 68px; }
  .brand img, .about-page .brand img, .content-page .brand img, .legal-page .brand img { width: 40px; }
  .hero, .projects-hero, .contact-hero, .help-hero { min-height: 520px; }
  .about-hero { min-height: 550px; }
  .about-hero--search { min-height: 620px; }
  .about-hero--home { min-height: 640px; }
  .hero-image, .projects-hero-photo, .contact-hero > img, .help-hero > img { right: 0; width: 100vw; min-height: 520px; opacity: 0.22; }
  .hero h1, .projects-hero-copy h1, .contact-hero-copy h1, .help-hero-copy h1 { font-size: 38px; }
  .hero p, .projects-hero-copy > p, .contact-hero-copy p, .help-hero-copy > p { font-size: 15px; }
  .hero-copy, .projects-hero-copy, .contact-hero-copy, .help-hero-copy { max-width: 100%; padding-top: 42px; }
  .search-area { margin-top: -96px; }
  .about-hero--home .search-area { margin-top: 28px; }
  .property-tabs { overflow-x: auto; }
  .quick-search { grid-template-columns: 1fr; }
  .property-grid > .col { width: 100%; }
  .property-card img { height: 230px; }
  .market-strip { height: auto; }
  .developer-pitch h1 { font-size: 36px; }
  .developer-actions { grid-template-columns: 1fr; }
  .developer-mini-benefits { grid-template-columns: 1fr; }
  .developer-dashboard { min-height: 0; }
  .dashboard-side { grid-template-columns: 1fr; }
  .service-grid article { min-height: 220px; }
  .developer-kpis article { min-height: 105px; }
  .cooperation-process { padding: 22px; }
  .case-study-image { height: 270px; }
  .trusted-logos { grid-template-columns: repeat(2, 1fr); }
  .developer-final-cta { padding: 20px; }
  .projects-benefits { width: 100%; grid-template-columns: 1fr 1fr; }
  .projects-benefits-bar .projects-benefits { gap: 20px 24px; }
  .projects-summary { width: 100%; }
  .projects-search { grid-template-columns: 1fr; }
  .about-value-grid article { min-height: 210px; }
  .about-stat-grid article { height: 116px; }
  .about-origin-benefits { grid-template-columns: 1fr; }
  .timeline-track { width: 900px; }
  .help-card { height: 300px; }
  .help-card > img, .help-card.developers > img { width: 52%; height: 300px; opacity: 0.38; }
  .about-cta { grid-template-columns: 60px 1fr; height: auto; padding: 22px; }
  .about-cta > a { grid-column: 1 / -1; }
  .contact-form { padding: 22px; }
  .person-card { min-height: 330px; }
  .contact-faq-grid { grid-template-columns: 1fr; }
  .contact-cta { grid-template-columns: 60px 1fr; height: auto; }
  .contact-cta > a.accent { grid-column: 1 / -1; }
  .legal-intro h1 { font-size: 38px; }
  .legal-article, .privacy-article { padding-inline: 22px; }
  .legal-article h2, .privacy-article h2 { font-size: 22px; }
  .legal-article p, .legal-article li { font-size: 14px; }
  .legal-help { grid-template-columns: 60px 1fr; }
  .legal-help > a { grid-column: 1 / -1; }
  .help-search { grid-template-columns: 44px 1fr; width: 100%; height: auto; }
  .help-search button { grid-column: 1 / -1; margin-top: 8px; }
  .help-categories article { min-height: 270px; }
  .help-guides article { min-height: 390px; }
  .help-support { grid-template-columns: 70px 1fr; padding: 22px; }
  .help-support > a.accent { grid-column: 1 / -1; margin: 14px 0 0; }
  .footer-main-shell, .projects-footer .footer-main-shell, .developers-footer .footer-main-shell, .about-footer .footer-main-shell, .content-footer .footer-main-shell, .legal-footer .footer-main-shell, .privacy-footer .footer-main-shell { padding-block: 30px; }
  .footer-bottom { align-items: flex-start; gap: 18px; padding-block: 18px; }
}

/* Final legibility pass for data-heavy components */
.market-price-content strong em,
.locations li,
.locations li span,
.locations li b {
  font-size: 13px;
}

.projects-benefits small,
.project-showcase-card .developer-line,
.project-showcase-card > div > small,
.localities-panel li,
.new-project-row > span,
.new-project-row > div strong,
.new-project-row > div small,
.new-project-row > b,
.new-project-row > b small,
.projects-pagination a,
.projects-pagination span {
  font-size: 12px;
}

.localities-panel li {
  min-height: 27px;
}

.new-project-row > div strong,
.new-project-row > b {
  font-size: 13px;
}

.projects-pagination {
  margin: 28px 0;
  height: auto;
  min-height: 40px;
  gap: 6px;
}

.projects-pagination a,
.projects-pagination span {
  min-width: 40px;
  height: 40px;
}

.developer-mini-benefits small,
.dashboard-projects > header button,
.dashboard-project-card p,
.dashboard-project-card span,
.dashboard-project-card small,
.monthly-leads > strong small,
.lead-sources li,
.case-results small,
.case-study blockquote footer small {
  font-size: 12px;
}

.dashboard-projects > header button {
  height: 34px;
  padding-inline: 12px;
}

.chart-legend,
.chart-labels,
.dashboard-map > div,
.bar-labels {
  font-size: 11px;
}

.about-partner-logos small {
  font-size: 12px;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .new-project-row {
    grid-template-columns: 44px 68px minmax(0, 1fr) 14px;
    gap: 9px;
    min-height: 82px;
  }

  .new-project-row > img {
    width: 68px;
    height: 48px;
  }

  .dashboard-projects > .row {
    width: 760px;
  }
}

/* CSS-only mobile navigation */
.mobile-nav {
  position: relative;
  z-index: 30;
  display: none;
  flex: 0 0 auto;
}

.mobile-nav summary {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary > span,
.mobile-nav summary > span::before,
.mobile-nav summary > span::after {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
  content: "";
  transition: transform 160ms ease, background 160ms ease;
}

.mobile-nav summary > span::before {
  transform: translateY(-6px);
}

.mobile-nav summary > span::after {
  transform: translateY(4px);
}

.mobile-nav[open] summary > span {
  background: transparent;
}

.mobile-nav[open] summary > span::before {
  transform: translateY(0) rotate(45deg);
}

.mobile-nav[open] summary > span::after {
  transform: translateY(-2px) rotate(-45deg);
}

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(310px, calc(100vw - 28px));
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 40px var(--shadow-color);
}

.mobile-nav nav a {
  display: flex;
  min-height: 44px;
  padding: 11px 13px;
  align-items: center;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}

.mobile-nav nav a:hover,
.mobile-nav nav a:focus-visible {
  color: var(--brand-accent);
  background: var(--gray-50);
}

@media (max-width: 980px) {
  .mobile-nav {
    display: block;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .header-actions .icon-link:first-child {
    display: none;
  }
}

/* Keep the shared six-item header usable before the mobile breakpoint. */
@media (min-width: 981px) and (max-width: 1100px) {
  .primary-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }
}

@media (min-width: 981px) and (max-width: 1100px) {
  .developers-page .case-study {
    grid-template-columns: 1fr;
  }

  .developers-page .case-study blockquote {
    padding: 22px 0 0;
    border-top: 1px solid var(--border-strong);
    border-left: 0;
  }

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

/* Shared page hero - about-hero is the canonical layout */
.about-hero {
  position: relative;
  width: min(var(--content-max), calc(100% - var(--content-gutter)));
  height: 500px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  background: #dfe8f2;
  box-shadow: 0 12px 28px rgba(14, 35, 71, .08);
}

.about-hero--home {
  height: 560px;
  overflow: visible;
}

.about-hero--projects {
  height: auto;
  min-height: 640px;
  overflow: visible;
}

.about-hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: 1;
}

.about-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 29%, rgba(255, 255, 255, .78) 46%, rgba(255, 255, 255, .26) 66%, rgba(255, 255, 255, 0) 82%);
  content: "";
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
}

.about-hero-copy {
  z-index: 2;
  width: 100%;
  max-width: 50%;
  padding-top: 56px;
}

.about-hero-copy h1 {
  max-width: 100%;
  font-size: 48px;
  line-height: 1.18;
  text-wrap: balance;
}

.about-hero-copy p {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.about-hero--search {
  height: 560px;
}

.about-hero--search .about-hero-copy {
  padding-top: 42px;
}

.about-hero--home {
  height: 560px;
  overflow: visible;
}

.about-hero--home .about-hero-image,
.about-hero--home::after {
  border-radius: 0 0 20px 20px;
}

.about-hero--home .search-area {
  z-index: 40;
}

.about-hero--home .about-hero-copy {
  max-width: 50%;
  padding-top: 64px;
}

.about-breadcrumb {
  padding-top: 30px;
}

.projects-hero-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.projects-hero-meta .projects-benefits {
  margin-top: 0;
}

.projects-hero-meta .projects-summary {
  position: static;
  flex: 0 0 auto;
  margin-top: 0;
}

.about-hero--legal {
  height: 360px;
  min-height: 360px;
}

.about-hero--legal .about-hero-copy {
  max-width: 50%;
  padding-top: 36px;
}

.legal-page .legal-shell {
  margin-top: 28px;
}

.legal-page .legal-intro {
  margin-bottom: 18px;
}

.contact-panels {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .about-hero {
    width: calc(100% - 32px);
    height: 460px;
    min-height: 460px;
  }

  .about-hero::after {
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .95) 47%, rgba(255, 255, 255, .52) 73%, rgba(255, 255, 255, .12) 100%);
  }

  .about-hero-copy {
    max-width: min(50%, 560px);
    padding-top: 48px;
  }

  .about-hero--search {
    height: 520px;
    min-height: 520px;
  }

  .about-hero--home {
    height: auto;
    min-height: 520px;
  }

  .about-hero--home .about-hero-copy {
    padding-top: 48px;
  }

  .about-hero--home .search-area {
    margin-bottom: 20px;
  }

  .about-hero--projects {
    height: auto;
    min-height: 0;
  }

  .about-hero--projects .about-hero-inner {
    min-height: 0;
    padding-bottom: 20px;
  }

  .about-hero--projects .projects-hero-top {
    flex-direction: column;
  }

  .about-hero--projects .projects-summary {
    width: 100%;
    flex: none;
  }

  .about-hero--projects .projects-hero-panel {
    margin-top: 24px;
  }

  .projects-hero-meta {
    width: 100%;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .about-hero {
    width: calc(100% - 24px);
    height: 550px;
    min-height: 550px;
    border-radius: 0 0 16px 16px;
  }

  .about-hero-image {
    object-position: 66% center;
  }

  .about-hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 58%, rgba(255, 255, 255, .66) 100%);
  }

  .about-breadcrumb {
    padding-top: 24px;
  }

  .about-hero-copy {
    max-width: 100%;
    padding-top: 48px;
  }

  .about-hero--search {
    height: auto;
    min-height: 620px;
  }

  .about-hero--home {
    height: auto;
    min-height: 640px;
  }

  .about-hero--home .search-area {
    margin-top: 28px;
    margin-bottom: 16px;
  }

  .projects-hero-meta {
    width: calc(100% - 24px);
  }
}

/* Final CTA priority overrides - equal top/bottom gaps + full-bleed media */
.site-cta,
.about-cta,
.legal-help,
.help-support {
  --cta-pad-y: 24px;
  --cta-pad-x: 28px;
  --cta-media-w: clamp(220px, 26vw, 300px);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.15fr) auto var(--cta-media-w);
  align-items: stretch;
  column-gap: 18px;
  row-gap: 14px;
  width: min(var(--content-max, 1137px), calc(100% - var(--content-gutter, 64px)));
  min-height: 168px;
  height: auto;
  margin: 48px auto;
  padding: var(--cta-pad-y) 0 var(--cta-pad-y) var(--cta-pad-x);
  overflow: hidden;
  color: #fff;
  background: #122650;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(12, 31, 68, 0.18);
}

.site-cta > :not(.site-cta-media),
.about-cta > :not(.site-cta-media),
.legal-help > :not(.site-cta-media),
.help-support > :not(.site-cta-media) {
  align-self: center;
}

.site-cta::before,
.about-cta::before,
.legal-help::before,
.help-support::before {
  position: absolute;
  z-index: 0;
  inset: 0 var(--cta-media-w) 0 0;
  content: "";
  background:
    radial-gradient(120% 140% at 0% 50%, rgba(255, 255, 255, 0.06), transparent 55%),
    #122650;
  pointer-events: none;
}

.site-cta > *,
.about-cta > *,
.legal-help > *,
.help-support > * {
  position: relative;
  z-index: 1;
}

.site-cta-icon,
.about-cta > svg,
.legal-help > i:first-child,
.help-support > i {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--brand-accent);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.site-cta-icon svg,
.about-cta > svg,
.legal-help > i:first-child svg,
.help-support > i svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-cta-copy,
.about-cta > div:not(.site-cta-media),
.legal-help > div:not(.site-cta-media),
.help-support > div:not(.site-cta-media) {
  min-width: 0;
}

.site-cta h2,
.about-cta h2,
.legal-help h2,
.help-support h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 750;
  line-height: 1.2;
}

.site-cta p,
.about-cta p,
.legal-help p,
.help-support p {
  max-width: 42ch;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.5;
}

.site-cta-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-self: center;
  width: max(200px, max-content);
  min-width: 200px;
}

.site-cta > a,
.about-cta > a,
.legal-help > a,
.help-support > a,
.site-cta-actions > a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 18px;
  color: var(--brand-accent);
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.site-cta > a:hover,
.about-cta > a:hover,
.legal-help > a:hover,
.help-support > a:hover,
.site-cta-actions > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.site-cta > a.accent,
.about-cta > a.about-cta-accent,
.legal-help > a.accent,
.help-support > a.accent,
.site-cta-actions > a.accent,
.site-cta-actions > a.about-cta-accent {
  color: #fff;
  background: var(--brand-accent);
  border-color: rgba(255, 255, 255, 0.35);
}

.site-cta > a svg,
.about-cta > a svg,
.legal-help > a svg,
.help-support > a svg,
.site-cta-actions > a svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* Full-height right bleed media (no inset padding) */
.site-cta-media,
.about-cta > .site-cta-media,
.legal-help > .site-cta-media,
.help-support > .site-cta-media {
  position: relative;
  z-index: 1;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: calc(168px + (var(--cta-pad-y) * 2));
  height: calc(100% + (var(--cta-pad-y) * 2));
  margin: calc(var(--cta-pad-y) * -1) 0;
  overflow: hidden;
  border-radius: 0;
}

.site-cta-media::after,
.about-cta > .site-cta-media::after,
.legal-help > .site-cta-media::after,
.help-support > .site-cta-media::after {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 64px;
  content: "";
  background: linear-gradient(90deg, #122650 0%, rgba(18, 38, 80, 0.65) 38%, transparent 100%);
  pointer-events: none;
}

.site-cta-media img,
.about-cta > .site-cta-media img,
.legal-help > .site-cta-media img,
.help-support > .site-cta-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.about-page .about-cta.page-width {
  width: min(var(--content-max), calc(100% - var(--content-gutter)));
  margin: 48px auto;
}

.legal-help > i:nth-of-type(2),
.legal-help > div:nth-of-type(2):not(.site-cta-media) {
  display: none;
}

.legal-help {
  grid-template-columns: 64px minmax(0, 1.2fr) auto var(--cta-media-w);
}

.legal-help::after,
.help-support::after {
  display: none;
}

.help-support > i::after {
  display: none;
}

/* Equal rhythm into footer on every page */
.site-footer,
.projects-footer,
.developers-footer,
.about-page .about-footer,
.content-footer,
.legal-footer,
.privacy-footer,
.help-footer {
  margin-top: 0;
}

@media (max-width: 980px) {
  .site-cta,
  .about-cta,
  .legal-help,
  .help-support {
    --cta-media-w: 0px;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    width: calc(100% - 32px);
    margin: 40px auto;
    padding: 22px 22px 22px 24px;
  }

  .site-cta::before,
  .about-cta::before,
  .legal-help::before,
  .help-support::before {
    inset: 0;
  }

  .site-cta-media,
  .about-cta > .site-cta-media,
  .legal-help > .site-cta-media,
  .help-support > .site-cta-media {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-cta,
  .about-cta,
  .legal-help,
  .help-support {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    width: calc(100vw - 24px);
    height: auto;
    min-height: 0;
    margin: 36px auto;
    margin-left: 50%;
    margin-right: 0;
    padding: 20px;
    transform: translateX(-50%);
  }

  .site-cta-icon,
  .about-cta > svg,
  .legal-help > i:first-child,
  .help-support > i {
    width: 52px;
    height: 52px;
  }

  .site-cta-icon svg,
  .about-cta > svg,
  .legal-help > i:first-child svg,
  .help-support > i svg {
    width: 27px;
    height: 27px;
  }

  .site-cta h2,
  .about-cta h2,
  .legal-help h2,
  .help-support h2 {
    font-size: 20px;
  }

  .site-cta p,
  .about-cta p,
  .legal-help p,
  .help-support p {
    font-size: 13px;
  }

  .site-cta > a,
  .about-cta > a,
  .legal-help > a,
  .help-support > a,
  .site-cta-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-cta-actions > a {
    width: 100%;
    min-height: 46px;
  }

  .about-cta > a:last-child {
    display: inline-flex;
  }
}

.site-cta-icon,
.site-cta > a:not(.accent),
.about-cta > a:not(.about-cta-accent),
.legal-help > a:not(.accent),
.help-support > a:not(.accent),
.site-cta-actions > a:not(.accent):not(.about-cta-accent) { color: var(--brand-accent); }
.site-cta-icon svg,
.site-cta-icon svg path { stroke: var(--brand-accent); }

/* The unified developer CTA below the content replaces the earlier local variant. */
.developers-page .developer-final-cta { display: none; }

@media (max-width: 620px) {
  .about-page .about-cta.page-width { width: calc(100vw - 24px); margin-left: 50%; margin-right: 0; transform: translateX(-50%); }
  .about-page .about-cta > a.about-cta-accent { display: inline-flex !important; }
}

/* About: milestone timeline */
.about-timeline { min-height: 0; }
.timeline-track {
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 12px;
  min-height: 0;
  margin-top: 18px;
}
.timeline-track::before,
.timeline-track::after { display: none; }
.timeline-track article {
  min-height: 166px;
  padding: 18px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.timeline-track article:hover {
  border-color: rgba(18, 38, 80, .26);
  box-shadow: 0 10px 22px rgba(12, 31, 68, .08);
  transform: translateY(-2px);
}
.timeline-track i {
  width: 44px;
  height: 44px;
  margin: 0 0 18px;
  color: var(--brand-primary);
  background: #f4f7fb;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
}
.timeline-track i svg { width: 23px; height: 23px; }
.timeline-track strong { font-size: 16px; line-height: 1; }
.timeline-track p { margin-top: 10px; font-size: 12px; line-height: 1.5; }
.timeline-track article:last-child { border-color: rgba(194, 13, 24, .24); }
.timeline-track article:last-child i { color: #fff; background: var(--brand-accent); border-color: var(--brand-accent); }

@media (max-width: 980px) {
  .timeline-track { width: 990px; }
}
@media (max-width: 620px) {
  .timeline-track { width: 930px; gap: 10px; }
  .timeline-track article { min-height: 156px; padding: 16px; }
}

/* About: audience benefits */
.about-help > .row {
  --bs-gutter-x: 22px;
  --bs-gutter-y: 22px;
}

.help-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(220px, .82fr);
  height: 280px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(12, 31, 68, .04);
}

.help-copy {
  width: auto;
  padding: 30px 32px;
}

.help-copy h3 {
  gap: 12px;
  margin-bottom: 20px;
  color: var(--brand-primary);
  font-size: 22px;
  line-height: 1.15;
}

.help-copy h3 svg {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--brand-primary);
  background: #f1f5fa;
  border: 1px solid #e0e8f2;
  border-radius: 8px;
}

.help-copy ul {
  gap: 10px;
}

.help-copy li {
  padding-left: 20px;
  color: #41536f;
  font-size: 13px;
  line-height: 1.35;
}

.help-copy li::before {
  top: .22em;
  display: block;
  width: 11px;
  height: 11px;
  color: var(--brand-accent);
  background: transparent;
  border: 0;
  border-radius: 0;
  content: "✓";
  font-size: 13px;
  font-weight: 800;
  line-height: 11px;
}

.help-card > img,
.help-card.developers > img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-left: 1px solid var(--border);
  filter: saturate(.92) contrast(.98);
}

.help-card.buyers > img { object-position: 56% center; }
.help-card.developers > img { object-position: center; }

@media (max-width: 760px) {
  .help-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .help-copy { padding: 26px 24px 24px; }

  .help-copy h3 { margin-bottom: 18px; font-size: 20px; }
  .help-copy li { font-size: 13px; }

  .help-card > img,
  .help-card.developers > img {
    height: 190px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }
}

/* About: partner marks */
.about-partner-logos {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  height: auto;
  min-height: 108px;
  margin-top: 16px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 8px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 54px;
  padding: 6px;
}

.partner-logo img {
  display: block;
  width: 100%;
  max-width: 142px;
  height: 42px;
  object-fit: contain;
  object-position: center;
}

.partner-logo-central img {
  width: 110px;
  max-width: 100%;
  height: 42px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 980px) {
  .about-partner-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .about-partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    min-height: 0;
    padding: 14px;
  }

  .partner-logo { height: 48px; }
  .partner-logo img { height: 36px; }
  .partner-logo-central img { height: 36px; }
}

/* About: principles, scope and benefits */
.about-value-grid article {
  height: 230px;
  padding: 26px;
}

.about-value-grid article > svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  color: var(--brand-primary);
  background: #f2f6fb;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
}

.about-value-grid h3 { margin-top: 18px; }
.about-value-grid p { max-width: 30ch; line-height: 1.55; }

.about-stat-grid article { min-height: 118px; height: auto; }
.about-stat-grid svg { color: var(--brand-accent); }
.about-stat-grid small { margin-top: 4px; }

.about-origin-benefits > div { gap: 16px; }
.about-origin-benefits svg { color: var(--brand-accent); }
.about-origin-benefits strong { max-width: 26ch; line-height: 1.45; }

@media (max-width: 620px) {
  .about-value-grid article { height: auto; min-height: 205px; padding: 22px; }
  .about-stat-grid article { min-height: 106px; }
}

/* Global tooltip */
.ui-tip-trigger {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  padding: 0;
  vertical-align: middle;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.ui-tip-trigger svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-tip-trigger:hover,
.ui-tip-trigger[aria-expanded="true"] {
  color: var(--brand-accent);
  background: rgba(196, 30, 58, 0.08);
  box-shadow: 0 0 0 1px rgba(196, 30, 58, 0.12);
}

.ui-tip-source {
  display: none !important;
}

.ui-tooltip {
  position: fixed;
  z-index: 5000;
  width: min(340px, calc(100vw - 24px));
  padding: 16px 18px;
  color: var(--text-primary);
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.1);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(12, 31, 68, 0.18);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.ui-tooltip.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ui-tooltip.is-above {
  transform: translateY(-4px);
}

.ui-tooltip.is-above.is-open {
  transform: translateY(0);
}

.ui-tooltip-arrow {
  position: absolute;
  top: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid rgba(12, 31, 68, 0.1);
  border-left: 1px solid rgba(12, 31, 68, 0.1);
  transform: rotate(45deg);
}

.ui-tooltip.is-above .ui-tooltip-arrow {
  top: auto;
  bottom: -6px;
  border-top: 0;
  border-left: 0;
  border-right: 1px solid rgba(12, 31, 68, 0.1);
  border-bottom: 1px solid rgba(12, 31, 68, 0.1);
}

.ui-tooltip-body strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 750;
}

.ui-tooltip-body p {
  margin: 0 0 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.ui-tooltip-body p:last-child {
  margin-bottom: 0;
}

.ui-tooltip-body b {
  color: var(--text-primary);
  font-weight: 700;
}

.ui-tooltip-body .ui-tip-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12px;
}

.market-ranking-modal {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  color: var(--text-primary);
  background: transparent;
  border: 0;
}

.market-ranking-modal::backdrop {
  background: rgba(12, 31, 68, 0.52);
  backdrop-filter: blur(4px);
}

.market-ranking-shell {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(12, 31, 68, 0.22);
}

.market-ranking-head {
  position: relative;
  display: block;
  padding: 24px 28px 18px;
  padding-right: 64px;
  border-bottom: 1px solid var(--border);
}

.market-ranking-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-ranking-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
}

.market-ranking-head p {
  max-width: none;
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.market-ranking-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--text-secondary);
  background: var(--gray-100, #f3f5f8);
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.market-ranking-close:hover {
  color: var(--text-primary);
  background: #e8edf3;
}

.market-ranking-chart {
  display: grid;
  gap: 10px;
  padding: 20px 28px 8px;
}

.market-ranking-bar {
  display: grid;
  grid-template-columns: 28px 92px 1fr auto;
  grid-template-rows: auto 10px;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
}

.market-ranking-bar i {
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--brand-accent);
  background: rgba(196, 30, 58, 0.08);
  border-radius: 50%;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}

.market-ranking-bar span {
  grid-row: 1;
  color: var(--text-primary);
  font-weight: 600;
}

.market-ranking-bar b {
  grid-row: 1;
  min-width: 72px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.market-ranking-bar::after {
  grid-column: 2 / -1;
  grid-row: 2;
  display: block;
  height: 10px;
  background: linear-gradient(90deg, rgba(196, 30, 58, 0.92), rgba(196, 30, 58, 0.35));
  border-radius: 999px;
  content: "";
  width: calc(var(--value) / 178000 * 100%);
}

.market-ranking-table-wrap {
  padding: 8px 28px 0;
  overflow: auto;
}

.market-ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.market-ranking-table th,
.market-ranking-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.market-ranking-table th {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.market-ranking-table td:first-child {
  width: 36px;
  color: var(--text-secondary);
  font-weight: 700;
}

.market-ranking-table .is-up {
  color: var(--brand-accent);
  font-weight: 700;
}

.market-ranking-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px 24px;
}

.market-ranking-foot p {
  max-width: 48ch;
  margin: 0;
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.45;
}

.market-ranking-done {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--brand-accent);
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 720px) {
  .ui-tooltip {
    width: calc(100vw - 24px);
  }

  .market-ranking-head,
  .market-ranking-chart,
  .market-ranking-table-wrap,
  .market-ranking-foot {
    padding-inline: 18px;
  }

  .market-ranking-head {
    padding-right: 56px;
  }

  .market-ranking-bar {
    grid-template-columns: 24px 78px 1fr auto;
    gap: 8px;
  }

  .market-ranking-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .market-ranking-done {
    width: 100%;
  }
}

/* Novostavby content - shared visual language with homepage */
.projects-page .projects-benefits-bar {
  margin-top: 34px;
  margin-bottom: 0;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(6, 26, 63, 0.06);
}

.projects-page .projects-showcase,
.projects-page .developers-section,
.projects-page .projects-duo,
.projects-page .projects-market {
  margin-top: var(--section-space);
}

.projects-page .section-heading {
  align-items: flex-start;
  min-height: 0;
  margin-bottom: 20px;
}

.projects-page .section-heading h2 {
  color: var(--text-primary);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.projects-page .section-heading a {
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--btn-radius);
  font-size: 13px;
  transition: background-color 160ms ease, transform 160ms ease;
}

.projects-page .section-heading a:hover {
  background: rgba(194, 13, 24, 0.06);
  transform: translateX(2px);
}

.projects-page .project-tabs {
  width: fit-content;
  height: auto;
  gap: 6px;
  margin: 0 0 24px;
  padding: 5px;
  background: var(--gray-100);
  border-radius: 14px;
}

.projects-page .project-tabs button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--btn-radius);
  color: var(--text-secondary);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

@media (hover: hover) {
  .projects-page .project-tabs button:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(6, 26, 63, 0.08);
    transform: translateY(-1px);
  }

  .projects-page .project-tabs button.active:hover {
    color: var(--white);
    background: var(--brand-accent);
    box-shadow: 0 6px 16px var(--shadow-accent);
    transform: translateY(-1px);
  }
}

.projects-page .project-tabs button.active {
  color: var(--white);
  background: var(--brand-accent);
  box-shadow: 0 4px 12px var(--shadow-accent);
}

.projects-page .project-tabs button:active {
  transform: translateY(0);
}

.projects-page .project-tabs button.active::after {
  display: none;
}

.projects-page .projects-showcase > .row {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
}

.projects-page .project-showcase-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(6, 26, 63, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.projects-page .project-media {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  min-height: 0;
}

.projects-page .project-showcase-card > .project-media {
  min-height: 0;
  padding: 0;
}

.projects-page .project-media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 300ms ease;
}

.projects-page .project-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 12px;
  color: #fff;
  background: var(--brand-accent);
  border-radius: var(--btn-radius);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(194, 13, 24, 0.28);
  pointer-events: none;
}

.projects-page .project-badge--navy {
  background: var(--brand-primary);
  box-shadow: 0 6px 16px rgba(6, 26, 63, 0.28);
}

.projects-page .project-fav {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(6, 26, 63, 0.14);
  cursor: pointer;
}

.projects-page .project-fav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-page .project-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 16px 16px 14px;
}

.projects-page .project-showcase-card > .project-body {
  min-height: 0;
  padding: 16px 16px 14px;
}

.projects-page .project-showcase-card h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.projects-page .project-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.projects-page .project-location svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-page .project-price {
  display: block;
  margin-top: 14px;
  color: var(--brand-accent);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.projects-page .project-specs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--text-secondary);
  font-size: 12px;
}

.projects-page .project-specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.projects-page .project-specs i {
  width: auto;
  height: auto;
  color: var(--gray-500);
  background: none;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.projects-page .project-specs svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-page .project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12px;
}

.projects-page .project-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.projects-page .project-meta span:last-child {
  justify-content: flex-end;
  text-align: right;
}

.projects-page .project-meta svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) {
  .projects-page .project-showcase-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 16px 36px rgba(6, 26, 63, 0.12);
    transform: translateY(-4px);
  }

  .projects-page .project-showcase-card:hover .project-media img {
    transform: scale(1.025);
  }

  .projects-page .project-fav:hover {
    color: var(--brand-accent);
  }
}

.projects-page .developers-section {
  position: relative;
  padding: 8px 0 4px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.projects-page .projects-duo {
  margin-top: 28px;
  margin-bottom: 8px;
}

.projects-page .projects-duo > .row {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
  align-items: stretch;
}

.projects-page .projects-duo > .row > :first-child,
.projects-page .projects-duo > .row > :last-child {
  display: flex;
}

.projects-page .projects-duo > .row > :first-child {
  flex: 0 0 44.5%;
  width: 44.5%;
}

.projects-page .projects-duo > .row > :last-child {
  flex: 0 0 55.5%;
  width: 55.5%;
}

.projects-page .projects-duo-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 32px;
  align-items: start;
  width: 100%;
  min-height: 300px;
  height: 100%;
  padding: 42px 40px;
  border-radius: 16px;
}

.projects-page .projects-duo-card--developer {
  align-items: center;
  min-height: 300px;
  color: #fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 400' fill='none'%3E%3Cpath d='M-40 70C50 30 130 110 220 75C310 40 380 10 470 45C560 80 630 35 760 65' stroke='%23ffffff' stroke-opacity='0.14' stroke-width='1.4'/%3E%3Cpath d='M-40 120C70 80 150 160 240 125C330 90 400 55 490 90C580 125 650 80 760 110' stroke='%23ffffff' stroke-opacity='0.12' stroke-width='1.4'/%3E%3Cpath d='M-40 175C80 135 170 215 260 180C350 145 430 105 520 140C610 175 670 130 760 160' stroke='%23ffffff' stroke-opacity='0.1' stroke-width='1.3'/%3E%3Cpath d='M-40 230C90 190 180 270 280 235C370 200 450 160 540 195C630 230 690 185 760 215' stroke='%23ffffff' stroke-opacity='0.09' stroke-width='1.3'/%3E%3Cpath d='M-40 285C100 245 200 325 300 290C390 255 480 215 570 250C660 285 710 240 760 270' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.2'/%3E%3Cpath d='M-40 335C110 295 210 370 320 340C410 310 500 270 590 305C680 340 730 300 760 325' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1.2'/%3E%3C/svg%3E") left center / cover no-repeat,
    #071b40;
}

.projects-page .projects-duo-card--developer .projects-duo-content {
  min-height: 0;
  justify-content: center;
}

.projects-page .projects-duo-card--map {
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 0.95fr);
  column-gap: 24px;
  align-items: center;
  min-height: 300px;
  overflow: hidden;
  color: var(--text-primary);
  background: #f3f6fa;
  border: 1px solid rgba(12, 31, 68, 0.05);
}

.projects-page .projects-duo-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  margin: 0;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
}

.projects-page .projects-duo-icon--light {
  background: rgba(12, 31, 68, 0.07);
  color: var(--brand-accent);
}

.projects-page .projects-duo-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-page .projects-duo-copy {
  position: relative;
  z-index: 1;
  max-width: none;
}

.projects-page .projects-duo-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 186px;
}

.projects-page .projects-duo-card h2 {
  margin: 2px 0 8px;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.projects-page .projects-duo-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: inherit;
  opacity: 0.9;
}

.projects-page .projects-duo-card--map .projects-duo-copy {
  max-width: none;
}

.projects-page .projects-duo-card--map p {
  color: var(--text-secondary);
  opacity: 1;
}

.projects-page .projects-duo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 12px 18px;
  color: #fff;
  background: var(--brand-accent);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.projects-page .projects-duo-btn:hover {
  background: var(--brand-accent-hover);
  transform: translateY(-1px);
}

.projects-page .projects-duo-btn svg,
.projects-page .projects-duo-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.projects-page .projects-duo-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--brand-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.projects-page .projects-duo-link:hover {
  color: var(--brand-accent-hover);
}

.projects-page .projects-duo-map-copy {
  width: 100%;
  max-width: 320px;
  padding-right: 8px;
}

.projects-page .projects-duo-card--map .projects-duo-content {
  min-height: 0;
  justify-content: center;
}

.projects-page .projects-duo-map-visual {
  position: relative;
  z-index: 0;
  width: 100%;
  min-width: 0;
  max-width: 280px;
  max-height: 200px;
  margin: 0 0 0 auto;
  pointer-events: none;
  opacity: 1;
}

.projects-page .projects-duo-map-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 200px;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 991px) {
  .projects-page .projects-duo > .row > :first-child,
  .projects-page .projects-duo > .row > :last-child {
    flex: 0 0 100%;
    width: 100%;
  }

  .projects-page .projects-duo-card {
    min-height: 260px;
  }

  .projects-page .projects-duo-card--map {
    grid-template-columns: 88px minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .projects-page .projects-duo-map-visual,
  .projects-page .projects-duo-map-visual img {
    max-width: 240px;
    max-height: 180px;
  }
}

@media (max-width: 720px) {
  .projects-page .projects-duo-card {
    min-height: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    padding: 26px 22px 24px;
  }

  .projects-page .projects-duo-card--map {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .projects-page .projects-duo-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .projects-page .projects-duo-card h2 {
    font-size: 18px;
  }

  .projects-page .projects-duo-card p {
    font-size: 13px;
  }

  .projects-page .projects-duo-btn,
  .projects-page .projects-duo-link {
    margin-top: 22px;
  }

  .projects-page .projects-duo-map-visual {
    grid-column: 1 / -1;
    width: min(280px, 88%);
    max-width: 280px;
    max-height: none;
    margin: 8px 0 0 auto;
    opacity: 0.95;
  }

  .projects-page .projects-duo-map-visual img {
    max-height: none;
  }

}

.projects-page .developers-section::before {
  display: none;
}

.projects-page .section-heading-copy {
  min-width: 0;
}

.projects-page .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.projects-page .section-eyebrow::before {
  width: 2px;
  height: 14px;
  background: var(--brand-accent);
  content: "";
}

.projects-page .developers-section .section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.projects-page .developers-grid {
  position: relative;
  z-index: 1;
  --bs-gutter-x: 16px;
  --bs-gutter-y: 16px;
}

.projects-page .developer-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 156px;
  height: 100%;
  padding: 28px 16px 24px;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(12, 31, 68, 0.06);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(6, 26, 63, 0.06);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.projects-page .developer-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 100%;
  opacity: 0.9;
  pointer-events: none;
}

.projects-page .developer-card > * {
  position: relative;
  z-index: 1;
}

/* 1 Crestyl - concentric arcs */
.projects-page .developers-grid > .col:nth-child(1) .developer-card::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 180' fill='none'%3E%3Cpath d='M-20 190c55-10 95-50 95-100' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Cpath d='M-20 190c80-8 130-55 130-115' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Cpath d='M-20 190c105-6 165-60 165-130' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Cpath d='M-20 190c130-4 200-65 200-145' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Cpath d='M-20 190c155-2 235-70 235-160' stroke='%23d5dde8' stroke-width='1.2'/%3E%3C/svg%3E");
}

/* 2 Skanska - building grid */
.projects-page .developers-grid > .col:nth-child(2) .developer-card::before {
  background-position: 70% 100%;
  background-size: 70% 85%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 180' fill='none'%3E%3Crect x='70' y='48' width='28' height='132' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Crect x='104' y='28' width='32' height='152' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Crect x='142' y='62' width='24' height='118' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Cpath d='M70 68h28M70 88h28M70 108h28M70 128h28M70 148h28M104 48h32M104 68h32M104 88h32M104 108h32M104 128h32M104 148h32M142 82h24M142 102h24M142 122h24M142 142h24' stroke='%23d5dde8' stroke-width='1'/%3E%3C/svg%3E");
}

/* 3 Finep - waves */
.projects-page .developers-grid > .col:nth-child(3) .developer-card::before {
  background-position: right bottom;
  background-size: 120% 70%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 140' fill='none'%3E%3Cpath d='M-10 40c28-16 56-16 84 0s56 16 84 0 56-16 84 0 56 16 84 0' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Cpath d='M-10 58c28-16 56-16 84 0s56 16 84 0 56-16 84 0 56 16 84 0' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Cpath d='M-10 76c28-16 56-16 84 0s56 16 84 0 56-16 84 0 56 16 84 0' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Cpath d='M-10 94c28-16 56-16 84 0s56 16 84 0 56-16 84 0 56 16 84 0' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Cpath d='M-10 112c28-16 56-16 84 0s56 16 84 0 56-16 84 0 56 16 84 0' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Cpath d='M-10 130c28-16 56-16 84 0s56 16 84 0 56-16 84 0 56 16 84 0' stroke='%23d5dde8' stroke-width='1.2'/%3E%3C/svg%3E");
}

/* 4 Central - concentric circles */
.projects-page .developers-grid > .col:nth-child(4) .developer-card::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 180' fill='none'%3E%3Ccircle cx='8' cy='178' r='36' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Ccircle cx='8' cy='178' r='58' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Ccircle cx='8' cy='178' r='80' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Ccircle cx='8' cy='178' r='102' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Ccircle cx='8' cy='178' r='124' stroke='%23d5dde8' stroke-width='1.2'/%3E%3Ccircle cx='8' cy='178' r='146' stroke='%23d5dde8' stroke-width='1.2'/%3E%3C/svg%3E");
}

/* 5 JRD - vertical bars */
.projects-page .developers-grid > .col:nth-child(5) .developer-card::before {
  background-position: center bottom;
  background-size: 90% 70%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 150' fill='none'%3E%3Cpath d='M24 150V88M42 150V62M60 150V98M78 150V48M96 150V78M114 150V36M132 150V86M150 150V58M168 150V96M186 150V70' stroke='%23d5dde8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* 6 Trigema - sweeping ribbons */
.projects-page .developers-grid > .col:nth-child(6) .developer-card::before {
  background-position: right bottom;
  background-size: 115% 85%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 180' fill='none'%3E%3Cpath d='M-20 130C40 85 90 155 150 100C195 60 220 35 255 10' stroke='%23d5dde8' stroke-width='1.3'/%3E%3Cpath d='M-20 148C45 105 100 168 160 118C200 82 225 52 260 28' stroke='%23d5dde8' stroke-width='1.3'/%3E%3Cpath d='M-15 162C55 122 110 175 170 132C205 100 230 70 265 48' stroke='%23d5dde8' stroke-width='1.2'/%3E%3C/svg%3E");
}

.projects-page .developer-card-logo {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 52px;
  height: 52px;
  object-fit: contain;
  object-position: center;
}

.projects-page .developer-card-name {
  margin: 0;
  color: var(--text-primary);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
}

.projects-page .developer-card-name--serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 26px;
}

.projects-page .developer-card-rule {
  display: block;
  width: 28px;
  height: 2px;
  margin: 14px 0 12px;
  background: var(--brand-accent);
  border-radius: 2px;
}

.projects-page .developer-card small {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

@media (hover: hover) {
  .projects-page .developer-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 14px 28px rgba(6, 26, 63, 0.1);
    transform: translateY(-3px);
  }
}

@media (max-width: 720px) {
  .projects-page .developer-card {
    min-height: 136px;
    padding: 22px 12px 20px;
  }

  .projects-page .developer-card-name {
    font-size: 18px;
  }

  .projects-page .developer-card-name--serif {
    font-size: 22px;
  }
}

.projects-page .projects-market > .section-heading {
  margin-bottom: 20px;
}

.projects-page .market-metrics {
  --bs-gutter-x: 16px;
  --bs-gutter-y: 16px;
  align-items: stretch;
}

.projects-page .market-metrics > [class*="col"] {
  display: flex;
}

.projects-page .market-metrics article {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 180px;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(6, 26, 63, 0.05);
}

.projects-page .market-metrics h3,
.projects-page .market-details h3 {
  font-size: 14px;
}

.projects-page .market-metrics strong {
  margin-top: 22px;
}

.projects-page .market-details {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
  margin-top: 20px;
}

.projects-page .market-details article {
  height: 100%;
  min-height: 480px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(6, 26, 63, 0.05);
}

.projects-page .localities-panel {
  padding: 28px;
}

.projects-page .new-projects-panel {
  padding-top: 6px;
}

.projects-page .new-projects-panel > h3 {
  padding: 22px 24px 16px;
}

.projects-page .new-project-row {
  min-height: 82px;
  padding: 14px 24px;
}

.projects-page .projects-pagination {
  margin: 36px 0 12px;
  gap: 8px;
}

.projects-page .projects-pagination a,
.projects-page .projects-pagination span {
  min-width: 40px;
  height: 40px;
  font-size: 13px;
}

.projects-page .projects-pagination a:not(.active) {
  border: 1px solid transparent;
}

.projects-page .projects-pagination a:not(.active):hover {
  background: var(--gray-100);
  border-color: var(--border);
}

@media (max-width: 980px) {
  .projects-page .projects-showcase,
  .projects-page .developers-section,
  .projects-page .projects-duo,
  .projects-page .projects-market {
    margin-top: 48px;
  }

  .projects-page .project-tabs {
    max-width: 100%;
    overflow-x: auto;
  }

  .projects-page .project-media img {
    height: 230px;
  }
}

@media (max-width: 720px) {
  .projects-page .projects-benefits-bar {
    padding: 20px;
  }

  .projects-page .projects-showcase,
  .projects-page .developers-section,
  .projects-page .projects-duo,
  .projects-page .projects-market {
    margin-top: var(--section-space);
  }

  .projects-page .section-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .projects-page .section-heading h2 {
    font-size: 24px;
  }

  .projects-page .localities-panel {
    padding: 22px;
  }
}

/* Novostavby benefits - one spacious trust strip */
.projects-page .projects-benefits-bar {
  margin-top: 34px;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--brand-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(6, 26, 63, 0.16);
}

.projects-page .projects-benefits-bar .projects-benefits {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.projects-page .projects-benefits-bar .projects-benefits > div {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 138px;
  padding: 28px 32px;
  transition: background-color 180ms ease;
}

.projects-page .projects-benefits-bar .projects-benefits > div::before {
  position: absolute;
  top: 28px;
  right: 0;
  bottom: 28px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.projects-page .projects-benefits-bar .projects-benefits > div:last-child::before {
  display: none;
}

.projects-page .projects-benefits-bar .projects-benefits > div::after {
  position: absolute;
  top: 17px;
  right: 20px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.projects-page .projects-benefits-bar .projects-benefits > div:nth-child(1)::after { content: "01"; }
.projects-page .projects-benefits-bar .projects-benefits > div:nth-child(2)::after { content: "02"; }
.projects-page .projects-benefits-bar .projects-benefits > div:nth-child(3)::after { content: "03"; }
.projects-page .projects-benefits-bar .projects-benefits > div:nth-child(4)::after { content: "04"; }

.projects-page .projects-benefits-bar .projects-benefits svg {
  position: static;
  width: 48px;
  height: 48px;
  padding: 12px;
  color: var(--brand-accent);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.projects-page .projects-benefits-bar .projects-benefits span {
  display: block;
}

.projects-page .projects-benefits-bar .projects-benefits strong {
  margin: 0;
  color: var(--white);
  font-size: 15px;
  line-height: 1.3;
  white-space: normal;
}

.projects-page .projects-benefits-bar .projects-benefits small {
  max-width: 21ch;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
}

@media (hover: hover) {
  .projects-page .projects-benefits-bar .projects-benefits > div:hover {
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 980px) {
  .projects-page .projects-benefits-bar .projects-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-page .projects-benefits-bar .projects-benefits > div:nth-child(2)::before {
    display: none;
  }

  .projects-page .projects-benefits-bar .projects-benefits > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 560px) {
  .projects-page .projects-benefits-bar .projects-benefits {
    grid-template-columns: 1fr;
  }

  .projects-page .projects-benefits-bar .projects-benefits > div {
    min-height: 112px;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .projects-page .projects-benefits-bar .projects-benefits > div::before {
    display: none;
  }

  .projects-page .projects-benefits-bar .projects-benefits > div:last-child {
    border-bottom: 0;
  }
}

/* Novostavby benefits - image-led editorial cards */
.projects-page .projects-benefits-bar {
  margin-top: 64px;
  padding: 0 0 26px;
  overflow: visible;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.projects-benefits-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.projects-benefits-heading > span {
  display: inline-block;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.projects-benefits-heading > span::before {
  display: block;
  width: 34px;
  height: 2px;
  margin: 0 auto 12px;
  background: var(--brand-accent);
  content: "";
}

.projects-benefits-heading h2 {
  margin: 10px 0 0;
  color: var(--text-primary);
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.projects-benefits-heading p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.projects-page .projects-benefits-bar .projects-benefits {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 24px;
  width: 100%;
  overflow: visible;
}

.projects-page .projects-benefits-bar .projects-benefits::after {
  position: absolute;
  right: 8%;
  bottom: -20px;
  left: 8%;
  z-index: 0;
  height: 1px;
  background: rgba(194, 13, 24, 0.35);
  content: "";
}

.projects-page .projects-benefits article {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-top: 0;
}

.projects-page .benefit-visual {
  position: relative;
  display: grid;
  grid-template-rows: auto 250px;
  /* gap: 12px; */
  margin: 0 14px;
}

.projects-page .benefit-visual b {
  display: block;
  width: fit-content;
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.projects-page .benefit-visual b::after {
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  background: var(--brand-accent);
  content: "";
}

.projects-page .benefit-frame {
  position: relative;
  z-index: 0;
  height: 100%;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0 20px 4px 4px;
  box-shadow: none;
  clip-path: polygon(0 20%, 16% 0, 100% 0, 100% 100%, 0 100%);
}

.projects-page .benefit-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  outline: 0;
  filter: saturate(0.85) contrast(1.05);
}

.projects-page .benefit-copy {
  position: relative;
  z-index: 2;
  min-height: 205px;
  margin-top: -34px;
  padding: 52px 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(6, 26, 63, 0.1);
  text-align: center;
}

.projects-page .benefit-copy::after {
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 42px;
  height: 2px;
  background: var(--brand-accent);
  content: "";
  transform: translateX(-50%);
}

.projects-page .benefit-copy > i {
  position: absolute;
  top: -28px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--brand-accent);
  background: var(--surface);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(6, 26, 63, 0.14);
  transform: translateX(-50%);
}

.projects-page .projects-benefits-bar .projects-benefits .benefit-copy > i svg {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-page .benefit-copy h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.projects-page .benefit-copy p {
  max-width: 26ch;
  margin: 18px auto 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
}

.projects-page .projects-benefits article::after {
  position: absolute;
  bottom: -20px;
  left: 50%;
  z-index: 3;
  width: 7px;
  height: 7px;
  background: var(--surface);
  border: 1px solid rgba(194, 13, 24, 0.55);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, 50%);
}

@media (hover: hover) {
  .projects-page .benefit-visual,
  .projects-page .benefit-copy {
    transition: transform 180ms ease;
  }

  .projects-page .projects-benefits article:hover .benefit-visual,
  .projects-page .projects-benefits article:hover .benefit-copy {
    transform: translateY(-5px);
  }
}

@media (max-width: 1100px) {
  .projects-page .projects-benefits-bar .projects-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }

  .projects-page .projects-benefits-bar .projects-benefits::after,
  .projects-page .projects-benefits article::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .projects-page .projects-benefits-bar {
    margin-top: 48px;
    padding-bottom: 0;
  }

  .projects-benefits-heading {
    margin-bottom: 28px;
  }

  .projects-benefits-heading h2 {
    font-size: 28px;
  }

  .projects-page .projects-benefits-bar .projects-benefits {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .projects-page .benefit-visual {
    grid-template-rows: auto 280px;
  }
}

/* Modern market detail dashboard */
.projects-page .market-details {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
  align-items: stretch;
}

.projects-page .market-details > div {
  display: flex;
}

.projects-page .market-details article {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(6, 26, 63, 0.07);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(6, 26, 63, 0.08);
}

.projects-page .market-card-heading span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--brand-accent);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.projects-page .market-card-heading span::before {
  flex: 0 0 auto;
  width: 2px;
  height: 14px;
  background: var(--brand-accent);
  content: "";
}

.projects-page .market-card-heading h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.projects-page .market-card-heading p {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.projects-page .localities-ranking {
  display: flex;
  flex-direction: column;
  padding: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(40, 73, 112, 0.75), transparent 38%),
    linear-gradient(145deg, #061a3f, #0b2a5a);
}

.projects-page .localities-ranking .market-card-heading p {
  color: rgba(255, 255, 255, 0.65);
}

.projects-page .localities-ranking ol {
  display: grid;
  gap: 17px;
  margin: 28px 0 24px;
}

.projects-page .localities-ranking li {
  display: block;
  min-height: 0;
  margin: 0;
  color: #fff;
  font-size: 13px;
}

.projects-page .localities-ranking li::before {
  display: none;
}

.projects-page .localities-ranking li > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.projects-page .localities-ranking li span {
  color: #fff;
  font-weight: 700;
}

.projects-page .localities-ranking li em {
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.projects-page .localities-ranking li b {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
}

.projects-page .localities-ranking li > i {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
}

.projects-page .localities-ranking li > i::after {
  display: block;
  width: var(--score);
  height: 100%;
  background: linear-gradient(90deg, #d21d27, #f05b63);
  border-radius: inherit;
  content: "";
}

.projects-page .localities-ranking footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.projects-page .localities-ranking footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.projects-page .localities-ranking footer a svg,
.projects-page .market-card-heading--row > a svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.projects-page .localities-ranking footer small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

.projects-page .new-projects-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0;
  background: #fff;
}

.projects-page .new-projects-panel > .market-card-heading {
  padding: 28px 28px 22px;
}

.projects-page .market-card-heading--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.projects-page .market-card-heading--row > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 9px 13px;
  color: var(--brand-accent);
  background: rgba(194, 13, 24, 0.06);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.projects-page .new-project-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) minmax(145px, auto) 36px;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 13px 24px;
  color: var(--text-primary);
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.projects-page .new-project-row:hover {
  color: var(--text-primary);
  background: #f8fafc;
}

.projects-page .new-project-row > img {
  width: 104px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
}

.projects-page .new-project-row > div > span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 7px;
  padding: 4px 7px;
  color: var(--brand-accent);
  background: rgba(194, 13, 24, 0.07);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.projects-page .new-project-row > div strong {
  font-size: 14px;
  line-height: 1.25;
}

.projects-page .new-project-row > div small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 11px;
}

.projects-page .new-project-row > div small svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.projects-page .new-project-row > b {
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.3;
}

.projects-page .new-project-row > b small {
  margin-top: 6px;
  font-size: 10px;
}

.projects-page .new-project-row > .new-project-row-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--brand-accent);
  background: rgba(12, 31, 68, 0.06);
  border-radius: 50%;
  font-size: 0;
  font-weight: 400;
  transition: color 160ms ease, background-color 160ms ease;
}

.projects-page .new-project-row > .new-project-row-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-page .new-project-row:hover > .new-project-row-icon,
.projects-page .new-project-row:focus-visible > .new-project-row-icon {
  color: #fff;
  background: var(--brand-accent);
}

@media (max-width: 720px) {
  .projects-page .market-details article {
    min-height: 0;
    border-radius: 16px;
  }

  .projects-page .localities-ranking {
    padding: 24px 20px;
  }

  .projects-page .localities-ranking footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .projects-page .market-card-heading h3 {
    font-size: 20px;
  }

  .projects-page .new-projects-panel > .market-card-heading {
    padding: 24px 20px 18px;
  }

  .projects-page .new-project-row {
    grid-template-columns: 82px minmax(0, 1fr) 30px;
    gap: 12px;
    min-height: 92px;
    padding: 12px 16px;
  }

  .projects-page .new-project-row > img {
    width: 82px;
    height: 66px;
  }

  .projects-page .new-project-row > b {
    display: none;
  }

  .projects-page .new-project-row > .new-project-row-icon {
    width: 30px;
    height: 30px;
  }

  .projects-page .new-project-row > .new-project-row-icon svg {
    width: 14px;
    height: 14px;
  }
}

/* Card detail cover links */
.project-showcase-card,
.property-card {
  position: relative;
}

.project-showcase-card .card-detail-link,
.property-card .card-detail-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.project-showcase-card .project-fav,
.property-card .property-fav {
  z-index: 2;
}
