/* ==========================================================================
   Grand Mirinja - public site stylesheet
   1. Tokens          6. Hero
   2. Reset & base    7. Sections & components
   3. Typography      8. Forms
   4. Buttons         9. Footer
   5. Header         10. Utilities & motion
   ========================================================================== */

/* 1. Tokens ============================================================== */
:root {
  --ink:        #10201a;
  --ink-soft:   #3c5148;
  --muted:      #6b7f75;
  --line:       #e2e9e4;
  --line-soft:  #eef2ef;

  --green-900:  #0d1f17;
  --green-800:  #142e22;
  --green-700:  #1c4132;
  --green-600:  #256045;
  --green-100:  #e7f0ea;

  --gold:       #b5883f;
  --gold-soft:  #d8b57a;
  --gold-100:   #f6efe2;

  --sand:       #faf7f1;
  --sand-2:     #f3efe6;
  --white:      #ffffff;

  --danger:     #b3261e;
  --warn:       #b06f12;
  --ok:         #1f7a4d;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(16, 32, 26, .05);
  --shadow:     0 12px 30px rgba(16, 32, 26, .08);
  --shadow-lg:  0 28px 60px rgba(16, 32, 26, .14);

  --container:  1220px;
  --header-h:   84px;

  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* 2. Reset & base ======================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--green-700); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold); }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

::selection { background: var(--green-700); color: #fff; }

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

/* 3. Typography ========================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--center::after {
  content: "";
  width: 30px; height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--light { color: var(--gold-soft); }

.lead { font-size: 1.075rem; color: var(--muted); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.section { padding: clamp(64px, 8vw, 116px) 0; }
.section--sand { background: var(--sand); }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }
.section--dark { background: var(--green-900); color: rgba(255,255,255,.75); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

/* 4. Buttons ============================================================= */
.btn {
  --btn-bg: var(--green-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(16,32,26,.18); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn .icon { flex: none; }

.btn--gold  { --btn-bg: var(--gold); }
.btn--gold:hover { --btn-bg: #a2762f; }
.btn--dark  { --btn-bg: var(--green-900); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--green-800); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; border-color: var(--ink); }
.btn--ghost-light {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--green-800); }
.btn--sm { padding: 10px 20px; font-size: .84rem; }
.btn--lg { padding: 17px 36px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9rem;
  color: var(--green-700);
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 5. Header ============================================================== */
.topbar {
  background: var(--green-900);
  color: rgba(255,255,255,.72);
  font-size: .82rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 44px; flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: var(--gold-soft); }
.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__list li { display: flex; align-items: center; gap: 7px; }
.topbar__social { display: flex; gap: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { max-height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display); font-size: 1.32rem;
  font-weight: 600; color: var(--ink); letter-spacing: -.01em;
}
.brand__tag {
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
}
.nav__link::after {
  content: "";
  position: absolute; left: 15px; right: 15px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__item.is-active > .nav__link { color: var(--green-700); }

.nav__item--has-menu { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 5px; }
.nav__menu {
  position: absolute;
  top: calc(100% + 10px); left: 0;
  min-width: 210px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .25s var(--ease);
}
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__menu a {
  display: block; padding: 9px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--ink-soft);
}
.nav__menu a:hover { background: var(--green-100); color: var(--green-700); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0;
  z-index: 1000;
  visibility: hidden;
}
.drawer.is-open { visibility: visible; }
.drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(13,31,23,.5);
  opacity: 0; transition: opacity .3s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex; flex-direction: column; gap: 8px;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer__close {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); cursor: pointer;
}
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 4px;
  font-size: 1rem; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.drawer__sub { padding-left: 14px; }
.drawer__sub a { display: block; padding: 10px 4px; font-size: .92rem; color: var(--muted); }
.drawer__foot { margin-top: auto; padding-top: 22px; display: grid; gap: 12px; }

/* 6. Hero ================================================================ */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--green-900);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img, .hero__slide video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__slide.is-active img { animation: kenburns 12s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.14); }
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,31,23,.62) 0%, rgba(13,31,23,.38) 45%, rgba(13,31,23,.82) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: 130px 170px; }
.hero__content { max-width: 720px; color: rgba(255,255,255,.85); }
.hero__content h1 { color: #fff; margin-bottom: .35em; }
.hero__content p { font-size: 1.1rem; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__dots {
  position: absolute; z-index: 3;
  left: 50%; transform: translateX(-50%);
  bottom: 116px;
  display: flex; gap: 10px;
}
.hero__dot {
  width: 34px; height: 3px; border: 0; padding: 0;
  border-radius: 3px;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .3s var(--ease), width .3s var(--ease);
}
.hero__dot.is-active { background: var(--gold); width: 52px; }

.hero-video { position: absolute; inset: 0; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; }

/* Page banner (inner pages) */
.page-banner {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 100px);
  background: var(--green-900) center/cover no-repeat;
  color: rgba(255,255,255,.8);
  text-align: center;
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,31,23,.72), rgba(13,31,23,.88));
}
.page-banner__inner { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 12px; }
.breadcrumb { display: flex; justify-content: center; gap: 10px; font-size: .88rem; }
.breadcrumb a { color: var(--gold-soft); }
.breadcrumb span { color: rgba(255,255,255,.6); }

/* 7. Booking bar ========================================================= */
.booking-bar {
  position: relative;
  z-index: 5;
  margin-top: -72px;
  margin-bottom: 0;
}
.booking-bar--flat { margin-top: 0; }
.booking-bar__card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 18px;
  align-items: end;
}
.booking-bar__field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.booking-bar__field label {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

/* 8. Cards & grids ======================================================= */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.room-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.room-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.room-card:hover .room-card__media img { transform: scale(1.07); }
.room-card__price {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(13,31,23,.82);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .88rem; font-weight: 600;
}
.room-card__price small { font-weight: 400; opacity: .7; }
.room-card__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: #fff;
  padding: 6px 14px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.room-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.room-card__body h3 { font-size: 1.32rem; margin-bottom: 8px; }
.room-card__body h3 a { color: inherit; }
.room-card__body h3 a:hover { color: var(--green-600); }
.room-card__desc { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.room-card__meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  padding-top: 16px; margin-top: auto;
  border-top: 1px solid var(--line-soft);
  font-size: .84rem; color: var(--muted);
}
.room-card__meta span { display: inline-flex; align-items: center; gap: 7px; }
.room-card__foot { display: flex; gap: 10px; margin-top: 18px; }

.feature-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  height: 100%;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: var(--green-100);
  color: var(--green-700);
  margin-bottom: 20px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.feature-card:hover .feature-card__icon { background: var(--gold); color: #fff; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature-card p { font-size: .92rem; color: var(--muted); margin: 0; }

.package-card {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.package-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.package-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.package-card:hover .package-card__media img { transform: scale(1.06); }
.package-card__body { padding: 26px; }
.package-card__duration {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.package-card__price {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); font-weight: 600;
  margin: 16px 0 20px;
}
.package-card__price del { font-family: var(--font-body); font-size: .95rem; color: var(--muted); font-weight: 400; }
.package-list { display: grid; gap: 9px; margin: 0 0 20px; }
.package-list li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-soft); }
.package-list .icon { color: var(--green-600); flex: none; margin-top: 4px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 600; color: var(--gold);
  line-height: 1;
}
.stat__label {
  margin-top: 10px; font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}
.section--sand .stat__label { color: var(--muted); }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; }
.split__media--stack { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split__media--stack img:first-child { grid-row: span 2; height: 100%; object-fit: cover; }
.split__badge {
  position: absolute; right: -18px; bottom: -18px;
  background: var(--green-800); color: #fff;
  padding: 24px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.split__badge strong { display: block; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; }
.split__badge span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }

.check-list { display: grid; gap: 12px; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check-list .icon {
  flex: none; margin-top: 4px;
  color: var(--green-600);
}

/* Gallery */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.gallery-filter button {
  padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff; color: var(--ink-soft);
  font: inherit; font-size: .88rem; font-weight: 500;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.gallery-filter button:hover { border-color: var(--green-600); color: var(--green-700); }
.gallery-filter button.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--sand-2);
}
.gallery-item:nth-child(6n+1) { grid-row: span 2; aspect-ratio: 4 / 6.2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,31,23,.8));
  display: flex; align-items: flex-end;
  padding: 20px;
  color: #fff; font-size: .92rem; font-weight: 500;
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(8,18,13,.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 100%; border-radius: var(--radius); }
.lightbox__caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .92rem; }
.lightbox__btn {
  position: absolute;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff; cursor: pointer;
  transition: background .25s var(--ease);
}
.lightbox__btn:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Testimonials */
.testimonial-track { display: flex; transition: transform .55s var(--ease); }
.testimonial-viewport { overflow: hidden; }
.testimonial-card {
  flex: 0 0 100%;
  padding: 0 12px;
}
.testimonial-card__inner {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  height: 100%;
}
.testimonial-card__quote { color: var(--gold-soft); margin-bottom: 18px; }
.testimonial-card p { font-size: 1.02rem; color: var(--ink-soft); }
.testimonial-card__author { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.testimonial-card__author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-card__author strong { display: block; color: var(--ink); font-size: .98rem; }
.testimonial-card__author span { font-size: .84rem; color: var(--muted); }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.stars .icon { fill: currentColor; }
.stars .is-off { color: var(--line); fill: var(--line); }

.carousel-nav { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.carousel-nav button {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff; color: var(--ink);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.carousel-nav button:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* Blog */
.post-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font-size: .8rem; color: var(--muted); margin-bottom: 12px;
}
.post-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: var(--green-600); }
.post-card p { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.post-card .link-arrow { margin-top: auto; }

.post-body { font-size: 1.03rem; color: var(--ink-soft); }
.post-body h3 { margin-top: 1.6em; }
.post-body img { border-radius: var(--radius); margin: 1.6em 0; }
.post-body blockquote {
  margin: 1.8em 0; padding: 24px 28px;
  background: var(--sand); border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--ink);
}

.sidebar { display: grid; gap: 28px; align-content: start; }
.widget {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.widget__title {
  font-size: 1.05rem; margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.widget-list li + li { margin-top: 4px; }
.widget-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; font-size: .92rem; color: var(--ink-soft);
}
.widget-list a:hover { color: var(--green-600); }
.widget-list span { font-size: .78rem; color: var(--muted); }

.mini-post { display: flex; gap: 14px; align-items: flex-start; }
.mini-post + .mini-post { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.mini-post img { width: 74px; height: 62px; border-radius: 10px; object-fit: cover; flex: none; }
.mini-post h4 { font-size: .95rem; margin-bottom: 4px; line-height: 1.35; }
.mini-post h4 a { color: var(--ink); }
.mini-post h4 a:hover { color: var(--green-600); }
.mini-post time { font-size: .78rem; color: var(--muted); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .82rem; color: var(--muted);
}
.tag-cloud a:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* Room detail */
.room-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.room-gallery__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.room-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.room-gallery__side { display: grid; gap: 14px; }
.room-gallery__side > div { border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.room-gallery__side img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.spec {
  display: flex; gap: 14px; align-items: center;
  padding: 18px; border-radius: var(--radius);
  background: var(--sand);
}
.spec .icon { color: var(--green-600); flex: none; }
.spec small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.spec strong { font-size: .95rem; color: var(--ink); font-weight: 600; }

.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.amenity {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px;
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  font-size: .9rem;
}
.amenity .icon { color: var(--gold); flex: none; }

.booking-panel {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}
.booking-panel__price {
  display: flex; align-items: baseline; gap: 10px;
  padding-bottom: 20px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.booking-panel__price strong { font-family: var(--font-display); font-size: 2rem; color: var(--ink); font-weight: 600; }
.booking-panel__price span { font-size: .88rem; color: var(--muted); }
.booking-summary {
  margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line);
  display: grid; gap: 9px; font-size: .9rem;
}
.booking-summary div { display: flex; justify-content: space-between; }
.booking-summary .total { font-weight: 700; color: var(--ink); font-size: 1.05rem; padding-top: 9px; border-top: 1px solid var(--line-soft); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px;
  background: none; border: 0;
  font: inherit; font-size: 1.02rem; font-weight: 600; color: var(--ink);
  text-align: left; cursor: pointer;
  font-family: var(--font-display);
}
.faq__q .icon { flex: none; transition: transform .3s var(--ease); color: var(--gold); }
.faq__item.is-open .faq__q .icon { transform: rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a > div { padding: 0 24px 22px; font-size: .95rem; color: var(--muted); }

/* CTA band */
.cta-band {
  position: relative;
  padding: clamp(56px, 7vw, 92px) 0;
  background: var(--green-800) center/cover no-repeat;
  color: rgba(255,255,255,.78);
  overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(13,31,23,.78); }
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 520px; }

/* 9. Forms =============================================================== */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field small { font-size: .78rem; color: var(--muted); }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: .94rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(37,96,69,.12);
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7f75' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.input::placeholder, .textarea::placeholder { color: #a7b5ad; }

.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  margin-bottom: 22px;
}
.alert .icon { flex: none; margin-top: 2px; }
.alert--success { background: #e8f5ee; color: #14603c; }
.alert--error   { background: #fdecea; color: #8c1d18; }
.alert--info    { background: var(--gold-100); color: #7a5a1c; }

.form-note { font-size: .85rem; color: var(--muted); }

.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form .input { flex: 1; min-width: 200px; }

/* 10. Footer ============================================================= */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.62); padding-top: 84px; }
.site-footer h4 {
  color: #fff; font-family: var(--font-body);
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 22px;
}
.site-footer a { color: rgba(255,255,255,.62); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 46px; padding-bottom: 60px; }
.footer-brand img {
  max-height: 60px; margin-bottom: 20px;
  /* The supplied logo is solid black, so flip it to white for the dark footer. */
  filter: brightness(0) invert(1);
  opacity: .92;
}
.footer-brand p { font-size: .92rem; }
.footer-links li + li { margin-top: 11px; }
.footer-links a { font-size: .92rem; }
.footer-contact li { display: flex; gap: 12px; font-size: .92rem; margin-bottom: 14px; }
.footer-contact .icon { color: var(--gold); flex: none; margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  transition: all .25s var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: .85rem;
}
.footer-bottom nav { display: flex; gap: 22px; }

/* Floating actions */
.float-actions {
  position: fixed; right: 22px; bottom: 22px;
  z-index: 800;
  display: grid; gap: 12px;
}
.float-btn {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  color: #fff; cursor: pointer;
  box-shadow: 0 10px 24px rgba(16,32,26,.25);
  transition: transform .25s var(--ease);
}
.float-btn:hover { transform: translateY(-3px); color: #fff; }
.float-btn--wa { background: #25d366; }
.float-btn--top { background: var(--green-700); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .25s var(--ease); }
.float-btn--top.is-visible { opacity: 1; pointer-events: auto; }

/* Misc */
.badge {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em;
}
.badge--ok    { background: #e6f4ec; color: var(--ok); }
.badge--warn  { background: #fdf1de; color: var(--warn); }
.badge--bad   { background: #fdecea; color: var(--danger); }
.badge--info  { background: #e8eefb; color: #2a4b8d; }
.badge--muted { background: var(--sand-2); color: var(--muted); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line); border-radius: 12px;
  font-size: .92rem; color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.pagination a:hover { border-color: var(--green-600); color: var(--green-700); }
.pagination .is-current { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.empty-state {
  text-align: center; padding: 70px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
}
.empty-state .icon { color: var(--line); margin: 0 auto 16px; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; height: 420px; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Scroll reveal. The .reveal-ready class is added by app.js, so content stays
   visible when JavaScript is unavailable or has not run yet. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 32px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* 11. Responsive ========================================================= */
@media (max-width: 1100px) {
  .booking-bar__card { grid-template-columns: repeat(3, 1fr); }
  .booking-bar__card > .btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 992px) {
  .nav, .header-actions .btn { display: none; }
  .nav-burger { display: flex; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(6n+1) { grid-row: auto; aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .room-gallery { grid-template-columns: 1fr; }
  .room-gallery__side { grid-template-columns: repeat(3, 1fr); }
  .booking-panel { position: static; }
  .booking-bar { margin-top: -48px; }
}

@media (max-width: 768px) {
  :root { --header-h: 70px; }
  /* Keep the bar to a single line on a phone: the phone number is the only
     thing worth the vertical space, the rest lives in the footer. */
  .topbar__inner { justify-content: center; flex-wrap: nowrap; }
  .topbar__list { gap: 14px; }
  .topbar__list li:not(:first-child) { display: none; }
  .topbar__social { display: none; }
  .booking-bar__card { grid-template-columns: 1fr 1fr; padding: 20px; }
  .hero__inner { padding-block: 90px 130px; }
  .hero__dots { bottom: 90px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .split__badge { position: static; margin-top: 18px; display: inline-block; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .booking-bar__card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .testimonial-card__inner { padding: 28px 24px; }
  .room-gallery__side { grid-template-columns: repeat(2, 1fr); }
}
