:root {
  --primary: #0d3b2e;
  --primary-light: #14503f;
  --accent: #c9a24b;
  --accent-light: #e0c27a;
  --dark: #10201b;
  --cream: #faf7f0;
  --text-muted: #6b7a75;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: #2c332f;
  background: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4, .font-display { font-family: var(--font-display); }
a { text-decoration: none; }
.text-accent { color: var(--accent) !important; }
.bg-primary-custom { background: var(--primary); }
.section-pad { padding: 90px 0; }
@media (max-width: 768px){ .section-pad { padding: 55px 0; } }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--dark);
  color: #d7ded9;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar-item i { color: var(--accent); margin-right: 6px; }

/* ---------- Navbar ---------- */
.navbar-main {
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  z-index: 1030;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); color: var(--primary); font-size: 18px; }
.brand-text small { color: var(--text-muted); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
.navbar-nav .nav-link { color: var(--dark); font-weight: 500; padding: 8px 14px !important; position: relative; transition: color .2s ease; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--primary); }
.navbar-nav .nav-link.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent);
}
.navbar-nav .nav-link:not(.active)::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.navbar-nav .nav-link:not(.active):hover::after { transform: scaleX(1); }
.btn-book {
  background: var(--accent); color: #fff !important; border-radius: 30px; padding: 10px 24px;
  font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn-book::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 150% 0;
  transition: background-position .6s ease;
}
.btn-book:hover::before { background-position: -50% 0; }
.btn-book:hover { background: var(--primary); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(13,59,46,0.3); }
.btn-book:active { transform: translateY(-1px) scale(.98); }

/* ---------- Homepage Banner Slider ---------- */
.banner-slider { position: relative; height: 92vh; min-height: 560px; overflow: hidden; background: var(--dark); }
.banner-slider .carousel, .banner-slider .carousel-inner, .banner-slider .carousel-item { height: 100%; }
.banner-slide-img {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-position: center;
  animation: bannerZoom 8s ease-in-out forwards;
}
@keyframes bannerZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.banner-slide-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(13,59,46,0.55) 0%, rgba(10,20,17,0.35) 45%, rgba(10,20,17,0.85) 100%);
}
.banner-slide-caption {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; z-index: 3;
}
.banner-caption-inner { max-width: 640px; color: #fff; }
.banner-caption-inner h1 {
  font-size: 3.2rem; font-weight: 700; line-height: 1.15; margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.banner-caption-inner p.lead { color: #e6ece9; font-size: 1.15rem; margin-bottom: 10px; }
.carousel-item.active .banner-caption-inner h1,
.carousel-item.active .banner-caption-inner p.lead,
.carousel-item.active .banner-caption-inner .btn {
  opacity: 0;
  animation: bannerCaptionIn .85s cubic-bezier(.2,.9,.25,1.4) forwards;
}
.carousel-item.active .banner-caption-inner h1 { animation-delay: .1s; }
.carousel-item.active .banner-caption-inner p.lead { animation-delay: .28s; }
.carousel-item.active .banner-caption-inner .btn { animation-delay: .44s; }
@keyframes bannerCaptionIn {
  0% { opacity: 0; transform: translateY(30px) scale(.95); }
  60% { opacity: 1; transform: translateY(-4px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 768px) {
  .banner-slider { height: 78vh; min-height: 460px; }
  .banner-caption-inner h1 { font-size: 2.1rem; }
}

.banner-slider .carousel-control-prev, .banner-slider .carousel-control-next {
  width: 64px; opacity: 1; z-index: 5;
}
.banner-arrow {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; transition: transform .2s ease, background .2s ease, border-color .2s ease; backdrop-filter: blur(4px);
}
.banner-slider .carousel-control-prev:hover .banner-arrow,
.banner-slider .carousel-control-next:hover .banner-arrow {
  background: var(--accent); border-color: var(--accent); transform: scale(1.12);
}

.banner-indicators { bottom: 26px; z-index: 5; }
.banner-indicators [data-bs-target] {
  width: 34px; height: 4px; border-radius: 3px; background: rgba(255,255,255,0.4);
  border: none; opacity: 1; transition: all .3s ease;
}
.banner-indicators [data-bs-target]:hover { background: rgba(255,255,255,0.7); }
.banner-indicators .active { background: var(--accent); width: 46px; box-shadow: 0 0 12px rgba(201,162,75,0.6); }

/* ---------- Hero (hyper-animated: living gradient + staggered captions) ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(115deg, var(--primary) 0%, #0a2b21 45%, var(--dark) 75%, var(--primary-light) 100%);
  background-size: 300% 300%;
  animation: heroGradientShift 14s ease infinite;
  color: #fff;
  overflow: hidden;
}
@keyframes heroGradientShift {
  0% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(circle at 15% 25%, rgba(201,162,75,0.2) 0%, transparent 40%),
                     radial-gradient(circle at 85% 75%, rgba(201,162,75,0.14) 0%, transparent 45%);
}
.hero-pattern {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/svg%3E");
}

/* Continuously drifting glow orbs — pure CSS, no JS, present on every hero/banner */
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(201,162,75,0.35), transparent 70%);
  filter: blur(6px);
}
.hero-orb-1 { width: 260px; height: 260px; top: -60px; left: -60px; animation: orbFloat1 11s ease-in-out infinite; }
.hero-orb-2 { width: 180px; height: 180px; bottom: -40px; right: 8%; animation: orbFloat2 9s ease-in-out infinite; }
.hero-orb-3 { width: 120px; height: 120px; top: 20%; right: 20%; animation: orbFloat3 13s ease-in-out infinite; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); }
@keyframes orbFloat1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.15); } }
@keyframes orbFloat2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,-25px) scale(1.1); } }
@keyframes orbFloat3 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(20px,-35px) rotate(180deg); } }

/* Staggered "hyper" entrance for every hero/banner caption — no JS required */
.hero-badge, .banner-caption-inner h1, .banner-caption-inner p.lead, .banner-caption-inner .btn,
.hero > .container h1, .hero > .container p.lead, .hero > .container .hero-badge, .hero > .container .btn {
  opacity: 0;
  animation: heroPop .8s cubic-bezier(.2,.9,.25,1.4) forwards;
}
.hero > .container .hero-badge { animation-delay: .05s; }
.hero > .container h1 { animation-delay: .2s; }
.hero > .container p.lead { animation-delay: .38s; }
.hero > .container .btn { animation-delay: .52s; }
.hero > .container .d-flex.gap-3 .btn:nth-child(2) { animation-delay: .62s; }
@keyframes heroPop {
  0% { opacity: 0; transform: translateY(26px) scale(.94); }
  60% { opacity: 1; transform: translateY(-4px) scale(1.015); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(201,162,75,0.5);
  color: var(--accent-light); padding: 8px 18px; border-radius: 30px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  position: relative; z-index: 2;
}
.hero-badge::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  margin-right: 2px; animation: badgePulse 1.8s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,75,0.55); }
  50% { box-shadow: 0 0 0 6px rgba(201,162,75,0); }
}
.hero h1 { font-size: 3.4rem; font-weight: 700; line-height: 1.15; margin: 22px 0; position: relative; z-index: 2; }
.hero p.lead { color: #d7ded9; font-size: 1.15rem; max-width: 560px; position: relative; z-index: 2; }
.hero .container { position: relative; z-index: 2; }
@media (max-width: 768px){ .hero h1 { font-size: 2.2rem; } .hero { min-height: auto; padding: 130px 0 70px; } }

.hero-stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats > div {
  opacity: 0; animation: heroPop .7s cubic-bezier(.2,.9,.25,1.4) forwards;
}
.hero-stats > div:nth-child(1) { animation-delay: .7s; }
.hero-stats > div:nth-child(2) { animation-delay: .8s; }
.hero-stats > div:nth-child(3) { animation-delay: .9s; }
.hero-stats > div:nth-child(4) { animation-delay: 1s; }
.hero-stats .stat-num { font-family: var(--font-display); font-size: 2.1rem; color: var(--accent); font-weight: 700; }
.hero-stats .stat-label { font-size: 13px; color: #cfd8d3; text-transform: uppercase; letter-spacing: .5px; }

.hero-visual {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, #1a4a3a, #0d3b2e);
  min-height: 460px; display: flex; align-items: flex-end; padding: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-visual-card {
  background: rgba(255,255,255,0.95); border-radius: 14px; padding: 18px 22px;
  display: flex; align-items: center; gap: 14px; width: 100%;
}
.hero-visual-card i { font-size: 26px; color: var(--accent); }
.hero-visual-icon-grid { position: absolute; top: 30px; right: 30px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.hero-visual-icon-grid span {
  width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: var(--accent-light); font-size: 20px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* ---------- Section headings ---------- */
.section-eyebrow {
  color: var(--accent); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px;
}
.section-eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--accent); display: inline-block;
  animation: eyebrowSweep 2.4s ease-in-out infinite;
}
@keyframes eyebrowSweep {
  0%, 100% { width: 26px; opacity: 1; }
  50% { width: 40px; opacity: .6; }
}
.section-title { color: var(--primary); font-weight: 700; margin-top: 10px; }
.section-sub { color: var(--text-muted); max-width: 640px; }

/* ---------- Policy / legal page content ---------- */
.policy-content { color: #3a453f; font-size: 15.5px; line-height: 1.75; }
.policy-content h1, .policy-content h2, .policy-content h3, .policy-content h4 {
  color: var(--primary); font-family: var(--font-display); font-weight: 700; margin-top: 34px; margin-bottom: 14px;
}
.policy-content h3 { font-size: 1.35rem; }
.policy-content p { margin-bottom: 16px; }
.policy-content ul, .policy-content ol { margin-bottom: 16px; padding-left: 22px; }
.policy-content li { margin-bottom: 6px; }
.policy-content a { color: var(--accent); text-decoration: underline; }

/* ---------- Cookie consent banner ---------- */
.cookie-consent-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1900;
  max-width: 620px; margin: 0 auto;
  background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  padding: 22px 26px; display: none;
  border: 1px solid #eef1ee;
  animation: cookieBannerIn .5s cubic-bezier(.2,.9,.25,1.2) both;
}
.cookie-consent-banner.show { display: block; }
@keyframes cookieBannerIn {
  from { opacity: 0; transform: translateY(30px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-consent-icon {
  width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.cookie-consent-banner p { font-size: 13.5px; color: #4b5751; margin-bottom: 0; }
.cookie-consent-banner a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.btn-cookie-accept {
  background: var(--primary); color: #fff; border: none; border-radius: 9px; padding: 10px 20px;
  font-weight: 600; font-size: 13.5px; transition: transform .2s ease, background .2s ease;
}
.btn-cookie-accept:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-cookie-reject {
  background: #fff; color: #4b5751; border: 1px solid #dde4e0; border-radius: 9px; padding: 10px 20px;
  font-weight: 500; font-size: 13.5px; transition: .2s;
}
.btn-cookie-reject:hover { border-color: #b8c2bd; }
@media (max-width: 480px) { .cookie-consent-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px 20px; } }

/* ---------- Feature/Icon cards ---------- */
.icon-card {
  background: #fff; border-radius: 16px; padding: 34px 26px; height: 100%;
  border: 1px solid #eef1ee; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.icon-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(13,59,46,0.1); border-color: transparent; }
.icon-card .icon-wrap {
  width: 60px; height: 60px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center; color: var(--accent-light); font-size: 24px; margin-bottom: 20px;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.icon-card:hover .icon-wrap { transform: rotate(-8deg) scale(1.12); }
.icon-card h5 { font-weight: 600; color: var(--dark); }
.icon-card p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 0; }

/* ---------- Room cards ---------- */
.room-card { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,0.06); height: 100%; border: 1px solid #f0f1ef; transition: transform .3s ease, box-shadow .3s ease; }
.room-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(13,59,46,0.14); }
.room-card-img {
  height: 260px; position: relative; display: flex; align-items: flex-end; padding: 20px;
  background: linear-gradient(160deg, var(--primary-light), var(--primary));
  overflow: hidden;
}
.room-card-img img { transition: transform .5s ease; }
.room-card:hover .room-card-img img { transform: scale(1.08); }
.room-card-img::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%); }
.room-card-img .room-icon { position: relative; z-index: 2; font-size: 60px; color: rgba(255,255,255,0.18); position: absolute; top: 20px; right: 20px; }
.room-card-price {
  position: relative; z-index: 2; background: rgba(255,255,255,0.95); border-radius: 10px; padding: 10px 16px;
  font-weight: 700; color: var(--primary); font-family: var(--font-display); font-size: 20px;
}
.room-card-price small { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.room-card-carousel { position: relative; overflow: hidden; }
.room-card-carousel .carousel-item img { transition: transform .5s ease; }
.room-card:hover .room-card-carousel .carousel-item.active img { transform: scale(1.08); }
.room-card-carousel::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.5) 100%);
}
.room-card-carousel .carousel-control-prev, .room-card-carousel .carousel-control-next { z-index: 6; width: 40px; opacity: .85; }
.room-card-body { padding: 26px; }
.room-features { list-style: none; padding: 0; margin: 16px 0; }
.room-features li { font-size: 14px; color: #4b5751; margin-bottom: 8px; }
.room-features li i { color: var(--accent); margin-right: 8px; width: 16px; }

/* ---------- Timeline / rules ---------- */
.rule-card { background: var(--cream); border-left: 4px solid var(--accent); border-radius: 10px; padding: 22px 26px; height: 100%; }
.rule-card h6 { color: var(--primary); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); height: 100%; transition: transform .3s ease, box-shadow .3s ease; }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(13,59,46,0.1); }
.testimonial-stars { color: var(--accent); font-size: 14px; margin-bottom: 14px; }
.testimonial-stars i { display: inline-block; transition: transform .2s ease; }
.testimonial-card:hover .testimonial-stars i { animation: starPop .5s ease forwards; }
.testimonial-stars i:nth-child(1) { animation-delay: 0s; }
.testimonial-stars i:nth-child(2) { animation-delay: .05s; }
.testimonial-stars i:nth-child(3) { animation-delay: .1s; }
.testimonial-stars i:nth-child(4) { animation-delay: .15s; }
.testimonial-stars i:nth-child(5) { animation-delay: .2s; }
@keyframes starPop { 0% { transform: scale(1); } 50% { transform: scale(1.35); } 100% { transform: scale(1); } }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary), #0a2b21);
  border-radius: 24px; padding: 60px; color: #fff; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; width: 300px; height: 300px; background: var(--accent); opacity: .12;
  border-radius: 50%; top: -100px; right: -80px;
  animation: ctaGlowPulse 5s ease-in-out infinite;
}
@keyframes ctaGlowPulse {
  0%, 100% { transform: scale(1); opacity: .12; }
  50% { transform: scale(1.15); opacity: .2; }
}

/* ---------- Booking form ---------- */
.booking-panel { background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.08); padding: 40px; }
.form-control, .form-select {
  border-radius: 10px; border: 1px solid #e2e6e3; padding: 12px 14px; font-size: 14.5px;
}
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,162,75,0.15); }
.form-label { font-weight: 500; font-size: 13.5px; color: #3a453f; margin-bottom: 6px; }
.btn-primary-custom {
  background: var(--primary); border: none; color: #fff; padding: 13px 28px; border-radius: 10px; font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary-custom:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13,59,46,0.18); }
.btn-primary-custom:active { transform: translateY(0) scale(.98); }
.btn-outline-custom {
  background: #fff; color: var(--primary); border: 1px solid #dde4e0; border-radius: 9px;
  padding: 8px 16px; font-size: 13.5px; transition: .2s;
}
.btn-outline-custom:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-custom:disabled { opacity: .55; cursor: not-allowed; }
.summary-box { background: var(--cream); border-radius: 16px; padding: 26px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #ddd4bf; font-size: 14.5px; }
.summary-row.total { font-weight: 700; color: var(--primary); font-size: 17px; border-bottom: none; }

.payment-method-option { display: block; cursor: pointer; margin: 0; }
.payment-method-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.payment-method-card {
  display: flex; align-items: center; gap: 14px; border: 2px solid #e2e6e3; border-radius: 14px;
  padding: 16px 18px; height: 100%; transition: .2s;
}
.payment-method-card i { font-size: 22px; color: var(--text-muted); flex-shrink: 0; width: 26px; text-align: center; }
.payment-method-option input:checked + .payment-method-card {
  border-color: var(--accent); background: rgba(201,162,75,0.06);
}
.payment-method-option input:checked + .payment-method-card i { color: var(--accent); }
.payment-method-option:hover .payment-method-card { border-color: var(--accent); }

/* ---------- Map / transport ---------- */
.map-frame { border-radius: 18px; overflow: hidden; height: 420px; border: 1px solid #eee; }
.transit-step { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.transit-step .num {
  min-width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #b9c3bd; padding: 70px 0 20px; }
.footer-heading { color: #fff; font-weight: 600; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; font-size: 14px; }
.footer-links a { color: #b9c3bd; }
.footer-links a:hover { color: var(--accent); }
.footer-about { font-size: 14px; color: #99a49d; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: .25s;
}
.social-links a:hover { background: var(--accent); }
.footer-divider { border-color: rgba(255,255,255,0.08); margin: 40px 0 0; }

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); z-index: 1050;
  transition: transform .2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }
.whatsapp-fab::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  animation: fabPulseRing 2.2s ease-out infinite; z-index: -1;
}
@keyframes fabPulseRing {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- PWA install banner ---------- */
.pwa-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--primary); color: #fff;
  padding: 14px 20px; display: flex; justify-content: space-between; align-items: center;
  z-index: 1060; font-size: 14px; flex-wrap: wrap; gap: 10px;
}

/* ---------- Room Photo Gallery Viewer (full-screen, immersive — not a modal) ---------- */
body.gallery-open { overflow: hidden; }

.gallery-viewer {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s ease;
}
.gallery-viewer.open { display: flex; opacity: 1; }

.gallery-viewer-backdrop {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(20,30,26,0.97), rgba(6,10,8,0.99));
  backdrop-filter: blur(6px);
}

.gallery-viewer-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; color: #fff;
}
.gallery-viewer-title { display: flex; flex-direction: column; gap: 2px; font-family: var(--font-display); }
.gallery-viewer-title > span:first-child { font-size: 1.1rem; font-weight: 600; }
.gallery-viewer-counter { font-family: var(--font-body); font-size: 12.5px; color: rgba(255,255,255,0.6); letter-spacing: .5px; }
.gallery-viewer-close {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease;
}
.gallery-viewer-close:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }

.gallery-viewer-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease, border-color .2s ease; backdrop-filter: blur(4px);
}
.gallery-viewer-arrow:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-50%) scale(1.1); }
.gallery-viewer-prev { left: 18px; }
.gallery-viewer-next { right: 18px; }
@media (max-width: 640px) {
  .gallery-viewer-arrow { width: 40px; height: 40px; font-size: 15px; }
  .gallery-viewer-prev { left: 8px; }
  .gallery-viewer-next { right: 8px; }
}

.gallery-viewer-stage {
  position: relative; z-index: 2; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 90px 90px 120px;
}
@media (max-width: 640px) { .gallery-viewer-stage { padding: 80px 16px 130px; } }

.gallery-viewer-image {
  max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
  animation: galleryImageIn .35s cubic-bezier(.2,.9,.25,1.2) both;
}
.gallery-viewer-image.gallery-fade-out { opacity: 0; transform: scale(.97); transition: opacity .14s ease, transform .14s ease; }
.gallery-viewer-image.slide-in-left { animation: galleryImageInLeft .35s cubic-bezier(.2,.9,.25,1.2) both; }
.gallery-viewer-image.slide-in-right { animation: galleryImageInRight .35s cubic-bezier(.2,.9,.25,1.2) both; }
@keyframes galleryImageIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
@keyframes galleryImageInRight { from { opacity: 0; transform: translateX(24px) scale(.97); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes galleryImageInLeft { from { opacity: 0; transform: translateX(-24px) scale(.97); } to { opacity: 1; transform: translateX(0) scale(1); } }

.gallery-viewer-thumbs {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  display: flex; gap: 10px; overflow-x: auto; padding: 18px 24px 22px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
  scrollbar-width: thin;
}
.gallery-viewer-thumb {
  width: 64px; height: 48px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .45;
  border: 2px solid transparent; transition: opacity .2s ease, border-color .2s ease, transform .2s ease; flex-shrink: 0;
}
.gallery-viewer-thumb:hover { opacity: .8; transform: translateY(-2px); }
.gallery-viewer-thumb.active { opacity: 1; border-color: var(--accent); }

/* ---------- Misc utility ---------- */
.rounded-xl { border-radius: 18px; }
.badge-soft { background: rgba(201,162,75,0.12); color: var(--accent); font-weight: 600; padding: 6px 14px; border-radius: 20px; font-size: 12px; }

/* ---------- Accessibility: honor reduced-motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero, .banner-slide-img {
    animation: none !important;
    background-position: 0% 0% !important;
  }
  .hero-badge, .hero > .container h1, .hero > .container p.lead, .hero > .container .btn,
  .banner-caption-inner h1, .banner-caption-inner p.lead, .banner-caption-inner .btn, .hero-stats > div {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
  .hero-orb, .whatsapp-fab::before, .cta-band::after { animation: none !important; }
}


/* ===== Home: "Built Around Your Comfort" background video ===== */
.comfort-section { position: relative; overflow: hidden; }
.comfort-section.has-bg-video { background: #0b1f19; }
.comfort-bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
.comfort-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,20,16,0.72), rgba(8,20,16,0.55) 50%, rgba(8,20,16,0.75));
}
.comfort-section.has-bg-video .container { z-index: 2; }
.comfort-section.has-bg-video .section-title { color: #fff; }
.comfort-section.has-bg-video .section-eyebrow { color: var(--accent, #c9a24b); }
.comfort-section.has-bg-video .icon-card {
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-color: rgba(255,255,255,0.35);
}
@media (prefers-reduced-motion: reduce) {
  .comfort-bg-video { display: none; }
  .comfort-section.has-bg-video { background: #0b1f19; }
}
