/* ============================================================
   SENJA — Ubud, Bali · jungle sanctuary
   Plain CSS, no build step. Balinese earthy palette.
   ============================================================ */

:root {
  --cream:     #f7f2e9;
  --cream-2:   #efe6d6;
  --sand:      #e6d8c0;
  --jungle:    #143c2e;   /* deeper, richer emerald */
  --jungle-2:  #1c5741;
  --jungle-3:  #0e2a20;
  --terra:     #d0613a;   /* warmer, punchier coral-terracotta */
  --terra-deep:#b04a28;
  --gold:      #e0b458;   /* brighter, more luminous gold */
  --gold-2:    #f0cf7c;
  --gold-deep: #b58a34;
  --coral:     #e08b53;   /* dusk accent */
  --ink:       #23201b;
  --ink-soft:  #5f584c;
  --white:     #ffffff;
  --line:      rgba(38, 34, 29, 0.14);
  --line-light:rgba(255, 255, 255, 0.2);
  --shadow:    0 26px 60px -26px rgba(20, 40, 32, 0.42);
  /* accent gradients */
  --grad-gold:   linear-gradient(135deg, #f0cf7c 0%, #d3982f 100%);
  --grad-sunset: linear-gradient(120deg, #d0613a 0%, #e0b458 100%);
  --grad-dusk:   linear-gradient(160deg, #143c2e 0%, #2c5340 45%, #a85a35 100%);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 116px;
}

/* gold gradient text utility */
.gold-text, .stats strong, .price, .wb-num, .villa-price {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-deep);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }
em { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.7rem;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.section-head.center .eyebrow::after { content: ""; width: 30px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.eyebrow.light { color: var(--gold-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none; position: relative; overflow: hidden;
  padding: 1rem 2.1rem; border-radius: 2px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.4s var(--ease);
}
.btn-book { background: var(--grad-sunset); color: var(--white); border: none; box-shadow: 0 10px 24px -12px rgba(208,97,58,0.6); }
.btn-book::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, #e0b458 0%, #d0613a 100%); opacity: 0; transition: opacity 0.4s var(--ease); z-index: -1; }
.btn-book:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(208,97,58,0.75); }
.btn-book:hover::before { opacity: 1; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.65); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: var(--gold-2); color: var(--gold-2); }
.btn-ghost.dark { color: var(--ink); border-color: var(--line); }
.btn-ghost.dark:hover { background: var(--jungle); color: var(--gold-2); border-color: var(--jungle); }
.btn.full { width: 100%; }

.link-arrow {
  display: inline-block; font-family: var(--sans); font-size: 0.76rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep);
  text-decoration: none; border-bottom: 1px solid transparent; padding-block: 4px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--gold-deep); transform: translateX(4px); }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--jungle); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-mark { display: block; font-size: 2.6rem; margin-bottom: 0.6rem; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.preloader-name { font-family: var(--serif); font-size: 2.4rem; letter-spacing: 0.5em; padding-left: 0.5em; }
.preloader-line { display: block; width: 160px; height: 2px; background: rgba(255,255,255,0.18); margin: 1.4rem auto 0; overflow: hidden; }
.preloader-line i { display: block; height: 100%; width: 0; background: var(--gold); animation: loadbar 1.4s var(--ease) forwards; }
@keyframes loadbar { to { width: 100%; } }

/* ============ TOPBAR MARQUEE ============ */
.topbar { background: var(--jungle-3); color: var(--cream); overflow: hidden; }
.marquee { overflow: hidden; }
.marquee-track {
  display: inline-flex; gap: 3rem; white-space: nowrap;
  padding: 0.55rem 0; animation: marquee 34s linear infinite;
}
.marquee-track span { font-size: 0.72rem; letter-spacing: 0.14em; opacity: 0.82; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 1.4rem;
}
.site-header.scrolled {
  background: rgba(246, 241, 232, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.8rem;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--white); }
.site-header.scrolled .brand { color: var(--ink); }
.brand-mark { font-size: 1.6rem; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.34em; font-weight: 600; padding-left: 0.34em; }

.nav { display: flex; gap: 2rem; }
.nav a {
  color: var(--white); text-decoration: none; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; position: relative;
  transition: color 0.3s var(--ease);
}
.site-header.scrolled .nav a { color: var(--ink-soft); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); transition: width 0.35s var(--ease); }
.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1.2rem; }
.lang-switch {
  background: none; border: 1px solid rgba(255,255,255,0.4); color: var(--white);
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.12em;
  padding: 0.5rem 0.7rem; border-radius: 2px; cursor: pointer; transition: all 0.3s var(--ease);
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }
.site-header.scrolled .lang-switch { border-color: var(--line); color: var(--ink); }
.header-book { padding: 0.7rem 1.5rem; }

.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; min-width: 44px; min-height: 44px; z-index: 95; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: all 0.3s var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s var(--ease); transform: scale(1.05);
}
.hero-slide.is-active { opacity: 1; animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.15); } }
/* warm sunset-into-jungle wash — catches the eye and fits "dusk" */
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(175deg, rgba(20,40,31,0.42) 0%, rgba(20,40,31,0.15) 38%, rgba(120,54,30,0.34) 74%, rgba(14,32,24,0.82) 100%); }
.hero-overlay::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 80% 15%, rgba(224,180,88,0.28) 0%, rgba(224,180,88,0) 55%); mix-blend-mode: screen; }

.hero-content { position: relative; z-index: 3; max-width: 820px; padding-top: 4rem; }
.hero .eyebrow { color: var(--gold-2); }
.hero .eyebrow::before { background: var(--gold-2); }
.hero-title { font-size: clamp(2.9rem, 8.5vw, 6.4rem); font-weight: 500; margin-bottom: 1.5rem; text-shadow: 0 2px 34px rgba(0,0,0,0.3); }
.hero-sub { font-size: clamp(1rem, 2vw, 1.32rem); max-width: 580px; margin-bottom: 2.5rem; color: rgba(255,255,255,0.92); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-dots { position: absolute; right: clamp(1.5rem, 4vw, 3rem); top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: 0.9rem; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.7); background: transparent; cursor: pointer; padding: 0; transition: all 0.3s var(--ease); }
.hero-dots button.active { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }

.scroll-cue { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid rgba(255,255,255,0.6); border-radius: 14px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0%{opacity:0; transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0; transform:translate(-50%,14px)} 100%{opacity:0} }

/* ============ FLOATING BOOKING BAR ============ */
.bookbar-wrap { position: relative; z-index: 40; margin-top: -46px; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.bookbar {
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 1rem; align-items: end;
  background: var(--white); box-shadow: var(--shadow); border-radius: 4px;
  padding: 1.4rem 1.6rem; max-width: var(--container);
}
.bookbar.docked {
  position: fixed; top: 0; left: 0; right: 0; margin: 0 auto; border-radius: 0;
  z-index: 80; box-shadow: 0 8px 24px -10px rgba(31,58,46,0.4);
  animation: dropIn 0.4s var(--ease);
}
@keyframes dropIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.bb-field { display: flex; flex-direction: column; gap: 0.4rem; }
.bb-field label { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.bb-field input, .bb-field select {
  font-family: var(--sans); font-size: 0.94rem; padding: 0.7rem 0.8rem;
  border: 1px solid var(--line); border-radius: 3px; background: var(--cream); color: var(--ink);
}
.bb-field input:focus, .bb-field select:focus { outline: none; border-color: var(--gold); }
.bb-submit { white-space: nowrap; height: fit-content; }

/* ============ SECTION SHELL ============ */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); margin-bottom: 1rem; }
.section-lead { color: var(--ink-soft); font-size: 1.08rem; }

/* Ornamental divider */
.divider { display: block; text-align: center; color: var(--gold); font-size: 1rem; position: relative; }
.divider i { position: relative; padding: 0 1rem; }
.divider::before, .divider::after { content: ""; position: absolute; top: 50%; width: min(28%, 320px); height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.divider::before { left: 12%; } .divider::after { right: 12%; transform: scaleX(-1); }

/* ============ WELCOME ============ */
.welcome-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.welcome-media { position: relative; }
.welcome-img { aspect-ratio: 4/5; background-size: cover; background-position: center; border-radius: 4px; box-shadow: var(--shadow); }
.welcome-badge {
  position: absolute; right: -18px; bottom: 32px; background: var(--jungle); color: var(--cream);
  padding: 1.3rem 1.5rem; border-radius: 4px; text-align: center; box-shadow: var(--shadow);
}
.wb-num { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--gold); line-height: 1.05; }
.wb-txt { display: block; margin-top: 0.4rem; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.welcome-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.4rem; }
.welcome-copy p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.2rem; max-width: 52ch; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2rem; }
.stats li { background: var(--cream); padding: 1.6rem 0.8rem; text-align: center; }
.stats strong { display: block; font-family: var(--serif); font-size: 2.3rem; color: var(--gold-deep); font-weight: 600; line-height: 1; }
.stats span { display: block; margin-top: 0.5rem; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

/* ============ ETHOS / PHILOSOPHY ============ */
.ethos { background: var(--grad-dusk); color: var(--cream); text-align: center; position: relative; overflow: hidden; }
.ethos::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, rgba(224,180,88,0.22) 0%, rgba(224,180,88,0) 60%); }
.ethos-inner { max-width: 900px; margin-inline: auto; position: relative; z-index: 1; }
.ethos .eyebrow { color: var(--gold-2); }
.ethos-statement { font-size: clamp(2.1rem, 5.5vw, 4rem); font-weight: 400; line-height: 1.14; color: var(--white); margin-bottom: 1.8rem; }
.ethos-statement em, .ethos .link-arrow { color: var(--gold-2); }
.ethos-lead { color: rgba(247,242,233,0.86); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 640px; margin: 0 auto 1.8rem; }
.ethos .link-arrow:hover { border-color: var(--gold-2); }

/* small buttons */
.btn.sm { padding: 0.7rem 1.3rem; font-size: 0.7rem; }
.link-arrow.light { color: #e7d6b4; }
.link-arrow.light:hover { border-color: #e7d6b4; }

/* ============ VILLAS (carousel) ============ */
.villas { background: var(--cream-2); overflow: hidden; }
.villas-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.villas-head h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.carousel-controls { display: flex; align-items: center; gap: 1rem; }
.carousel-count { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-soft); letter-spacing: 0.1em; }
.car-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: all 0.3s var(--ease); }
.car-btn:hover { background: var(--jungle); color: var(--cream); border-color: var(--jungle); }
.car-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.villa-carousel { overflow: hidden; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.villa-track { display: flex; gap: 1.6rem; transition: transform 0.6s var(--ease); will-change: transform; }
.villa-card {
  flex: 0 0 clamp(280px, 32%, 400px);
  background: var(--white); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.villa-img { position: relative; aspect-ratio: 4/3.2; background-size: cover; background-position: center; }
.villa-badge { position: absolute; top: 1rem; left: 1rem; background: var(--grad-sunset); color: #fff; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.4rem 0.8rem; border-radius: 2px; box-shadow: 0 6px 16px -6px rgba(208,97,58,0.6); }
.villa-price { position: absolute; bottom: 0; right: 0; background: rgba(31,58,46,0.9); color: var(--cream); font-family: var(--serif); font-size: 1.15rem; padding: 0.5rem 1rem; border-top-left-radius: 4px; }
.villa-price span { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.06em; opacity: 0.8; }
.villa-body { padding: 1.7rem; display: flex; flex-direction: column; gap: 0.9rem; flex: 1; }
.villa-body h3 { font-size: 1.55rem; }
.spec { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; }
.spec li { font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 2px; padding: 0.3rem 0.55rem; }
.villa-body > p { color: var(--ink-soft); font-size: 0.94rem; flex: 1; }
.villa-cta { display: flex; align-items: center; gap: 1.2rem; }
.villa-cta .link-arrow { white-space: nowrap; }

/* ============ EXPERIENCES ============ */
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.exp-card {
  position: relative; min-height: 380px; border-radius: 4px; overflow: hidden;
  background-size: cover; background-position: center; display: flex; align-items: flex-end;
  color: var(--white); box-shadow: var(--shadow); isolation: isolate;
}
.exp-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,40,31,0) 30%, rgba(22,40,31,0.85) 100%); transition: background 0.5s var(--ease); }
.exp-card:hover::after { background: linear-gradient(180deg, rgba(22,40,31,0.2) 10%, rgba(22,40,31,0.9) 100%); }
.exp-body { padding: 1.6rem; transform: translateY(8px); transition: transform 0.5s var(--ease); }
.exp-card:hover .exp-body { transform: translateY(0); }
.exp-meta { display: block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.exp-body h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.exp-body p { font-size: 0.9rem; color: rgba(255,255,255,0.86); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.5s var(--ease); }
.exp-card:hover .exp-body p { max-height: 6em; opacity: 1; }
/* Touch devices / narrow screens can't hover — always show the description */
@media (hover: none), (max-width: 900px) {
  .exp-body { transform: none; }
  .exp-body p { max-height: 6em; opacity: 1; }
  .exp-card::after { background: linear-gradient(180deg, rgba(22,40,31,0.15) 10%, rgba(22,40,31,0.9) 100%); }
}

/* ============ WELLNESS PARALLAX ============ */
.wellness-parallax { position: relative; min-height: 80vh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.parallax-bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center; will-change: transform; }
.wellness-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,40,31,0.82) 0%, rgba(22,40,31,0.4) 100%); }
.wellness-content { position: relative; z-index: 2; max-width: 560px; }
.wellness-content h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 1.3rem; }
.wellness-content p { color: rgba(255,255,255,0.9); margin-bottom: 2rem; }

/* ============ DINING ============ */
.dining { background: var(--jungle); color: var(--cream); }
.dining-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.dining-img { aspect-ratio: 4/3.2; background-size: cover; background-position: center; border-radius: 4px; box-shadow: var(--shadow); }
.dining-copy .eyebrow { color: var(--gold); }
.dining-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); margin-bottom: 1.4rem; }
.dining-copy p { color: rgba(246,241,232,0.8); margin-bottom: 1.8rem; }
.dining-list { list-style: none; margin-bottom: 2rem; border-top: 1px solid var(--line-light); }
.dining-list li { display: flex; justify-content: space-between; padding: 0.9rem 0; border-bottom: 1px solid var(--line-light); font-size: 0.92rem; }
.dining-list span { color: var(--gold); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.16em; }

/* ============ GALLERY ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 1rem; }
.g-item { background-size: cover; background-position: center; border-radius: 4px; border: none; cursor: pointer; padding: 0; transition: transform 0.6s var(--ease), filter 0.6s var(--ease); filter: saturate(0.96); position: relative; }
.g-item::after { content: "⤢"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; background: rgba(22,40,31,0.35); opacity: 0; transition: opacity 0.4s var(--ease); border-radius: 4px; }
.g-item:hover { transform: scale(1.015); filter: saturate(1.12); }
.g-item:hover::after { opacity: 1; }
.g-item.wide { grid-column: span 2; }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--cream-2); }
.testi-carousel { position: relative; max-width: 780px; margin-inline: auto; text-align: center; min-height: 220px; }
.testi { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); pointer-events: none; }
.testi.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.testi p { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-style: italic; line-height: 1.45; color: var(--ink); margin-bottom: 1.4rem; }
.testi cite { font-style: normal; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.testi-dots { display: flex; gap: 0.3rem; justify-content: center; margin-top: 2rem; }
.testi-dots button { width: 9px; height: 9px; box-sizing: content-box; padding: 8px; border-radius: 50%; border: none; background: var(--line); background-clip: content-box; cursor: pointer; transition: background 0.3s var(--ease); }
.testi-dots button.active { background: var(--gold); background-clip: content-box; }

/* ============ OFFERS ============ */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.offer-card {
  position: relative; min-height: 420px; border-radius: 4px; overflow: hidden;
  background-size: cover; background-position: center; display: flex; align-items: flex-end;
  color: var(--white); box-shadow: var(--shadow); isolation: isolate;
}
.offer-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,40,31,0) 25%, rgba(22,40,31,0.92) 100%); transition: background 0.5s var(--ease); }
.offer-card:hover::after { background: linear-gradient(180deg, rgba(22,40,31,0.25) 0%, rgba(22,40,31,0.95) 100%); }
.offer-body { padding: 1.8rem; }
.offer-tag { display: inline-block; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--jungle); font-weight: 600; background: var(--grad-gold); padding: 0.35rem 0.75rem; border-radius: 2px; margin-bottom: 0.9rem; }
.offer-body h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.offer-body p { font-size: 0.9rem; color: rgba(255,255,255,0.86); margin-bottom: 1rem; }

/* ============ PRESS / AWARDS ============ */
.press { background: var(--jungle-3); color: var(--cream); padding-block: 3rem; }
.press-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 5vw, 4.5rem); text-align: center; }
.press-item { display: flex; flex-direction: column; gap: 0.3rem; }
.press-item strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; letter-spacing: 0.02em; color: var(--white); }
.press-item span { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

/* ============ FAQ ACCORDION ============ */
.faq-inner { max-width: 820px; margin-inline: auto; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--ink);
  padding: 1.5rem 0; transition: color 0.3s var(--ease);
}
.acc-head:hover { color: var(--gold-deep); }
.acc-icon { font-family: var(--sans); font-size: 1.5rem; color: var(--gold-deep); transition: transform 0.4s var(--ease); flex-shrink: 0; }
.acc-head[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.acc-panel p { color: var(--ink-soft); font-size: 1rem; padding-bottom: 1.5rem; max-width: 68ch; }
.acc-panel em { color: var(--ink); }

/* ============ BOOKING ============ */
.booking { background: var(--cream-2); }
.booking-inner { max-width: 980px; margin-inline: auto; }
.booking-head { text-align: center; max-width: 560px; margin: 0 auto 3rem; }
.booking-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 1rem; }
.booking-head p { color: var(--ink-soft); }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; background: var(--white); padding: clamp(1.6rem, 4vw, 3rem); border-radius: 6px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 0.98rem; padding: 0.85rem 1rem;
  border: 1px solid var(--line); border-radius: 3px; background: var(--cream); color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193,154,91,0.16); }
.form-note { grid-column: 1 / -1; text-align: center; font-size: 0.9rem; min-height: 1.2em; }
.form-note.ok { color: var(--jungle-2); }
.form-note.err { color: #b3402f; }

/* ============ FOOTER ============ */
.site-footer { background: var(--jungle); color: rgba(246,241,232,0.8); padding-top: clamp(3rem, 7vw, 6rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.footer-brand .brand { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { max-width: 34ch; font-size: 0.94rem; margin-bottom: 1.2rem; }
.footer-brand .socials { display: flex; gap: 1.2rem; }
.footer-col h4 { color: var(--white); font-size: 1.15rem; margin-bottom: 1rem; }
.footer-col p, .footer-col a { font-size: 0.94rem; color: rgba(246,241,232,0.8); text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.news-form { display: flex; margin-top: 0.8rem; border: 1px solid var(--line-light); border-radius: 3px; overflow: hidden; }
.news-form input { flex: 1; background: transparent; border: none; padding: 0.7rem 0.9rem; color: var(--cream); font-family: var(--sans); font-size: 0.9rem; }
.news-form input::placeholder { color: rgba(246,241,232,0.5); }
.news-form input:focus { outline: none; }
.news-form button { background: var(--gold); border: none; color: var(--jungle); width: 46px; font-size: 1.1rem; cursor: pointer; transition: background 0.3s var(--ease); }
.news-form button:hover { background: var(--white); }
.news-note { display: block; margin-top: 0.6rem; font-size: 0.8rem; color: var(--gold); min-height: 1em; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.8rem; font-size: 0.82rem; color: rgba(246,241,232,0.6); }

/* ============ LIGHTBOX ============ */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(15,24,19,0.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease); }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-img { max-width: 88vw; max-height: 82vh; border-radius: 4px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8); }
.lb-close { position: absolute; top: 1rem; right: 1rem; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: rgba(255,255,255,0.1); border: none; border-radius: 50%; color: #fff; font-size: 1.4rem; cursor: pointer; opacity: 0.9; transition: background 0.3s var(--ease); }
.lb-close:hover { opacity: 1; background: rgba(255,255,255,0.24); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 2.4rem; width: 56px; height: 56px; border-radius: 50%; cursor: pointer; transition: background 0.3s var(--ease); }
.lb-nav:hover { background: rgba(255,255,255,0.24); }
.lb-prev { left: clamp(0.75rem, 3vw, 2.5rem); }
.lb-next { right: clamp(0.75rem, 3vw, 2.5rem); }

/* ============ BACK TO TOP ============ */
.to-top { position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 70; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--jungle); color: var(--cream); font-size: 1.1rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all 0.4s var(--ease); box-shadow: var(--shadow); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--jungle); }

/* ============ REVEAL ============ */
html.js-anim .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js-anim .reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .nav, .header-book, .lang-switch { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 92;
    background: rgba(246,241,232,0.98); backdrop-filter: blur(12px);
    align-items: center; justify-content: center; gap: 1.8rem; font-size: 1rem;
  }
  .nav.open a { color: var(--ink); font-size: 1.5rem; font-family: var(--serif); text-transform: none; letter-spacing: 0.06em; }
  .welcome-grid, .dining-grid { grid-template-columns: 1fr; }
  .dining-media { order: -1; }
  .exp-grid, .offer-grid { grid-template-columns: 1fr 1fr; }
  .villa-card { flex-basis: clamp(260px, 46%, 360px); }
  .bookbar { grid-template-columns: 1fr 1fr; }
  .bb-submit { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  :root { --header-h: 90px; }
  .exp-grid, .offer-grid, .booking-form, .stats { grid-template-columns: 1fr 1fr; }
  .villa-card { flex-basis: 82%; }
  .villas-head { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .g-item.wide { grid-column: span 2; }
  .bookbar { grid-template-columns: 1fr; }
  .welcome-badge { right: 10px; }
  .hero-dots { display: none; }
  .footer-base { flex-direction: column; text-align: center; }
}
@media (max-width: 440px) {
  .exp-grid, .offer-grid, .booking-form, .footer-grid { grid-template-columns: 1fr; }
  .villa-card { flex-basis: 88%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero-slide.is-active { animation: none; }
  .marquee-track { animation: none; }
  .scroll-cue span { animation: none; }
  .parallax-bg { transform: none !important; }
}
