@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: #f8f5f2;
  --foreground: #111f2c;
  --navy: #0f2133;
  --navy-deep: #081421;
  --gold: #c4a264;
  --gold-text: #80642f;
  --gold-soft: #d1bc94;
  --beige: #f2ece3;
  --beige-warm: #ece0d2;
  --border: #e2ddd4;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(8, 20, 33, 0.14);
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

[data-lucide] {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.05;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  color: var(--white);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 5.2rem);
}

.section-page-title {
  max-width: none;
  color: var(--foreground);
  font-size: clamp(2.4rem, 5vw, 5.2rem);
}

h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
}

p {
  margin: 0;
}

.mobile-heading-copy {
  display: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 999;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 20, 33, 0.88), rgba(8, 20, 33, 0.42));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100%, 1280px);
  height: 86px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 360px 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-place {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

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

.nav-link,
.mobile-link {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.language-switch a.is-active {
  color: var(--white);
}

.language-switch a:hover {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 1rem 1.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-soft);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline.dark {
  border-color: var(--gold);
  color: var(--navy);
}

.btn-outline.dark:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn.small {
  min-height: 48px;
  padding: 0.8rem 1rem;
  font-size: 0.68rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--white);
  align-items: center;
  justify-content: center;
}

.menu-toggle svg {
  width: 1.55rem;
  height: 1.55rem;
}

.mobile-menu {
  display: none;
  width: 100%;
  padding: 1rem 1.25rem 1.25rem;
  background: rgba(8, 20, 33, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.is-open {
  display: grid;
  gap: 0.95rem;
}

.mobile-contact {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.mobile-languages {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-languages a {
  display: inline-grid;
  place-items: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.55rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
}

.mobile-languages a:hover,
.mobile-languages a.is-active {
  border-color: var(--gold);
  color: var(--gold);
}

.hero,
.subhero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--navy-deep);
}

.subhero {
  min-height: 72svh;
}

.hero picture,
.hero img,
.subhero > picture,
.subhero > picture img,
.subhero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img,
.subhero > picture img,
.subhero > img {
  object-fit: cover;
}

.hero-home img {
  object-position: center 25%;
}

.hero-overlay,
.subhero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 20, 33, 0.38), rgba(8, 20, 33, 0.84)),
    linear-gradient(90deg, rgba(8, 20, 33, 0.78), rgba(8, 20, 33, 0.18));
}

.hero-home .hero-overlay {
  background:
    linear-gradient(180deg, rgba(8, 20, 33, 0.2), rgba(8, 20, 33, 0.66)),
    linear-gradient(90deg, rgba(8, 20, 33, 0.56), rgba(8, 20, 33, 0.08));
}

.hero-content,
.subhero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 31svh 1.25rem 8rem;
}

.subhero-content {
  padding-top: 28svh;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
}

.intro-section .eyebrow,
.section-heading .eyebrow,
.service-section .eyebrow,
.apartment-description .eyebrow,
.gallery-heading-row .eyebrow,
.contact-panel .eyebrow {
  color: var(--gold-text);
}

.hero-copy,
.subhero-content p {
  width: 100%;
  max-width: 650px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-meta {
  position: absolute;
  z-index: 2;
  right: 2.2rem;
  bottom: 2.2rem;
  display: flex;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-meta span {
  border: 1px solid rgba(196, 162, 100, 0.45);
  padding: 0.8rem 1rem;
  background: rgba(8, 20, 33, 0.38);
  backdrop-filter: blur(10px);
}

.container {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: clamp(4.5rem, 9vw, 9rem) 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy-deep);
  color: var(--white);
  border-top: 1px solid rgba(196, 162, 100, 0.36);
  border-bottom: 1px solid rgba(196, 162, 100, 0.36);
}

.trust-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 92px;
  padding: 1rem;
  border-right: 1px solid rgba(196, 162, 100, 0.22);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-strip svg {
  width: 1.15rem;
  color: var(--gold);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.prose {
  color: rgba(17, 31, 44, 0.78);
  font-size: 1.08rem;
}

.prose p + p {
  margin-top: 1rem;
}

.prose .btn {
  margin-top: 1.8rem;
}

.feature-band {
  background: var(--beige);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.feature-grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-grid img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}

.feature-grid article > div {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.feature-grid p:not(.eyebrow) {
  margin-top: 1rem;
  color: rgba(17, 31, 44, 0.72);
}

.feature-grid a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 3rem;
  text-align: center;
}

.section-heading.compact {
  max-width: 900px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 1rem;
  color: rgba(17, 31, 44, 0.72);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.comparison-section,
.practical-section {
  background: var(--beige);
}

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  background: var(--white);
}

.apartment-comparison {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  text-align: left;
}

.apartment-comparison th,
.apartment-comparison td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.apartment-comparison thead th {
  color: rgba(17, 31, 44, 0.62);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apartment-comparison tbody th {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.apartment-comparison tbody tr:hover {
  background: #fbf9f6;
}

.comparison-link {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--navy);
}

.comparison-link svg {
  width: 1.1rem;
}

.practical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.practical-grid article {
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.practical-grid h3 {
  font-size: clamp(1.65rem, 2.3vw, 2.25rem);
}

.practical-grid p {
  margin-top: 1rem;
  color: rgba(17, 31, 44, 0.74);
}

.official-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  color: rgba(17, 31, 44, 0.72);
  font-size: 0.82rem;
}

.official-sources strong {
  color: var(--foreground);
}

.official-sources a {
  border-bottom: 1px solid var(--gold);
}

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

.apartment-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
}

.apartment-card-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.apartment-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.apartment-card:hover .apartment-card-image img {
  transform: scale(1.025);
}

.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.45rem;
}

.card-content ul {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
  color: rgba(17, 31, 44, 0.72);
}

.card-content .btn,
.card-content .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.card-content li,
.footer-list li,
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.card-content svg,
.footer-list svg,
.contact-list svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  color: var(--gold);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link svg {
  width: 1rem;
  height: 1rem;
}

.apartment-detail-hero {
  min-height: 78svh;
}

.apartment-detail-hero > img {
  object-position: center 48%;
}

.apartment-detail-hero .subhero-content {
  padding-top: 22svh;
  padding-bottom: 9rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--gold);
}

.back-link svg {
  width: 1rem;
  height: 1rem;
}

.apartment-hero-facts {
  position: absolute;
  z-index: 3;
  right: max(1.25rem, calc((100vw - 1280px) / 2 + 1.25rem));
  bottom: 2rem;
  display: flex;
  border: 1px solid rgba(196, 162, 100, 0.42);
  background: rgba(8, 20, 33, 0.58);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.apartment-hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.apartment-hero-facts span + span {
  border-left: 1px solid rgba(196, 162, 100, 0.3);
}

.apartment-hero-facts svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold);
}

.apartment-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.apartment-description h2 {
  max-width: 760px;
}

.apartment-description > p:last-child {
  max-width: 700px;
  margin-top: 1.6rem;
  color: rgba(17, 31, 44, 0.74);
  font-size: 1.12rem;
}

.apartment-summary {
  background: var(--navy-deep);
  color: var(--white);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}

.apartment-summary dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 2rem;
}

.apartment-summary dl div {
  min-width: 0;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.apartment-summary dl div:nth-child(even) {
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.apartment-summary dt {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.apartment-summary dd {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.apartment-summary .btn {
  width: 100%;
}

.apartment-gallery-section,
.more-apartments-section {
  background: var(--beige);
}

.gallery-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.gallery-heading-row > p {
  padding-bottom: 0.7rem;
  color: rgba(17, 31, 44, 0.6);
  font-size: 0.82rem;
}

.apartment-gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 245px;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.apartment-gallery-item {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--navy-deep);
}

.apartment-gallery-item:nth-child(7n + 1) {
  grid-row: span 2;
}

.apartment-gallery-item:nth-child(7n + 4) {
  grid-column: span 2;
}

.apartment-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.45s ease;
}

.apartment-gallery-item:hover img {
  opacity: 0.84;
  transform: scale(1.025);
}

.gallery-zoom {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: rgba(8, 20, 33, 0.72);
  color: var(--white);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.apartment-gallery-item:hover .gallery-zoom,
.apartment-gallery-item:focus-visible .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

.gallery-zoom svg {
  width: 1rem;
  height: 1rem;
}

.gallery-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  background: rgba(4, 10, 17, 0.97);
  color: var(--white);
  padding: 2rem clamp(4.25rem, 8vw, 8rem);
}

.gallery-lightbox::backdrop {
  background: rgba(4, 10, 17, 0.88);
}

.gallery-lightbox[open] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.gallery-lightbox figure {
  display: grid;
  min-width: 0;
  height: calc(100dvh - 4rem);
  margin: 0;
  place-items: center;
}

.gallery-lightbox figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 7rem);
  object-fit: contain;
}

.gallery-lightbox figcaption {
  position: absolute;
  bottom: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.lightbox-close,
.lightbox-nav {
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox-nav:active,
.lightbox-close:active {
  transform: scale(0.97);
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
}

.lightbox-nav svg,
.lightbox-close svg {
  width: 1.35rem;
  height: 1.35rem;
}

body.gallery-open {
  overflow: hidden;
}

.amenities-section {
  background: var(--background);
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 1.4rem;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
}

.amenity-grid li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 70px;
  border-top: 1px solid var(--border);
  color: rgba(17, 31, 44, 0.78);
}

.amenity-grid svg {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold);
}

.apartment-final-cta {
  background-image: linear-gradient(rgba(8, 20, 33, 0.9), rgba(8, 20, 33, 0.9)), url("../images/property/villa-exterior-hero-1.jpg");
}

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

.destination-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  padding: 0;
  background: var(--navy-deep);
  color: var(--white);
}

.destination-image img {
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.destination-copy {
  padding: clamp(3rem, 8vw, 7rem);
  align-self: center;
}

.destination-copy p:not(.eyebrow) {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.78);
}

.mini-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2rem 0;
}

.mini-facts span {
  border: 1px solid rgba(196, 162, 100, 0.42);
  padding: 0.65rem 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-section {
  background: var(--beige);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 280px;
  gap: 0.8rem;
  width: min(100% - 2.5rem, 1280px);
  margin: 0 auto;
}

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

.gallery-grid img:first-child {
  grid-row: span 2;
}

.gallery-grid img:last-child {
  grid-column: span 2;
}

.photo-credit {
  margin-top: 1rem;
  color: rgba(17, 31, 44, 0.72);
  font-size: 0.8rem;
}

.final-cta {
  background: linear-gradient(rgba(8, 20, 33, 0.9), rgba(8, 20, 33, 0.9)), url("../images/hero/bratus-beach-wide.webp") center / cover;
  color: var(--white);
  text-align: center;
}

.final-cta .container {
  max-width: 860px;
}

.final-cta p:not(.eyebrow) {
  margin: 1.2rem auto 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8);
}

.final-cta .hero-actions {
  justify-content: center;
}

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

.service-section {
  background: var(--beige);
}

.sights-section {
  background: var(--beige);
}

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

.detail-list div {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
}

.detail-list span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.detail-list h3 {
  margin-top: 0.75rem;
}

.detail-list p {
  margin-top: 0.9rem;
  color: rgba(17, 31, 44, 0.72);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
}

.contact-panel,
.form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.contact-list,
.footer-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.distance-box {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.distance-box h3 {
  margin-bottom: 1rem;
}

.distance-box div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-group {
  display: grid;
  gap: 0.45rem;
}

.field-group label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fbfaf8;
  color: var(--foreground);
  padding: 0.95rem 1rem;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: 2px solid rgba(196, 162, 100, 0.45);
  border-color: var(--gold);
}

.form-help {
  margin-top: -0.45rem;
  color: rgba(17, 31, 44, 0.62);
  font-size: 0.82rem;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-error,
.form-success {
  border: 1px solid var(--gold);
  background: rgba(196, 162, 100, 0.12);
  padding: 1rem;
  margin-bottom: 1rem;
}

.form-mail-fallback {
  width: fit-content;
  margin-top: 0.9rem;
}

.site-footer {
  background: var(--navy-deep);
  color: var(--white);
}

.footer-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 1.25rem;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.7fr;
  gap: 2rem;
}

.footer-brand p {
  max-width: 420px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand .photo-credit {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer h2 {
  font-family: "Outfit", sans-serif;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-list a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

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

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta,
  .language-switch {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .feature-grid,
  .feature-grid.three,
  .apartment-grid,
  .all-apartments,
  .detail-list,
  .contact-grid,
  .practical-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .apartment-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .mobile-link {
    display: flex;
    align-items: center;
    min-height: 48px;
  }

  .desktop-heading-copy {
    display: none;
  }

  .mobile-heading-copy {
    display: inline;
  }

  .mobile-single-line-title {
    font-size: clamp(1.4rem, 6.5vw, 1.65rem);
    white-space: nowrap;
  }

  h1 {
    max-width: calc(100vw - 2.3rem);
    font-size: clamp(1.95rem, 8.6vw, 2.45rem);
    line-height: 1.04;
    overflow-wrap: normal;
  }

  h2 {
    font-size: clamp(1.9rem, 8.2vw, 2.4rem);
    line-height: 1.08;
    text-wrap: balance;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    height: 80px;
    padding-inline: 1rem;
  }

  .brand-name {
    font-size: clamp(1.05rem, 5vw, 1.32rem);
    letter-spacing: 0.1em;
  }

  .brand {
    min-width: 0;
  }

  .brand-place {
    letter-spacing: 0.22em;
  }

  .hero,
  .subhero {
    min-height: 92svh;
  }

  .subhero {
    min-height: 66svh;
  }

  .hero-content,
  .subhero-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-top: 29svh;
    padding-right: 1.15rem;
    padding-bottom: 6rem;
    padding-left: 1.15rem;
  }

  .hero-copy,
  .subhero-content p {
    max-width: calc(100vw - 2.3rem);
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions,
  .final-cta .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    max-width: calc(100vw - 2.3rem);
    width: 100%;
  }

  .hero-meta {
    display: none;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip div {
    min-width: 0;
    min-height: 78px;
    justify-content: flex-start;
    font-size: 0.68rem;
  }

  .trust-strip span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .two-column,
  .feature-grid,
  .feature-grid.three,
  .apartment-grid,
  .all-apartments,
  .destination-split,
  .detail-list,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .apartment-detail-hero {
    min-height: 78svh;
  }

  .apartment-detail-hero .subhero-content {
    padding-top: 18svh;
    padding-bottom: 11rem;
  }

  .apartment-detail-hero .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    white-space: nowrap;
  }

  .service-title span {
    display: block;
    white-space: nowrap;
  }

  .back-link {
    margin-bottom: 1.4rem;
  }

  .apartment-hero-facts {
    right: 1.15rem;
    bottom: 1.25rem;
    left: 1.15rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .apartment-hero-facts span {
    min-width: 0;
    justify-content: center;
    padding: 0.8rem 0.45rem;
    font-size: 0.61rem;
    letter-spacing: 0.06em;
    text-align: center;
  }

  .apartment-overview {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .gallery-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .gallery-heading-row > p {
    padding-bottom: 0;
  }

  .apartment-gallery-grid {
    grid-auto-rows: 260px;
    grid-template-columns: 1fr;
  }

  .apartment-gallery-item:nth-child(7n + 1),
  .apartment-gallery-item:nth-child(7n + 4) {
    grid-row: auto;
    grid-column: auto;
  }

  .gallery-zoom {
    opacity: 1;
    transform: none;
  }

  .amenity-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
  }

  .gallery-lightbox {
    padding: 4rem 0.75rem 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox[open] {
    grid-template-columns: 1fr 1fr;
    align-content: center;
  }

  .gallery-lightbox figure {
    grid-column: 1 / -1;
    grid-row: 1;
    height: calc(100dvh - 8rem);
  }

  .gallery-lightbox figure img {
    max-height: calc(100dvh - 10rem);
  }

  .lightbox-nav {
    position: absolute;
    z-index: 2;
    bottom: 1rem;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }

  .destination-image img {
    min-height: 420px;
  }

  .destination-copy {
    padding: 3rem 1.25rem;
  }

  .section-heading {
    text-align: left;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
    width: min(100% - 2.5rem, 1280px);
  }

  .gallery-grid img:first-child,
  .gallery-grid img:last-child {
    grid-row: auto;
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    padding-bottom: 5.25rem;
  }

  .sticky-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--navy-deep);
    border-top: 1px solid rgba(196, 162, 100, 0.4);
  }

  .sticky-mobile-cta a {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 58px;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .sticky-mobile-cta a + a {
    border-left: 1px solid rgba(196, 162, 100, 0.28);
  }
}

@media (max-width: 420px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .brand-name {
    font-size: 1.24rem;
  }

  .brand-place {
    font-size: 0.62rem;
  }

  .page-home .intro-section h2,
  .apartment-description h2 {
    font-size: 1.4rem;
  }

  .page-home .feature-grid h3,
  .page-bratus .feature-grid h3 {
    font-size: 1.35rem;
    line-height: 1.08;
  }

  .btn {
    padding-inline: 1rem;
    letter-spacing: 0.12em;
  }

  .apartment-summary dl {
    grid-template-columns: 1fr;
  }

  .apartment-summary dl div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .amenity-grid {
    grid-template-columns: 1fr;
  }
}
