:root {
  /* Rollback fonts:
     previous body: "Outfit", sans-serif
     previous headings: "Sora", sans-serif */
  --bg: #163fba;
  --bg-soft: #2d5fe0;
  --surface: rgba(242, 246, 255, 0.88);
  --surface-strong: #f4f7ff;
  --line: rgba(19, 44, 112, 0.16);
  --text: #102347;
  --muted: #41557f;
  --accent: #2457e6;
  --accent-strong: #173ea7;
  --accent-soft: #d8e4ff;
  --sand: #d9b794;
  --shadow: 0 30px 80px rgba(34, 51, 59, 0.16);
  --radius-xl: 14px;
  --radius-lg: 10px;
  --radius-md: 8px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(173, 205, 255, 0.34), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(214, 228, 255, 0.3), transparent 38%),
    linear-gradient(180deg, #eef5ff 0%, #deebff 54%, #d7e6ff 100%);
  background-attachment: fixed;
}

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

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

.site-shell {
  position: relative;
  overflow: hidden;
}

.topbar,
.hero,
.intro,
.apartments,
.experience,
.gallery-strip,
.report-showcase,
.contact,
.gallery-page,
.subhero {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  background: rgba(244, 247, 255, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(43, 52, 57, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(20, 43, 97, 0.96), rgba(36, 87, 230, 0.88));
  box-shadow: 0 16px 34px rgba(31, 44, 53, 0.16);
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 100%;
  height: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 44, 53, 0.12);
  border-radius: 12px;
  background: rgba(235, 241, 255, 0.9);
  color: var(--muted);
  font-size: 2.4rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.lang-pill:hover,
.lang-pill:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 252, 247, 0.74);
  color: var(--text);
}

.lang-pill.is-active {
  background: rgba(36, 87, 230, 0.14);
  color: var(--accent-strong);
  border-color: rgba(36, 87, 230, 0.24);
  box-shadow: inset 0 0 0 1px rgba(36, 87, 230, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 400;
}

.nav a {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 6px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.menu-toggle {
  display: none;
  place-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: rgba(36, 87, 230, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 10px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(620px, 1.12fr);
  gap: 28px;
  align-items: center;
  min-height: auto;
  padding: 52px 0 56px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  top: 10%;
  right: -4%;
  width: 58%;
  height: 70%;
  border-radius: var(--radius-xl);
  background-image:
    linear-gradient(rgba(31, 44, 53, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 44, 53, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 95%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  animation: float 9s ease-in-out infinite;
}

.orb-one {
  top: 8%;
  left: -4%;
  width: 220px;
  height: 220px;
  background: rgba(231, 200, 171, 0.55);
}

.orb-two {
  right: 8%;
  bottom: 14%;
  width: 180px;
  height: 180px;
  background: rgba(15, 118, 110, 0.12);
  animation-delay: -3s;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(2.15rem, 4vw, 3.4rem);
}

.hero-text,
.intro-layout p,
.apartment-content p,
.experience-list p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  font-weight: 300;
}

.hero-text {
  max-width: 58ch;
  margin: 28px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  padding: 14px 22px;
  border-radius: 6px;
  font-weight: 500;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 18px 36px rgba(12, 92, 86, 0.22);
}

.hero-actions .button-primary,
.hero-actions button.button-primary {
  font-size: 1.08rem;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.hero-facts div {
  min-width: 140px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(242, 234, 224, 0.8);
  backdrop-filter: blur(14px);
}

.hero-facts strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.hero-facts span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 760px;
  margin-left: -10px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card img,
.apartment-media img,
.gallery-card img {
  height: 100%;
  object-fit: cover;
}

.hero-card-main {
  top: 0;
  right: 0;
  width: 100%;
  height: 520px;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  animation: hero-fade 18s ease-in-out infinite;
}

.hero-slide-1 {
  animation-delay: 0s;
}

.hero-slide-2 {
  animation-delay: 6s;
}

.hero-slide-3 {
  animation-delay: 12s;
}

.hero-card-gallery {
  left: 0;
  right: 0;
  bottom: 0;
  height: 228px;
  z-index: 2;
  padding: 58px 18px 18px;
}

.hero-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  height: 100%;
}

.hero-gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.hero-gallery-strip img:nth-child(1) {
  object-position: center 56%;
}

.hero-gallery-strip img:nth-child(2) {
  object-position: center 50%;
}

.hero-gallery-strip img:nth-child(3) {
  object-position: center 48%;
}

.card-caption,
.card-chip {
  position: absolute;
  left: 20px;
  right: 20px;
  border-radius: 10px;
  background: rgba(245, 236, 225, 0.24);
  backdrop-filter: blur(16px);
}

.card-caption {
  bottom: 18px;
  padding: 20px 22px;
}

.card-caption span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-caption strong {
  font-size: 1.06rem;
  line-height: 1.4;
  font-weight: 500;
}

.card-chip {
  top: 18px;
  left: 18px;
  right: 18px;
  width: auto;
  padding: 0;
  font-size: 1.56rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  background: transparent;
  backdrop-filter: none;
}

.intro,
.apartments,
.experience,
.gallery-strip,
.contact {
  padding: 40px 0 120px;
}

.subhero,
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  width: var(--container);
  margin: 0 auto;
  padding: 54px 0 48px;
}

.subhero h1,
.detail-hero h1 {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.subhero .eyebrow,
.detail-hero .eyebrow {
  font-size: 1.3rem;
  letter-spacing: 0.22em;
}

.subhero-visual,
.detail-hero-media {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.subhero-visual img,
.detail-hero-media img {
  width: 100%;
  height: 100%;
}

.subhero-visual img,
.detail-hero-media img {
  object-fit: cover;
}

.subhero-map {
  display: block;
}

.subhero-map img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.apartments-page-grid {
  width: var(--container);
  margin: 0 auto 120px;
}

body.apartments-page .subhero {
  padding: 28px 0 18px;
}

body.apartments-page .subhero-visual {
  min-height: 340px;
}

body.apartments-page .intro {
  padding: 18px 0 40px;
}

body.apartments-page .intro-layout {
  margin-top: 20px;
}

body.apartments-page .apartments-page-grid {
  margin: 0 auto 96px;
  margin-top: 12px;
}

body.apartments-page .apartment-grid {
  gap: 22px;
  margin-top: 0;
}

body.apartments-page .apartment-media {
  height: 250px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 48px;
}

.detail-meta div,
.amenities-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.detail-meta strong {
  display: block;
  margin-bottom: 6px;
}

.detail-meta span {
  color: var(--muted);
  line-height: 1.6;
}

.detail-layout,
.detail-gallery {
  width: var(--container);
  margin: 0 auto;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 0 0 64px;
}

.detail-content p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.04rem;
}

.amenities-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.amenities-list li {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(233, 240, 255, 0.82);
  font-weight: 600;
}

.detail-gallery {
  padding-bottom: 120px;
}

.contact-form,
.register-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label,
.register-form label,
.form-full {
  display: grid;
  gap: 8px;
}

.contact-form span,
.register-form span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.register-form input,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(31, 44, 53, 0.12);
  border-radius: 8px;
  background: rgba(250, 252, 255, 0.78);
  font: inherit;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus,
.register-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(36, 87, 230, 0.45);
  box-shadow: 0 0 0 4px rgba(36, 87, 230, 0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.sidebar-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 600;
}

.sidebar-text {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-stack {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-stack a {
  font-weight: 600;
}

.contact-stack p {
  margin: 0;
  color: var(--muted);
}

.contact-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(31, 44, 53, 0.08);
  box-shadow: 0 8px 18px rgba(19, 34, 56, 0.08);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.info-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 24px;
}

.info-ribbon div,
.mini-points span {
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(245, 249, 255, 0.72);
  border: 1px solid rgba(31, 44, 53, 0.08);
}

.info-ribbon strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.info-ribbon span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.mini-points {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.mini-points span {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.booking-layout {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 28px;
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 120px;
}

.booking-main {
  display: grid;
  gap: 24px;
}

.booking-side {
  align-self: start;
}

.booking-layout {
  grid-template-columns: 1.55fr 0.85fr;
}

.booking-box {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.bentral-widget {
  min-height: 180px;
  padding: 12px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.72), rgba(241, 232, 221, 0.72));
}

.booking-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.booking-room-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.booking-room-head img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.detail-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  height: 360px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

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

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.intro-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.apartment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.apartment-card,
.experience-panel,
.contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.apartment-card {
  overflow: hidden;
}

.apartment-media {
  height: 310px;
}

.apartment-media-alt {
  background: linear-gradient(135deg, rgba(170, 197, 255, 0.3), rgba(36, 87, 230, 0.14));
}

.apartment-content {
  padding: 28px;
}

.apartment-label {
  color: var(--accent);
  font-size: 1.56rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.apartment-content h3 {
  margin: 14px 0 14px;
  font-family: "Open Sans", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.apartment-content a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-strong);
  font-weight: 500;
}

.experience-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 38px;
}

.experience-list {
  display: grid;
  gap: 24px;
}

.experience-list div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.experience-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.experience-list span {
  font-family: "Open Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent);
}

.gallery-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.gallery-copy {
  max-width: 34rem;
}

.gallery-text {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}

.gallery-copy .button {
  margin-top: 28px;
}

.gallery-preview {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 220px 220px;
  gap: 18px;
}

.gallery-preview-card,
.gallery-tile {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 12px;
  background: rgba(247, 250, 255, 0.62);
  box-shadow: var(--shadow);
}

.gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-preview-card img,
.gallery-tile img {
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.gallery-preview-card:hover img,
.gallery-tile:hover img {
  transform: scale(1.04);
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.gallery-lightbox.is-open {
  display: block;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 24, 0.78);
  backdrop-filter: blur(8px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  width: min(1200px, calc(100vw - 40px));
  height: 100%;
  margin: 0 auto;
  padding: 32px 0;
}

.gallery-lightbox-figure {
  margin: 0;
  max-height: 100%;
}

.gallery-lightbox-image {
  width: 100%;
  max-height: calc(100vh - 64px);
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.gallery-lightbox-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: #eef7f8;
}

.gallery-lightbox-counter {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
}

.gallery-lightbox-text {
  color: rgba(238, 247, 248, 0.92);
  font-size: 0.98rem;
  line-height: 1.6;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 0;
  font-size: 1.7rem;
  line-height: 1;
}

.gallery-preview-main {
  grid-row: 1 / span 2;
}

.gallery-preview-wide {
  grid-column: 2;
}

.gallery-page {
  padding-bottom: 120px;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: start;
  gap: 18px;
}

.gallery-tile {
  height: 280px;
}

.gallery-tile.tall {
  grid-row: span 2;
  height: auto;
  min-height: 578px;
}

.gallery-tile.wide {
  grid-column: span 2;
}

.report-showcase {
  padding-bottom: 120px;
}

.report-marquee {
  position: relative;
  display: flex;
  gap: 18px;
  overflow: hidden;
  margin-top: 34px;
  padding-bottom: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.report-track {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  min-width: max-content;
  will-change: transform;
  animation: gallery-scroll 22s linear infinite;
}

.report-marquee:hover .report-track {
  animation-play-state: paused;
}

.report-card {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.96), rgba(224, 234, 255, 0.92));
  box-shadow: var(--shadow);
}

.report-shot {
  display: grid;
  place-items: center;
  height: 180px;
  margin-bottom: 16px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(36, 87, 230, 0.18), rgba(135, 177, 255, 0.32)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.08));
}

.report-shot-image {
  height: 236px;
  margin-bottom: 0;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(236, 226, 214, 0.92));
}

.report-shot-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}

.report-shot span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.76);
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.report-card strong {
  display: none;
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.report-card p {
  display: none;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 38px;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  border-radius: 12px;
  background:
    radial-gradient(circle at top right, rgba(135, 177, 255, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(245, 248, 255, 0.96), rgba(227, 236, 255, 0.96));
}

.contact-card a {
  font-weight: 700;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-card .contact-link-row {
  align-items: center;
}

.contact-card .contact-link-row,
.contact-stack .contact-link-row {
  color: inherit;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms ease;
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 18px));
  }
}

@keyframes hero-fade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }
  6% {
    opacity: 1;
  }
  28% {
    opacity: 1;
    transform: scale(1);
  }
  34% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track,
  .report-track {
    animation: none;
  }

  .hero-slide {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .hero-slide-1 {
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero,
  .subhero,
  .detail-hero,
  .gallery-strip,
  .gallery-page,
  .experience-panel,
  .contact-panel,
  .detail-layout,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 760px;
    margin-left: 0;
  }

  .hero-card-main {
    width: 100%;
    height: 460px;
  }

  .hero-card-gallery {
    left: 24px;
    right: 0;
    bottom: 0;
  }

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

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

  .gallery-preview-main,
  .gallery-tile.tall,
  .gallery-tile.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    border-radius: 12px;
  }

  .brand-cluster {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(246, 249, 255, 0.98);
    box-shadow: 0 20px 40px rgba(31, 44, 53, 0.12);
  }

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

  .apartment-grid,
  .intro-layout,
  .form-grid,
  .info-ribbon,
  .booking-room-head {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox-dialog {
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(100vw - 24px, 920px);
    padding: 72px 0 24px;
  }

  .gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .gallery-lightbox-prev {
    left: 12px;
  }

  .gallery-lightbox-next {
    right: 12px;
  }

  .gallery-lightbox-figure {
    display: flex;
    align-items: center;
    justify-content: center;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 24px, 1000px);
  }

  .topbar {
    top: 10px;
    margin-top: 10px;
    padding: 12px 14px;
  }

  .brand {
    width: 128px;
    padding: 8px 12px;
  }

  .lang-switch {
    gap: 6px;
  }

  .lang-pill {
    min-width: 58px;
    min-height: 52px;
    padding: 8px 10px;
    font-size: 2.1rem;
  }

  .hero {
    gap: 26px;
    padding-top: 40px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 10vw, 2.75rem);
  }

  .hero-facts div {
    width: 100%;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-card-main {
    position: relative;
    height: 360px;
  }

  .hero-card-gallery {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: auto;
    margin-top: 18px;
    padding: 58px 14px 14px;
  }

  .hero-gallery-strip {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero-gallery-strip img {
    height: 160px;
  }

  .gallery-preview,
  .gallery-mosaic {
    grid-template-columns: 1fr;
  }

  .gallery-preview-card,
  .gallery-tile,
  .gallery-tile.tall {
    min-height: 240px;
    height: 240px;
  }

  .report-card {
    flex-basis: 220px;
  }

  .gallery-card,
  .gallery-card.elevated {
    height: 280px;
  }

  .gallery-card {
    flex-basis: 160px;
  }

  .experience-panel,
  .contact-panel,
  .contact-card,
  .apartment-content {
    padding: 24px;
  }

  .subhero-visual,
  .detail-hero-media,
  .detail-gallery-grid figure {
    min-height: 280px;
    height: 280px;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }
}
