:root {
  --ink: #111114;
  --soft-ink: #4d4d58;
  --muted: #747480;
  --paper: #fffdf9;
  --surface: #ffffff;
  --line: #ece7df;
  --metro-pink: #e72894;
  --metro-red: #ed3f3d;
  --metro-gold: #f3c744;
  --metro-cyan: #34c7c7;
  --metro-green: #65c66f;
  --shadow: 0 24px 80px rgba(18, 18, 22, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(15, 15, 18, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 68px;
  height: 68px;
  border-radius: 6px;
  object-fit: cover;
  background: #000;
}

.brand span {
  font-size: 13px;
  color: var(--soft-ink);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 600;
}

.top-nav a,
.header-phone {
  transition: color 0.2s ease, background 0.2s ease;
}

.top-nav a:hover {
  color: var(--metro-pink);
}

.header-phone {
  padding: 13px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--metro-pink), var(--metro-red));
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(231, 40, 148, 0.26);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 160px clamp(20px, 6vw, 96px) 78px;
  overflow: hidden;
  background: #151515;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 12, 14, 0.82), rgba(12, 12, 14, 0.34) 54%, rgba(12, 12, 14, 0.1)),
    linear-gradient(0deg, rgba(12, 12, 14, 0.7), rgba(12, 12, 14, 0.08) 48%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -18vw;
  width: 45vw;
  height: 45vw;
  border: 1px solid rgba(243, 199, 68, 0.34);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(52, 199, 199, 0.18);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--metro-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--metro-pink), var(--metro-gold), var(--metro-cyan));
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 800;
}

p {
  color: var(--soft-ink);
  line-height: 1.75;
}

.hero-content p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 25px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--metro-pink), var(--metro-red));
  box-shadow: 0 20px 50px rgba(231, 40, 148, 0.28);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(14px);
}

.btn-whatsapp {
  color: #0b3f21;
  background: #dff7e7;
}

.btn-telegram {
  color: #053a4a;
  background: #dff6f7;
}

.hero-facts {
  position: absolute;
  right: clamp(20px, 6vw, 96px);
  bottom: 78px;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.hero-facts span {
  min-width: 180px;
  padding: 16px 18px;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  backdrop-filter: blur(16px);
}

.section {
  padding: clamp(72px, 10vw, 130px) clamp(20px, 6vw, 96px);
}

.section-head {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-head p {
  max-width: 560px;
  margin: 18px 0 0;
}

.gallery {
  position: relative;
}

.gallery-frame {
  position: relative;
  overflow: hidden;
  height: min(72vw, 720px);
  min-height: 360px;
  background: #111;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.22s ease, transform 0.4s ease;
}

.open-photo {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 13px 18px;
  color: #fff;
  font-weight: 800;
  background: rgba(17, 17, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.gallery-arrow,
.lightbox-prev,
.lightbox-next,
.lightbox-close {
  position: absolute;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.gallery-arrow::before,
.lightbox-prev::before,
.lightbox-next::before,
.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
}

.gallery-arrow::before,
.lightbox-prev::before,
.lightbox-next::before {
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}

.gallery-prev,
.lightbox-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-next,
.lightbox-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-prev::before,
.lightbox-prev::before {
  transform: rotate(-135deg);
}

.gallery-next::before,
.lightbox-next::before {
  transform: rotate(45deg);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(10, minmax(70px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.thumbs button {
  height: 72px;
  padding: 0;
  overflow: hidden;
  background: #ddd;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.thumbs button.is-active {
  border-color: var(--metro-pink);
}

.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-section {
  background:
    linear-gradient(135deg, rgba(231, 40, 148, 0.06), transparent 36%),
    linear-gradient(315deg, rgba(52, 199, 199, 0.08), transparent 42%),
    #fff;
}

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

.stats-grid article,
.benefit-grid article,
.mortgage-grid article {
  position: relative;
  min-height: 132px;
  padding: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(18, 18, 22, 0.05);
}

.stats-grid article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(231, 40, 148, 0.12), rgba(243, 199, 68, 0.18));
}

.stats-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.stats-grid strong {
  display: block;
  font-size: clamp(20px, 2vw, 31px);
}

.about-section,
.map-section,
.final-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border: 1px solid rgba(231, 40, 148, 0.2);
  border-radius: var(--radius);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-copy p {
  margin: 20px 0 0;
}

.benefits-section {
  color: #fff;
  background: #111114;
}

.benefits-section .section-kicker,
.benefits-section .section-head p {
  color: var(--metro-gold);
}

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

.benefit-grid article {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 110px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.benefit-grid i {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 34%, #fff 0 4px, transparent 5px),
    linear-gradient(135deg, var(--metro-pink), var(--metro-gold), var(--metro-cyan));
}

.benefit-grid span {
  font-weight: 800;
  line-height: 1.35;
}

.tour-section {
  background: #faf7f1;
}

.tour-frame,
.map-frame {
  position: relative;
  overflow: hidden;
  background: #111;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tour-frame iframe {
  display: block;
  min-height: 520px;
}

.tour-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 28px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(17, 17, 20, 0.92), rgba(17, 17, 20, 0.72)),
    url("assets/house-02.webp") center / cover;
}

.tour-fallback[hidden] {
  display: none;
}

.tour-fallback strong {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.1;
}

.tour-fallback span {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.tour-caption {
  max-width: 760px;
  margin: 22px auto 0;
  text-align: center;
}

.tour-direct {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.map-section {
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1fr);
  background: #fff;
}

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

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

.mortgage-grid article {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.mortgage-grid article::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f80ed;
  box-shadow: none;
}

.final-section {
  padding: clamp(72px, 10vw, 120px) clamp(20px, 6vw, 96px);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(231, 40, 148, 0.06), transparent 34%),
    linear-gradient(315deg, rgba(243, 199, 68, 0.1), transparent 36%),
    #fffdf9;
}

.final-section p {
  max-width: 620px;
  color: var(--soft-ink);
  font-size: 18px;
}

.final-section .section-kicker {
  color: var(--metro-pink);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.realtor-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: linear-gradient(135deg, rgba(231, 40, 148, 0.07), rgba(52, 199, 199, 0.07));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.realtor-photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #d8d2ca 0 16px, transparent 17px),
    radial-gradient(circle at 50% 88%, #d8d2ca 0 31px, transparent 32px),
    linear-gradient(135deg, #f8f3ec, #e8e2d8);
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(18, 18, 22, 0.12);
}

.realtor-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.realtor-card strong,
.realtor-card a {
  display: block;
}

.realtor-card strong {
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.25;
}

.realtor-card a {
  color: var(--metro-pink);
  font-weight: 800;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 800;
}

.lead-form input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.lead-form input:focus {
  outline: 3px solid rgba(231, 40, 148, 0.14);
  border-color: var(--metro-pink);
}

.lead-form p {
  min-height: 22px;
  margin: 0;
  color: var(--metro-pink);
  font-weight: 800;
}

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--metro-pink), var(--metro-gold));
  box-shadow: 0 18px 46px rgba(231, 40, 148, 0.34);
}

.floating-contact span,
.floating-contact span::before,
.floating-contact span::after {
  position: absolute;
  content: "";
  background: #fff;
}

.floating-contact span {
  left: 19px;
  top: 22px;
  width: 27px;
  height: 20px;
  border-radius: 4px;
}

.floating-contact span::before {
  left: 5px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
}

.floating-contact span::after {
  left: 6px;
  top: 6px;
  width: 15px;
  height: 2px;
  box-shadow: 0 5px 0 #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(5, 5, 7, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

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

.lightbox-close::before,
.lightbox-close::after {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    inset: 12px 12px auto;
  }

  .top-nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-facts {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 38px;
  }

  .hero-facts span {
    min-width: 0;
  }

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

  .about-section,
  .map-section,
  .final-section {
    grid-template-columns: 1fr;
  }

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

  .thumbs {
    grid-template-columns: repeat(5, minmax(60px, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand span,
  .header-phone {
    display: none;
  }

  .hero {
    min-height: 700px;
    padding: 128px 18px 44px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section,
  .final-section {
    padding: 68px 18px;
  }

  .gallery-frame {
    height: 66vh;
    min-height: 300px;
  }

  .gallery-arrow {
    width: 42px;
    height: 42px;
  }

  .thumbs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .thumbs button {
    min-width: 84px;
  }

  .stats-grid,
  .benefit-grid,
  .mortgage-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid article,
  .benefit-grid article,
  .mortgage-grid article {
    min-height: 104px;
  }

  .tour-frame iframe {
    height: 520px;
    min-height: 420px;
  }

  .map-frame iframe {
    height: 420px;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
  }
}
