:root {
  --bg: #07090a;
  --panel: #101315;
  --panel2: #181b1d;
  --text: #fff;
  --muted: #b7b2aa;
  --gold: #d8b47d;
  --gold2: #f0d3a1;
  --line: rgba(255, 255, 255, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top right, #33261a, transparent 35%), var(--bg);
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 9, 10, 0.62);
  backdrop-filter: blur(22px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.logo-mark {
  color: var(--gold);
  font-size: 25px;
}
.nav {
  display: flex;
  gap: 34px;
  color: #ddd;
  font-size: 14px;
}
.nav a {
  opacity: 0.82;
}
.nav a:hover {
  opacity: 1;
  color: var(--gold);
}
.header-btn,
.cta {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #18120c;
  border-radius: 999px;
  font-weight: 800;
}
.header-btn {
  padding: 13px 22px;
}
.burger {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
}
.hero {
  position: relative;
  min-height: 760px;
  padding: 150px min(6vw, 72px) 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 9, 10, 0.98) 0%,
      rgba(7, 9, 10, 0.72) 42%,
      rgba(7, 9, 10, 0.15) 100%
    ),
    url("../assets/images/minsk-nezavisimosti-23.png") center right/cover
      no-repeat;
  filter: saturate(0.9);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.pill {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold2);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 94px);
  line-height: 0.96;
  margin: 0 0 26px;
  letter-spacing: -0.06em;
}
.hero h1 span {
  display: inline-block;
  color: var(--gold);
  font-weight: 500;
  font-style: italic;
}
.hero p {
  font-size: 21px;
  line-height: 1.6;
  color: #eee;
  max-width: 520px;
}
.hero-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 34px 0;
}
.hero-icons span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: #eee;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  padding: 19px 28px;
  margin-top: 8px;
}
.guest-card {
  position: absolute;
  right: 6vw;
  bottom: 120px;
  z-index: 3;
  width: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  color: #191919;
}
.avatars {
  display: flex;
  align-items: center;
}
.avatars i,
.avatars strong {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  background: linear-gradient(135deg, #5c5148, #d8b47d);
}
.avatars i:first-child {
  margin-left: 0;
}
.avatars strong {
  display: grid;
  place-items: center;
  background: #101315;
  color: #fff;
  font-size: 12px;
}
.stars {
  color: #bd8c48;
  letter-spacing: 2px;
}
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 52px;
}
.glass-panel {
  margin-top: -60px;
  position: relative;
  z-index: 5;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(
    180deg,
    rgba(16, 19, 21, 0.92),
    rgba(7, 9, 10, 0.92)
  );
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 25px;
}
.eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
}
.section h2 {
  font-size: 38px;
  margin: 0;
}
.section-head a {
  color: var(--gold2);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.apt-card {
  cursor: pointer;
  padding: 14px 14px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #161a1d, #0d1012);
  transition: 0.25s;
}
.apt-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 180, 125, 0.5);
}
.apt-img {
  position: relative;
  height: 210px;
  border-radius: 18px;
  overflow: hidden;
}
.apt-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apt-img button {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 22px;
}
.apt-card h3 {
  font-size: 24px;
  margin: 18px 0 8px;
}
.location,
.meta,
.price span {
  color: var(--muted);
}
.meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  margin: 18px 0;
}
.price {
  display: flex;
  align-items: center;
  gap: 8px;
}
.price strong {
  font-size: 24px;
}
.price em {
  margin-left: auto;
  color: #23190e;
  background: var(--gold);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
}
.center {
  text-align: center;
  margin-bottom: 38px !important;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefits div,
.reviews,
.final {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  padding: 28px;
}
.benefits b {
  color: var(--gold);
  font-size: 34px;
}
.benefits p,
.reviews p,
.final p {
  color: var(--muted);
  line-height: 1.6;
}
.review-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.review-title span {
  font-size: 34px;
  font-weight: 900;
  color: var(--gold2);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review-grid div {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}
.final {
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  gap: 35px;
  align-items: center;
  margin-bottom: 34px;
}
.final h2 {
  font-size: 44px;
}
.final img {
  height: 360px;
  margin: auto;
  object-fit: cover;
  border-radius: 36px;
}
.store-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.store-row a {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #050607;
}
.social {
  font-size: 22px;
}
.social strong {
  display: block;
  margin-top: 14px;
  color: var(--gold);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}
.modal-backdrop.open {
  display: flex;
}
.modal {
  position: relative;
  width: min(760px, 100%);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #101315;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.65);
}
.modal img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}
.modal-body {
  padding: 28px;
}
.modal-body h2 {
  font-size: 34px;
  margin: 0 0 12px;
}
.modal-body p {
  color: var(--muted);
  line-height: 1.6;
}
.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.modal-meta span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.modal-phone {
  margin-top: 6px;
}
@media (max-width: 900px) {
  .nav,
  .header-btn {
    display: none;
  }
  .burger {
    display: block;
  }
  .nav.open {
    display: flex;
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    flex-direction: column;
    padding: 20px;
    border-radius: 24px;
    background: #101315;
  }
  .hero {
    min-height: 680px;
    padding-top: 125px;
  }
  .guest-card {
    display: none;
  }
  .benefits,
  .review-grid,
  .final {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .final img {
    display: none;
  }
  .section h2 {
    font-size: 30px;
  }
  .glass-panel {
    padding: 20px;
  }
  .review-title {
    display: block;
  }
  .review-title span {
    display: block;
    margin-top: 12px;
    font-size: 26px;
  }
}

/* Modal carousel */
.modal-gallery {
  position: relative;
  width: 100%;
  height: 380px;
  background: #07090b;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
}
.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 42px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.gallery-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.gallery-prev {
  left: 18px;
}
.gallery-next {
  right: 18px;
}
.gallery-counter {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.modal-thumbs {
  display: flex;
  gap: 10px;
  padding: 14px 18px 0;
  overflow-x: auto;
  background: #101315;
}
.modal-thumbs button {
  flex: 0 0 74px;
  height: 58px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  opacity: 0.62;
}
.modal-thumbs button.active {
  border-color: var(--gold);
  opacity: 1;
}
.modal-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal > .modal-body {
  padding-top: 22px;
}
@media (max-width: 640px) {
  .modal-gallery {
    height: 280px;
  }
  .gallery-btn {
    width: 42px;
    height: 42px;
    font-size: 34px;
  }
  .modal-thumbs button {
    flex-basis: 64px;
    height: 50px;
  }
}
