:root {
  --ink: #172522;
  --ink-soft: #40504a;
  --muted: #78817b;
  --paper: #f7f6f1;
  --white: #fff;
  --sand: #e8e3d7;
  --accent: #d2a66d;
  --accent-dark: #b9874c;
  --line: rgba(23, 37, 34, .13);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", "DM Sans", Arial, sans-serif;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
}

button {
  font: inherit;
}

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

.container {
  width: min(var(--container), calc(100% - 56px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1000;
  left: 16px;
  top: -60px;
  padding: 10px 15px;
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.2);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  letter-spacing: .17em;
}

.brand-copy strong {
  font-size: 14px;
  font-weight: 800;
}

.brand-copy small {
  margin-top: 5px;
  font-size: 8px;
  letter-spacing: .19em;
  opacity: .75;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255,255,255,.83);
  transition: color .2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: var(--accent);
  transition: right .25s;
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::after {
  right: 0;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border .2s;
}

.header-link span {
  color: var(--accent);
  font-size: 17px;
}

.header-link:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 740px;
  min-height: min(850px, 100svh);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #26342f;
}

.hero-photo, .hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background: url("../assets/images/house/house-01.webp") center 53% / cover no-repeat;
  transform: scale(1.015);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(13,25,22,.82) 0%, rgba(13,25,22,.61) 43%, rgba(13,25,22,.15) 100%), linear-gradient(0deg, rgba(11,21,18,.48), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 112px;
  padding-bottom: 100px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1.4;
}

.eyebrow-light {
  color: #e6c69c;
}

.eyebrow-line {
  width: 30px;
  height: 1px;
  background: currentColor;
}

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

.hero h1 {
  max-width: 780px;
  margin: 28px 0 19px;
  font-family: var(--serif);
  font-size: clamp(53px, 7vw, 94px);
  line-height: .99;
  font-weight: 500;
  letter-spacing: -.045em;
}

.hero h1 em, .section-title em, .cta-content h2 em {
  color: var(--accent);
  font-weight: 500;
}

.hero-description {
  max-width: 510px;
  margin-bottom: 31px;
  color: rgba(255,255,255,.79);
  font-size: 14px;
  line-height: 1.9;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 21px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}

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

.button span {
  font-size: 16px;
}

.button-accent {
  background: var(--accent);
  color: var(--ink);
}

.button-accent:hover {
  background: #e1bd91;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}

.button-ghost:hover {
  color: var(--ink);
  background: var(--white);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 29px;
  color: rgba(255,255,255,.7);
  font-size: 11px;
}

.note-dot {
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(210,166,109,.18);
}

.hero-bottom {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 63px;
  border-top: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.65);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
}

.hero-bottom a {
  color: var(--white);
}

.hero-bottom a span {
  margin-left: 8px;
  color: var(--accent);
  font-size: 14px;
}

.quick-facts {
  background: #e9e5db;
  border-bottom: 1px solid rgba(23,37,34,.08);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 27px;
}

.fact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 40px;
  border-right: 1px solid var(--line);
}

.fact-item:last-child {
  border: 0;
}

.fact-number {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
}

.fact-label {
  max-width: 125px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.section {
  padding-block: 112px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: clamp(45px, 8vw, 112px);
}

.about-image-wrap {
  position: relative;
  min-height: 560px;
}

.about-image {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  left: -22px;
  bottom: 34px;
  width: 245px;
  padding: 23px 26px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.caption-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .2em;
}

.image-caption strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
}

.about-copy {
  padding-block: 20px;
}

.section-title {
  margin: 20px 0 23px;
  font-family: var(--serif);
  font-size: clamp(39px, 4.5vw, 59px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -.035em;
}

.section-title em {
  color: var(--accent-dark);
}

.lead {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 600;
}

.body-copy {
  max-width: 500px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 30px 0 28px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}

.signature-line {
  width: 35px;
  height: 1px;
  background: var(--accent-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--accent-dark);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--accent-dark);
  font-size: 17px;
  transition: transform .2s;
}

.text-link:hover span {
  transform: translateX(5px);
}

.properties-section {
  background: #eeece5;
}

.section-heading {
  margin-bottom: 44px;
}

.heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
}

.heading-row .section-title {
  margin-bottom: 0;
}

.heading-aside {
  max-width: 310px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

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

.property-card {
  background: var(--white);
  box-shadow: 0 12px 36px rgba(31,43,38,.045);
  transition: transform .25s, box-shadow .25s;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(31,43,38,.09);
}

.property-image-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #d6d3cb;
}

.property-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.property-card:hover .property-image-wrap img {
  transform: scale(1.04);
}

.property-number {
  position: absolute;
  top: 19px;
  left: 21px;
  z-index: 2;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(23,37,34,.75);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.image-bottom-label {
  position: absolute;
  bottom: 18px;
  left: 21px;
  z-index: 2;
  color: white;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
  text-shadow: 0 1px 5px rgba(0,0,0,.5);
}

.property-body {
  padding: 28px 30px 30px;
}

.property-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.property-type, .price-caption {
  color: var(--accent-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .17em;
}

.property-capacity {
  color: var(--muted);
  font-size: 10px;
}

.property-body h3 {
  margin: 10px 0 9px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
}

.property-description {
  min-height: 69px;
  margin-bottom: 19px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.property-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.property-specs span {
  margin: 5px 15px 5px 0;
  color: var(--muted);
  font-size: 9px;
}

.property-specs b {
  margin-right: 3px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.property-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 21px 0 17px;
}

.property-price-row > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.property-price {
  margin-top: 1px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.deposit-note {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.round-arrow {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
  transition: color .2s, background .2s, border .2s;
}

.round-arrow:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.property-button {
  width: 100%;
  justify-content: space-between;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: #2c4039;
}

.gallery-section {
  background: var(--paper);
}

.gallery-hint {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.cta-section {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #26342f;
}

.cta-image, .cta-overlay {
  position: absolute;
  inset: 0;
}

.cta-image {
  background: url("../assets/images/apartment/apartment-09.webp") center 55% / cover;
}

.cta-overlay {
  background: linear-gradient(90deg, rgba(14,27,23,.87), rgba(14,27,23,.34));
}

.cta-content {
  position: relative;
  z-index: 1;
  padding-block: 70px;
}

.cta-content h2 {
  margin: 21px 0 13px;
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 67px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -.035em;
}

.cta-content p {
  max-width: 440px;
  margin-bottom: 25px;
  color: rgba(255,255,255,.73);
  font-size: 12px;
  line-height: 1.9;
}

.contacts-section {
  background: #eeece5;
}

.contacts-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.contacts-copy .lead {
  max-width: 440px;
  margin-bottom: 30px;
}

.contact-location {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  padding-block: 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.location-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185,135,76,.45);
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: 21px;
}

.contact-location div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-location small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}

.contact-location strong {
  font-size: 12px;
}

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

.contact-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
}

.contact-phone div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-phone small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}

.contact-phone a {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.15;
}

.contact-phone a:hover, .footer-phone:hover {
  color: var(--accent-dark);
}

.map-note {
  margin: 9px 10px 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.footer-phone {
  display: inline-block;
  margin-top: 7px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.contact-actions .button {
  gap: 12px;
  font-size: 8px;
}

.map-card {
  padding: 10px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(30,40,34,.07);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 365px;
  border: 0;
}

.map-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 10px 7px;
}

.map-pin {
  color: var(--accent-dark);
  font-size: 23px;
}

.map-caption div {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.5;
}

.map-caption strong {
  font-size: 11px;
}

.map-caption small {
  color: var(--muted);
  font-size: 9px;
}

.map-caption > a {
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 16px;
}

.site-footer {
  color: rgba(255,255,255,.75);
  background: #111c19;
}

.footer-main {
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand-footer {
  color: var(--white);
}

.footer-main > p {
  margin: 0;
  color: rgba(255,255,255,.48);
  font-size: 11px;
}

.footer-up {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-bottom {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.42);
  font-size: 9px;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 64px 76px 82px;
  background: rgba(7,14,12,.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 78vw);
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.lightbox-close, .lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.06);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.lightbox-close:hover, .lightbox-nav:hover {
  background: rgba(255,255,255,.18);
  border-color: var(--white);
}

.lightbox-close {
  top: 18px;
  right: 26px;
  width: 45px;
  height: 45px;
  font-size: 30px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  font-family: Arial, sans-serif;
  font-size: 36px;
  line-height: 1;
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-count {
  position: absolute;
  bottom: 27px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.78);
  font-size: 12px;
  letter-spacing: .12em;
}

@media (max-width: 980px) {
  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .header-link {
    padding: 10px 12px;
    gap: 8px;
  }

  .about-grid {
    gap: 50px;
  }

  .about-image-wrap, .about-image {
    min-height: 490px;
    height: 490px;
  }

  .property-image-wrap {
    height: 250px;
  }

  .property-body {
    padding: 24px 23px;
  }

  .contacts-grid {
    gap: 40px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 70px;
  }

  .container {
    width: min(100% - 36px, var(--container));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .header-link {
    margin-left: auto;
    padding: 9px 10px;
    font-size: 8px;
  }

  .header-link span {
    font-size: 14px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    order: 3;
    padding: 0;
    border: 1px solid rgba(255,255,255,.42);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 16px;
    height: 1px;
    background: white;
    transition: transform .2s;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 30;
    top: 72px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 18px;
    background: #172522;
    border-top: 1px solid rgba(255,255,255,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 11px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: 720px;
    min-height: 94svh;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(13,25,22,.78), rgba(13,25,22,.34)), linear-gradient(0deg, rgba(11,21,18,.55), transparent 45%);
  }

  .hero-photo {
    background-position: 58% center;
  }

  .hero-content {
    padding-top: 115px;
    padding-bottom: 110px;
  }

  .hero h1 {
    font-size: clamp(49px, 11vw, 74px);
  }

  .hero-description {
    max-width: 450px;
    font-size: 12px;
  }

  .hero-bottom {
    min-height: 55px;
    font-size: 7px;
  }

  .hero-bottom-center {
    display: none;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 14px;
  }

  .fact-item {
    justify-content: flex-start;
    min-height: 63px;
    padding-left: 7px;
  }

  .fact-item:nth-child(2) {
    border-right: 0;
  }

  .fact-item:nth-child(1), .fact-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .fact-number {
    min-width: 48px;
    font-size: 25px;
  }

  .fact-label {
    font-size: 9px;
  }

  .section {
    padding-block: 76px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-image-wrap, .about-image {
    height: 410px;
    min-height: 410px;
  }

  .image-caption {
    left: -8px;
    bottom: 20px;
  }

  .section-title {
    font-size: clamp(39px, 9vw, 54px);
  }

  .lead {
    font-size: 15px;
  }

  .heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .heading-aside {
    max-width: 500px;
    margin: 0;
  }

  .property-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .property-image-wrap {
    height: 260px;
  }

  .property-body {
    padding: 24px 22px;
  }

  .property-description {
    min-height: 0;
  }

  .cta-section {
    min-height: 410px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .map-card iframe {
    height: 310px;
  }

  .footer-main {
    flex-wrap: wrap;
    min-height: 130px;
    padding-block: 22px;
  }

  .footer-main > p {
    order: 3;
    flex-basis: 100%;
  }

  .footer-bottom {
    flex-wrap: wrap;
    padding-block: 14px;
  }
}

@media (max-width: 440px) {
  .header-link {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .button {
    width: min(100%, 260px);
    justify-content: space-between;
  }

  .hero-bottom {
    letter-spacing: .12em;
  }

  .about-image-wrap, .about-image {
    height: 340px;
    min-height: 340px;
  }

  .image-caption {
    width: 205px;
    padding: 18px 20px;
  }

  .property-image-wrap {
    height: 220px;
  }

  .property-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .property-body h3 {
    font-size: 27px;
  }

  .property-specs span {
    margin-right: 13px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions .button {
    justify-content: space-between;
  }

  .footer-bottom {
    gap: 7px;
  }

  .lightbox {
    gap: 8px;
    padding: 60px 50px 78px;
  }

  .lightbox img {
    max-width: 86vw;
    max-height: 76vh;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 29px;
  }

  .lightbox-prev {
    left: 7px;
  }

  .lightbox-next {
    right: 7px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Дополнительные блоки с полными характеристиками и правилами */

.details-section {
  background: #f7f6f1;
}

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

.details-card {
  padding: 34px 34px 32px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(31,43,38,.045);
}

.details-card-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.details-number {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(185,135,76,.4);
  border-radius: 50%;
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 20px;
}

.details-card h3 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.2;
}

.details-card > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0;
}

.detail-pills span {
  padding: 6px 10px;
  color: var(--ink-soft);
  background: #f1efe8;
  font-size: 9px;
  font-weight: 700;
}

.detail-rows {
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.detail-row {
  padding: 13px 0 12px;
  border-bottom: 1px solid var(--line);
}

.detail-row h4 {
  margin: 0 0 5px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.detail-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.75;
}

.rules-section {
  padding-block: 100px;
  color: var(--white);
  background: var(--ink);
}

.rules-section .section-heading {
  margin-bottom: 36px;
}

.rules-aside {
  color: rgba(255,255,255,.55);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.rule-item {
  display: flex;
  gap: 16px;
  min-height: 112px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.17);
}

.rule-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210,166,109,.45);
  border-radius: 50%;
  color: var(--accent);
  font-size: 16px;
}

.rule-item strong {
  display: block;
  margin: 1px 0 7px;
  color: var(--white);
  font-size: 12px;
}

.rule-item p {
  margin: 0;
  color: rgba(255,255,255,.59);
  font-size: 10px;
  line-height: 1.85;
}

.gallery-subheading {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin: 46px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.gallery-subheading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
}

.gallery-subheading > span:last-child {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}

.gallery-index {
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.apartment-gallery-heading {
  margin-top: 64px;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 12px;
}

.photo-tile {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #d6d3cb;
  cursor: zoom-in;
  text-align: left;
}

.photo-tile-large {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s;
}

.photo-tile:hover img {
  transform: scale(1.05);
}

.photo-tile::after {
  position: absolute;
  inset: 45% 0 0;
  content: "";
  background: linear-gradient(0deg, rgba(15,26,22,.68), transparent);
  pointer-events: none;
}

.photo-tile span {
  position: absolute;
  z-index: 1;
  left: 15px;
  bottom: 12px;
  color: #fff;
  font-family: var(--serif);
  font-size: 17px;
  text-shadow: 0 1px 7px rgba(0,0,0,.35);
}

@media (max-width: 980px) {
  .details-card {
    padding: 27px 24px;
  }

  .photo-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }
}

@media (max-width: 760px) {
  .details-grid, .rules-grid {
    grid-template-columns: 1fr;
  }

  .details-card {
    padding: 24px 20px;
  }

  .rules-section {
    padding-block: 76px;
  }

  .rules-grid {
    gap: 0;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
    gap: 9px;
  }

  .photo-tile-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-subheading {
    margin-top: 34px;
  }
}

@media (max-width: 440px) {
  .photo-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 135px;
  }

  .photo-tile span {
    left: 10px;
    bottom: 8px;
    font-size: 15px;
  }

  .details-card h3 {
    font-size: 24px;
  }
}

/* ==========================================================
   Mobile-first refinements: phones, small tablets and touch
   ========================================================== */

:root {
  --mobile-header-height: 72px;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

button, a, .photo-tile {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

img, iframe {
  max-width: 100%;
}

@media (max-width: 980px) {
  .site-header {
    z-index: 50;
    background: linear-gradient(180deg, rgba(14, 27, 23, .32), rgba(14, 27, 23, .08));
  }

  .header-inner {
    min-height: var(--mobile-header-height);
    gap: 12px;
  }

  .menu-toggle {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    order: 3;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 2px;
  }

  .main-nav {
    position: fixed;
    z-index: 52;
    top: var(--mobile-header-height);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - var(--mobile-header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px max(22px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
    background: #172522;
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 30px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 12px;
    letter-spacing: .04em;
  }

  .main-nav a::after {
    display: none;
  }

  .header-link {
    margin-left: auto;
    min-height: 42px;
    padding: 9px 12px;
    font-size: 9px;
    white-space: nowrap;
  }

  .hero h1 {
    max-width: 720px;
    overflow-wrap: anywhere;
  }

  .property-card, .details-card, .map-card {
    min-width: 0;
  }

  .property-body, .details-card {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 760px) {
  :root {
    --mobile-header-height: 72px;
  }

  html {
    scroll-padding-top: calc(var(--mobile-header-height) + 10px);
  }

  body {
    font-size: 14px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .hero {
    min-height: max(680px, 94svh);
    align-items: center;
  }

  .hero-content {
    width: 100%;
    padding-top: calc(var(--mobile-header-height) + 55px);
    padding-bottom: 100px;
  }

  .hero h1 {
    max-width: 620px;
    margin-top: 22px;
    font-size: clamp(43px, 10.2vw, 70px);
    line-height: 1.02;
    letter-spacing: -.045em;
  }

  .hero-description {
    max-width: 560px;
    font-size: 13px;
    line-height: 1.75;
  }

  .hero-actions .button {
    min-height: 50px;
    padding-inline: 17px;
  }

  .hero-note {
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.55;
  }

  .hero-note .note-dot {
    margin-top: 6px;
    flex: 0 0 6px;
  }

  .hero-bottom {
    gap: 10px;
    font-size: 7px;
    letter-spacing: .12em;
  }

  .hero-bottom > span:first-child {
    max-width: 48%;
  }

  .hero-bottom > a {
    white-space: nowrap;
  }

  .facts-grid {
    padding-block: 10px;
  }

  .fact-item {
    min-width: 0;
    gap: 9px;
    padding-inline: 5px;
  }

  .fact-number {
    min-width: 0;
    white-space: nowrap;
    font-size: clamp(21px, 5vw, 26px);
  }

  .fact-label {
    min-width: 0;
    font-size: 9px;
    overflow-wrap: anywhere;
  }

  .section {
    padding-block: 66px;
  }

  .about-grid {
    gap: 34px;
  }

  .about-image-wrap, .about-image {
    height: clamp(285px, 72vw, 410px);
    min-height: 0;
  }

  .image-caption {
    left: 10px;
    bottom: 14px;
    max-width: calc(100% - 20px);
  }

  .about-copy {
    padding-block: 0;
  }

  .section-title {
    font-size: clamp(35px, 8.5vw, 52px);
    line-height: 1.1;
  }

  .lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .body-copy {
    font-size: 13px;
    line-height: 1.8;
  }

  .heading-row {
    gap: 12px;
  }

  .heading-row .section-title {
    max-width: 100%;
  }

  .heading-aside {
    font-size: 12px;
    line-height: 1.75;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .property-grid, .details-grid, .contacts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .property-grid {
    gap: 18px;
  }

  .property-image-wrap {
    height: clamp(205px, 60vw, 310px);
  }

  .property-body {
    padding: 22px 20px 21px;
  }

  .property-topline {
    flex-wrap: wrap;
  }

  .property-body h3 {
    font-size: clamp(25px, 6vw, 30px);
  }

  .property-description {
    font-size: 12px;
    line-height: 1.75;
  }

  .property-price-row {
    align-items: flex-end;
    gap: 12px;
    padding: 18px 0 15px;
  }

  .property-price {
    font-size: 29px;
  }

  .deposit-note {
    max-width: 250px;
    font-size: 10px;
    line-height: 1.55;
  }

  .property-button {
    min-height: 50px;
  }

  .rules-section {
    padding-block: 66px;
  }

  .details-grid {
    gap: 16px;
  }

  .details-card {
    padding: 23px 20px;
  }

  .details-card-top {
    gap: 13px;
  }

  .details-card-top > div {
    min-width: 0;
  }

  .details-card h3 {
    font-size: clamp(22px, 5.8vw, 26px);
  }

  .details-card > p {
    font-size: 12px;
    line-height: 1.8;
  }

  .detail-pills {
    gap: 6px;
  }

  .detail-pills span {
    font-size: 9px;
  }

  .detail-row p {
    font-size: 11px;
    line-height: 1.75;
  }

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

  .rule-item {
    min-height: 0;
    gap: 13px;
    padding-block: 18px;
  }

  .rule-item > div {
    min-width: 0;
  }

  .rule-item p {
    font-size: 11px;
    line-height: 1.75;
  }

  .gallery-subheading {
    gap: 10px;
    margin-top: 34px;
  }

  .gallery-subheading h3 {
    font-size: 25px;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(132px, 34vw, 185px);
    gap: 9px;
  }

  .photo-tile {
    min-width: 0;
    min-height: 0;
  }

  .photo-tile-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .photo-tile span {
    left: 11px;
    bottom: 9px;
    font-size: 15px;
  }

  .gallery-hint {
    font-size: 11px;
    line-height: 1.6;
  }

  .cta-section {
    min-height: 390px;
  }

  .cta-content {
    padding-block: 58px;
  }

  .cta-content h2 {
    font-size: clamp(38px, 8vw, 55px);
  }

  .cta-content p {
    font-size: 13px;
    line-height: 1.75;
  }

  .contacts-grid {
    gap: 28px;
  }

  .contacts-copy .lead {
    margin-bottom: 22px;
  }

  .contact-location {
    margin-block: 20px;
  }

  .contact-phone a {
    font-size: clamp(23px, 6vw, 29px);
  }

  .contact-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-actions .button {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
  }

  .map-card {
    padding: 7px;
  }

  .map-card iframe {
    height: clamp(250px, 70vw, 330px);
  }

  .map-caption {
    gap: 9px;
    padding: 12px 7px 6px;
  }

  .map-caption div {
    min-width: 0;
  }

  .map-caption strong {
    font-size: 11px;
  }

  .map-caption small {
    font-size: 9px;
    overflow-wrap: anywhere;
  }

  .map-caption > a {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }

  .footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding-block: 22px;
  }

  .footer-main > p {
    grid-column: 1 / -1;
    order: initial;
    font-size: 11px;
    line-height: 1.7;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding-block: 13px;
    font-size: 10px;
  }

  .lightbox {
    padding: calc(58px + env(safe-area-inset-top)) 46px calc(72px + env(safe-area-inset-bottom));
  }

  .lightbox img {
    width: 100%;
    max-width: 100%;
    max-height: 76svh;
    object-fit: contain;
  }

  .lightbox-close {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: 42px;
    height: 42px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }

  .lightbox-count {
    bottom: max(22px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 440px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-copy strong {
    font-size: 11px;
  }

  .brand-copy small {
    font-size: 6.5px;
    letter-spacing: .15em;
  }

  .header-link {
    display: inline-flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    min-height: 40px;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .header-link span {
    font-size: 17px;
  }

  .menu-toggle {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: max(660px, 94svh);
  }

  .hero-content {
    padding-top: 138px;
    padding-bottom: 96px;
  }

  .hero .eyebrow {
    gap: 8px;
    font-size: 8px;
    letter-spacing: .13em;
  }

  .hero .eyebrow-line {
    width: 22px;
    flex: 0 0 22px;
  }

  .hero h1 {
    font-size: clamp(39px, 11vw, 47px);
    line-height: 1.04;
  }

  .hero-description {
    font-size: 12px;
    line-height: 1.72;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 310px;
    justify-content: space-between;
  }

  .hero-bottom {
    min-height: 50px;
    font-size: 6.5px;
    letter-spacing: .08em;
  }

  .hero-bottom > span:first-child {
    max-width: 52%;
  }

  .hero-bottom > a {
    font-size: 6.5px;
  }

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

  .fact-item {
    gap: 7px;
    padding-inline: 2px;
  }

  .fact-number {
    font-size: clamp(19px, 5vw, 23px);
  }

  .fact-label {
    font-size: 8px;
    line-height: 1.4;
  }

  .section {
    padding-block: 58px;
  }

  .section-title {
    font-size: clamp(33px, 8.5vw, 42px);
  }

  .about-image-wrap, .about-image {
    height: 300px;
  }

  .image-caption {
    width: 190px;
    padding: 16px 18px;
  }

  .image-caption strong {
    font-size: 21px;
  }

  .property-body {
    padding: 20px 17px;
  }

  .property-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .property-specs {
    row-gap: 1px;
  }

  .property-specs span {
    margin-right: 11px;
    font-size: 9px;
  }

  .property-price {
    font-size: 27px;
  }

  .deposit-note {
    max-width: 225px;
    font-size: 9px;
  }

  .details-card {
    padding: 21px 17px;
  }

  .gallery-subheading > span:last-child {
    font-size: 9px;
  }

  .photo-gallery {
    grid-auto-rows: 132px;
    gap: 8px;
  }

  .photo-tile span {
    font-size: 14px;
  }

  .contact-phone a {
    font-size: 23px;
  }

  .map-card iframe {
    height: 255px;
  }

  .lightbox {
    padding-right: 42px;
    padding-left: 42px;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 28px);
  }

  .header-inner {
    gap: 8px;
  }

  .brand-copy strong {
    font-size: 10px;
  }

  .brand-copy small {
    font-size: 6px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: .1em;
  }

  .hero-note {
    font-size: 10px;
  }

  .fact-number {
    font-size: 18px;
  }

  .fact-label {
    font-size: 7.5px;
  }

  .photo-gallery {
    grid-auto-rows: 118px;
  }

  .lightbox {
    padding-right: 38px;
    padding-left: 38px;
  }

  .lightbox-nav {
    width: 34px;
    height: 34px;
    font-size: 27px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .property-card:hover {
    transform: none;
    box-shadow: 0 12px 36px rgba(31,43,38,.045);
  }

  .property-card:hover .property-image-wrap img, .photo-tile:hover img {
    transform: none;
  }

  .button:hover {
    transform: none;
  }

  .photo-tile {
    cursor: pointer;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav {
    transition: none !important;
  }
}

/* SEO detail pages: retain the existing visual system while giving a single
   property card and breadcrumb navigation a balanced layout. */

/* Final content refinements: phone in brand, street labels and map launch link */

.brand-phone {
  display: block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .035em;
  white-space: nowrap;
}

.property-address {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: -4px 0 15px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.property-address span {
  color: var(--accent-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .13em;
}

.map-frame {
  position: relative;
  overflow: hidden;
}

.map-frame iframe {
  pointer-events: none;
}

.map-open-overlay {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 14px;
  cursor: pointer;
}

.map-open-overlay span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(23,37,34,.16);
  border-radius: 2px;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  box-shadow: 0 4px 18px rgba(0,0,0,.14);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background .2s, transform .2s;
}

.map-open-overlay:hover span {
  background: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .brand-phone {
    font-size: 7.5px;
  }

  .property-address {
    margin-top: -1px;
    margin-bottom: 12px;
    font-size: 10px;
  }

  .map-open-overlay {
    padding: 10px;
  }

  .map-open-overlay span {
    min-height: 36px;
    font-size: 8px;
  }
}

@media (max-width: 360px) {
  .brand-phone {
    font-size: 7px;
    letter-spacing: 0;
  }
}
