/* ========== Landhaus Osborne — Redesign ========== */


:root {
  --forest: #265A97;
  --forest-dark: #1B406C;
  --forest-light: #2F6BB0;
  --cream: #f7fafd;
  --sand: #e3f1fa;
  --gold: #568E43;
  --gold-light: #6EBDE7;
  --charcoal: #253242;
  --white: #ffffff;
  --overlay: rgba(14, 26, 20, 0.5);
  --shadow: 0 20px 50px -20px rgba(27, 64, 108, 0.30);
  --radius: 14px;
  --serif: Tahoma, Verdana, 'Segoe UI', sans-serif;
  --sans: Tahoma, Verdana, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(86, 142, 67, 0.5);
}
.btn-primary:hover { background: var(--gold-light); box-shadow: 0 16px 30px -10px rgba(86, 142, 67, 0.6); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-dark {
  background: var(--forest);
  color: var(--white);
}
.btn-dark:hover { background: var(--forest-light); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 26px 0;
  transition: all 0.35s ease;
  background: transparent;
}
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -15px rgba(27,64,108,0.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  transition: color 0.35s ease;
}
.logo span { color: var(--gold-light); font-style: italic; }
/* real logo image (interim white chip so it reads over the hero; swap when Trevor sends transparent originals) */
.logo-img { display: inline-flex; align-items: center; background: rgba(255,255,255,.94); padding: 5px 12px; border-radius: 9px; box-shadow: 0 4px 14px -6px rgba(27,64,108,.35); }
.logo-img img { height: 34px; width: auto; display: block; }
.site-footer .logo-img { background: rgba(255,255,255,.94); }
@media (max-width: 760px) { .logo-img img { height: 28px; } }
.site-header.scrolled .logo { color: var(--forest); }
.site-header.scrolled .logo span { color: var(--gold); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold-light);
  transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }
.site-header.scrolled .main-nav a { color: var(--charcoal); }
.site-header.scrolled .main-nav a::after { background: var(--gold); }

.nav-cta {
  padding: 11px 24px;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--forest); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 118px;   /* clear the top bar + sit the words lower */
  padding-bottom: 46px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 16s infinite;
  will-change: transform, opacity;
}
.hero-bg img:nth-child(1) { animation-delay: 0s; }
.hero-bg img:nth-child(2) { animation-delay: 8s; }
/* slow Ken Burns drift while each frame is visible */
@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.02); }
  6% { opacity: 1; }
  46% { opacity: 1; }
  54% { opacity: 0; transform: scale(1.14); }
  100% { opacity: 0; transform: scale(1.14); }
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,26,20,0.55) 0%, rgba(14,26,20,0.35) 45%, rgba(14,26,20,0.75) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
  color: var(--white);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
  font-weight: 600;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold-light);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 54px;
}
.hero-trust {
  display: flex;
  gap: 34px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; fill: var(--gold-light); }

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  opacity: 0.75;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 34px;
  background: rgba(255,255,255,0.6);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Section heading pattern ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--forest);
  line-height: 1.2;
}
.section-head p {
  margin-top: 16px;
  color: #55604f;
  font-size: 1.02rem;
}
.section-head.light h2, .section-head.light p { color: var(--white); }
.section-head.light .eyebrow { color: var(--gold-light); }

section.pad { padding: 120px 0; }

/* ---------- About / Our House ---------- */
.about {
  background: var(--cream);
}
.location-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 56px;
}
.location-eyebrow::before, .location-eyebrow::after {
  content: '';
  width: 44px; height: 1px;
  background: var(--gold);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-imgs {
  position: relative;
  height: 460px;
}
.about-imgs img {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.about-imgs .img-main {
  width: 78%; height: 90%;
  top: 0; left: 0;
  z-index: 1;
}
.about-imgs .img-accent {
  width: 46%; height: 55%;
  bottom: -30px; right: 0;
  z-index: 2;
  border: 6px solid var(--cream);
}
.about-text .eyebrow { display: block; }
.about-text h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  color: var(--forest);
  margin-bottom: 22px;
  line-height: 1.25;
}
.about-text p { color: #4a5544; margin-bottom: 18px; }
.about-badge {
  margin-top: 26px;
  padding: 18px 22px;
  background: var(--sand);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--forest-dark);
  font-style: italic;
}
.feature-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #3d4837;
  font-weight: 500;
}
.feature-list svg { width: 18px; height: 18px; fill: var(--gold); flex-shrink: 0; }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--forest);
  padding: 48px 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--gold-light);
  font-weight: 500;
}
.stat span {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ---------- Apartments ---------- */
.apartments { background: var(--sand); }
.apt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.apt-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.apt-card:hover { transform: translateY(-8px); }
.apt-gallery {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.apt-gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.apt-gallery-track img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.apt-gallery-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(20,38,30,0.55);
  color: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}
.apt-gallery:hover .apt-gallery-nav { opacity: 1; }
.apt-gallery-nav:hover { background: var(--gold); }
.apt-gallery-nav.prev { left: 10px; }
.apt-gallery-nav.next { right: 10px; }
.apt-gallery-dots {
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.apt-gallery-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
}
.apt-gallery-dots span.active { background: var(--white); }
.apt-price-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gold);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 3;
}
.apt-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.apt-body h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--forest);
  margin-bottom: 6px;
}
.apt-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: #7a8571;
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.apt-meta span { display: flex; align-items: center; gap: 5px; }
.apt-meta svg { width: 14px; height: 14px; fill: var(--gold); }
.apt-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.apt-amenities li {
  font-size: 0.78rem;
  background: var(--sand);
  color: #4a5544;
  padding: 5px 11px;
  border-radius: 999px;
}
.apt-body .btn-row { margin-top: auto; display: flex; gap: 10px; }
.apt-body .btn-row .btn { flex: 1; justify-content: center; padding-left: 18px; padding-right: 18px; }
.apt-body .btn-row .btn-ghost {
  background: transparent;
  border: 1px solid rgba(38,90,151,0.25);
  color: var(--forest);
}
.apt-body .btn-row .btn-ghost:hover { background: var(--sand); }

/* ---------- Video Tours ---------- */
.tours { background: var(--forest-dark); }
.tours .section-head h2, .tours .section-head p { color: var(--white); }
.tours .section-head p { color: rgba(255,255,255,0.75); }
.tours .eyebrow { color: var(--gold-light); }
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.6);
  background: #000;
  line-height: 0;
}
.video-card:first-child { grid-column: 1 / -1; }
.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ---------- Seasons / Activities ---------- */
.seasons { background: var(--cream); }
.season-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}
.season-tab {
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid rgba(38,90,151,0.2);
  background: transparent;
  color: var(--forest);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.season-tab.active { background: var(--forest); color: var(--white); border-color: var(--forest); }

.season-panel { display: none; }
.season-panel.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }

.season-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.season-info h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--forest);
  margin-bottom: 16px;
}
.season-info p { color: #4a5544; margin-bottom: 18px; }
.resort-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.resort-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 20px -14px rgba(27,64,108,0.25);
}
.resort-item b { color: var(--forest); font-size: 0.95rem; }
.resort-item span { font-size: 0.82rem; color: var(--gold); font-weight: 700; }

.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.activity-tags li {
  font-size: 0.85rem;
  padding: 9px 16px;
  border: 1px solid rgba(38,90,151,0.18);
  border-radius: 999px;
  color: var(--forest);
  font-weight: 500;
}

.season-visual {
  height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.season-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Location ---------- */
.location { background: var(--forest); color: var(--white); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.location-text p { color: rgba(255,255,255,0.82); margin-bottom: 20px; }
.transport-list { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.transport-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.transport-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(216,178,124,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.transport-icon svg { width: 19px; height: 19px; fill: var(--gold-light); }
.transport-item h4 { font-size: 0.98rem; margin-bottom: 4px; color: var(--white); }
.transport-item p { font-size: 0.86rem; color: rgba(255,255,255,0.68); margin: 0; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 480px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15) contrast(1.05); }

/* ---------- Reviews ---------- */
.reviews { background: var(--sand); }

.score-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 46px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 44px;
  box-shadow: var(--shadow);
  margin-bottom: 46px;
}
.score-badge {
  text-align: center;
  padding-right: 46px;
  border-right: 1px solid rgba(38,90,151,0.12);
}
.score-badge b {
  display: block;
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1;
}
.score-badge span {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.score-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}
.score-bar {
  display: grid;
  grid-template-columns: 90px 1fr 34px;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}
.score-bar span { color: #55604f; font-weight: 600; }
.score-bar b { color: var(--forest); text-align: right; }
.score-bar .bar {
  height: 6px;
  background: rgba(38,90,151,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.score-bar .bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #568E43, #7C9C3B);
  border-radius: 999px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.quote-card {
  background: var(--white);
  padding: 30px 28px 26px;
  border-radius: var(--radius);
  box-shadow: 0 12px 34px -22px rgba(27,64,108,0.35);
  display: flex;
  flex-direction: column;
}
.quote-card p {
  font-size: 0.94rem;
  color: #3d4837;
  font-style: italic;
  margin-bottom: 18px;
  flex: 1;
}
.quote-card footer {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid rgba(38,90,151,0.1);
  padding-top: 14px;
}
.quote-card footer b { font-size: 0.9rem; color: var(--forest); }
.quote-card footer span { font-size: 0.8rem; color: #7a8571; }
.review-card {
  background: var(--white);
  padding: 38px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.review-card .badge-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.review-card .badge-icon svg { width: 26px; height: 26px; fill: var(--gold); }
.review-card h4 { font-family: var(--serif); font-size: 1.15rem; color: var(--forest); margin-bottom: 8px; }
.review-card p { font-size: 0.9rem; color: #5c6753; }
.reviews-cta { text-align: center; margin-top: 46px; }
.reviews-cta p { color: #55604f; margin-bottom: 18px; font-style: italic; }

/* ---------- Booking ---------- */
.booking { background: var(--forest-dark); color: var(--white); }
.booking-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.booking-note {
  text-align: center;
  color: var(--charcoal);
  font-size: 0.9rem;
  margin-top: 20px;
}
.booking-fallback {
  text-align: center;
  margin-top: 26px;
}

/* ---------- Contact / Footer ---------- */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.85);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; display: inline-block; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 320px; }
.footer-col h5 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 12px;
  transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,18,14,0.94);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; animation: fadeIn 0.3s ease; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); border-color: var(--gold); }
.lightbox-close { top: 28px; right: 28px; width: 44px; height: 44px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Reveal animation (cinematic) ---------- */
/* Hidden state is gated behind .js so that if JavaScript ever fails to load,
   content is fully visible — it can never get stuck at opacity:0. */
.js .reveal {
  opacity: 0;
  transform: translateY(56px) scale(0.985);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: translateY(0) scale(1); }

/* image treatments get a slow settle-zoom as they reveal */
.js .about-imgs.reveal img, .js .season-visual img, .js .map-frame.reveal iframe {
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .about-imgs.reveal:not(.in) img { transform: scale(1.08); }

/* Respect users who prefer reduced motion — show everything, no transforms. */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-bg img { animation: none !important; }
  .js .season-visual img, .js .about-imgs.reveal img { transform: none !important; }
}

/* parallax layers driven by JS */
[data-parallax] { will-change: transform; }
.season-visual { overflow: hidden; }
.season-visual img { transform: scale(1.12); }
.about-imgs .img-main, .about-imgs .img-accent { overflow: hidden; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #568E43, #7C9C3B);
  z-index: 2000;
  transition: width 0.1s linear;
}

/* ---------- Language switch ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.lang-switch::after { display: none !important; }
.lang-switch:hover { background: rgba(255,255,255,0.12); }
.site-header.scrolled .lang-switch { border-color: rgba(38,90,151,0.3); }
.site-header.scrolled .lang-switch:hover { background: var(--sand); }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--white);
  padding: 14px 20px;
  box-shadow: 0 -10px 30px rgba(27,64,108,0.15);
  display: none;
  justify-content: center;
}
.mobile-cta .btn { width: 100%; justify-content: center; }

/* ---------- Apartment Detail Page ---------- */
.breadcrumb {
  position: relative;
  z-index: 2;
  padding: 118px 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.breadcrumb a { color: rgba(255,255,255,0.75); transition: color 0.25s ease; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--gold-light); }

.apt-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.apt-hero-bg { position: absolute; inset: 0; z-index: 0; }
.apt-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.apt-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,26,20,0.35) 0%, rgba(14,26,20,0.25) 40%, rgba(14,26,20,0.88) 100%);
  z-index: 1;
}
.apt-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 56px;
  width: 100%;
}
.apt-hero-content .eyebrow { color: var(--gold-light); }
.apt-hero-content h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 10px 0 18px;
}
.apt-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.apt-hero-meta .price {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold-light);
  font-weight: 500;
}
.apt-hero-meta .divider { width: 1px; height: 22px; background: rgba(255,255,255,0.3); }
.apt-hero-meta span.tag {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.apt-hero-meta svg { width: 16px; height: 16px; fill: var(--gold-light); }

.detail-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 12px;
  margin-bottom: 56px;
}
.detail-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.detail-gallery img:hover { transform: scale(1.03); filter: brightness(1.05); }
.detail-gallery img:nth-child(6n+1), .detail-gallery img:nth-child(6n+4) { grid-row: span 2; }
.detail-gallery.few { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 320px; }

.detail-desc h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.9rem;
  color: var(--forest);
  margin-bottom: 18px;
}
.detail-desc p { color: #4a5544; margin-bottom: 16px; }

.amenity-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 36px;
}
.amenity-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 24px 20px;
  box-shadow: 0 10px 30px -18px rgba(27,64,108,0.25);
}
.amenity-card h4 {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 14px;
  font-weight: 700;
}
.amenity-card h4 svg { width: 18px; height: 18px; fill: var(--gold); }
.amenity-card ul li {
  font-size: 0.9rem;
  color: #4a5544;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(38,90,151,0.12);
  display: flex; align-items: flex-start; gap: 8px;
}
.amenity-card ul li:last-child { border-bottom: none; }
.amenity-card ul li svg { width: 13px; height: 13px; fill: var(--gold); flex-shrink: 0; margin-top: 4px; }

.detail-side {
  position: sticky;
  top: 110px;
}
.booking-card {
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
}
.booking-card .price-big {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.booking-card .price-sub { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.booking-card .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.booking-card-list { margin: 22px 0; display: flex; flex-direction: column; gap: 12px; }
.booking-card-list li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.85); }
.booking-card-list svg { width: 15px; height: 15px; fill: var(--gold-light); flex-shrink: 0; }
.booking-card-note { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-align: center; margin-top: 6px; }

.other-apts {
  margin-top: 100px;
}
.other-apts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.other-apt-card {
  position: relative;
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
}
.other-apt-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.other-apt-card:hover img { transform: scale(1.06); }
.other-apt-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,26,20,0.05) 40%, rgba(14,26,20,0.85) 100%);
}
.other-apt-card-label {
  position: absolute;
  left: 24px; bottom: 20px;
  z-index: 2;
  color: var(--white);
}
.other-apt-card-label span { display: block; font-size: 0.78rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.other-apt-card-label h4 { font-family: var(--serif); font-size: 1.3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .season-grid, .location-grid { grid-template-columns: 1fr; }
  .apt-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .score-banner { grid-template-columns: 1fr; gap: 28px; padding: 30px 26px; }
  .score-badge { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(38,90,151,0.12); padding-bottom: 24px; }
  .score-bars { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .about-imgs { height: 380px; margin-bottom: 40px; }
  .detail-wrap { grid-template-columns: 1fr; }
  .detail-side { position: static; margin-top: 40px; }
  .amenity-groups { grid-template-columns: 1fr; }
  .other-apts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; top: 0; right: -100%; width: 78%; max-width: 340px; height: 100vh; background: var(--cream); flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; padding: 40px; transition: right 0.4s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.15); }
  .main-nav.open { right: 0; }
  .main-nav a { color: var(--forest) !important; font-size: 1.05rem; }
  .main-nav a::after { background: var(--gold); }
  .nav-cta { margin-top: 10px; }
  .nav-toggle { display: flex; }
  .apt-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  section.pad { padding: 80px 0; }
  .hero-trust { gap: 18px; }
  .booking-wrap { padding: 24px; }
  .mobile-cta { display: flex; }
  .feature-list { grid-template-columns: 1fr; }
  .detail-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .apt-hero-meta { gap: 16px; }
  .apt-hero-meta .divider { display: none; }
  .breadcrumb { padding-top: 92px; }
}


/* ---- Garden Pavilion gallery (tidy build-story layout) ---- */
.pav-subhead{font-family:var(--serif);font-weight:700;color:var(--forest);text-align:center;font-size:1.3rem;margin:0 0 22px;}
.pav-build{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:1000px;margin:0 auto 50px;}
.pav-build figure{margin:0;}
.pav-build img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;box-shadow:var(--shadow);display:block;}
.pav-build figcaption{margin-top:10px;text-align:center;font-size:.9rem;color:var(--forest);font-weight:600;letter-spacing:.2px;}
.pav-ext{display:flex;justify-content:center;margin:0 auto 16px;}
.pav-ext img{width:100%;max-width:380px;aspect-ratio:4/5;object-fit:cover;border-radius:12px;box-shadow:var(--shadow);display:block;transition:transform .4s ease;}
.pav-int{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:1000px;margin:0 auto;}
.pav-int img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;box-shadow:var(--shadow);display:block;transition:transform .4s ease;}
.pav-ext img:hover,.pav-int img:hover{transform:scale(1.03);}
@media(max-width:760px){
  .pav-build{grid-template-columns:repeat(2,1fr);}
  .pav-int{grid-template-columns:repeat(1,1fr);}
}
