/* ==========================================================================
   BLISS HAVEN SUITES — Core Stylesheet
   Brand tokens locked per project spec: Navy #001749 / Gold #FFD449 /
   Light Gold #FFE699 / White #FFFFFF. Montserrat for all UI, Great Vibes
   reserved for short decorative accents only.
   ========================================================================== */

:root {
  --navy: #001749;
  --navy-soft: #0a2a63;
  --navy-mist: #eef1f7;      /* tinted-navy section background, not grey */
  --gold: #FFD449;
  --gold-light: #FFE699;
  --white: #FFFFFF;
  --ink: #0d1b33;            /* body text on white, navy-derived, not grey */
  --ink-soft: rgba(13, 27, 51, 0.66);

  --font-display: Montserrat, Arial, Helvetica, sans-serif;
  --font-accent: 'Segoe Script', cursive;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-card: 0 18px 40px rgba(0, 23, 73, 0.12);
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

.eyebrow {
  font-family: var(--font-accent);
  font-size: 26px;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}
.eyebrow-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a5c00;
  display: inline-block;
  margin-bottom: 14px;
}

/* Restrained heading scale: weight carries hierarchy, not brute size */
h1, h2, h3, h4 { font-weight: 700; margin: 0 0 16px; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; font-weight: 800; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.16; }
h3 { font-size: 20px; font-weight: 700; }
p { line-height: 1.7; color: var(--ink-soft); margin: 0 0 16px; font-weight: 400; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 212, 73, 0.35); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--gold); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-outline-navy { border-color: rgba(0,23,73,0.3); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-text { padding: 0; border: none; font-weight: 700; color: var(--navy); border-bottom: 1.5px solid var(--gold); border-radius: 0; padding-bottom: 2px; }
.btn-text:hover { color: var(--navy-soft); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(0, 12, 40, 0.97);
  padding: 12px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.site-header.always-dark { background: rgba(0, 12, 40, 0.97); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { display: flex; align-items: center; gap: 10px; }
img.emblem { width: auto; height: auto; }
.brand-logo img.emblem { height: 34px; width: auto; transition: height 0.3s ease; }
.brand-logo .wordmark { font-size: 16px; font-weight: 700; letter-spacing: 0.06em; color: var(--white); text-transform: uppercase; line-height: 1.2; }
.brand-logo .wordmark span { display: block; font-size: 9px; font-weight: 500; letter-spacing: 0.22em; color: var(--gold); }
.site-header.is-scrolled .brand-logo img.emblem { height: 28px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 4px;
  opacity: 0.88;
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none;
  background: none; border: none; padding: 8px;
  flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 22px; height: 1.5px; background: var(--white); border-radius: 2px; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- Mobile drawer ---------- */
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(66vw, 380px);
  background: var(--navy);
  z-index: 900;
  padding: 30px 30px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,7,25,0.6);
  z-index: 850; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.drawer-close { background: none; border: none; color: var(--white); font-size: 24px; line-height: 1; }
.mobile-drawer nav a {
  display: block; padding: 13px 0; color: var(--white);
  font-weight: 600; font-size: 16px; letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-drawer .btn-gold { margin-top: 22px; justify-content: center; color: var(--navy); }
.drawer-socials { display: flex; gap: 14px; margin-top: auto; padding-top: 26px; }
.drawer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,212,73,0.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  background: var(--navy);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.6s ease;
  transform: scale(1.04);
}
.hero-slide img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;background:var(--navy)}
.hero-slide.is-active { opacity: 1; }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,10,40,0.35) 0%, rgba(0,10,40,0.15) 45%, rgba(0,10,40,0.82) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  max-width: 620px;
  padding-bottom: 120px;
}
.hero-content .eyebrow-label { color: var(--gold-light); }
.hero-content h1 { color: var(--white); margin-bottom: 14px; }
.hero-content p { color: rgba(255,255,255,0.82); font-size: 17px; max-width: 460px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.hero-dots {
  position: absolute; z-index: 2; bottom: 28px; right: 32px;
  display: flex; gap: 4px;
}
.hero-dots button {
  width: 24px; height: 24px; border-radius: 50%; border: none;
  background: transparent; display: flex; align-items: center; justify-content: center;
}
.hero-dots button::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4);
  transition: all 0.25s ease;
}
.hero-dots button.is-active::before { background: var(--gold); width: 20px; border-radius: 5px; }

/* ---------- Availability strip ---------- */
.avail-strip {
  position: relative; z-index: 3;
  margin: -46px auto 0;
  max-width: 1040px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 18px;
  align-items: end;
}
.avail-field label {
  display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--navy); margin-bottom: 8px;
}
.avail-field select, .avail-field input {
  width: 100%; border: 1px solid rgba(0,23,73,0.15); border-radius: var(--radius-sm);
  padding: 12px 14px; font-family: inherit; font-size: 16px; color: var(--ink);
  -webkit-appearance: none; appearance: none; background: var(--white);
}
.avail-strip .btn { width: 100%; justify-content: center; padding: 14px 22px; }
@media (max-width: 900px) {
  .avail-strip { grid-template-columns: 1fr 1fr; margin: 24px auto 0; padding: 22px; gap: 14px; }
  .avail-strip .btn { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .avail-strip { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-tinted { background: var(--navy-mist); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.7); }
.section-navy h2 { color: var(--white); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 46px; text-align: left; }

/* ---------- Suite cards ---------- */
.suite-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
@media (max-width: 980px) { .suite-grid { grid-template-columns: 1fr; } }
.suite-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}
.suite-card:hover { transform: translateY(-6px); }
.suite-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.suite-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.suite-card:hover .thumb img { transform: scale(1.06); }
.suite-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--navy);
  font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}
.suite-body { padding: 24px; }
.suite-meta { display: flex; gap: 16px; margin: 12px 0 18px; font-size: 13px; color: var(--ink-soft); }
.suite-meta span { display: flex; align-items: center; gap: 6px; }
.suite-price { font-weight: 800; color: var(--navy); font-size: 15px; }
.suite-price small { font-weight: 500; color: var(--ink-soft); }
.suite-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }

/* ---------- Why section (icon grid) ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-item { text-align: center; }
.feature-icon {
  width: 62px; height: 62px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.feature-icon .icon svg { width: 24px; height: 24px; }
.icon svg { width: 20px; height: 20px; display: block; }
.feature-item h3 { font-size: 17px; margin-bottom: 8px; }
.feature-item p { font-size: 14px; }

/* ---------- Video section ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }
.video-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 9/16; background: #000; cursor: pointer;
  box-shadow: var(--shadow-card);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; color: var(--white);
}
.video-play .ring {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,212,73,0.92); display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 20px; transition: transform 0.3s ease;
}
.video-card:hover .ring { transform: scale(1.1); }
.video-label {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-weight: 700; color: var(--white); font-size: 14px;
  background: rgba(0,12,40,0.75); padding: 6px 14px; border-radius: 999px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px;
}
.gallery-grid a { border-radius: var(--radius-sm); overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid a:nth-child(6) { grid-column: span 2; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

/* ---------- Testimonials ---------- */
.testi-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.testi-card {
  scroll-snap-align: start; flex: 0 0 min(420px, 86vw);
  background: var(--white); border-radius: var(--radius-md); padding: 30px;
  box-shadow: var(--shadow-card);
}
.testi-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; }
.testi-name { font-weight: 700; color: var(--navy); margin-top: 14px; }
.testi-sub { font-size: 13px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid rgba(0,23,73,0.12); padding: 20px 0; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; color: var(--navy); font-size: 16px; background: none; border: none;
  width: 100%; text-align: left; padding: 0;
}
.faq-q .plus { transition: transform 0.3s ease; color: var(--gold); font-size: 20px; }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.is-open .faq-a { max-height: 240px; }
.faq-a p { padding-top: 12px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white); border-radius: var(--radius-lg);
  padding: 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  border: 1px solid rgba(255,212,73,0.25); top: -140px; right: -100px;
}
.cta-band h2 { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h3 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px;
}
.footer-socials { display: flex; gap: 14px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.footer-socials svg, .drawer-socials svg { width: 19px; height: 19px; display: block; }
.footer-socials a[aria-label*="Instagram"]:hover, .drawer-socials a[aria-label*="Instagram"]:hover { color: #e4405f; }
.footer-socials a[aria-label*="TikTok"]:hover, .drawer-socials a[aria-label*="TikTok"]:hover { color: #69c9d0; }
.footer-socials a[aria-label*="WhatsApp"]:hover, .drawer-socials a[aria-label*="WhatsApp"]:hover { color: #25d366; }
.checkout-payment-badge{display:block;width:min(300px,100%);height:auto;margin:16px auto 0;border-radius:8px;background:#fff}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 400;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--navy); border: none;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.whatsapp-float{position:fixed;right:22px;bottom:92px;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#25D366;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.2);z-index:720;transition:transform .2s ease}.whatsapp-float:hover{transform:translateY(-3px)}.whatsapp-float svg{width:30px;height:30px}.payment-methods{display:flex;align-items:center;margin-left:auto;padding:0}.payment-methods img{display:block;width:min(190px,100%);height:auto;border-radius:6px;background:#fff;box-shadow:none}@media(max-width:600px){.whatsapp-float{right:16px;bottom:82px;width:50px;height:50px}.footer-bottom{align-items:center}.payment-methods{order:2;margin-left:0}.footer-socials{order:3}.payment-methods img{width:165px}}

/* ---------- Apartment overlay cards (image + text on the image) ---------- */
.overlay-grid-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.overlay-grid-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.overlay-card { position: relative; border-radius: var(--radius-md); overflow: hidden; display: block; }
.overlay-card.pair, .overlay-card.third { aspect-ratio: 4/5; }
.overlay-card.standalone { aspect-ratio: 16/8; }
.overlay-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.overlay-card:hover img { transform: scale(1.05); }
.overlay-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,10,40,0.05) 40%, rgba(0,10,40,0.85) 100%);
}
.overlay-card-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; }
.overlay-card-content .tag {
  display: block; width: fit-content; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); background: transparent; padding: 0; border-radius: 0; margin-bottom: 10px; text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.overlay-card-content h3 { color: var(--gold); margin-bottom: 6px; font-size: 21px; }
.overlay-card-content p { color: rgba(255,255,255,0.85); font-size: 13px; margin-bottom: 14px; max-width: 380px; }
.overlay-card-content .btn { padding: 9px 18px; font-size: 12px; }
@media (max-width: 700px) {
  .overlay-grid-pair, .overlay-grid-three { grid-template-columns: 1fr; gap: 18px; }
  .overlay-card.standalone { aspect-ratio: 4/5; }
}


/* ---------- Testimonials (carousel with controls) ---------- */
.testi-wrap { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.testi-track { display: block; overflow: visible; padding: 0; }
.testi-slide { display: none; }
.testi-slide.is-active { display: block; animation: fadeUp 0.5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.testi-quote-mark { font-family: Georgia, serif; font-size: 70px; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.testi-slide p.quote { font-size: 19px; color: var(--navy); font-weight: 500; line-height: 1.6; max-width: 620px; margin: 0 auto 22px; }
.testi-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.testi-sub { font-size: 13px; color: var(--ink-soft); }
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.testi-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(0,23,73,0.15); background: var(--white); color: var(--navy); font-size: 15px; display: flex; align-items: center; justify-content: center; }
.testi-arrow:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.testi-dots { display: flex; gap: 2px; }
.testi-dots button { width: 24px; height: 24px; border-radius: 50%; border: none; background: transparent; display: flex; align-items: center; justify-content: center; }
.testi-dots button::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(0,23,73,0.2); transition: all 0.25s ease; }
.testi-dots button.is-active::before { background: var(--gold); width: 18px; border-radius: 4px; }

/* ---------- 404 page ---------- */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 100px 24px; }
.error-page .code { font-size: 15px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 18px; }
.error-page h1 { max-width: 560px; margin: 0 auto 16px; }
.error-page p { max-width: 460px; margin: 0 auto 30px; }
.error-page .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,7,25,0.94); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: absolute; top: 24px; right: 28px; background: none; border: none; color: var(--white); font-size: 30px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: var(--white); width: 48px; height: 48px; border-radius: 50%; font-size: 18px; }
.lightbox-nav.prev { left: 24px; } .lightbox-nav.next { right: 24px; }
.lightbox-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 13px; letter-spacing: 0.05em; }
/* ---------- FAQ (LHS list / RHS answer card) ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.faq-list-item {
  width: 100%; text-align: left; background: none; border: none;
  border-bottom: 1px solid rgba(0,23,73,0.1);
  padding: 18px 4px; font-size: 16px; font-weight: 600; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-list-item .arrow { opacity: 0; transform: translateX(-6px); transition: all 0.25s ease; color: var(--gold); }
.faq-list-item:hover { color: var(--navy); }
.faq-list-item.is-active { color: var(--navy); font-weight: 700; }
.faq-list-item.is-active .arrow { opacity: 1; transform: translateX(0); }
.faq-answer-card {
  background: var(--navy-mist); border-radius: var(--radius-md); padding: 40px;
  position: sticky; top: 110px;
}
.faq-answer-card .count { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: #7a5c00; margin-bottom: 14px; }
.faq-answer-card h3 { font-size: 22px; margin-bottom: 16px; }
.faq-answer-card p { margin-bottom: 0; }
.faq-answer-nav { display: flex; gap: 10px; margin-top: 26px; }
.faq-answer-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,23,73,0.15);
  background: var(--white); color: var(--navy); display: flex; align-items: center; justify-content: center;
}
.faq-answer-nav button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; gap: 20px; }
  .faq-answer-card { position: static; }
}

/* ---------- Small enlargeable gallery strip (apartment pages) ---------- */
.mini-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 18px 0 6px; }
.mini-gallery a { border-radius: 6px; overflow: hidden; aspect-ratio: 1; position: relative; display: block; }
.mini-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.mini-gallery a:hover img { transform: scale(1.08); }
.mini-gallery .more-tag {
  position: absolute; inset: 0; background: rgba(0,12,40,0.6); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
}
@media (max-width: 640px) { .mini-gallery { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Footer policy strip ---------- */
.footer-policies { display: flex; gap: 16px; flex-wrap: wrap; font-size: 11px; color: rgba(255,255,255,0.75); }
.footer-policies a:hover { color: var(--gold); }

/* ---------- Apartment intro (side-by-side, alternating) ---------- */
.apt-breadcrumb { font-size: 13px; color: var(--ink-soft); margin: 130px 0 24px; }
.apt-breadcrumb a:hover { color: #7a5c00; }
.apt-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 50px; }
.apt-intro.is-reversed { direction: rtl; }
.apt-intro.is-reversed > * { direction: ltr; }
.apt-intro-media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 5/4; }
.apt-intro-media img { width: 100%; height: 100%; object-fit: cover; }
.apt-intro-body .location-tag { display: block; width: fit-content; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #7a5c00; background: transparent; padding: 0; border-radius: 0; margin-bottom: 14px; }
.apt-intro-body h1 { color: var(--navy); margin-bottom: 6px; }
.apt-intro-body .subhead { font-weight: 600; color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; }
@media (max-width: 860px) {
  .apt-intro, .apt-intro.is-reversed { grid-template-columns: 1fr; direction: ltr; gap: 22px; }
  .apt-breadcrumb { margin-top: 110px; }
}

/* ---------- Inline-swap gallery: one big image + small thumbnail strip ---------- */
.apt-gallery { margin: 10px 0 50px; }
.apt-gallery-main { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/10; background: var(--navy-mist); }
.apt-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apt-gallery-caption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-weight: 700; color: var(--white); font-size: 13px;
  background: rgba(0,12,40,0.75); padding: 6px 14px; border-radius: 999px;
}
.apt-gallery-strip { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
.apt-gallery-strip button {
  flex: 0 0 84px; height: 64px; border-radius: 6px; overflow: hidden; border: 2px solid transparent;
  padding: 0; background: none; cursor: pointer; scroll-snap-align: start; position: relative;
}
.apt-gallery-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apt-gallery-strip button.is-active { border-color: var(--gold); }
.apt-gallery-strip button .label {
  position: absolute; left: 0; right: 0; bottom: 0; font-size: 9px; font-weight: 700; color: var(--white);
  background: rgba(0,12,40,0.6); padding: 2px 4px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 640px) { .apt-gallery-strip button { flex: 0 0 68px; height: 52px; } }

.apt-layout { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }
@media (max-width: 980px) { .apt-layout { grid-template-columns: 1fr; } }
.apt-facts { display: flex; gap: 22px; flex-wrap: wrap; margin: 20px 0 30px; padding: 20px 0; border-top: 1px solid rgba(0,23,73,0.1); border-bottom: 1px solid rgba(0,23,73,0.1); }
.apt-facts .fact { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--navy); }
.amenity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
.amenity-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) {
  .amenity-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .amenity-grid { grid-template-columns: 1fr; }
}
.amenity-grid .item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink); font-weight: 500; }
.amenity-grid .item .icon { color: var(--gold); flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-mist); display: flex; align-items: center; justify-content: center; }
.amenity-grid .item .icon svg { width: 17px; height: 17px; }

.booking-card {
  position: sticky; top: 100px;
  background: var(--white); border: 1px solid rgba(0,23,73,0.1); border-radius: var(--radius-md);
  padding: 26px; box-shadow: var(--shadow-card);
}
.booking-card .price { font-size: 26px; font-weight: 800; color: var(--navy); }
.booking-card .price small { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.booking-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.booking-form label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); display:block; margin-bottom: 6px; }
.booking-form input, .booking-form select { width: 100%; border: 1px solid rgba(0,23,73,0.15); border-radius: var(--radius-sm); padding: 11px 12px; font-family: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; background: var(--white); }
.availability-notice{grid-column:1/-1;margin:4px 0 0;padding:10px 12px;border-radius:7px;font-size:13px;font-weight:700}.availability-notice.checking{background:#eef1f7;color:#001749}.availability-notice.available{background:#e6f7ee;color:#087443}.availability-notice.unavailable{background:#feecec;color:#a52222}
.booking-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.booking-note { font-size: 12px; color: var(--ink-soft); margin-top: 12px; text-align: center; }

.detail-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.detail-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); aspect-ratio: 1; }
.detail-gallery a:first-child img { aspect-ratio: auto; height: 100%; }
@media (max-width: 700px) { .detail-gallery { grid-template-columns: repeat(2, 1fr); } .detail-gallery a:first-child { grid-column: span 2; } }
