/* ==========================================================================
   GoLebanon — public website
   ========================================================================== */

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

.section { padding-block: 56px; }
@media (min-width: 900px) { .section { padding-block: 88px; } }
.section-tint { background: var(--bg-tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-head p { color: var(--muted); margin-top: 0.4rem; font-size: 1.02rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary);
}
html[lang='ar'] .eyebrow { letter-spacing: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; color: var(--primary); }
.link-arrow:hover { gap: 0.6rem; }
.link-arrow .icon { transition: transform 0.2s; }
.text-gradient { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 300; }
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}
.site-header.is-scrolled { border-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 1rem; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand img { height: 54px; width: auto; transition: transform 0.3s var(--ease); }
.brand:hover img { transform: scale(1.05) rotate(-2deg); }
@media (max-width: 640px) { .brand img { height: 46px; } }
[data-theme='dark'] .brand img { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.12)); }
.brand .go { color: var(--primary); }
.brand .leb { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: none; align-items: center; gap: 0.25rem; margin-inline-start: 1.5rem; }
.nav-links a {
  padding: 0.5rem 0.9rem; border-radius: 999px; font-weight: 650; font-size: 0.95rem; color: var(--text-2);
  transition: background-color 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--surface-2); color: var(--text); }
.nav-links a[aria-current='page'] { background: var(--primary-soft); color: var(--primary-ink); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 0.4rem; }
.header-actions .lang-btn { font-weight: 700; font-size: 0.9rem; }
.header-cta { display: none !important; }
.menu-btn { display: inline-flex; }
@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .header-cta { display: inline-flex !important; }
  .menu-btn { display: none; }
}

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--overlay);
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav-panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(360px, 88vw);
  background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 0.5rem;
  transform: translateX(100%); transition: transform 0.3s var(--ease); overflow-y: auto;
}
html[dir='rtl'] .mobile-nav-panel { transform: translateX(-100%); }
.mobile-nav.open .mobile-nav-panel { transform: none; }
.mobile-nav-panel .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.mobile-nav-panel nav a {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 0.8rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1.05rem;
}
.mobile-nav-panel nav a:hover, .mobile-nav-panel nav a[aria-current='page'] { background: var(--surface-2); }
.mobile-nav-panel .icon-wrap { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); }
.mobile-nav-panel .bottom { margin-top: auto; display: grid; gap: 0.6rem; padding-top: 1rem; }

/* ---------- Hero ---------- */
.hero { padding-top: 12px; }
.hero-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  min-height: clamp(560px, 82vh, 760px); display: flex; align-items: flex-end;
  isolation: isolate; color: #fff; background: #0f3d43;
}
.hero-card > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2;
  animation: hero-zoom 18s ease-out both;
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 24, 28, 0.15) 0%, rgba(8, 24, 28, 0.05) 35%, rgba(8, 24, 28, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 24, 28, 0.6) 0%, rgba(8, 24, 28, 0) 65%);
}
html[dir='rtl'] .hero-card::before {
  background:
    linear-gradient(180deg, rgba(8, 24, 28, 0.15) 0%, rgba(8, 24, 28, 0.05) 35%, rgba(8, 24, 28, 0.78) 100%),
    linear-gradient(270deg, rgba(8, 24, 28, 0.6) 0%, rgba(8, 24, 28, 0) 65%);
}
.hero-content { width: 100%; padding: 28px 20px; display: grid; gap: 22px; }
@media (min-width: 768px) { .hero-content { padding: 56px; } }
.hero-pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.9rem; border-radius: 999px; font-weight: 700; font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.25); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 14ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #ffb199, #ffd27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; color: rgba(255, 255, 255, 0.88); }

.search-bar {
  display: grid; gap: 6px; padding: 8px; border-radius: 24px;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg);
  max-width: 880px;
}
.search-field { display: grid; gap: 2px; padding: 0.55rem 1rem; border-radius: 16px; transition: background-color 0.15s; position: relative; }
.search-field:hover { background: var(--surface-2); }
.search-field label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); display: flex; gap: 0.35rem; align-items: center; }
html[lang='ar'] .search-field label { letter-spacing: 0; }
.search-field select {
  appearance: none; border: 0; background: transparent; font-weight: 700; font-size: 1rem; padding: 0; outline: none; cursor: pointer; width: 100%;
}
.search-field select option { color: #15202b; }
.search-bar .btn { border-radius: 18px; }
@media (min-width: 768px) {
  .search-bar { grid-template-columns: 1.4fr 1fr 0.8fr auto; align-items: center; border-radius: 999px; padding: 8px 8px 8px 12px; }
  .search-field { border-radius: 999px; }
  .search-field + .search-field::before { content: ''; position: absolute; inset-inline-start: -3px; top: 22%; bottom: 22%; width: 1px; background: var(--border); }
  .search-bar .btn { border-radius: 999px; height: 58px; padding-inline: 1.6rem; }
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem; color: rgba(255, 255, 255, 0.92); font-size: 0.92rem; }
.hero-stats strong { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.1; }

/* ---------- Type pills ---------- */
.type-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.type-row::-webkit-scrollbar { display: none; }
.type-card {
  scroll-snap-align: start; flex: 1 0 170px; display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
}
.type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.type-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); }
.type-card:nth-child(3n + 2) .ic { background: var(--accent-soft); color: var(--accent); }
.type-card:nth-child(3n + 3) .ic { background: var(--warning-soft); color: var(--warning); }
.type-card strong { display: block; font-size: 1rem; }
.type-card small { color: var(--muted); font-size: 0.82rem; font-weight: 600; }

/* ---------- Property card ---------- */
.grid-cards { display: grid; gap: 28px 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.p-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.p-media { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-3); }
.p-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.p-slides::-webkit-scrollbar { display: none; }
.p-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; transition: transform 0.6s var(--ease); }
.p-card:hover .p-slides img { transform: scale(1.04); }
.p-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; z-index: 2; pointer-events: none; }
.p-badges .badge { background: rgba(255, 255, 255, 0.94); color: #15202b; box-shadow: var(--shadow-xs); }
.p-badges .badge-hot { background: var(--gradient-brand); color: #fff; }
.p-price {
  position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 2;
  padding: 0.35rem 0.75rem; border-radius: 999px; background: rgba(12, 18, 21, 0.72); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 0.85rem; font-weight: 600; pointer-events: none;
}
.p-price strong { font-size: 1rem; font-weight: 800; }
.p-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.95); color: #15202b; box-shadow: var(--shadow-sm);
  opacity: 0; transition: opacity 0.2s, transform 0.2s;
}
.p-nav.prev { inset-inline-start: 10px; }
.p-nav.next { inset-inline-end: 10px; }
.p-card:hover .p-nav { opacity: 1; }
.p-nav:hover { transform: translateY(-50%) scale(1.08); }
.p-dots { position: absolute; bottom: 14px; inset-inline-end: 14px; display: flex; gap: 5px; z-index: 2; pointer-events: none; }
.p-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); transition: all 0.2s; }
.p-dots i.on { background: #fff; width: 16px; border-radius: 4px; }
.p-body { display: grid; gap: 4px; padding-inline: 2px; }
.p-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; }
.p-title { font-size: 1.06rem; font-weight: 800; line-height: 1.3; }
.p-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.p-rating { display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 700; font-size: 0.88rem; white-space: nowrap; }
.p-rating .icon { color: #f5a524; fill: #f5a524; }
.p-loc { color: var(--muted); font-size: 0.9rem; display: flex; align-items: center; gap: 0.3rem; }
.p-facts { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; color: var(--text-2); font-size: 0.86rem; font-weight: 600; margin-top: 4px; }
.p-facts span { display: inline-flex; align-items: center; gap: 0.3rem; }
.p-facts .icon { color: var(--muted); }

/* ---------- Region cards ---------- */
.region-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.region-grid.bento { grid-auto-rows: 210px; }
@media (min-width: 900px) {
  .region-grid.bento { grid-template-columns: repeat(4, 1fr); }
  .region-grid.bento .r-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .region-grid.bento .r-card:nth-child(2) { grid-column: span 2; }
}
.r-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 210px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; background: #234;
}
.r-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.7s var(--ease); }
.r-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.75) 100%); }
.r-card:hover img { transform: scale(1.06); }
.r-body { padding: 18px; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 0.75rem; }
.r-body h3 { font-size: 1.3rem; }
.r-card:nth-child(1) .r-body h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.r-body p { font-size: 0.88rem; opacity: 0.9; margin-top: 2px; }
.r-count {
  flex-shrink: 0; padding: 0.3rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 800;
  background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.3);
}
.r-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #15202b; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.r-card:hover .r-go { transform: rotate(-45deg); }
html[dir='rtl'] .r-card:hover .r-go { transform: rotate(45deg); }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.step .num {
  position: absolute; top: 18px; inset-inline-end: 20px; font-size: 3rem; font-weight: 800; line-height: 1;
  color: var(--surface-3); letter-spacing: -0.04em;
}
.step .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: var(--gradient-teal); box-shadow: 0 10px 20px -10px rgba(27, 138, 147, 0.7); }
.step:nth-child(3) .ic { background: linear-gradient(135deg, #25d366, #128c4b); box-shadow: 0 10px 20px -10px rgba(37, 211, 102, 0.7); }
.step:nth-child(4) .ic { background: var(--gradient-brand); box-shadow: 0 10px 20px -10px rgba(240, 97, 93, 0.7); }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Why us ---------- */
.why { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .why { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.why-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3.6; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-float {
  position: absolute; inset-inline-start: 16px; bottom: 16px; display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 1rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg); font-weight: 700; font-size: 0.9rem;
}
.why-float .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--wa); color: #fff; }
.why-float small { display: block; color: var(--muted); font-weight: 600; }
.why-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 26px; }
.why-item { display: flex; gap: 0.9rem; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.why-item .ic { width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); }
.why-item h3 { font-size: 1rem; margin-bottom: 3px; }
.why-item p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.reviews { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.review {
  scroll-snap-align: start; flex: 0 0 min(88%, 380px); display: flex; flex-direction: column; gap: 14px;
  padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border);
}
.review .quote { color: var(--primary); opacity: 0.35; }
.review p { color: var(--text-2); font-size: 0.97rem; flex: 1; }
.review-who { display: flex; align-items: center; gap: 0.75rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.95rem;
  color: #fff; background: var(--gradient-teal); flex-shrink: 0;
}
.review:nth-child(3n + 2) .avatar { background: var(--gradient-brand); }
.review:nth-child(3n + 3) .avatar { background: linear-gradient(135deg, #3e9b4f, #2a7a3a); }
.review-who strong { display: block; font-size: 0.95rem; }
.review-who small { color: var(--muted); font-size: 0.82rem; }

/* ---------- CTA bands ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 40px 24px; color: #fff;
  background: var(--gradient-teal); display: grid; gap: 22px; align-items: center;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr auto; padding: 56px; } }
.cta-band::after {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; inset-inline-end: -120px; top: -180px;
  background: radial-gradient(circle, rgba(249, 160, 63, 0.55), rgba(240, 97, 93, 0) 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-band p { opacity: 0.88; margin-top: 8px; max-width: 52ch; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.owner-band { display: grid; gap: 24px; align-items: center; padding: 28px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); }
@media (min-width: 860px) { .owner-band { grid-template-columns: auto 1fr auto; padding: 32px 40px; } }
.owner-band .ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--gradient-brand); color: #fff; }
.owner-band h3 { font-size: 1.4rem; }
.owner-band p { color: var(--muted); margin-top: 4px; }

/* ---------- Page headers ---------- */
.page-head { padding-block: 36px 24px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.page-head p { color: var(--muted); font-size: 1.08rem; margin-top: 8px; max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.crumbs a:hover { color: var(--primary); }
.crumbs .icon { opacity: 0.6; }

/* ---------- Listing page ---------- */
.list-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.search-input { position: relative; flex: 1 1 260px; }
.search-input .icon { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-input .input { padding-inline-start: 2.6rem; border-radius: 999px; }
.list-toolbar .select { width: auto; border-radius: 999px; min-width: 190px; }
.filter-btn { position: relative; }
.filter-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.72rem; display: grid; place-items: center; }

.list-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) {
  .list-layout { grid-template-columns: 290px 1fr; }
  .filter-btn { display: none !important; }
}
.filters {
  display: grid; gap: 22px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border);
}
@media (min-width: 1024px) { .filters { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; } }
@media (max-width: 1023px) {
  .filters-wrap { position: fixed; inset: 0; z-index: 95; background: var(--overlay); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
  .filters-wrap.open { opacity: 1; pointer-events: auto; }
  .filters {
    position: absolute; inset-inline: 0; bottom: 0; max-height: 88vh; overflow-y: auto; border-radius: 26px 26px 0 0;
    transform: translateY(100%); transition: transform 0.3s var(--ease); padding-bottom: 96px;
  }
  .filters-wrap.open .filters { transform: none; }
}
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h2 { font-size: 1.15rem; }
.filter-group { display: grid; gap: 10px; }
.filter-group > .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
html[lang='ar'] .filter-group > .label { letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg .chip-check span { min-width: 44px; justify-content: center; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-row .input { min-height: 42px; }
.filters-foot { display: flex; gap: 8px; }
@media (max-width: 1023px) {
  .filters-foot { position: fixed; bottom: 0; inset-inline: 0; padding: 14px 20px; background: var(--surface); border-top: 1px solid var(--border); }
  .filters-foot .btn { flex: 1; }
}
@media (min-width: 1024px) { .filters-foot .apply { display: none; } }
.results-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-weight: 700; color: var(--text-2); gap: 1rem; flex-wrap: wrap; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters a { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.5rem 0.3rem 0.75rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary-ink); font-size: 0.8rem; font-weight: 700; }
.active-filters a:hover { background: var(--primary); color: #fff; }

.empty {
  display: grid; justify-items: center; gap: 12px; padding: 60px 24px; text-align: center; border-radius: var(--radius-lg);
  background: var(--surface); border: 1.5px dashed var(--border-strong);
}
.empty .ic { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); }
.empty h3 { font-size: 1.25rem; }
.empty p { color: var(--muted); max-width: 42ch; }


/* ---------- Property page ---------- */
.prop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
.prop-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.prop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; color: var(--text-2); font-weight: 600; font-size: 0.93rem; margin-top: 8px; }
.prop-meta > span { display: inline-flex; align-items: center; gap: 0.35rem; }
.prop-meta .icon { color: var(--muted); }
.prop-actions { display: flex; gap: 8px; }

.gallery { position: relative; display: grid; gap: 8px; border-radius: var(--radius-xl); overflow: hidden; height: clamp(280px, 52vw, 520px); }
.gallery .g-tile { position: relative; overflow: hidden; background: var(--surface-3); display: block; width: 100%; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.3s; }
.gallery .g-tile:hover img { transform: scale(1.04); filter: brightness(0.92); }
.gallery .g-rest { display: none; }
@media (min-width: 760px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .gallery .g-main { grid-row: span 2; }
  .gallery .g-rest { display: block; }
  .gallery.count-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .gallery.count-2 .g-main { grid-row: auto; }
  .gallery.count-3 { grid-template-columns: 2fr 1fr; }
  .gallery.count-4 { grid-template-columns: 2fr 1fr 1fr; }
  .gallery.count-4 .g-rest:nth-child(4) { grid-column: span 2; }
}
.gallery .show-all { position: absolute; bottom: 16px; inset-inline-end: 16px; z-index: 2; box-shadow: var(--shadow-md); }

.prop-layout { display: grid; gap: 40px; margin-top: 32px; align-items: start; }
@media (min-width: 1024px) { .prop-layout { grid-template-columns: 1fr 400px; gap: 56px; } }
.prop-main { display: grid; gap: 0; min-width: 0; }
.prop-block { padding-block: 30px; border-bottom: 1px solid var(--border); }
.prop-block:first-child { padding-top: 0; }
.prop-block:last-child { border-bottom: 0; }
.prop-block h2 { font-size: 1.35rem; margin-bottom: 16px; }
.facts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.fact { display: flex; align-items: center; gap: 0.7rem; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.fact .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); flex-shrink: 0; }
.fact strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.fact small { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
@media (max-width: 560px) {
  .facts-row { grid-template-columns: repeat(3, 1fr); }
  .fact { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
}
.tagline { font-size: 1.15rem; font-weight: 600; color: var(--text-2); margin-bottom: 12px; }
.prose { color: var(--text-2); white-space: pre-line; line-height: 1.75; }
.prose.clamped { max-height: 13.5em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
/* Description / Address / Details / Features tabs */
.prop-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
.prop-tabs [role="tab"] { min-height: 52px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--teal-700); background: var(--teal-700); color: #fff; font-weight: 700; font-size: 0.98rem; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.prop-tabs [role="tab"]:hover { background: var(--teal-600); border-color: var(--teal-600); }
.prop-tabs [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--text); border-color: var(--primary); }
.prop-tabs [role="tab"]:focus-visible { outline: none; box-shadow: var(--ring); }
@media (max-width: 560px) {
  .prop-tabs { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); }
  .prop-tabs [role="tab"] { min-height: 46px; font-size: 0.92rem; }
}
.tab-pane { padding-top: 26px; }
.tab-pane[hidden] { display: none; }
.detail-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 28px; margin: 0; }
.detail-list > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 13px 2px; border-bottom: 1px solid var(--border); }
.detail-list dt { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-weight: 600; font-size: 0.93rem; }
.detail-list dt .icon { color: var(--primary); flex-shrink: 0; }
.detail-list dt span { display: inline-block; }
.detail-list dt span::first-letter { text-transform: uppercase; }
.detail-list dd { margin: 0; font-weight: 700; text-align: end; }
.detail-list dd a { color: var(--primary); }

/* Formatted descriptions (from the dashboard editor) */
.prose.rich { white-space: normal; }
.prose.rich > :first-child { margin-top: 0; }
.prose.rich p { margin: 0 0 0.85em; }
.prose.rich h2 { font-size: 1.5rem; color: var(--text); margin: 1.1em 0 0.45em; line-height: 1.3; }
.prose.rich h3 { font-size: 1.22rem; color: var(--text); margin: 1em 0 0.4em; line-height: 1.35; }
.prose.rich h4 { font-size: 1.05rem; color: var(--text); margin: 0.9em 0 0.35em; }
.prose.rich ul, .prose.rich ol { margin: 0 0 0.9em; padding-inline-start: 1.4em; }
.prose.rich ul { list-style: disc; }
.prose.rich ol { list-style: decimal; }
.prose.rich li { margin-bottom: 0.25em; }
.prose.rich strong, .prose.rich b { color: var(--text); }
.prose.rich a { color: var(--primary); text-decoration: underline; }
.prose.rich blockquote { margin: 0 0 0.9em; padding-inline-start: 1em; border-inline-start: 3px solid var(--primary); color: var(--text); }
.prose.rich hr { border: 0; border-top: 1px solid var(--border); margin: 1.2em 0; }
.t-sm { font-size: 0.85em; }
.t-lg { font-size: 1.2em; }
.t-xl { font-size: 1.45em; line-height: 1.4; }
.t-xxl { font-size: 1.8em; line-height: 1.3; }
.read-more { margin-top: 10px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 0.3rem; }
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.amenity { display: flex; align-items: center; gap: 0.75rem; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); font-weight: 600; font-size: 0.94rem; }
.amenity .icon { color: var(--primary); }
.info-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.info-card { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.info-card h3 { font-size: 0.98rem; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 10px; }
.info-card h3 .icon { color: var(--primary); }
.info-card ul { display: grid; gap: 8px; }
.info-card li { display: flex; gap: 0.55rem; color: var(--text-2); font-size: 0.93rem; }
.info-card li .icon { color: var(--success); margin-top: 3px; }
.info-card p { color: var(--text-2); font-size: 0.93rem; }
.times { display: flex; gap: 10px; flex-wrap: wrap; }
.time { flex: 1; min-width: 130px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); }
.time small { display: block; color: var(--muted); font-weight: 700; font-size: 0.78rem; }
.time strong { font-size: 1.1rem; }
.season-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.season-table th, .season-table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.season-table th { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.season-table td strong { font-weight: 800; }
.video-wrap { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.video-wrap iframe, .video-wrap video { width: 100%; height: 100%; border: 0; }
.timetree-frame { height: 560px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.timetree-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .timetree-frame { height: 480px; } }
.loc-note { display: flex; gap: 0.6rem; color: var(--muted); font-size: 0.9rem; margin-top: 12px; }

/* Booking card */
.book-col { position: relative; }
@media (min-width: 1024px) { .book-card { position: sticky; top: 92px; } }
.book-card { padding: 22px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); display: grid; gap: 16px; }
.book-price { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.book-price .amount { font-size: 1.7rem; font-weight: 800; }
.book-price .per { color: var(--muted); font-weight: 600; }
.book-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.book-dates button { display: grid; gap: 1px; padding: 10px 14px; text-align: start; transition: background-color 0.15s; }
.book-dates button:hover { background: var(--surface-2); }
.book-dates button + button { border-inline-start: 1.5px solid var(--border); }
.book-dates button.active { background: var(--primary-soft); box-shadow: inset 0 0 0 2px var(--primary); }
.book-dates small { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
html[lang='ar'] .book-dates small { letter-spacing: 0; }
.book-dates span { font-weight: 700; font-size: 0.95rem; }
.book-dates span.ph { color: var(--muted); font-weight: 600; }
.guests-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); }
.guests-row small { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; transition: all 0.15s; }
.stepper button:hover:not(:disabled) { border-color: var(--text); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 22px; text-align: center; font-weight: 800; font-size: 1.05rem; }
.book-breakdown { display: grid; gap: 8px; padding-top: 4px; font-size: 0.94rem; }
.book-breakdown .row { display: flex; justify-content: space-between; color: var(--text-2); }
.book-breakdown .row.total { padding-top: 10px; margin-top: 2px; border-top: 1px solid var(--border); color: var(--text); font-weight: 800; font-size: 1.05rem; }
.book-note { display: flex; gap: 0.5rem; justify-content: center; align-items: center; color: var(--muted); font-size: 0.82rem; text-align: center; }
.book-error { color: var(--danger); font-size: 0.88rem; font-weight: 600; display: flex; gap: 0.4rem; align-items: flex-start; }
.book-success { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 8px 0; }
.book-success .ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success); animation: pop 0.5s var(--ease); }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
.book-success h3 { font-size: 1.25rem; }
.book-success p { color: var(--muted); font-size: 0.93rem; }

/* Calendar */
.cal { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px; background: var(--surface); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head strong { font-size: 1rem; }
.cal-head button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.cal-head button:hover:not(:disabled) { background: var(--surface-2); }
.cal-head button:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-grid .dow { font-size: 0.72rem; font-weight: 800; color: var(--muted); padding: 4px 0; }
.cal-day {
  position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: 0.88rem; font-weight: 700;
  transition: background-color 0.1s;
}
.cal-day:hover:not(:disabled) { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--text); }
.cal-day:disabled { color: var(--muted); opacity: 0.4; cursor: not-allowed; }
.cal-day.blocked { text-decoration: line-through; opacity: 0.5; background: repeating-linear-gradient(135deg, transparent 0 4px, var(--surface-3) 4px 6px); }
.cal-day.weekend::after { content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.cal-day.in-range { background: var(--primary-soft); border-radius: 0; color: var(--primary-ink); }
.cal-day.start, .cal-day.end { background: var(--primary) !important; color: #fff !important; opacity: 1; }
.cal-day.start { border-radius: 10px 0 0 10px; }
.cal-day.end { border-radius: 0 10px 10px 0; }
html[dir='rtl'] .cal-day.start { border-radius: 0 10px 10px 0; }
html[dir='rtl'] .cal-day.end { border-radius: 10px 0 0 10px; }
.cal-day.start.end { border-radius: 10px; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 8px; font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; }
.cal-legend { display: flex; gap: 12px; align-items: center; }
.cal-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-inline-end: 4px; }
.cal-legend s { opacity: 0.7; }
.cal-hint { font-size: 0.86rem; font-weight: 700; color: var(--primary-ink); margin-bottom: 8px; }

/* Mobile sticky booking bar */
.mobile-book {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.2);
}
.mobile-book strong { font-size: 1.15rem; }
.mobile-book small { color: var(--muted); display: block; font-size: 0.8rem; }
@media (min-width: 1024px) { .mobile-book { display: none; } }
@media (max-width: 1023px) { body.has-mobile-book { padding-bottom: 76px; } }
/* Property pages have their own WhatsApp booking button. */
body.has-mobile-book .wa-float { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(5, 9, 11, 0.94); display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.lightbox[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-weight: 700; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 12px; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; user-select: none; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: #fff; transition: background-color 0.15s; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.24); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { inset-inline-start: 16px; }
.lb-next { inset-inline-end: 16px; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px 18px; justify-content: safe center; scrollbar-width: none; }
.lb-thumbs button { flex: 0 0 64px; height: 48px; border-radius: 8px; overflow: hidden; opacity: 0.45; transition: opacity 0.15s; border: 2px solid transparent; }
.lb-thumbs button.on { opacity: 1; border-color: #fff; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Region page ---------- */
.region-hero { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; margin-top: 12px; }
.region-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.region-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.75)); }
.region-hero .inner { padding: 28px; display: grid; gap: 10px; max-width: 760px; }
@media (min-width: 768px) { .region-hero .inner { padding: 48px; } }
.region-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.region-hero p { font-size: 1.1rem; opacity: 0.92; }
.region-hero .crumbs { color: rgba(255, 255, 255, 0.8); margin: 0; }
.highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.highlights span { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 0.86rem; font-weight: 700; }
.region-intro { display: grid; gap: 24px; padding-block: 40px 8px; }
@media (min-width: 900px) { .region-intro { grid-template-columns: 1.5fr 1fr; gap: 48px; } }
.region-intro .prose { font-size: 1.08rem; }

/* ---------- About / contact / list ---------- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); aspect-ratio: 1; }
.collage img:nth-child(1) { aspect-ratio: 3 / 4; grid-row: span 2; height: 100%; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.stat { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 600; font-size: 0.88rem; }
.values { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.value { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.value .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); margin-bottom: 14px; }
.value:nth-child(2) .ic { background: var(--accent-soft); color: var(--accent); }
.value:nth-child(3) .ic { background: var(--success-soft); color: var(--success); }
.value h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value p { color: var(--muted); }

.contact-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 40px; } }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
a.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-card .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; background: var(--primary-soft); color: var(--primary-ink); }
.contact-card.wa .ic { background: var(--wa); color: #fff; }
.contact-card.ig .ic { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); color: #fff; }
.contact-card small { display: block; color: var(--muted); font-weight: 700; font-size: 0.8rem; }
.contact-card strong { font-size: 1.02rem; word-break: break-word; }
.contact-card .go { margin-inline-start: auto; color: var(--muted); }
.form-card { padding: 26px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: grid; gap: 16px; }
.form-card h2 { font-size: 1.4rem; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.perks { display: grid; gap: 12px; }
.perk { display: flex; gap: 1rem; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.perk .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: var(--gradient-brand); color: #fff; }
.perk h3 { font-size: 1.02rem; margin-bottom: 2px; }
.perk p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Footer ---------- */
/* Bright cyan in both themes, so text and icons use dark ink tones for contrast. */
.site-footer {
  --footer-bg: #1ec9c9;
  --footer-ink: #062e30;
  --footer-ink-2: #0a4245;
  --footer-muted: #0c5053;
  --footer-line: rgba(6, 46, 48, 0.2);
  margin-top: 40px; background: var(--footer-bg); color: var(--footer-ink); border-top: 1px solid var(--footer-line);
}
.footer-grid { display: grid; gap: 32px; padding-block: 56px 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-grid h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--footer-muted); margin-bottom: 14px; }
html[lang='ar'] .footer-grid h4 { letter-spacing: 0; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid li a { color: var(--footer-ink); font-weight: 600; }
.footer-grid li a:hover { color: var(--footer-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-about p { color: var(--footer-ink-2); margin-top: 14px; max-width: 34ch; }
.footer-logo { width: 140px; border-radius: 18px; background: #fffaf2; padding: 10px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.4); color: var(--footer-ink); transition: all 0.15s; }
.socials a:hover { background: var(--footer-ink); color: var(--footer-bg); }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; color: var(--footer-ink); font-weight: 600; }
.footer-contact .icon { color: var(--footer-ink-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px; border-top: 1px solid var(--footer-line); color: var(--footer-ink-2); font-size: 0.86rem; }
.site-footer :focus-visible { outline-color: var(--footer-ink); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 45; display: inline-flex; align-items: center; gap: 0.6rem;
  height: 58px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 800;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.75); transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float .label { display: none; }
@media (min-width: 768px) { .wa-float .label { display: inline; } }
@media (max-width: 767px) { .wa-float { width: 58px; padding: 0; justify-content: center; } }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); animation: wa-pulse 2.6s infinite; }
@keyframes wa-pulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* Not found */
.nf { display: grid; justify-items: center; text-align: center; gap: 16px; padding-block: 96px; }
.nf .big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.nf p { color: var(--muted); max-width: 44ch; }

/* Reveal on scroll */
/* ---------- Animations ---------- */

/* Smooth cross-fade between pages (Chrome, Edge, Safari 18+; others just navigate). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.22s ease both; }
::view-transition-new(root) { animation: vt-in 0.45s var(--ease) both; }
.site-header { view-transition-name: site-header; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(0.96); } }
@keyframes slide-down { from { opacity: 0; transform: translateY(-100%); } }
@keyframes slide-up { from { transform: translateY(110%); } }
@keyframes pop-in { 0% { opacity: 0; transform: scale(0.4); } 70% { transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes float { 50% { transform: translateY(-6px); } }

/* Content visible on load (delay set per element by site.js) */
.anim-enter { animation: fade-up 0.75s var(--ease) backwards; animation-delay: var(--d, 0ms); }
.anim-enter.p-card, .anim-enter.r-card, .anim-enter.gallery, .anim-enter.book-card { animation-name: zoom-in; }

/* Content further down, revealed while scrolling */
.anim-reveal { transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); transition-delay: var(--d, 0ms); }
.anim-reveal.anim-wait { opacity: 0; transform: translateY(32px); }
.anim-reveal.anim-wait.p-card, .anim-reveal.anim-wait.r-card { transform: translateY(32px) scale(0.97); }
.anim-reveal.anim-wait.collage img, .anim-reveal.anim-wait.why-media { transform: scale(0.94); }

/* Header, floating button, mobile booking bar */
.site-header { animation: slide-down 0.6s var(--ease) backwards; }
.wa-float { animation: pop-in 0.6s var(--ease) 0.8s backwards; }
.mobile-book { animation: slide-up 0.5s var(--ease) 0.4s backwards; }

/* Home hero: staggered entrance */
.hero-card { animation: zoom-in 0.9s var(--ease) backwards; }
.hero-content > * { animation: fade-up 0.8s var(--ease) backwards; }
.hero-content > :nth-child(1) { animation-delay: 0.25s; }
.hero-content > :nth-child(2) { animation-delay: 0.35s; }
.hero-content > :nth-child(3) { animation-delay: 0.45s; }
.hero-content > :nth-child(4) { animation-delay: 0.55s; }
.hero-content > :nth-child(5) { animation-delay: 0.7s; }
.region-hero { animation: zoom-in 0.8s var(--ease) backwards; }
.region-hero .inner > * { animation: fade-up 0.8s var(--ease) backwards; }
.region-hero .inner > :nth-child(2) { animation-delay: 0.15s; }
.region-hero .inner > :nth-child(3) { animation-delay: 0.25s; }
.region-hero .inner > :nth-child(4) { animation-delay: 0.35s; }

/* Small touches */
.why-float { animation: float 4s ease-in-out infinite; }
.step .ic, .value .ic, .why-item .ic, .type-card .ic, .contact-card .ic { transition: transform 0.35s var(--ease); }
.step:hover .ic, .value:hover .ic, .why-item:hover .ic, .type-card:hover .ic, .contact-card:hover .ic { transform: rotate(-8deg) scale(1.1); }
.step, .value, .why-item, .review, .info-card { transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s; }
.step:hover, .value:hover, .why-item:hover, .review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.amenity { transition: transform 0.2s var(--ease), background-color 0.2s; }
.amenity:hover { transform: translateX(4px); background: var(--primary-soft); }
html[dir='rtl'] .amenity:hover { transform: translateX(-4px); }
.btn-wa .icon, .btn-accent .icon { transition: transform 0.3s var(--ease); }
.btn-wa:hover .icon, .btn-accent:hover .icon { transform: rotate(-12deg) scale(1.12); }
.link-arrow:hover .icon { transform: translateX(3px); }
html[dir='rtl'] .link-arrow:hover .icon { transform: translateX(-3px) scaleX(-1); }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .why-float { animation: none; }
}
