:root {
  color-scheme: light;
  --text: #152535;
  --muted: #5a7186;
  --accent: #0a7a96;
  --accent-bright: #2eb8d4;
  --accent-dark: #085f75;
  --max: #6c5ce7;
  --max-dark: #5541d9;
  --tg: #229ed9;
  --surface: #ffffff;
  --surface-alt: #f6fafc;
  --border: rgba(13, 110, 138, 0.12);
  --shadow: 0 16px 48px rgba(15, 45, 70, 0.1);
  --shadow-sm: 0 4px 20px rgba(15, 45, 70, 0.08);
  --radius: 16px;
  --radius-lg: 20px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 64px;
  --mobile-cta-h: 56px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-bright);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 720px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.85rem;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  box-shadow: 0 4px 14px rgba(10, 122, 150, 0.3);
}

.btn--primary:hover {
  color: #fff;
}

.btn--max {
  color: #fff;
  background: linear-gradient(135deg, var(--max-dark), var(--max));
  box-shadow: 0 4px 14px rgba(108, 92, 231, 0.35);
}

.btn--max:hover {
  color: #fff;
}

.btn-max-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn--tg {
  color: #fff;
  background: linear-gradient(135deg, #1a8bc2, var(--tg));
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.3);
}

.btn--tg:hover {
  color: #fff;
}

.btn--outline {
  color: var(--accent);
  background: transparent;
  border: 2px solid var(--border);
  box-shadow: none;
}

.btn--outline:hover {
  color: var(--accent-dark);
  border-color: var(--accent-bright);
  background: var(--surface-alt);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.site-logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.site-logo span {
  color: var(--accent-bright);
}

.site-logo:hover {
  color: var(--text);
}

.site-nav {
  display: none;
  gap: 24px;
  margin-left: auto;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-header__cta {
  margin-left: auto;
}

@media (max-width: 899px) {
  .site-header__cta {
    display: none;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-nav .btn {
  margin-top: 12px;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .site-header__cta {
    margin-left: 0;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  color: #fff;
  text-align: center;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: url("/img/hero-bg.jpg") center / cover no-repeat;
}

.hero-bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(21, 37, 53, 0.45) 0%,
    rgba(21, 37, 53, 0.55) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg__video {
    display: none;
  }
}

.hero__content {
  max-width: 720px;
}

.hero__eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero__lead {
  margin: 0 0 28px;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section--light {
  background: var(--surface-alt);
}

.section__title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section__title--center {
  text-align: center;
}

.section__subtitle {
  margin: -8px 0 8px;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
}

.section__text {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: var(--muted);
}

.section__text:last-child {
  margin-bottom: 0;
}

.price-note {
  margin: 0 0 24px;
  font-size: 0.82rem;
  color: var(--muted);
}

.price-note--center {
  text-align: center;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.benefit {
  padding: 24px 20px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.section--light .benefit {
  background: var(--surface);
}

.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--accent);
  background: var(--surface-alt);
  border-radius: 12px;
}

.benefit__icon svg {
  width: 26px;
  height: 26px;
}

.benefit__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
}

.benefit__text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Catalog */
.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.catalog-card--ready {
  border-color: rgba(10, 122, 150, 0.22);
  box-shadow: 0 8px 28px rgba(10, 122, 150, 0.1);
}

.catalog-card--ready .catalog-card__title a {
  color: var(--accent-dark);
}

.catalog-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.catalog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.catalog-card:hover .catalog-card__media img {
  transform: scale(1.03);
}

.catalog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.catalog-card__title {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
}

.catalog-card__title a {
  color: var(--text);
  text-decoration: none;
}

.catalog-card__title a:hover {
  color: var(--accent);
}

.catalog-card__meta {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.catalog-card__price {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-dark);
}

.catalog-card__price span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

/* Apartment detail */
.apt-detail {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.apt-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.apt-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.apt-detail__title {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 800;
}

.apt-detail__tagline {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.apt-detail__price {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.apt-detail__specs {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.apt-detail__specs div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
}

.apt-detail__specs dt {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.apt-detail__specs dd {
  margin: 0;
  font-weight: 500;
}

.apt-detail__text {
  margin: 0 0 16px;
  color: var(--muted);
}

.apt-detail__label {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.apt-detail__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.apt-detail__amenities li {
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--surface-alt);
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery__item {
  position: relative;
  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #e8eef2;
  aspect-ratio: 4 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(21, 37, 53, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.gallery__item:hover::after,
.gallery__item:focus-visible::after {
  opacity: 1;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.04);
}

.gallery__caption,
.gallery__item > span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 5px 11px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(21, 37, 53, 0.72);
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

/* Mosaic gallery (apt 1) */
.gallery--mosaic {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery--mosaic .gallery__item {
  aspect-ratio: auto;
  min-height: 140px;
  border-radius: 10px;
}

.gallery--mosaic .gallery__item--feature {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 280px;
}

.gallery--mosaic .gallery__item--wide {
  grid-column: span 2;
  min-height: 180px;
}

/* Premium apartment (Бриз) */
.apt-detail--premium {
  margin-bottom: 48px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.apt-cover {
  position: relative;
  min-height: 280px;
  max-height: 420px;
  background: #1a3040;
}

.apt-cover__open {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  padding: 0;
  border: none;
  cursor: zoom-in;
}

.apt-cover__open img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  object-position: center 40%;
}

.apt-cover__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(21, 37, 53, 0.08) 0%,
    rgba(21, 37, 53, 0.15) 45%,
    rgba(21, 37, 53, 0.82) 100%
  );
  pointer-events: none;
}

.apt-cover__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 28px 24px;
  color: #fff;
}

.apt-cover__eyebrow {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.apt-cover__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.apt-cover__tagline {
  margin: 6px 0 10px;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.92;
}

.apt-cover__price {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.apt-cover__price span {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.8;
}

.apt-cover__cta {
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.45);
}

.apt-detail__inner {
  padding: 28px 28px 32px;
}

.apt-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.apt-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 14px;
  background: linear-gradient(145deg, #f8fcfe 0%, var(--surface-alt) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.apt-chip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--accent);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(10, 122, 150, 0.1);
}

.apt-chip__icon svg {
  width: 18px;
  height: 18px;
}

.apt-chip__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.apt-chip__value {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.apt-detail__text--lead {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
}

.apt-amenities-box {
  margin-bottom: 28px;
  padding: 20px 22px;
  background: var(--surface-alt);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.apt-amenities-box__title {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.apt-detail__amenities--grid {
  margin-bottom: 0;
}

.apt-detail--premium .apt-detail__amenities li {
  background: #fff;
  border-color: rgba(13, 110, 138, 0.08);
  box-shadow: 0 1px 4px rgba(15, 45, 70, 0.04);
}

.apt-gallery-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.apt-gallery-block__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.apt-gallery-block__count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 10px;
  background: rgba(10, 122, 150, 0.08);
  border-radius: 20px;
}

.gallery--premium {
  gap: 10px;
  padding: 4px;
  background: var(--surface-alt);
  border-radius: 18px;
  border: 1px solid var(--border);
}

.gallery--premium .gallery__item {
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 45, 70, 0.06);
}

.gallery--premium .gallery__item::after {
  opacity: 0.35;
}

.gallery--premium .gallery__item:hover::after {
  opacity: 0.75;
}

.gallery__zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23152535' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__zoom {
  opacity: 1;
  transform: scale(1);
}

.gallery--mosaic .gallery__item--tall {
  grid-row: span 2;
  min-height: 280px;
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .apt-cover {
    min-height: 360px;
    max-height: 480px;
  }

  .apt-cover__open,
  .apt-cover__open img {
    min-height: 360px;
    max-height: 480px;
  }

  .gallery--mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
    gap: 10px;
  }

  .gallery--mosaic .gallery__item {
    min-height: 140px;
  }

  .gallery--mosaic .gallery__item--feature {
    min-height: 300px;
  }

  .gallery--mosaic .gallery__item--wide {
    min-height: 140px;
  }

  .gallery--mosaic .gallery__item--tall {
    min-height: 290px;
  }
}

@media (max-width: 767px) {
  .apt-cover__bar {
    padding: 20px 18px 18px;
  }

  .apt-cover__cta {
    width: 100%;
  }

  .apt-detail__inner {
    padding: 20px 16px 24px;
  }

  .apt-chips {
    grid-template-columns: 1fr;
  }

  .gallery--mosaic .gallery__item--tall {
    grid-row: span 1;
    min-height: 200px;
  }
}

/* Steps */
.steps {
  display: grid;
  gap: 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.step {
  text-align: center;
  padding: 24px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.section--light .step {
  background: var(--surface);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  border-radius: 50%;
}

.step__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.step__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Location */
.location-grid {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}

@media (min-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.location-text__heading {
  margin: 24px 0 10px;
  font-size: 1rem;
  font-weight: 700;
}

.location-text__heading:first-child {
  margin-top: 0;
}

.location-text p {
  margin: 0 0 10px;
  color: var(--muted);
}

.nearby {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.nearby li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.nearby li span:last-child {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.map-link {
  font-weight: 600;
  text-decoration: none;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  min-height: 280px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

/* Reviews */
.reviews-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 28px;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
}

.reviews-rating__stars {
  color: #e8a317;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.quotes {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote {
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.section--light .quote {
  background: var(--surface);
}

.quote blockquote {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
}

.quote cite {
  font-size: 0.8rem;
  font-style: normal;
  color: var(--muted);
}

/* Contacts */
.contacts-grid {
  display: grid;
  gap: 40px;
  margin-top: 32px;
}

@media (min-width: 900px) {
  .contacts-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contacts-info__heading {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
}

.contacts-info__heading:not(:first-child) {
  margin-top: 28px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-link svg {
  width: 22px;
  height: 22px;
}

.contacts-info .btn {
  margin-bottom: 10px;
}

.rules {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}

.rules li {
  margin-bottom: 8px;
}

/* Form */
.booking-form {
  padding: 28px;
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.booking-form__title {
  margin: 0 0 20px;
  font-size: 1.15rem;
  font-weight: 700;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.field__optional {
  font-weight: 500;
  opacity: 0.8;
}

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(46, 184, 212, 0.2);
}

.field input:invalid:not(:placeholder-shown),
.field select:invalid:not(:placeholder-shown) {
  border-color: #d64545;
}

.booking-form__note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 32px 0 calc(32px + var(--mobile-cta-h));
  background: #1a3040;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__inner {
  text-align: center;
}

.site-footer__brand {
  margin: 0 0 8px;
  font-weight: 600;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  height: var(--mobile-cta-h);
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.45);
}

.mobile-cta svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 900px) {
  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 32px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 24px;
  background: rgba(21, 37, 53, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.85;
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__img {
  max-width: min(100%, 960px);
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox__caption {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox__counter {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  text-align: center;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

.lightbox__nav[hidden] {
  display: none;
}

/* Apt detail specs mobile */
@media (max-width: 480px) {
  .apt-detail__specs div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .hero__actions .btn {
    width: 100%;
  }
}
