/* ============ Floating extras + new sections ============ */

/* Scroll progress bar — top, very thin gold line */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--terra) 0%, var(--gold) 50%, var(--terra) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1000;
  pointer-events: none;
  transition: transform .12s ease-out;
}

/* WhatsApp floating button */
.wa-btn {
  position: fixed; bottom: 24px; left: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -6px rgba(37,211,102,0.45), 0 4px 12px rgba(0,0,0,0.15);
  z-index: 400;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 16px 36px -6px rgba(37,211,102,0.55), 0 6px 16px rgba(0,0,0,0.2); }
.wa-btn__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 700px) {
  .wa-btn { bottom: 16px; left: 16px; width: 48px; height: 48px; }
  .wa-btn svg { width: 20px; height: 20px; }
}

/* Cookies banner */
.cookies {
  position: fixed; bottom: 16px; right: 16px; left: auto;
  max-width: 460px;
  background: var(--green-deep);
  color: var(--cream);
  padding: 22px 26px;
  z-index: 600;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
  animation: cookies-in .6s cubic-bezier(.2,.7,.2,1) .8s both;
}
@keyframes cookies-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.cookies__inner { display: flex; flex-direction: column; gap: 16px; }
.cookies__body {
  font-size: 13px; line-height: 1.55;
  color: rgba(250,247,238,0.85);
  margin-top: 8px;
}
.cookies__link { color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.cookies__actions { display: flex; gap: 10px; }
.cookies__btn {
  flex: 1;
  padding: 12px 14px;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid rgba(250,247,238,0.3);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: all .2s ease;
}
.cookies__btn--ghost:hover { border-color: var(--cream); }
.cookies__btn--solid { background: var(--cream); color: var(--green-deep); border-color: var(--cream); }
.cookies__btn--solid:hover { background: var(--gold); color: var(--green-deep); border-color: var(--gold); }
@media (max-width: 600px) {
  .cookies { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 18px 20px; }
}

/* Section titles — animated underline that draws on reveal */
.h-title {
  position: relative;
}
.h-title.has-stroke::after {
  content: ''; display: block;
  width: 0; height: 1px;
  background: var(--terra);
  margin-top: 18px;
  transition: width 1.4s cubic-bezier(.2,.7,.2,1) .2s;
}
.reveal.visible .h-title.has-stroke::after,
.h-title.has-stroke.visible::after { width: 80px; }

/* Trust seals (Booking + Tripadvisor) */
.seals {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 32px;
}
.seal {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(250,247,238,0.95);
  border: 1px solid rgba(31,42,32,0.08);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.15);
  border-radius: 2px;
  text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;
}
.seal:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(0,0,0,0.22);
  border-color: rgba(31,42,32,0.18);
}
.seal__logo {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.seal__logo--booking { background: #003b95; }
.seal__logo--trip { background: transparent; }
.seal__body {
  display: flex; align-items: center; gap: 10px;
  line-height: 1.2;
}
.seal__score {
  font-size: 26px; font-weight: 500;
  color: var(--green-deep);
  background: var(--gold);
  padding: 2px 10px;
  border-radius: 2px;
}
.seal__body > div { display: flex; flex-direction: column; gap: 2px; }
.seal__platform { font-size: 13px; font-weight: 500; color: var(--ink); }
.seal__label { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.seal__stars { display: flex; gap: 2px; }
.seal__trip-body { display: flex; flex-direction: column; gap: 4px; line-height: 1.1; }
.seal__trip-row { display: flex; align-items: center; gap: 8px; }
.seal__trip-name { font-family: var(--serif); font-size: 16px; color: var(--green-deep); font-weight: 500; letter-spacing: -0.01em; }
.seal__trip-stars { display: inline-flex; gap: 1px; }

/* Inline seals on hero — darker variant */
.hero .seals { margin-top: 24px; }
.hero .seal { background: rgba(250,247,238,0.95); }

/* ========== Real Google Maps embed ========== */
.contact__map {
  position: relative;
  min-height: 320px;
  background: var(--bg-warm);
  overflow: hidden;
}
.contact__map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(0.8) contrast(1.05);
}
.contact__map-overlay {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--cream);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.2);
  z-index: 2;
}
.contact__map-overlay strong { font-family: var(--serif); font-size: 18px; color: var(--green-deep); }
.contact__map-directions {
  display: flex; flex-direction: column; gap: 18px;
  margin-top: 32px;
}
.directions-row {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 18px; padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.directions-row:last-child { border-bottom: none; }
.directions-row__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule);
  color: var(--terra-deep);
}
.directions-row__title { font-family: var(--serif); font-size: 19px; color: var(--green-deep); margin-bottom: 4px; }
.directions-row__body { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ========== Breakfast menu ========== */
.bf-menu {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.bf-menu__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.bf-menu__title { font-family: var(--serif); font-size: 28px; color: var(--green-deep); }
.bf-menu__time { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.bf-menu__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 880px) { .bf-menu__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bf-menu__grid { grid-template-columns: 1fr; } }
.bf-item {
  display: flex; flex-direction: column; gap: 10px;
  padding-bottom: 8px;
}
.bf-item__dots {
  display: flex; align-items: center; gap: 8px;
  color: var(--terra);
}
.bf-item__dots::before, .bf-item__dots::after {
  content: ''; flex: 1; height: 1px; background: var(--rule);
}
.bf-item__dots svg { opacity: .7; }
.bf-item__name { font-family: var(--serif); font-size: 19px; color: var(--green-deep); line-height: 1.25; }
.bf-item__desc { font-size: 13px; color: var(--ink-mute); line-height: 1.55; }

/* ========== Local recommendations strip (added to Viana section bottom) ========== */
.recs {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--rule);
}
.recs__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.recs__title { font-family: var(--serif); font-size: 32px; color: var(--green-deep); font-weight: 300; }
.recs__sub { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.recs__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .recs__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .recs__grid { grid-template-columns: 1fr; } }
.rec {
  padding: 22px;
  border: 1px solid var(--rule);
  background: var(--cream);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .4s ease, border-color .3s ease, box-shadow .4s ease;
}
.rec:hover { transform: translateY(-3px); border-color: var(--terra); box-shadow: 0 16px 30px -16px rgba(0,0,0,0.15); }
.rec__cat { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.rec__name { font-family: var(--serif); font-size: 20px; color: var(--green-deep); line-height: 1.25; }
.rec__by { font-size: 12px; color: var(--ink-mute); font-style: italic; }
.rec__meta { display: flex; gap: 12px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rule); align-items: center; }
.rec__km { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--ink-mute); }
.rec__price { font-family: var(--serif); font-size: 14px; color: var(--terra-deep); }

/* ========== Petal layer — calmer than before ========== */
.petal-layer { z-index: 2; }
.petal-layer .petal {
  animation: vvf-petal-fall linear infinite;
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .petal-layer { display: none; }
  .scroll-progress { display: none; }
  .wa-btn__pulse { animation: none; }
}

/* ============ Mobile sticky CTA bar ============ */
.mcta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--cream);
  border-top: 1px solid var(--rule);
  box-shadow: 0 -10px 30px -10px rgba(0,0,0,0.18);
  display: none;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 1px;
  z-index: 450;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  padding-bottom: env(safe-area-inset-bottom, 0);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}
.mcta.is-shown { transform: translateY(0); }
.mcta.is-hidden { transform: translateY(100%); }
.mcta__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 8px;
  min-height: 48px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  background: var(--cream); color: var(--green-deep);
  border: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mcta__btn:active { background: var(--bg-warm); }
.mcta__btn--ghost { border-right: 1px solid var(--rule); }
.mcta__btn--solid { background: var(--green-deep); color: var(--cream); }
.mcta__btn--solid:active { background: var(--green-deeper, #16221a); }
@media (max-width: 760px) {
  .mcta { display: grid; }
  body { padding-bottom: 60px; } /* room for bar */
  .wa-btn { bottom: 76px; }
}

/* ============ Custom cursor (desktop) ============ */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    margin: -3px 0 0 -3px;
    mix-blend-mode: difference;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    margin: -18px 0 0 -18px;
    transition: width .3s cubic-bezier(.2,.7,.2,1), height .3s cubic-bezier(.2,.7,.2,1), margin .3s cubic-bezier(.2,.7,.2,1), background .3s ease, border-color .3s ease;
    display: flex; align-items: center; justify-content: center;
  }
  .cursor-ring__label {
    font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--green-deep);
    opacity: 0; transition: opacity .25s ease;
  }
  .cursor-ring.is-active {
    width: 72px; height: 72px;
    margin: -36px 0 0 -36px;
    background: var(--gold);
    border-color: var(--gold);
  }
  .cursor-ring.is-active .cursor-ring__label { opacity: 1; }
}

/* ============ Magnetic buttons ============ */
.magnetic {
  display: inline-flex;
  transform: translate(var(--mag-x, 0), var(--mag-y, 0));
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

/* ============ Stagger + zoom on room cards ============ */
.rooms__grid .room-card {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--stagger-i, 0) * 90ms);
}
.rooms__grid.is-revealed .room-card { opacity: 1; transform: none; }

.room-card__media { overflow: hidden; }
.room-card__media .photo {
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .6s ease;
  will-change: transform;
}
.room-card:hover .room-card__media .photo {
  transform: scale(1.06);
  filter: brightness(1.04) saturate(1.05);
}
.room-card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31,42,32,0.35));
  opacity: 0; transition: opacity .5s ease;
  pointer-events: none;
}
.room-card:hover .room-card__media::after { opacity: 1; }

/* ============ Section dividers ============ */
.section-divider {
  display: flex; justify-content: center;
  margin: 64px 0;
  color: var(--terra);
}
.section-divider svg path,
.section-divider svg circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1);
}
.section-divider svg circle:nth-child(2) { transition-delay: .15s; }
.section-divider svg circle:nth-child(3) { transition-delay: .3s; }
.section-divider svg circle:nth-child(4) { transition-delay: .45s; }
.section-divider.is-drawn svg path,
.section-divider.is-drawn svg circle { stroke-dashoffset: 0; }

/* ============ Word-by-word fade ============ */
.word-fade .wf-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--wfi) * 70ms);
}
.word-fade.is-revealed .wf-word { opacity: 1; transform: none; }

/* ============ Hero parallax bg ============ */
.hero__bg .photo.is-parallax {
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}

/* ============ Tilt on hover for rec cards (subtle) ============ */
@media (hover: hover) and (pointer: fine) {
  .rec, .room-card {
    transform-style: preserve-3d;
    perspective: 800px;
  }
}

/* ============ FAQ — search, categories, animated accordion ============ */
.faq__controls { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.faq__search {
  position: relative; display: flex; align-items: center;
  background: var(--cream); border: 1px solid var(--rule);
  border-radius: 999px; padding: 0 18px; transition: border-color .25s ease, box-shadow .25s ease;
}
.faq__search:focus-within { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(212,175,108,0.15); }
.faq__search svg { color: var(--ink-mute); flex-shrink: 0; }
.faq__search input {
  flex: 1; border: none; background: transparent; outline: none;
  padding: 14px 12px; font-size: 14px; color: var(--ink);
  font-family: var(--sans);
}
.faq__search-clear { background: none; border: none; color: var(--ink-mute); font-size: 22px; cursor: pointer; padding: 0; line-height: 1; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.faq__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.faq__cat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: transparent;
  border: 1px solid var(--rule); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.faq__cat:hover { border-color: var(--terra); color: var(--green-deep); transform: translateY(-1px); }
.faq__cat.is-active { background: var(--green-deep); color: var(--cream); border-color: var(--green-deep); }
.faq__cat-count { font-size: 9px; padding: 2px 6px; background: rgba(31,42,32,0.06); border-radius: 999px; }
.faq__cat.is-active .faq__cat-count { background: rgba(250,247,238,0.18); color: var(--gold); }

.faq__item {
  border-bottom: 1px solid var(--rule);
  opacity: 0; transform: translateY(8px);
  animation: faq-in .5s cubic-bezier(.2,.7,.2,1) calc(min(var(--fi, 0), 12) * 50ms) both;
}
@keyframes faq-in { to { opacity: 1; transform: none; } }
.faq__q {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto;
  gap: 18px; align-items: center;
  padding: 22px 4px; background: none; border: none;
  text-align: left; cursor: pointer;
  transition: padding .3s ease;
}
.faq__q:hover { padding-left: 8px; }
.faq__q-text { font-size: 19px; line-height: 1.3; color: var(--green-deep); transition: color .25s ease; }
.faq__item.is-open .faq__q-text { color: var(--terra-deep); }
.faq__num { color: var(--terra); }
.faq__icon {
  position: relative; width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule); border-radius: 50%;
  transition: background .3s ease, border-color .3s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.faq__icon-bar { position: absolute; width: 10px; height: 1px; background: var(--green-deep); transition: transform .35s cubic-bezier(.2,.7,.2,1), background .25s ease; }
.faq__icon-bar--v { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--green-deep); border-color: var(--green-deep); transform: rotate(180deg); }
.faq__item.is-open .faq__icon-bar { background: var(--gold); }
.faq__item.is-open .faq__icon-bar--v { transform: rotate(0); opacity: 0; }
.faq__a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1); }
.faq__item.is-open .faq__a-wrap { grid-template-rows: 1fr; }
.faq__a-wrap > .faq__a { overflow: hidden; }
.faq__a {
  display: flex; flex-direction: column; gap: 12px;
  padding: 0 4px 22px;
  font-size: 14.5px; line-height: 1.7; color: var(--ink-soft);
}
.faq__a-tag {
  align-self: flex-start;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra); padding: 4px 10px; border: 1px solid var(--rule); border-radius: 999px;
}
.faq__empty { padding: 40px 0; text-align: center; color: var(--ink-mute); font-style: italic; }
.faq__cta {
  margin-top: 48px; padding: 32px;
  background: var(--bg-warm); border: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.faq__cta-title { font-size: 22px; color: var(--green-deep); }

@media (max-width: 600px) {
  .faq__q-text { font-size: 16px; }
  .faq__cta { flex-direction: column; align-items: flex-start; padding: 24px; }
}

/* ============================================================
   MOBILE PROFESSIONAL ANIMATIONS
   ============================================================ */

/* === Tap feedback (haptic-feel) — all interactive elements on touch === */
@media (hover: none) and (pointer: coarse) {
  .btn, .room-card, .gallery__item, .nav__link, .faq__q,
  .mobile-bar__btn, .recommend__card, .breakfast__menu-item,
  .footer__link, .footer__livro, .room-modal__nav-btn {
    transition: transform .12s cubic-bezier(.2,.7,.2,1), opacity .12s ease, box-shadow .12s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  /* Touch targets ≥44px em mobile */
  .gallery__filter, .faq__cat, .nav__lang-item, .mobile-menu__lang { min-height: 44px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .btn:active, .room-card:active, .gallery__item:active,
  .mobile-bar__btn:active, .recommend__card:active, .footer__livro:active,
  .faq__q:active {
    transform: scale(0.97);
    opacity: 0.9;
  }
  .btn-primary:active { box-shadow: 0 4px 14px -4px rgba(212,175,108,0.4); }
}

/* === Touch ripple (Material-style, gold) === */
.ripple-host { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,108,0.55) 0%, rgba(212,175,108,0) 70%);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple-out .65s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes ripple-out {
  to { transform: translate(-50%, -50%) scale(8); opacity: 0; }
}

/* === Mobile-specific scroll reveal: slide from side instead of fade up === */
@media (max-width: 768px) {
  .reveal-mobile-left { opacity: 0; transform: translateX(-32px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal-mobile-right { opacity: 0; transform: translateX(32px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal-mobile-left.is-in, .reveal-mobile-right.is-in { opacity: 1; transform: translateX(0); }

  /* Sequential cards drift in like cards being dealt */
  .room-card { animation: card-deal .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 100ms); }
  @keyframes card-deal {
    from { opacity: 0; transform: translateY(40px) rotate(-1.2deg); }
    to { opacity: 1; transform: none; }
  }

  /* Gallery photos: alternating slide */
  .gallery__item:nth-child(odd) { animation: slide-from-l .7s cubic-bezier(.2,.7,.2,1) both; }
  .gallery__item:nth-child(even) { animation: slide-from-r .7s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes slide-from-l { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
  @keyframes slide-from-r { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
}

/* === Mobile swipe indicators on horizontal scrollers === */
.swipe-hint {
  position: absolute; bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(31,42,32,0.9); color: var(--gold);
  border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  pointer-events: none;
  animation: swipe-pulse 2.4s ease-in-out infinite;
  z-index: 5;
}
.swipe-hint svg { animation: swipe-arrow 2.4s ease-in-out infinite; }
@keyframes swipe-pulse {
  0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
  20%, 80% { opacity: 1; }
  50% { opacity: 0.85; }
}
@keyframes swipe-arrow {
  0%, 100% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
}
@media (hover: none) and (pointer: coarse) {
  .swipe-hint { display: inline-flex; }
  .swipe-hint.is-dismissed { display: none; }
}

/* === Bottom sheet drag handle (for modals on mobile) === */
@media (max-width: 768px) {
  .booking-modal__panel, .room-modal__panel {
    border-radius: 24px 24px 0 0;
    animation: sheet-up .45s cubic-bezier(.2,.7,.2,1) both;
  }
  .booking-modal__panel::before, .room-modal__panel::before {
    content: ""; position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 4px;
    background: rgba(31,42,32,0.18); border-radius: 999px;
  }
  @keyframes sheet-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}

/* === Mobile parallax on hero (gentler than desktop) === */
@media (max-width: 768px) {
  .hero__image { will-change: transform; }
}

/* === Mobile section reveal: stagger headings word-by-word === */
@media (max-width: 768px) {
  .h-title.in-view .word {
    display: inline-block;
    animation: word-rise .6s cubic-bezier(.2,.7,.2,1) both;
    animation-delay: calc(var(--w, 0) * 70ms);
  }
  @keyframes word-rise {
    from { opacity: 0; transform: translateY(0.5em); }
    to { opacity: 1; transform: none; }
  }
}

/* === Mobile bottom CTA bar — bouncy entrance === */
@media (max-width: 768px) {
  .mobile-bar.is-visible { animation: bar-bounce-in .5s cubic-bezier(.34,1.56,.64,1) both; }
  @keyframes bar-bounce-in {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
  }
}

/* === Pull-down indicator at top of long scrolls (only at top) === */
@media (max-width: 768px) {
  .scroll-progress { height: 3px; }
}

/* ============ PACKAGES ============ */
.packages { padding: 100px 0; background: var(--bg-warm); position: relative; }
.packages__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.packages__sub { margin-top: 16px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.packages__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.pack-card {
  background: var(--cream); border: 1px solid var(--rule);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.pack-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--terra), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .5s ease;
}
.pack-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(31,42,32,0.25); border-color: var(--gold); }
.pack-card:hover::before { transform: scaleX(1); }
.pack-card__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pack-card__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra-deep); padding: 5px 10px;
  background: rgba(212,128,108,0.08); border: 1px solid rgba(212,128,108,0.2); border-radius: 999px;
}
.pack-card__save {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--cream); padding: 5px 10px;
  background: var(--green-deep); border-radius: 4px;
}
.pack-card__badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); padding: 5px 10px;
  border: 1px dashed var(--rule); border-radius: 4px;
}
.pack-card__title { font-size: 26px; line-height: 1.2; color: var(--green-deep); }
.pack-card__price { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pack-card__price-val { font-family: var(--serif); font-size: 38px; font-weight: 300; color: var(--terra-deep); }
.pack-card__price-meta { font-size: 13px; color: var(--ink-mute); }
.pack-card__includes ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.pack-card__includes li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.pack-card__includes svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.pack-card__cta { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) {
  .packages__grid { grid-template-columns: 1fr; }
  .pack-card { padding: 24px; }
  .pack-card__title { font-size: 22px; }
  .pack-card__price-val { font-size: 32px; }
}

/* ============ STATS ============ */
.stats { padding: 80px 0; background: var(--green-deep); color: var(--cream); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats__item { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 0 16px; position: relative; }
.stats__item:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 20%; height: 60%; width: 1px;
  background: rgba(250,247,238,0.15);
}
.stats__num {
  font-size: clamp(48px, 6vw, 80px); font-weight: 300; line-height: 1;
  color: var(--gold); letter-spacing: -0.02em;
}
.stats__lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(250,247,238,0.7); }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .stats__item:not(:last-child)::after { display: none; }
}

/* ============ DIVIDER ============ */
.divider { padding: 48px 0; display: flex; justify-content: center; color: var(--gold); }
.divider__svg { width: min(520px, 80%); height: 40px; }
.divider__line { stroke-dasharray: 240; stroke-dashoffset: 240; animation: dline 1.4s cubic-bezier(.2,.7,.2,1) forwards; }
.divider__motif { opacity: 0; animation: dmotif .6s cubic-bezier(.2,.7,.2,1) 1.1s forwards; }
@keyframes dline { to { stroke-dashoffset: 0; } }
@keyframes dmotif { to { opacity: 1; } }

/* Hide custom cursor over text inputs/buttons that aren't media */
.cursor-ring, .cursor-dot { transition-property: opacity, transform, width, height, margin, background, border-color; }
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor, body.has-custom-cursor * { cursor: none; }
  body.has-custom-cursor input, body.has-custom-cursor textarea, body.has-custom-cursor select { cursor: text; }
}
