/* =====================================================
   DIGITAL APARTMENTS — FRONTEND CSS (Mobile-First)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* ── Variables ─────────────────────────────────────── */
:root {
  --dark: #111111;
  --dark2: #1c1c1c;
  --dark3: #2a2a2a;
  --mid: #444;
  --grey: #777;
  --silver: #c8c8c8;
  --light: #f4f3f0;
  --white: #ffffff;
  --gold: #c9a96e;
  --gold-lt: #e0c48a;
  --gold-dk: #a07a40;

  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --sh-sm: 0 2px 12px rgba(0, 0, 0, .1);
  --sh-md: 0 8px 32px rgba(0, 0, 0, .18);
  --sh-lg: 0 20px 60px rgba(0, 0, 0, .28);
  --sh-gold: 0 4px 20px rgba(201, 169, 110, .3);
  --ease: .35s cubic-bezier(.25, .46, .45, .94);
}

/* ── Reset ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--ease)
}

ul,
ol {
  list-style: none
}

button {
  font-family: inherit;
  cursor: pointer
}

input,
select,
textarea {
  font-family: inherit
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px
}

::-webkit-scrollbar-track {
  background: var(--dark2)
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px
}

/* ── Preloader ─────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity .5s
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none
}

.pre-logo {
  width: 90px;
  animation: pulseLogo 1.4s ease-in-out infinite
}

.pre-bar {
  width: 160px;
  height: 2px;
  background: var(--dark3);
  border-radius: 2px;
  overflow: hidden
}

.pre-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gold);
  animation: barSlide 1.1s ease-in-out infinite
}

@keyframes pulseLogo {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .7;
    transform: scale(.96)
  }
}

@keyframes barSlide {
  0% {
    transform: translateX(-100%)
  }

  100% {
    transform: translateX(350%)
  }
}

/* ── Navbar ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 16px 0;
  transition: var(--ease)
}

.nav.scrolled {
  background: rgba(17, 17, 17, .97);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, .4)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.nav-logo img {
  height: 50px;
  /* width: auto; */
  /* filter: brightness(0) invert(1); */
  transition: var(--ease)
}

.nav-links {
  display: none;
  gap: 4px;
  align-items: center
}

.nav-link {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  position: relative;
  transition: var(--ease)
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--ease)
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold)
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1)
}

.nav-btn {
  background: var(--gold);
  color: var(--dark) !important;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--r-sm);
  transition: var(--ease)
}

.nav-btn:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: var(--sh-gold)
}

.nav-btn::after {
  display: none !important
}

.nav-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, .2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem
}

/* Mobile menu */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: min(280px, 80vw);
  background: var(--dark2);
  z-index: 600;
  padding: 80px 28px 40px;
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, .08)
}

.nav-mobile.open {
  right: 0
}

.nav-mobile .nav-link {
  font-size: .88rem;
  padding: 12px 14px;
  display: block;
  border-radius: var(--r-md);
  border-bottom: 1px solid rgba(255, 255, 255, .04)
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 599;
  display: none
}

.nav-overlay.show {
  display: block
}

.nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--silver);
  font-size: 1.2rem
}

@media(min-width:992px) {
  .nav-links {
    display: flex
  }

  .nav-toggle {
    display: none
  }
}

/* ── Container ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px
}

@media(min-width:640px) {
  .container {
    padding: 0 28px
  }
}

@media(min-width:1024px) {
  .container {
    padding: 0 40px
  }
}

/* ── Sections ──────────────────────────────────────── */
section {
  padding: 70px 0
}

@media(min-width:768px) {
  section {
    padding: 100px 0
  }
}

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px
}

.section-title em {
  font-style: italic;
  color: var(--gold)
}

.section-title.light {
  color: var(--white)
}

.subtitle {
  font-size: .97rem;
  color: var(--grey);
  line-height: 1.8;
  max-width: 540px
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 16px 0
}

.divider-center {
  margin-left: auto;
  margin-right: auto
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  transition: var(--ease);
  cursor: pointer
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold)
}

.btn-gold:hover {
  background: var(--gold-lt);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--sh-gold)
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark)
}

.btn-dark:hover {
  background: var(--dark3);
  color: var(--white);
  transform: translateY(-2px)
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .4)
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark)
}

.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.btn-sm {
  padding: 9px 18px;
  font-size: .72rem
}

.btn-full {
  width: 100%;
  justify-content: center
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark)
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/home-hero.png') center/cover no-repeat;
  animation: heroZoom 14s ease-in-out infinite alternate
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 17, 17, .88) 0%, rgba(17, 17, 17, .55) 60%, rgba(17, 17, 17, .7) 100%)
}

@keyframes heroZoom {
  from {
    transform: scale(1)
  }

  to {
    transform: scale(1.07)
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 60px
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp .8s .3s both
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  flex: 0 0 28px;
  height: 1px;
  background: var(--gold)
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp .8s .5s both
}

.hero-title span {
  color: var(--gold);
  font-style: italic
}

.hero-tag {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, .65);
  margin-bottom: 38px;
  opacity: 0;
  animation: fadeUp .8s .7s both
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: fadeUp .8s .9s both
}

.hero-stats {
  display: none;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  gap: 50px;
  z-index: 2;
  opacity: 0;
  animation: fadeUp .8s 1.1s both
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1
}

.hero-stat-lbl {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-top: 4px
}

.scroll-hint {
  display: none;
  position: absolute;
  right: 32px;
  bottom: 40px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  align-items: center;
  gap: 10px
}

.scroll-hint::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 1.4s ease-in-out infinite
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top
  }

  50% {
    transform: scaleY(1);
    transform-origin: top
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media(min-width:768px) {
  .hero-stats {
    display: flex
  }

  .scroll-hint {
    display: flex
  }
}

/* ── Booking bar ─────────────────────────────────────  */
.booking-bar {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--sh-lg);
  border-bottom: 3px solid var(--gold);
  margin-top: -44px;
  position: relative;
  z-index: 10
}

.bb-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
  display: block
}

.bb-input,
.bb-select {
  /* Force full width – Bootstrap sometimes sets width: auto */
  width: 100% !important;
  max-width: 100%;
  /* Prevent overflow on flex/grid parents */

  /* Fallback values for older browsers (IE11, etc.) */
  border: 1px solid #a0aec0;
  border-radius: 6px;
  background: #ffffff;
  color: #1a202c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transition: all 0.2s ease-in-out;

  /* Modern CSS variables (override fallbacks if supported) */
  border: 1px solid var(--silver, #a0aec0);
  border-radius: var(--r-sm, 6px);
  background: var(--white, #ffffff);
  color: var(--dark, #1a202c);
  font-family: var(--font-body, system-ui, -apple-system, sans-serif);
  transition: var(--ease, all 0.2s ease-in-out);

  /* Uniform sizing & appearance reset (overrides Bootstrap) */
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  /* Consistent line-height */

  /* Remove Bootstrap's box-shadow on focus (optional) */
  outline: none;
}

.bb-input:focus,
.bb-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, .15);
  outline: none
}

@media(min-width:768px) {
  .booking-bar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end
  }
}

.booking-bar-grid>.bb-group {
  margin-bottom: 14px
}

@media(min-width:768px) {
  .booking-bar-grid>.bb-group {
    margin-bottom: 0
  }
}

/* ── Cards ─────────────────────────────────────────── */
.card-da {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: var(--ease)
}

.card-da:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md)
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .55s cubic-bezier(.25, .46, .45, .94)
}

.card-da:hover .card-img-wrap img {
  transform: scale(1.07)
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--dark);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-sm)
}

.card-badge-dark {
  background: var(--dark);
  color: var(--gold)
}

.card-body {
  padding: 22px
}

.card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .78rem;
  color: var(--grey);
  margin-bottom: 14px
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 5px
}

.card-meta i {
  color: var(--gold)
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px
}

.card-price .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700
}

.card-price .per {
  font-size: .78rem;
  color: var(--grey)
}

.card-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--light);
  display: flex;
  justify-content: space-between;
  align-items: center
}

.card-rating {
  font-size: .8rem;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 4px
}

.card-rating i {
  color: #f5c518;
  font-size: .7rem
}

.card-cta {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: var(--ease)
}

.card-cta:hover {
  color: var(--gold)
}

/* ── Apt Grid ──────────────────────────────────────── */
.apt-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr
}

@media(min-width:600px) {
  .apt-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(min-width:1024px) {
  .apt-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

/* ── Services ──────────────────────────────────────── */
.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr
}

@media(min-width:768px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.svc-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid transparent;
  transition: var(--ease);
  position: relative;
  overflow: hidden
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--ease)
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: rgba(201, 169, 110, .15)
}

.svc-card:hover::after {
  transform: scaleX(1)
}

.svc-icon {
  width: 60px;
  height: 60px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
  color: var(--gold);
  transition: var(--ease)
}

.svc-card:hover .svc-icon {
  background: var(--gold);
  color: var(--dark)
}

.svc-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px
}

.svc-card p {
  font-size: .82rem;
  color: var(--grey);
  line-height: 1.7
}

/* ── Why section (dark) ─────────────────────────────  */
.why-section {
  background: var(--dark);
  position: relative;
  overflow: hidden
}

.why-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(201, 169, 110, .07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none
}

.why-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr
}

.why-item {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--ease)
}

.why-item:hover {
  background: rgba(255, 255, 255, .02)
}

.why-item:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, .05)
}

.why-icon {
  flex: 0 0 46px;
  height: 46px;
  background: var(--gold);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--dark)
}

.why-item h5 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px
}

.why-item p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.6
}

@media(min-width:768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* ── Testimonials ───────────────────────────────────  */
.testi-section {
  background: var(--dark2)
}

.testi-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr
}

@media(min-width:768px) {
  .testi-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(min-width:1024px) {
  .testi-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

.testi-card {
  background: var(--dark3);
  border-radius: var(--r-md);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .05);
  position: relative;
  height: 100%
}

.testi-quote {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(201, 169, 110, .12);
  line-height: 1
}

.testi-stars {
  color: var(--gold);
  font-size: .8rem;
  margin-bottom: 14px;
  display: flex;
  gap: 2px
}

.testi-text {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, .7);
  line-height: 1.8;
  margin-bottom: 22px
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: 18px
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark);
  flex-shrink: 0
}

.testi-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white)
}

.testi-loc {
  font-size: .73rem;
  color: rgba(255, 255, 255, .4)
}

/* ── Gallery grid ───────────────────────────────────  */
.gallery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr
}

@media(min-width:640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 220px)
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  cursor: pointer
}

@media(min-width:640px) {
  .gallery-item.tall {
    grid-row: span 2
  }
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: .55s
}

@media(min-width:640px) {
  .gallery-item img {
    height: 100%
  }
}

.gallery-item:hover img {
  transform: scale(1.07)
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease)
}

.gallery-overlay i {
  color: var(--white);
  font-size: 1.6rem;
  opacity: 0;
  transform: scale(.6);
  transition: var(--ease)
}

.gallery-item:hover .gallery-overlay {
  background: rgba(17, 17, 17, .45)
}

.gallery-item:hover .gallery-overlay i {
  opacity: 1;
  transform: scale(1)
}
.masonry-item video {
  border-radius: var(--r-sm);
  background: #000;
  max-height: 320px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .masonry {
    columns: 3 !important;
  }
}

/* ── Apartment detail page ──────────────────────────  */
.apt-detail-gallery {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin-bottom: 28px
}

@media(min-width:640px) {
  .apt-detail-gallery {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 240px 240px
  }
}

.apt-gallery-main {
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer
}

@media(min-width:640px) {
  .apt-gallery-main {
    grid-row: span 2
  }
}

.apt-gallery-main img {
  width: 100%;
  height: 240px;
  object-fit: cover
}

@media(min-width:640px) {
  .apt-gallery-main img {
    height: 100%
  }
}

.apt-gallery-thumb {
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer
}

.apt-gallery-thumb img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  transition: .4s
}

@media(min-width:640px) {
  .apt-gallery-thumb img {
    height: 100%
  }
}

.apt-gallery-thumb:hover img {
  transform: scale(1.06)
}

.apt-gallery-thumb.more-overlay {
  position: relative
}

.apt-gallery-thumb.more-overlay::after {
  content: '+'attr(data-more) ' more';
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, .6);
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center
}

.apt-info-sticky {
  position: sticky;
  top: 90px
}

.apt-price-box {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--sh-md);
  border-top: 3px solid var(--gold)
}

.apt-price-box .big-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark)
}

.apt-price-box .per-night {
  font-size: .8rem;
  color: var(--grey)
}

.apt-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0
}

.amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--dark)
}

.amenity-chip i {
  color: var(--gold);
  font-size: .72rem
}

.apt-desc {
  font-size: .93rem;
  color: var(--dark);
  line-height: 1.85
}

.apt-desc p {
  margin-bottom: 16px
}

.apt-rules {
  background: var(--light);
  border-radius: var(--r-md);
  padding: 20px 22px;
  font-size: .85rem;
  color: var(--grey);
  line-height: 1.7
}

/* ── Availability / Mini booking form ───────────────  */
.avail-form input,
.avail-form select {
  width: 100%;
  border: 1px solid var(--silver);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: .88rem;
  font-family: var(--font-body);
  margin-bottom: 14px;
  transition: var(--ease)
}

.avail-form input:focus,
.avail-form select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, .15)
}

.avail-form label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  display: block;
  margin-bottom: 6px
}

.avail-result {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: .85rem;
  margin-top: 8px;
  display: none
}

.avail-result.available {
  background: rgba(82, 200, 120, .1);
  border: 1px solid rgba(82, 200, 120, .3);
  color: #16a34a
}

.avail-result.unavailable {
  background: rgba(230, 60, 60, .08);
  border: 1px solid rgba(230, 60, 60, .2);
  color: #dc2626
}

/* ── Page Hero ──────────────────────────────────────  */
.page-hero {
  background: var(--dark);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/hero.png') center/cover;
  opacity: .15
}

.page-hero-content {
  position: relative;
  z-index: 2
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .45)
}

.breadcrumb a {
  color: var(--gold)
}

.breadcrumb-sep {
  font-size: .65rem;
  opacity: .4
}

/* ── Form ───────────────────────────────────────────  */
.form-group {
  margin-bottom: 20px
}

.form-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 7px
}

.form-control {
  width: 100%;
  border: 1px solid var(--silver);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--dark);
  transition: var(--ease);
  background: var(--light)
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, .12);
  outline: none;
  background: var(--white)
}

.form-control::placeholder {
  color: var(--silver)
}

textarea.form-control {
  resize: vertical;
  min-height: 110px
}

.form-control.is-invalid {
  border-color: #dc2626
}

.form-error {
  font-size: .75rem;
  color: #dc2626;
  margin-top: 4px
}

/* ── Steps / Booking wizard ─────────────────────────  */
.steps {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  overflow-x: auto
}

.step {
  flex: 1;
  min-width: 100px;
  text-align: center;
  position: relative
}

.step::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--silver);
  z-index: 0
}

.step:last-child::after {
  display: none
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--silver);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .82rem;
  margin: 0 auto 6px;
  position: relative;
  z-index: 1;
  transition: .3s
}

.step-lbl {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey)
}

.step.active .step-num {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white)
}

.step.active .step-lbl {
  color: var(--dark)
}

.step.done .step-num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark)
}

.step.done::after {
  background: var(--gold)
}

.booking-step {
  display: none
}

.booking-step.active {
  display: block
}

/* ── Summary box (booking sidebar) ─────────────────  */
.summary-box {
  background: var(--dark);
  border-radius: var(--r-md);
  padding: 26px;
  color: var(--white);
  position: sticky;
  top: 92px
}

.summary-box h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .83rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .65)
}

.summary-total {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 14px;
  margin-top: 14px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold)
}

.bank-details {
  background: rgba(255, 255, 255, .04);
  border-radius: var(--r-sm);
  padding: 18px;
  margin-top: 20px;
  font-size: .82rem
}

.bank-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.bank-row:last-child {
  border: none;
  margin: 0;
  padding: 0
}

.bank-lbl {
  color: rgba(255, 255, 255, .45);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em
}

.bank-val {
  font-weight: 600;
  color: var(--white)
}

/* ── Contact info ──────────────────────────────────  */
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px
}

.contact-icon {
  flex: 0 0 50px;
  height: 50px;
  background: var(--gold);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--dark)
}

.contact-item h5 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 5px
}

.contact-item p,
.contact-item a {
  font-size: .93rem;
  color: var(--dark);
  font-weight: 500
}

.contact-item a:hover {
  color: var(--gold)
}

/* ── Lightbox ───────────────────────────────────────  */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, .95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px
}

.lightbox.open {
  display: flex
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-sm)
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: .2s;
  padding: 8px
}

.lightbox-close:hover {
  color: var(--gold)
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .1);
  border: none;
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: .2s;
  display: flex;
  align-items: center;
  justify-content: center
}

.lightbox-btn:hover {
  background: var(--gold);
  color: var(--dark)
}

.lightbox-prev {
  left: 18px
}

.lightbox-next {
  right: 18px
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .5);
  font-size: .8rem;
  letter-spacing: .12em
}

/* ── Alerts ─────────────────────────────────────────  */
.alert-da {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: .85rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px
}

.alert-da.success {
  background: rgba(82, 200, 120, .1);
  border: 1px solid rgba(82, 200, 120, .25);
  color: #15803d
}

.alert-da.error {
  background: rgba(230, 60, 60, .08);
  border: 1px solid rgba(230, 60, 60, .2);
  color: #b91c1c
}

.alert-da.warning {
  background: rgba(245, 158, 11, .08);
  border: 1px solid rgba(245, 158, 11, .25);
  color: #b45309
}

.alert-da.info {
  background: rgba(59, 130, 246, .08);
  border: 1px solid rgba(59, 130, 246, .2);
  color: #1d4ed8
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: .5
}

.alert-close:hover {
  opacity: 1
}

/* ── Badges ─────────────────────────────────────────  */
.badge-da {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700
}

.badge-success {
  background: rgba(82, 200, 120, .12);
  color: #16a34a
}

.badge-warning {
  background: rgba(245, 158, 11, .12);
  color: #b45309
}

.badge-danger {
  background: rgba(230, 60, 60, .1);
  color: #dc2626
}

.badge-info {
  background: rgba(59, 130, 246, .1);
  color: #1d4ed8
}

.badge-gold {
  background: rgba(201, 169, 110, .15);
  color: var(--gold-dk)
}

/* ── Filter buttons ─────────────────────────────────  */
.filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--silver);
  color: var(--grey);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--ease)
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white)
}

/* ── Pagination ─────────────────────────────────────  */
.pagination-da {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32px 0 0
}

.pagination-da a {
  min-width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--silver);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--grey);
  transition: var(--ease)
}

.pagination-da a:hover {
  border-color: var(--gold);
  color: var(--gold)
}

.pagination-da a.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
  font-weight: 700
}

.pagination-da .ellipsis {
  color: var(--grey);
  padding: 0 4px
}

/* ── CTA section ─────────────────────────────────────  */
.cta-section {
  background: var(--gold);
  padding: 70px 0
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px
}

.cta-section p {
  color: rgba(17, 17, 17, .65);
  font-size: .95rem
}

@media(min-width:768px) {
  .cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
  }
}

/* ── Footer ─────────────────────────────────────────  */
footer {
  background: var(--dark);
  padding: 70px 0 0
}

.footer-logo img {
  height: 50px;
  /* filter: brightness(0) invert(1); */
  margin-bottom: 16px
}

.footer-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 16px
}

footer p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.8;
  max-width: 300px
}

.footer-heading {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--gold)
}

.footer-links li {
  margin-bottom: 10px
}

.footer-links a {
  font-size: .83rem;
  color: rgba(255, 255, 255, .45);
  transition: var(--ease);
  display: flex;
  align-items: center;
  gap: 7px
}

.footer-links a::before {
  content: '›';
  color: var(--gold)
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .4);
  font-size: .85rem;
  transition: var(--ease)
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px)
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr
}

@media(min-width:640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(min-width:1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 22px 0;
  margin-top: 60px
}

.footer-bottom p {
  font-size: .75rem;
  color: rgba(255, 255, 255, .3);
  margin: 0
}

@media(min-width:640px) {
  .footer-bottom-inner {
    display: flex;
    justify-content: space-between;
  }
}

@media(max-width:640px) {
  .footer-bottom-inner {
    display: block;
  }
}

/* ── WhatsApp float ─────────────────────────────────  */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 400;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, .45);
  animation: waBounce 2.2s ease-in-out infinite
}

.wa-float:hover {
  background: #20c05c;
  color: white;
  transform: scale(1.1);
  animation: none
}

@keyframes waBounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

/* ── Back to top ─────────────────────────────────────  */
#btt {
  position: fixed;
  bottom: 90px;
  right: 26px;
  z-index: 400;
  width: 42px;
  height: 42px;
  background: var(--dark);
  color: var(--gold);
  border: none;
  border-radius: 50%;
  font-size: .88rem;
  cursor: pointer;
  box-shadow: var(--sh-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--ease);
  display: flex;
  align-items: center;
  justify-content: center
}

#btt.show {
  opacity: 1;
  transform: translateY(0)
}

#btt:hover {
  background: var(--gold);
  color: var(--dark)
}

/* ── Loading spinner ────────────────────────────────  */
.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: inline-block
}

.spinner-dark {
  border-color: rgba(17, 17, 17, .2);
  border-top-color: var(--dark)
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

/* ── AOS overrides ──────────────────────────────────  */
[data-aos] {
  opacity: 0
}

[data-aos].aos-animate {
  opacity: 1
}

/* ── Utilities ──────────────────────────────────────  */
.text-gold {
  color: var(--gold) !important
}

.text-center {
  text-align: center
}

.text-right {
  text-align: right
}

.mt-0 {
  margin-top: 0
}

.mt-1 {
  margin-top: 8px
}

.mt-2 {
  margin-top: 16px
}

.mt-3 {
  margin-top: 24px
}

.mt-4 {
  margin-top: 36px
}

.mt-5 {
  margin-top: 56px
}

.mb-0 {
  margin-bottom: 0
}

.mb-1 {
  margin-bottom: 8px
}

.mb-2 {
  margin-bottom: 16px
}

.mb-3 {
  margin-bottom: 24px
}

.mb-4 {
  margin-bottom: 36px
}

.gap-1 {
  gap: 8px
}

.gap-2 {
  gap: 16px
}

.gap-3 {
  gap: 24px
}

.d-flex {
  display: flex
}

.flex-wrap {
  flex-wrap: wrap
}

.align-center {
  align-items: center
}

.justify-between {
  justify-content: space-between
}

.justify-center {
  justify-content: center
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px
}

@media(min-width:768px) {
  .row-2 {
    grid-template-columns: 1fr 1fr
  }
}

.row-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px
}

@media(min-width:640px) {
  .row-3 {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:640px) {
  .why-item {
    flex-direction: column;
  }

  .why-item div {
    width: 100%;
  }

  .svc-card {
    padding: 28px 16px;
  }
}

@media(min-width:1024px) {
  .row-3 {
    grid-template-columns: 1fr 1fr 1fr
  }
}

.row-auto-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px
}

@media(min-width:1024px) {
  .row-auto-right {
    grid-template-columns: 1fr 380px
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

/* ── Error pages ────────────────────────────────────  */
.error-page {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px
}

.error-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1631049307264-da0ec9d70304?w=1600&q=50') center/cover;
  opacity: .07;
  pointer-events: none
}

.error-content {
  position: relative;
  z-index: 2
}

.error-num {
  font-family: var(--font-display);
  font-size: clamp(7rem, 20vw, 13rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1
}

.error-divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto
}

.error-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--white);
  margin-bottom: 14px
}

.error-msg {
  color: rgba(255, 255, 255, .5);
  font-size: .93rem;
  max-width: 420px;
  margin: 0 auto 32px;
  line-height: 1.8
}

.error-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

/* ── Maintenance page ────────────────────────────────  */
.maint-page {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center
}

.maint-icon {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 24px
}

/* ── Print ──────────────────────────────────────────  */
@media print {

  .nav,
  .wa-float,
  #btt,
  .booking-bar,
  footer {
    display: none
  }

  body {
    color: black;
    background: white
  }
}