:root {
  --sky: #eff7ff;
  --mist: #deeffd;
  --shell: #ffffff;
  --foam: #d2e7f9;
  --sea-light: #7ab3dc;
  --sea: #2b6b99;
  --sea-deep: #0f456f;
  --navy: #0c2942;
  --ink: #153751;
  --muted: #607689;
  --line: rgba(23, 53, 77, 0.12);
  --shadow: 0 22px 52px rgba(17, 44, 70, 0.12);
  --shadow-strong: 0 32px 72px rgba(17, 44, 70, 0.18);
  --radius-xl: 3.2rem;
  --radius-lg: 2.4rem;
  --radius-md: 1.6rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background:
    radial-gradient(circle at top left, rgba(122, 179, 220, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(210, 231, 249, 0.92), transparent 36%),
    linear-gradient(180deg, #fcfeff 0%, var(--sky) 38%, #eaf4fd 100%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(16px);
  opacity: 0.52;
  z-index: 0;
  animation: driftGlow 18s ease-in-out infinite alternate;
}

body::before {
  top: 5rem;
  right: -14rem;
  background: radial-gradient(circle, rgba(122, 179, 220, 0.3) 0%, rgba(122, 179, 220, 0.08) 52%, transparent 76%);
}

body::after {
  bottom: 2rem;
  left: -16rem;
  background: radial-gradient(circle, rgba(43, 107, 153, 0.18) 0%, rgba(210, 231, 249, 0.08) 54%, transparent 76%);
  animation-delay: -7s;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(43, 107, 153, 0.42);
  outline-offset: 0.3rem;
}

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

ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.96;
}

p,
li,
span,
a,
button {
  font-size: 1.6rem;
}

section[id] {
  scroll-margin-top: 11rem;
}

.container {
  width: min(120rem, calc(100% - 3.2rem));
  margin: 0 auto;
}

.section {
  padding: 9rem 0;
}

.eyebrow {
  margin-bottom: 1.2rem;
  color: var(--sea-deep);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section-copy,
.hero-subtitle,
.footer-copy,
.stay-card p,
.availability-note,
.apartment-text,
.gallery-count,
.gallery-meta,
.fact-label,
.modal-note,
.modal-section li,
.location-copy-card p,
.contact-copy,
.contact-meta {
  color: var(--muted);
}

.btn,
.ghost-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.2rem;
  padding: 0 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.btn::after,
.ghost-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.24) 48%, transparent 76%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.btn {
  border: 0;
  background: linear-gradient(135deg, var(--sea-deep) 0%, var(--sea) 52%, var(--sea-light) 100%);
  box-shadow: 0 14px 28px rgba(46, 111, 157, 0.28);
  color: #f8fcff;
}

.ghost-btn {
  border: 1px solid rgba(46, 111, 157, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: var(--sea);
}

.btn:hover,
.ghost-btn:hover,
.btn:focus-visible,
.ghost-btn:focus-visible {
  transform: translateY(-2px);
}

.btn:hover::after,
.ghost-btn:hover::after,
.btn:focus-visible::after,
.ghost-btn:focus-visible::after {
  transform: translateX(130%);
}

.header {
  position: sticky;
  top: 1.2rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  width: min(124rem, calc(100% - 2.8rem));
  margin: 1.2rem auto 0;
  padding: 1.4rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
}

.navbar {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav-list a {
  color: var(--muted);
  font-size: 1.45rem;
  font-weight: 800;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--ink);
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.4rem;
  border: 1px solid rgba(46, 111, 157, 0.12);
  border-radius: 999px;
  background: rgba(233, 244, 252, 0.92);
}

.lang-btn {
  min-width: 4.2rem;
  height: 3.8rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--sea);
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-btn.is-active {
  background: var(--sea);
  color: #fffdf8;
}

.header-book {
  min-height: 4.8rem;
  padding: 0 1.8rem;
}

.mobile-navbar-btn {
  display: none;
  border: 0;
  background: transparent;
}

.mobile-nav-icon {
  font-size: 2.8rem;
  color: var(--ink);
}

.mobile-navbar-btn .mobile-nav-icon[name="close-outline"] {
  display: none;
}

.hero-section {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 76rem;
  margin-top: 2.4rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroFloat 12s ease-in-out infinite alternate;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 45, 70, 0.14) 0%, rgba(15, 45, 70, 0.48) 55%, rgba(15, 45, 70, 0.78) 100%),
    linear-gradient(90deg, rgba(15, 45, 70, 0.74) 0%, rgba(15, 45, 70, 0.16) 68%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 62rem;
  padding: 4.6rem;
  color: #fffaf4;
}

.hero-content .eyebrow,
.hero-content .hero-subtitle,
.hero-fact span {
  color: rgba(255, 250, 244, 0.84);
}

.hero-content h1 {
  max-width: 10ch;
  margin-bottom: 1.6rem;
  font-size: clamp(5.2rem, 10vw, 9rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 46rem;
  font-size: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 2.8rem 0 3rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.hero-fact {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.8rem;
  background: rgba(231, 243, 251, 0.14);
  backdrop-filter: blur(10px);
}

.hero-fact strong {
  display: block;
  font-size: 2rem;
}

.section-heading {
  max-width: 76rem;
  margin-bottom: 3.8rem;
}

.section-heading-center {
  margin: 0 auto 3.8rem;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(4rem, 6vw, 6.2rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-heading .section-copy {
  max-width: 62rem;
}

.apartments-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
  gap: 2rem;
  align-items: start;
}

.apartment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(241, 248, 253, 0.94) 100%);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.apartment-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.45rem;
  background: linear-gradient(90deg, rgba(122, 179, 220, 0.22), var(--sea), rgba(122, 179, 220, 0.18));
}

.apartment-card:hover,
.apartment-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.apartment-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.apartment-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 41, 66, 0.06) 0%, rgba(12, 41, 66, 0.4) 100%);
}

.apartment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.apartment-card:hover .apartment-image img,
.apartment-card:focus-within .apartment-image img {
  transform: scale(1.05);
}

.apartment-badge {
  position: absolute;
  top: 1.6rem;
  left: 1.6rem;
  z-index: 1;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(18, 60, 94, 0.84);
  color: #fffaf4;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.apartment-index {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  z-index: 1;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fffaf4;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.apartment-body {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.4rem;
}

.apartment-top {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
}

.apartment-heading {
  display: grid;
  gap: 0.6rem;
}

.apartment-kicker {
  color: var(--sea);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.apartment-top h3 {
  font-size: 3.4rem;
  letter-spacing: -0.02em;
}

.apartment-price {
  align-self: flex-start;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(46, 111, 157, 0.1);
  color: var(--sea-deep);
  font-size: 1.3rem;
  font-weight: 800;
  white-space: nowrap;
}

.apartment-text {
  margin-bottom: 0;
}

.apartment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0;
}

.apartment-meta span,
.location-tags span,
.gallery-filter,
.modal-chip,
.status-pill {
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(46, 111, 157, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--sea);
  font-size: 1.25rem;
  font-weight: 800;
}

.apartment-features,
.modal-list,
.stay-card ul {
  display: grid;
  gap: 0.8rem;
}

.apartment-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.apartment-features li,
.modal-list li,
.stay-card li {
  position: relative;
  padding-left: 1.8rem;
}

.apartment-features li::before,
.modal-list li::before,
.stay-card li::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--sea-light);
}

.apartment-features li {
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(46, 111, 157, 0.12);
  border-radius: 999px;
  background: rgba(233, 244, 252, 0.88);
  color: var(--sea-deep);
  font-size: 1.25rem;
  font-weight: 700;
}

.apartment-features li::before {
  display: none;
}

.apartment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.2rem;
}

.gallery-section {
  background: linear-gradient(180deg, rgba(220, 237, 251, 0.58) 0%, rgba(255, 255, 255, 0.28) 100%);
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 9.6rem;
  gap: 1.6rem;
}

.gallery-preview-item {
  position: relative;
  grid-column: span 3;
  grid-row: span 3;
  overflow: hidden;
  border: 0;
  border-radius: 2.6rem;
  background: transparent;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.gallery-preview-item:nth-child(1) {
  grid-column: span 6;
  grid-row: span 6;
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-preview-item:hover img,
.gallery-preview-item:focus-visible img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 60, 94, 0.86) 100%);
  color: #fffaf3;
  text-align: left;
}

.gallery-overlay strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  line-height: 0.96;
}

.gallery-count {
  color: rgba(255, 250, 243, 0.84);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.location-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
}

.location-copy-card,
.map-shell,
.stay-card,
.contact-card,
.overlay-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.location-copy-card {
  padding: 3.6rem;
}

.location-copy-card h2 {
  font-size: clamp(4rem, 5vw, 5.8rem);
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2.2rem 0 2.8rem;
}

.map-shell {
  overflow: hidden;
  min-height: 48rem;
}

.map-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.stay-grid,
.contact-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.stay-card,
.contact-card,
.review-card {
  padding: 2.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 248, 253, 0.9) 100%);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stay-card:hover,
.stay-card:focus-within,
.contact-card:hover,
.contact-card:focus-visible,
.review-card:hover,
.review-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.stay-card i,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
  height: 5.6rem;
  margin-bottom: 1.6rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(18, 60, 94, 0.1), rgba(110, 177, 219, 0.18));
  color: var(--sea-deep);
  font-size: 2rem;
}

.stay-card h3,
.contact-card strong {
  font-size: 3rem;
}

.stay-card h3 {
  margin-bottom: 1.2rem;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.contact-label {
  color: var(--sea);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 2.1rem;
  line-height: 1.2;
  word-break: break-word;
}

.reviews-section .section-copy {
  margin: 0 auto;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.review-stars {
  margin-bottom: 1.4rem;
  color: var(--sea);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.review-card h3 {
  margin-bottom: 1rem;
  font-size: 3.1rem;
}

.review-card p {
  margin-bottom: 1.6rem;
  color: var(--muted);
}

.review-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(46, 111, 157, 0.12);
  border-radius: 999px;
  background: rgba(233, 244, 252, 0.86);
  color: var(--sea-deep);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer {
  width: min(124rem, calc(100% - 2.8rem));
  margin: 0 auto 2.8rem;
  padding: 4.2rem 0 2.2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(104, 167, 212, 0.24), transparent 24%),
    linear-gradient(180deg, rgba(16, 44, 70, 0.98) 0%, rgba(12, 33, 52, 0.98) 100%);
  color: #fffaf3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.6rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  color: rgba(255, 250, 243, 0.82);
}

.footer a:hover,
.footer a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.overlay-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.overlay-modal[hidden] {
  display: none;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 33, 52, 0.74);
  backdrop-filter: blur(7px);
}

.mobile-sticky-bar {
  display: none;
}

body.modal-open .mobile-sticky-bar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
}

.overlay-panel {
  position: relative;
  z-index: 1;
  width: min(122rem, 100%);
  max-height: calc(100vh - 4rem);
  overflow: auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.96);
}

.overlay-close {
  position: sticky;
  top: 0;
  left: calc(100% - 4.4rem);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 60, 94, 0.08);
  color: var(--ink);
  cursor: pointer;
}

.apartment-modal-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
}

.modal-main-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 2.2rem;
  object-fit: cover;
}

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.modal-thumb {
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 1.2rem;
  background: transparent;
  cursor: pointer;
}

.modal-thumb.is-active {
  border-color: var(--sea);
}

.modal-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.modal-copy {
  display: grid;
  gap: 1.6rem;
}

.modal-copy h2 {
  font-size: clamp(3.8rem, 5vw, 5.8rem);
}

.modal-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.modal-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.modal-fact {
  padding: 1.4rem;
  border-radius: 1.6rem;
  background: rgba(46, 111, 157, 0.06);
}

.modal-fact strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.8rem;
}

.modal-section {
  padding: 2rem;
  border: 1px solid rgba(23, 53, 77, 0.08);
  border-radius: 2rem;
  background: rgba(248, 252, 255, 0.94);
}

.modal-section h3 {
  margin-bottom: 1rem;
  font-size: 3rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.status-pill {
  background: rgba(110, 177, 219, 0.16);
  color: var(--sea-deep);
}

.gallery-modal-layout {
  display: grid;
  gap: 1.6rem;
}

.gallery-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-head h2 {
  font-size: clamp(3.8rem, 5vw, 5.6rem);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.gallery-filter {
  border: 0;
  cursor: pointer;
}

.gallery-filter.is-active {
  background: var(--sea);
  color: #fffaf3;
}

.gallery-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(31rem, 0.76fr);
  align-items: start;
  gap: 1.4rem;
}

.gallery-stage-main {
  position: relative;
  overflow: hidden;
  border-radius: 2.4rem;
}

.gallery-stage-main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-stage-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 33, 52, 0.86) 100%);
  color: #fffaf3;
}

.gallery-nav {
  display: flex;
  gap: 0.8rem;
}

.gallery-nav button {
  width: 4.6rem;
  height: 4.6rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fffaf3;
  cursor: pointer;
}

.gallery-thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-height: 62rem;
  overflow: auto;
  padding-right: 0.4rem;
  align-content: start;
}

.gallery-thumb {
  display: grid;
  gap: 0.7rem;
  padding: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(46, 111, 157, 0.1);
  border-radius: 1.6rem;
  background: rgba(248, 252, 255, 0.94);
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(43, 107, 153, 0.24);
  box-shadow: 0 14px 28px rgba(17, 44, 70, 0.1);
}

.gallery-thumb.is-active {
  border-color: var(--sea);
  background: rgba(233, 244, 252, 0.96);
  box-shadow: 0 16px 30px rgba(17, 44, 70, 0.14);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1.2rem;
  object-fit: cover;
}

.gallery-thumb-info {
  display: block;
  padding: 0 0.2rem 0.2rem;
}

.gallery-thumb-info strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.08;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.52s ease, transform 0.52s ease;
}

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

body:not(.is-ready) .header {
  opacity: 0;
  transform: translateY(-1.2rem);
}

body.is-ready .header {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@keyframes heroFloat {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.03) translate3d(0, -0.6rem, 0);
  }
}

@keyframes driftGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(1.8rem, -1.2rem, 0) scale(1.06);
  }
}

@media (max-width: 1080px) {
  html {
    font-size: 56.25%;
  }

  .header {
    align-items: flex-start;
  }

  .navbar {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    width: 100%;
    padding: 2rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: all 0.2s ease;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-navbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .active .navbar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .active .mobile-navbar-btn .mobile-nav-icon[name="menu-outline"] {
    display: none;
  }

  .active .mobile-navbar-btn .mobile-nav-icon[name="close-outline"] {
    display: block;
  }

  .hero-facts,
  .stay-grid,
  .contact-grid,
  .reviews-grid,
  .footer-grid,
  .location-layout,
  .apartment-modal-grid,
  .gallery-stage {
    grid-template-columns: 1fr;
  }

  .gallery-preview {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  .gallery-preview-item,
  .gallery-preview-item:nth-child(1),
  .gallery-preview-item:nth-child(2),
  .gallery-preview-item:nth-child(3),
  .gallery-preview-item:nth-child(4),
  .gallery-preview-item:nth-child(5),
  .gallery-preview-item:nth-child(6),
  .gallery-preview-item:nth-child(7),
  .gallery-preview-item:nth-child(8),
  .gallery-preview-item:nth-child(9) {
    grid-column: auto;
    grid-row: auto;
  }

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

  .modal-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 10rem;
  }

  .section {
    padding: 7.2rem 0;
  }

  .toolbar {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .header-book {
    display: none;
  }

  .hero-section {
    min-height: 68rem;
  }

  .hero-content {
    padding: 3rem 2.2rem;
  }

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

  .apartments-rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    padding: 0 0.8rem 1rem 0.2rem;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0.2rem;
    scrollbar-width: none;
    gap: 1.2rem;
  }

  .apartments-rail::-webkit-scrollbar {
    display: none;
  }

  .apartment-card {
    scroll-snap-align: center;
  }

  .apartment-image {
    aspect-ratio: 4 / 4.6;
  }

  .apartment-body {
    padding: 2rem;
  }

  .apartment-top h3 {
    font-size: 3rem;
  }

  .apartment-actions .btn,
  .apartment-actions .ghost-btn {
    width: 100%;
  }

  .gallery-preview-item img {
    min-height: 21rem;
  }

  .location-copy-card,
  .stay-card,
  .contact-card,
  .review-card,
  .overlay-panel {
    padding: 2.2rem;
  }

  .location-tags,
  .modal-actions,
  .hero-actions,
  .apartment-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .overlay-modal {
    padding: 0;
  }

  .overlay-panel {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .modal-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-thumb-grid {
    grid-template-columns: 1fr 1fr;
    max-height: none;
  }

  .mobile-sticky-bar {
    position: fixed;
    right: 1.2rem;
    bottom: calc(1.2rem + env(safe-area-inset-bottom));
    left: 1.2rem;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 2.2rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 38px rgba(17, 44, 70, 0.18);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .sticky-action {
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    padding: 1.1rem 0.6rem;
    border-radius: 1.6rem;
    background: rgba(233, 244, 252, 0.82);
    color: var(--sea-deep);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .sticky-action i {
    font-size: 1.65rem;
  }

  .sticky-action-primary {
    background: linear-gradient(135deg, var(--sea-deep) 0%, var(--sea) 52%, var(--sea-light) 100%);
    color: #f8fcff;
  }
}
