/* ============================================================
   HOSTING LEBANON - design system
   Palette: Forest (deep pine green + bone + amber accent)
   Type: Jost variable (Futura-spirit geometric sans), self-hosted
   Radii rule: interactive = pill, cards = 20/14px nested, inputs = 12px
   ============================================================ */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f3f5f0;
  --surface: #ffffff;
  --surface-soft: #e9ede4;
  --ink: #16261d;
  --ink-soft: #4c5c52;
  --ink-faint: #7c8a80;
  --pine: #1d3a2c;
  --pine-deep: #132b1f;
  --pine-line: rgba(22, 38, 29, 0.1);
  --amber: #c9862e;
  --amber-deep: #a86a1d;
  --whatsapp: #1faa53;
  --shadow-soft: 0 24px 70px -28px rgba(19, 43, 31, 0.35);
  --shadow-lift: 0 16px 44px -18px rgba(19, 43, 31, 0.4);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-card: 1.5rem;
  --r-inner: calc(1.5rem - 0.4rem);
  --r-input: 0.75rem;
  --nav-h: 4rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Jost", "Avenir Next", "Futura", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain, fixed + inert so it never repaints on scroll */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  vertical-align: -0.2em;
  flex: none;
}

.wrap {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- typography ---------- */

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }

.display {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 600;
}
.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--amber-deep);
  line-height: 1.1;
  padding-bottom: 0.1em;
}

.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.h3 { font-size: 1.35rem; font-weight: 600; }

.lede {
  color: var(--ink-soft);
  font-size: 1.125rem;
  max-width: 34rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--pine-line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- nav island ---------- */

.nav {
  position: fixed;
  top: 1.1rem;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 1rem;
}
.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  height: var(--nav-h);
  padding: 0 0.6rem 0 1.4rem;
  border-radius: 999px;
  background: rgba(243, 245, 240, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(22, 38, 29, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 14px 40px -18px rgba(19, 43, 31, 0.45);
}
.nav__logo {
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.nav__logo span { color: var(--amber-deep); }
.nav__links {
  display: flex;
  gap: 1.35rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav__burger {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--pine);
  cursor: pointer;
}
.nav__burger i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.1rem;
  height: 1.5px;
  background: #f3f5f0;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger i:nth-child(1) { transform: translate(-50%, calc(-50% - 4px)); }
.nav__burger i:nth-child(2) { transform: translate(-50%, calc(-50% + 4px)); }
.nav__burger[aria-expanded="true"] i:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  background: rgba(19, 43, 31, 0.88);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu ul { list-style: none; text-align: center; display: grid; gap: 1.4rem; }
.menu a {
  color: #f3f5f0;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.menu li {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.menu.is-open li { opacity: 1; transform: none; }
.menu.is-open li:nth-child(1) { transition-delay: 0.08s; }
.menu.is-open li:nth-child(2) { transition-delay: 0.14s; }
.menu.is-open li:nth-child(3) { transition-delay: 0.2s; }
.menu.is-open li:nth-child(4) { transition-delay: 0.26s; }
.menu.is-open li:nth-child(5) { transition-delay: 0.32s; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  padding: 0.55rem 0.55rem 0.55rem 1.5rem;
  background: var(--pine);
  color: #f6f7f3;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: var(--shadow-lift);
}
.btn:hover { background: var(--pine-deep); box-shadow: 0 20px 50px -16px rgba(19, 43, 31, 0.55); }
.btn:active { transform: scale(0.97); }
.btn__orb {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.btn:hover .btn__orb { transform: translate(2px, -1px) scale(1.06); background: rgba(255, 255, 255, 0.22); }
.btn--wa .btn__orb { background: var(--whatsapp); }
.btn--wa:hover .btn__orb { background: #23c05f; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--pine-line);
  background: var(--surface);
}
.btn--ghost:hover { background: var(--surface-soft); box-shadow: none; }
.btn--ghost .btn__orb { background: rgba(22, 38, 29, 0.07); }
.btn--ghost:hover .btn__orb { background: rgba(22, 38, 29, 0.12); }

.btn--light {
  background: #f3f5f0;
  color: var(--pine-deep);
}
.btn--light:hover { background: #ffffff; }
.btn--light .btn__orb { background: rgba(19, 43, 31, 0.1); }

/* ---------- sections ---------- */

.section { padding: 6.5rem 0; }
.section--tight { padding: 4.5rem 0; }
.section-head { margin-bottom: 3rem; max-width: 40rem; }
.section-head .lede { margin-top: 0.9rem; }

/* ---------- hero (home) ---------- */

.hero {
  padding: calc(var(--nav-h) + 4.5rem) 0 5rem;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 9fr);
  gap: 3.5rem;
  align-items: center;
}
.hero__copy .eyebrow { margin-bottom: 1.4rem; }
.hero__copy .lede { margin: 1.4rem 0 2.2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.hero__art { position: relative; }
.hero__art::before {
  content: "";
  position: absolute;
  inset: 8% -6% -8% 10%;
  background: var(--surface-soft);
  border-radius: 2rem;
  transform: rotate(2.5deg);
}
.frame {
  position: relative;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(22, 38, 29, 0.08);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}
.frame img {
  border-radius: var(--r-inner);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__art .frame { transform: rotate(-1.2deg); }
.hero__badge {
  position: absolute;
  left: -1.2rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(22, 38, 29, 0.08);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-lift);
}
.hero__badge .icon { color: var(--whatsapp); width: 1.35em; height: 1.35em; }

/* ---------- property cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 38, 29, 0.08);
  border-radius: var(--r-card);
  padding: 0.45rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.card__media {
  position: relative;
  border-radius: var(--r-inner) var(--r-inner) 0.6rem 0.6rem;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }
.card__price {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  background: rgba(19, 43, 31, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #f3f5f0;
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.card__price small { font-weight: 400; opacity: 0.75; font-size: 0.8em; }
.card__body { padding: 1.1rem 0.9rem 0.9rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.card__loc {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink-faint);
  font-size: 0.92rem;
  font-weight: 500;
}
.card__title { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; }
.card__meta {
  display: flex;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin-top: auto;
  padding-top: 0.4rem;
}
.card__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.card > a.card__cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* horizontal scroll variant (home featured) */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(19rem, 24rem);
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 1.25rem 1.8rem;
  margin: 0 -1.25rem;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }

/* ---------- amenity chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  border: 1px solid var(--pine-line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  counter-reset: step;
}
.step {
  position: relative;
  border-top: 1px solid var(--pine-line);
  padding-top: 1.6rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.85rem;
  left: 0;
  background: var(--bg);
  padding-right: 0.8rem;
  font-weight: 600;
  color: var(--amber-deep);
  font-size: 1rem;
  letter-spacing: 0.06em;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 1rem; max-width: 24rem; }
.step .icon { color: var(--pine); width: 1.7rem; height: 1.7rem; margin-bottom: 0.9rem; }

/* ---------- reviews ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 1.5rem;
}
.review {
  background: var(--surface);
  border: 1px solid rgba(22, 38, 29, 0.07);
  border-radius: 1.25rem;
  padding: 1.6rem 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 10px 30px -18px rgba(19, 43, 31, 0.25);
}
.review__stars { display: flex; gap: 0.15rem; color: var(--amber); }
.review__stars .icon { width: 1rem; height: 1rem; }
.review p { color: var(--ink); font-size: 1.02rem; }
.review footer { margin-top: auto; display: flex; flex-direction: column; gap: 0.1rem; }
.review footer strong { font-weight: 600; }
.review footer span { color: var(--ink-faint); font-size: 0.9rem; }

/* ---------- payment band ---------- */

.band {
  background: var(--pine-deep);
  color: #eef1ea;
  border-radius: 2rem;
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.band::before {
  content: "";
  position: absolute;
  right: -18%;
  top: -60%;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 134, 46, 0.32), transparent 65%);
}
.band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); position: relative; }
.band p { color: rgba(238, 241, 234, 0.78); margin-top: 0.8rem; max-width: 30rem; position: relative; }
.band__side { position: relative; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

.payline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1rem;
  padding: 0.9rem 1.2rem;
  width: 100%;
}
.payline .icon { width: 1.5rem; height: 1.5rem; color: var(--amber); }
.payline div { display: flex; flex-direction: column; }
.payline strong { font-size: 1.05rem; }
.payline span { font-size: 0.88rem; color: rgba(238, 241, 234, 0.65); }

/* ---------- property detail ---------- */

.detail { padding: calc(var(--nav-h) + 3.5rem) 0 5rem; }
.detail__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.detail__head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.detail__loc { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink-soft); font-weight: 500; }

.detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 2.2rem;
  align-items: start;
}

.detail__body { display: flex; flex-direction: column; gap: 2.4rem; }
.detail__body h2 { font-size: 1.5rem; margin-bottom: 0.9rem; }
.detail__body .prose { color: var(--ink-soft); max-width: 42rem; }

.gallery { position: relative; }
.gallery .frame { aspect-ratio: 16 / 10; }
.gallery .frame img { aspect-ratio: 16 / 10; }

.mapbox {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--pine-line);
  aspect-ratio: 16 / 8;
  background: var(--surface-soft);
}
.mapbox iframe { width: 100%; height: 100%; border: 0; display: block; }

/* booking card */
.book {
  position: sticky;
  top: calc(var(--nav-h) + 1.8rem);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(22, 38, 29, 0.09);
  border-radius: var(--r-card);
  padding: 0.45rem;
  box-shadow: var(--shadow-soft), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}
.book__in {
  background: var(--surface);
  border-radius: var(--r-inner);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.book__price { display: flex; align-items: baseline; gap: 0.4rem; }
.book__price strong { font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; }
.book__price span { color: var(--ink-faint); }
.book__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select {
  font: inherit;
  color: var(--ink);
  border: 1px solid rgba(22, 38, 29, 0.16);
  border-radius: var(--r-input);
  padding: 0.6rem 0.75rem;
  background: var(--bg);
  width: 100%;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(201, 134, 46, 0.18);
}
.book__total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--pine-line);
  padding-top: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.book__total strong { color: var(--ink); font-weight: 600; }
.book .btn { width: 100%; justify-content: space-between; }
.book__hint { font-size: 0.88rem; color: var(--ink-faint); text-align: center; }
.book__hint a { color: var(--amber-deep); font-weight: 600; }
.linklike {
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  color: var(--amber-deep);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
}
.linklike:hover { color: var(--amber); }

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(19, 43, 31, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  width: min(46rem, 100%);
  max-height: 90dvh;
  overflow: auto;
  background: var(--bg);
  border-radius: var(--r-card);
  padding: 1.6rem;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.45s var(--ease);
  box-shadow: var(--shadow-soft);
}
.modal.is-open .modal__panel { transform: none; }
.modal__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.modal__top h3 { font-size: 1.3rem; }
.modal__close {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--pine-line);
  background: var(--surface);
  cursor: pointer;
  color: var(--ink);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.modal__close:active { transform: scale(0.94); }
.modal__close:hover { background: var(--surface-soft); }
.calframe {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--pine-line);
  background: var(--surface);
  height: 24rem;
}
.calframe iframe { width: 100%; height: 100%; border: 0; }
.modal__foot {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.modal__foot p { font-size: 0.95rem; color: var(--ink-soft); max-width: 24rem; }
.qrbox {
  background: #fff;
  border: 1px solid var(--pine-line);
  border-radius: 0.9rem;
  padding: 0.55rem;
  line-height: 0;
}
.qrbox img, .qrbox canvas { border-radius: 0.4rem; width: 108px !important; height: 108px !important; }

/* ---------- contact / payment page ---------- */

.paycard {
  background: var(--surface);
  border: 1px solid rgba(22, 38, 29, 0.08);
  border-radius: var(--r-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 12px 40px -22px rgba(19, 43, 31, 0.3);
}
.paycard h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; }
.paycard h3 .icon { color: var(--amber-deep); width: 1.4em; height: 1.4em; }
.copyline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg);
  border: 1px dashed rgba(22, 38, 29, 0.25);
  border-radius: var(--r-input);
  padding: 0.8rem 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.copybtn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pine);
  background: var(--surface);
  border: 1px solid var(--pine-line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.copybtn:hover { background: var(--surface-soft); }
.copybtn:active { transform: scale(0.96); }
.copybtn.is-done { color: var(--whatsapp); border-color: rgba(31, 170, 83, 0.4); }
.paysteps { display: flex; flex-direction: column; gap: 0.7rem; }
.paysteps li { display: flex; gap: 0.7rem; color: var(--ink-soft); }
.paysteps { list-style: none; }
.paysteps .icon { color: var(--whatsapp); margin-top: 0.2rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: start;
}

/* ---------- footer ---------- */

.footer {
  margin-top: 6rem;
  background: var(--pine-deep);
  color: rgba(238, 241, 234, 0.85);
  padding: 4.5rem 0 2.5rem;
  border-radius: 2.5rem 2.5rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer h4 { color: #f3f5f0; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__brand strong { font-size: 1.5rem; color: #f3f5f0; font-weight: 700; }
.footer__brand strong span { color: var(--amber); }
.footer__brand p { margin-top: 0.8rem; max-width: 24rem; color: rgba(238, 241, 234, 0.65); }
.footer ul { list-style: none; display: grid; gap: 0.55rem; }
.footer a { color: rgba(238, 241, 234, 0.75); transition: color 0.3s var(--ease); }
.footer a:hover { color: #fff; }
.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(238, 241, 234, 0.55);
}

/* ---------- floating whatsapp ---------- */

.fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 18px 40px -12px rgba(31, 170, 83, 0.6);
  transition: transform 0.4s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab .icon { width: 1.7rem; height: 1.7rem; }

/* ---------- filters (properties page) ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.4rem;
  align-items: center;
}
.filter-pill {
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--pine-line);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.filter-pill:hover { border-color: rgba(22, 38, 29, 0.3); color: var(--ink); }
.filter-pill.is-active {
  background: var(--pine);
  color: #f3f5f0;
  border-color: var(--pine);
}
.filters select {
  margin-left: auto;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--pine-line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background: var(--surface);
  color: var(--ink);
}

.empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--ink-soft);
}
.empty .icon { width: 2.2rem; height: 2.2rem; color: var(--ink-faint); margin-bottom: 0.8rem; }

/* ---------- page hero (inner pages) ---------- */

.pagehead {
  padding: calc(var(--nav-h) + 4rem) 0 3rem;
}
.pagehead .lede { margin-top: 1rem; }

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .menu li, .menu, .card, .btn, .fab { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail__grid { grid-template-columns: 1fr; }
  .book { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__pill { width: 100%; justify-content: space-between; padding: 0 0.6rem 0 1.2rem; }
  .hero { padding-top: calc(var(--nav-h) + 3rem); }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__badge { left: 0.8rem; bottom: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2.6rem; }
  .band { grid-template-columns: 1fr; padding: 2.4rem 1.6rem; border-radius: 1.5rem; }
  .split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .book__dates { grid-template-columns: 1fr; }
  .wrap { padding: 0 1rem; }
  .rail { grid-auto-columns: minmax(17rem, 85vw); padding: 0.5rem 1rem 1.5rem; margin: 0 -1rem; }
}
