:root {
  --bg: #060606;
  --bg-elevated: #101010;
  --bg-soft: #171717;
  --line: #242424;
  --line-strong: #323232;
  --text: #f3f3f3;
  --muted: #b2b2b2;
  --brand: #d9b46d;
  --brand-strong: #f0c475;
  --brand-soft: rgba(217, 180, 109, 0.16);
  --danger-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 8% -12%, rgba(217, 180, 109, 0.17), transparent 58%),
    radial-gradient(680px 320px at 92% 5%, rgba(217, 180, 109, 0.08), transparent 62%),
    var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 2.8rem));
  margin: 0 auto;
}

.floating-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.92), rgba(6, 6, 6, 0.72));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-shell {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 1.3rem;
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-copy strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  max-width: 430px;
}

.main-nav {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  height: 40px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: #d7d7d7;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a.is-active {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: #d2d2d2;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  border-radius: 999px;
  min-width: 56px;
  height: 36px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: rgba(217, 180, 109, 0.6);
  color: #fff;
}

.lang-btn.is-active {
  background: var(--brand);
  color: #101010;
  border-color: transparent;
}

.page-flow {
  padding-block: 2rem 4.2rem;
  display: grid;
  gap: 2.2rem;
}

.showcase {
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(125deg, rgba(217, 180, 109, 0.07), rgba(217, 180, 109, 0)),
    linear-gradient(180deg, #121212, #0b0b0b);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--danger-shadow);
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
}

.showcase-copy {
  padding: clamp(1.7rem, 3.8vw, 3rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(217, 180, 109, 0.45);
  color: #f2cb84;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.showcase-copy h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.lead {
  margin: 1rem 0 0;
  max-width: 64ch;
  color: #d0d0d0;
}

.cta-row {
  margin-top: 1.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(145deg, #e9c783, #d5aa5d);
  color: #131313;
  box-shadow: 0 14px 30px rgba(213, 170, 93, 0.22);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ececec;
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.showcase-panel {
  padding: clamp(1.3rem, 3vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    #0d0d0d;
}

.showcase-panel h2 {
  margin: 0 0 1.15rem;
  font-size: 1.1rem;
}

.showcase-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.showcase-panel li {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: center;
  column-gap: 0.85rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.01);
}

.showcase-panel li strong {
  min-width: 74px;
  font-size: 1rem;
  color: var(--brand-strong);
  letter-spacing: 0.05em;
}

.showcase-panel li span {
  color: #d4d4d4;
  font-size: 0.9rem;
}

.service-strip {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, #101010, #0a0a0a);
  padding: clamp(1.4rem, 3.2vw, 2.3rem);
}

.service-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.7vw, 2rem);
}

.service-head p {
  margin: 0.8rem 0 0;
  color: #c7c7c7;
  max-width: 74ch;
}

.service-list {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.service-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 1rem 1.1rem;
  transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.service-item:hover {
  border-color: rgba(217, 180, 109, 0.55);
  background: rgba(217, 180, 109, 0.07);
  transform: translateY(-2px);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(217, 180, 109, 0.55);
  color: #f2cd86;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.service-item h3 {
  margin: 0.85rem 0 0;
  font-size: 1.02rem;
}

.service-item p {
  margin: 0.55rem 0 0;
  color: #c8c8c8;
  font-size: 0.92rem;
}

.catalog-head {
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: clamp(1.25rem, 2.8vw, 2rem);
  background:
    linear-gradient(135deg, rgba(217, 180, 109, 0.1), rgba(217, 180, 109, 0)),
    #0f0f0f;
}

.catalog-head h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
}

.catalog-head p {
  margin: 0.75rem 0 0;
  color: #cecece;
  max-width: 70ch;
}

.catalog-grid {
  display: grid;
  gap: 1rem;
}

.catalog-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #151515, #0f0f0f);
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 260px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.catalog-card:hover {
  border-color: rgba(217, 180, 109, 0.58);
  transform: translateY(-2px);
}

.card-media {
  position: relative;
  overflow: hidden;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.42));
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.catalog-card:hover .card-media img {
  transform: scale(1.05);
}

.card-copy {
  padding: 1.1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
}

.card-copy h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.card-copy p {
  margin: 0.6rem 0 0;
  color: #d3d3d3;
}

.apartment-price {
  color: #ffdfa1;
  font-weight: 800;
}

.amenities {
  font-size: 0.9rem;
}

.open-gallery-btn {
  margin-top: auto;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(217, 180, 109, 0.62);
  background: rgba(217, 180, 109, 0.1);
  color: #f5cd84;
  font-size: 0.87rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.open-gallery-btn:hover {
  background: rgba(217, 180, 109, 0.2);
  color: #fff2d3;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.91);
  display: grid;
  align-content: center;
  gap: 0.95rem;
  padding: clamp(0.9rem, 2.8vw, 2rem);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-close {
  justify-self: end;
  min-height: 40px;
  padding: 0 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.gallery-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
}

.gallery-nav {
  min-height: 44px;
  padding: 0 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: #f1f1f1;
  font-weight: 700;
  cursor: pointer;
}

.gallery-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: #0d0d0d;
}

.gallery-figure img {
  width: 100%;
  max-height: min(64vh, 700px);
  object-fit: contain;
  display: block;
  background: #020202;
}

.gallery-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.93rem;
}

.gallery-counter {
  color: #cecece;
}

.gallery-meta {
  margin: 0 auto;
  width: min(900px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(12, 12, 12, 0.86);
}

.gallery-meta p {
  margin: 0.35rem 0 0;
}

.gallery-meta p:first-child {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #050505;
  padding: 1.9rem 0 2.2rem;
}

.footer-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 1.3rem;
}

.footer-contact {
  text-align: right;
}

.site-footer h2 {
  margin: 0 0 0.65rem;
}

.site-footer p {
  margin: 0.34rem 0;
  color: #d3d3d3;
}

.site-footer a {
  color: #f2cd86;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .header-shell {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand lang"
      "nav nav";
    padding-block: 0.8rem;
  }

  .brand-wrap {
    grid-area: brand;
  }

  .main-nav {
    grid-area: nav;
    width: 100%;
    justify-content: center;
  }

  .lang-switch {
    grid-area: lang;
    justify-self: end;
  }

  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase-panel {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .catalog-card {
    grid-template-columns: 1fr;
  }

  .card-media {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1160px, calc(100% - 1.4rem));
  }

  .floating-header {
    position: sticky;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .brand-copy strong {
    font-size: 0.88rem;
  }

  .brand-copy small {
    font-size: 0.7rem;
  }

  .main-nav a {
    min-width: 108px;
    height: 38px;
    font-size: 0.82rem;
  }

  .lang-btn {
    min-width: 50px;
    height: 34px;
  }

  .page-flow {
    padding-block: 1.25rem 2.5rem;
    gap: 1.2rem;
  }

  .showcase-copy {
    padding: 1.15rem;
  }

  .lead {
    font-size: 0.95rem;
  }

  .showcase-panel {
    padding: 1rem;
  }

  .showcase-panel li {
    grid-template-columns: max-content 1fr;
    column-gap: 0.75rem;
  }

  .service-strip,
  .catalog-head {
    border-radius: 18px;
    padding: 1rem;
  }

  .catalog-card {
    border-radius: 18px;
    min-height: 0;
  }

  .card-copy {
    padding: 0.95rem 0.9rem 1rem;
  }

  .card-copy h2 {
    font-size: 1.05rem;
  }

  .card-copy p {
    margin-top: 0.52rem;
    font-size: 0.92rem;
  }

  .open-gallery-btn {
    margin-top: 0.9rem;
  }

  .gallery-shell {
    grid-template-columns: 1fr;
  }

  .gallery-nav {
    width: 100%;
  }

  .gallery-figure img {
    max-height: 52vh;
  }

  .gallery-figure figcaption {
    padding: 0.75rem 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .footer-wrap {
    align-items: flex-end;
    gap: 0.9rem;
  }
}
