/* Mevaj Homes — mobile-first stylesheet (no framework; ~20KB) */
:root {
  --teal: #0B6E6E; --teal-d: #085757; --teal-l: #E3F1F0;
  --gold: #C9A227; --gold-d: #A8861C; --cream: #FDFBF7; --sand: #F5F0E6;
  --ink: #1F2933; --muted: #5F6B76; --line: #E6E1D8; --white: #fff;
  --ok: #1E7B4F; --ok-bg: #E4F4EA; --warn: #8A5A00; --warn-bg: #FFF4D6;
  --bad: #B42318; --bad-bg: #FDECEA; --info: #0B5CAD; --info-bg: #E6F0FB;
  --mpesa: #3BA935;
  --radius: 14px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 16px rgba(16,24,40,.06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Poppins', var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal-d); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.6rem, 5vw, 2.6rem); }
h2 { font-size: clamp(1.25rem, 3.4vw, 1.7rem); margin-top: 1.2em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.25rem 0; }
code { background: var(--sand); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; } .narrow-sm { max-width: 460px; }
.section { padding: 40px 0; } .section-tight { padding: 24px 0; }
.section-cream { background: var(--sand); }
.center { text-align: center; } .right { text-align: right; } .nowrap { white-space: nowrap; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .prewrap { white-space: pre-wrap; }
.lead { font-size: 1.1rem; } .big { font-size: 1.4rem; font-weight: 700; font-family: var(--display); color: var(--teal); margin: 0 0 .5rem; }
.warn-text { color: var(--warn); } .muted-light { color: rgba(255,255,255,.75); }
.hp { position: absolute; left: -5000px; }
.inline { display: inline; } .inline-list { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0; list-style: none; }

/* Icons */
.ico { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.ico-sm { width: 16px; height: 16px; vertical-align: -3px; }
.ico-ok { color: var(--ok); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .75rem 1.15rem; border-radius: 10px; border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--font); cursor: pointer; text-decoration: none; transition: background .15s, transform .05s; min-height: 44px; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--teal); color: #fff; } .btn-primary:hover { background: var(--teal-d); color: #fff; }
.btn-gold { background: var(--gold); color: #1b1400; } .btn-gold:hover { background: var(--gold-d); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); } .btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; } .btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-danger { background: var(--bad); color: #fff; } .btn-danger:hover { background: #8f1c13; color: #fff; }
.btn-mpesa { background: var(--mpesa); color: #fff; font-size: 1.05rem; } .btn-mpesa:hover { background: #2f8a2a; color: #fff; }
.btn-sm { padding: .45rem .8rem; min-height: 36px; font-size: .875rem; border-radius: 8px; }
.btn-block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; color: var(--teal); font: inherit; cursor: pointer; text-decoration: underline; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.2rem; }
.brand strong { color: var(--teal); }
.brand-light, .brand-light strong { color: #fff; }
.nav-toggle { display: inline-flex; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
.nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: .5rem 16px 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.nav-menu.open { display: flex; }
.nav-menu a, .nav-menu .linklike { padding: .7rem 0; text-decoration: none; color: var(--ink); font-weight: 500; }
.nav-menu a.active { color: var(--teal); }
.nav-menu .btn { margin-top: .5rem; color: #1b1400; }
.nav-menu a.btn { padding: .5rem 1rem; color: #1b1400; }
.nav-admin { color: var(--gold-d) !important; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex; position: static; flex-direction: row; align-items: center; gap: 1.4rem; padding: 0; border: 0; box-shadow: none; }
  .nav-menu .btn { margin: 0; }
}

/* Flash */
.flashes { padding-top: 1rem; }
.flash { position: relative; padding: .8rem 2.4rem .8rem 1rem; border-radius: 10px; margin-bottom: .6rem; border: 1px solid transparent; font-size: .95rem; }
.flash-success { background: var(--ok-bg); color: var(--ok); border-color: #bfe3cd; }
.flash-error { background: var(--bad-bg); color: var(--bad); border-color: #f5c2bd; }
.flash-warning { background: var(--warn-bg); color: var(--warn); border-color: #f1dca0; }
.flash-info { background: var(--info-bg); color: var(--info); border-color: #bfd6f2; }
.flash-x { position: absolute; right: .5rem; top: .45rem; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: inherit; opacity: .6; }

/* Hero */
.hero { background: linear-gradient(135deg, rgba(8,87,87,.96), rgba(11,110,110,.88)), url('/assets/img/hero-pattern.svg') center/cover; color: #fff; padding: 40px 0 36px; }
.hero.has-image { background: linear-gradient(180deg, rgba(8,60,60,.55), rgba(8,60,60,.85)), var(--hero) center/cover; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 56ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--gold); font-weight: 600; margin-bottom: .6rem; }
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; padding: 0; margin: 1.2rem 0 0; font-size: .9rem; color: rgba(255,255,255,.9); }
@media (min-width: 900px) { .hero { padding: 72px 0 64px; } }

/* Search */
.search { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; background: #fff; padding: .8rem; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.18); margin-top: 1.25rem; color: var(--ink); }
.search .btn-search { grid-column: 1 / -1; }
.search input, .search select { height: 48px; }
@media (min-width: 900px) { .search { grid-template-columns: repeat(4, 1fr) auto; align-items: end; } .search .btn-search { grid-column: auto; } }
.page-head { background: var(--sand); padding: 28px 0; border-bottom: 1px solid var(--line); }
.page-head .search { box-shadow: var(--shadow); }

/* Forms */
.form { display: flex; flex-direction: column; gap: .9rem; }
.field { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; font-weight: 500; min-width: 0; }
.field[hidden] { display: none; }
input[type=date] { min-width: 0; -webkit-appearance: none; appearance: none; }
.field > span { color: var(--ink); }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: .65rem .75rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); min-height: 44px; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px var(--teal-l); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; min-height: 0; accent-color: var(--teal); flex: none; margin-top: 3px; }
input[type=file] { padding: .5rem; }
input:disabled { background: var(--sand); }
.check { display: block; position: relative; padding-left: 1.75rem; font-size: .9rem; font-weight: 400; }
.check > input[type=checkbox], .check > input[type=radio] { position: absolute; left: 0; top: 0; margin-top: 3px; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; margin: 0; display: flex; flex-direction: column; gap: .7rem; }
legend { font-weight: 600; padding: 0 .4rem; font-size: .95rem; }
.form-grid-2, .form-grid-3 { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } .form-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .form-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.form.mini { flex-direction: row; flex-wrap: wrap; gap: .4rem; align-items: center; }
.form.mini input, .form.mini select { width: auto; min-height: 36px; padding: .35rem .5rem; font-size: .875rem; }
.consent a { font-weight: 500; }
.error-msg { color: var(--bad); font-size: .9rem; }
details.corp { background: var(--sand); padding: .8rem 1rem; border-radius: 10px; }
details.corp summary { cursor: pointer; font-weight: 600; color: var(--teal); }
details.corp[open] { display: flex; flex-direction: column; gap: .7rem; }

/* Cards & grids */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1rem; }
.pad { padding: 1.1rem; } @media (min-width: 640px) { .pad { padding: 1.5rem; } }
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: 1.5rem; } @media (min-width: 900px) { .split { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.section-head { margin-bottom: 1.25rem; } .section-head h2 { margin-top: 0; }

.listing-card { overflow: hidden; display: flex; flex-direction: column; margin: 0; }
.card-media { position: relative; display: block; aspect-ratio: 3/2; background: var(--teal-l); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; top: .75rem; left: .75rem; background: rgba(255,255,255,.95); color: var(--teal-d); padding: .25rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-top { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.card-top h3 { margin: 0; } .card-top h3 a { color: var(--ink); text-decoration: none; }
.rating { font-size: .9rem; white-space: nowrap; color: var(--gold-d); }
.facts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; padding: 0; margin: .2rem 0; font-size: .875rem; color: var(--muted); }
.facts-lg { font-size: .95rem; gap: .6rem 1.4rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.card-foot .btn { white-space: nowrap; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: auto; padding-top: .6rem; }
.price strong { font-size: 1.15rem; font-family: var(--display); color: var(--teal-d); }
.avail-line { margin: .3rem 0 0; font-weight: 600; } .avail-line.ok { color: var(--ok); } .avail-line.bad { color: var(--bad); }

.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.features li { display: flex; gap: .9rem; }
.features .fi { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--teal-l); color: var(--teal); display: grid; place-items: center; }
.features p { margin: .2rem 0 0; font-size: .92rem; }
.distances { list-style: none; padding: 0; margin: 1rem 0; }
.distances li { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.inline-list.distances li { border: 0; gap: .4rem; }
.packages { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .packages { grid-template-columns: repeat(4, 1fr); } }
.package { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.package ul { padding-left: 1rem; margin: 0; }
.review .stars, .stars { color: var(--gold); letter-spacing: 2px; }
.review { margin: 0; } .review-row { border-bottom: 1px solid var(--line); padding: .8rem 0; } .review-row p { margin: .3rem 0; }
.cta { background: var(--teal-d); color: #fff; } .cta h2 { color: #fff; margin-top: 0; }
.cta-inner { display: flex; flex-direction: column; gap: 1rem; } .cta-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
@media (min-width: 900px) { .cta-inner { flex-direction: row; justify-content: space-between; align-items: center; } }

/* Listing detail */
.crumbs { margin-bottom: .5rem; } .crumbs a { color: var(--muted); }
.listing-hero { padding-top: 20px; }
.gallery { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); -webkit-overflow-scrolling: touch; margin-top: 1rem; }
.gallery img { scroll-snap-align: start; flex: 0 0 88%; aspect-ratio: 3/2; max-height: 460px; object-fit: cover; border-radius: var(--radius); background: var(--teal-l); }
@media (min-width: 900px) { .gallery img { flex-basis: 48%; } .gallery img:only-child { flex-basis: 100%; aspect-ratio: 21/8; } }
.listing-layout { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .listing-layout { grid-template-columns: 1fr 380px; align-items: start; } .booking-box { position: sticky; top: 84px; } }
.booking-box { padding: 1.2rem; }
.booking-price strong { font-size: 1.4rem; font-family: var(--display); color: var(--teal-d); }
.booking-box form { display: flex; flex-direction: column; gap: .8rem; margin-top: .8rem; }
.amenities { columns: 2; list-style: none; padding: 0; font-size: .95rem; } .amenities li { margin-bottom: .4rem; break-inside: avoid; }
.amenities .ico { color: var(--teal); }
.rules { padding-left: 1.2rem; }
.map { aspect-ratio: 16/10; background: var(--teal-l) url('/assets/img/map-placeholder.svg') center/cover; border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-actions { margin: .8rem 0; }
.quote { border-top: 1px solid var(--line); padding-top: .8rem; display: flex; flex-direction: column; gap: .7rem; }
.avail-msg { margin: 0; font-weight: 600; } .avail-msg.ok { color: var(--ok); } .avail-msg.bad { color: var(--bad); }
.pkg-options { border: 0; padding: 0; gap: .5rem; }
.pkg-opt { display: flex; gap: .6rem; align-items: flex-start; padding: .65rem .75rem; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .9rem; }
.pkg-opt:has(input:checked) { border-color: var(--teal); background: var(--teal-l); }
.pkg-opt .pkg-total { margin-left: auto; font-weight: 700; white-space: nowrap; }
.breakdown { width: 100%; border-collapse: collapse; font-size: .92rem; margin: .5rem 0; }
.breakdown td { padding: .35rem 0; } .breakdown td:last-child { text-align: right; white-space: nowrap; }
.breakdown .ok td { color: var(--ok); }
.breakdown .total td { border-top: 2px solid var(--ink); font-weight: 700; font-size: 1.05rem; padding-top: .6rem; }
.usd-toggle { margin-top: .6rem; text-align: center; color: var(--muted); } .usd-toggle label { display: inline-flex; gap: .4rem; align-items: center; }
.mobile-book-bar { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; background: #fff; border-top: 1px solid var(--line); padding: .65rem 16px calc(.65rem + env(safe-area-inset-bottom)); z-index: 30; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
@media (min-width: 960px) { .mobile-book-bar { display: none; } }
body:has(.mobile-book-bar) .wa-float { bottom: 84px; }

/* Mini calendar */
.mini-cal { display: grid; gap: .8rem; }
.mc-month h4 { margin: 0 0 .3rem; font-size: .9rem; font-family: var(--font); }
.mc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; font-size: .8rem; text-align: center; }
.mc-grid span { padding: .35rem 0; border-radius: 6px; }
.mc-grid .dow { color: var(--muted); font-weight: 600; font-size: .7rem; }
.mc-grid button { font: inherit; border: 0; background: none; padding: .38rem 0; border-radius: 6px; cursor: pointer; color: var(--ink); min-height: 32px; }
.mc-grid button:hover { background: var(--teal-l); }
.mc-grid .sold, .mc-grid button:disabled { color: #b8b8b8; text-decoration: line-through; cursor: not-allowed; background: none; }
.mc-grid .past, .mc-grid button.past:disabled { color: #ccc; text-decoration: none; }
.mc-grid .sel { background: var(--teal) !important; color: #fff; }
.mc-grid .range { background: var(--teal-l); }
.mc-nav { display: flex; justify-content: space-between; }
.legend { display: flex; align-items: center; gap: .4rem; margin: 0; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; } .dot-sold { background: #ccc; }

/* Checkout */
.checkout { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1fr 360px; align-items: start; } .summary { position: sticky; top: 84px; } }
.steps { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.steps span { padding: .3rem .7rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.steps .done { background: var(--ok-bg); color: var(--ok); border-color: #bfe3cd; }
.steps .current { background: var(--teal); color: #fff; border-color: var(--teal); }
.hold-timer { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: .7rem 1rem; margin-bottom: 1rem; font-size: .95rem; }
.hold-timer.expired { background: var(--bad-bg); color: var(--bad); }
.kyc-box { background: var(--sand); border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; gap: .8rem; }
.kyc-box h3 { margin: 0; }
.pay-box.disabled { opacity: .6; }
.tabs { display: flex; gap: .4rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.tab { background: none; border: 0; padding: .7rem 1rem; font: 600 .95rem var(--font); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tab.active { color: var(--teal); border-bottom-color: var(--teal); }
.tab-panel form { display: flex; flex-direction: column; gap: .8rem; }
.mpesa-status { text-align: center; padding: 1rem; background: var(--ok-bg); border-radius: 12px; margin: .8rem 0; }
.mpesa-status.failed { background: var(--bad-bg); color: var(--bad); }
.spinner { width: 36px; height: 36px; margin: 0 auto .6rem; border: 4px solid #cfe9d6; border-top-color: var(--mpesa); border-radius: 50%; animation: spin 1s linear infinite; }
.mpesa-status.failed .spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .8rem 0; }
.dates > div { background: var(--sand); border-radius: 10px; padding: .6rem .75rem; display: flex; flex-direction: column; }
.confirm-hero .big-check { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 1rem; }
.confirm-hero .big-check .ico { width: 34px; height: 34px; }
.ref { font-family: ui-monospace, monospace; letter-spacing: .05em; background: var(--sand); padding: .1em .4em; border-radius: 6px; }
.checklist { list-style: none; padding: 0; } .checklist li { margin-bottom: .5rem; } .checklist .ico { color: var(--ok); }

/* Account */
.account-layout { display: grid; gap: 1.25rem; }
.account-nav { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .3rem; -webkit-overflow-scrolling: touch; }
.account-nav a { white-space: nowrap; padding: .55rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .9rem; }
.account-nav a.active { background: var(--teal); color: #fff; border-color: var(--teal); }
@media (min-width: 900px) {
  .account-layout { grid-template-columns: 230px 1fr; align-items: start; }
  .account-nav { flex-direction: column; position: sticky; top: 84px; }
  .account-nav a { border-radius: 10px; }
}
.account-main h1 { margin-top: 0; }
.page-title-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.page-title-row h1 { margin: 0; }
.booking-row { display: flex; justify-content: space-between; gap: 1rem; text-decoration: none; color: var(--ink); }
.booking-row:hover { border-color: var(--teal); }
.empty { text-align: center; }
.danger-zone { border-color: #f5c2bd; }
.cancel-box summary, details.card summary { cursor: pointer; font-weight: 600; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 2rem; color: #ddd; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }
.qr { width: 180px; height: 180px; background: #fff; padding: 8px; border: 1px solid var(--line); border-radius: 8px; margin: 1rem 0; }
.secret { font-size: 1rem; letter-spacing: .05em; }

/* Tables & badges */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-weight: 600; background: #faf8f4; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.table tfoot th { background: var(--teal-l); color: var(--ink); text-transform: none; font-size: .9rem; }
.table.small td { font-size: .85rem; }
.row-alert td { background: #fff7f6; }
.badge { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); } .badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); } .badge-info { background: var(--info-bg); color: var(--info); }
.badge-muted { background: #eee; color: #666; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0 0 1rem; }
dl.kv dt { color: var(--muted); } dl.kv dd { margin: 0; overflow-wrap: anywhere; }

/* FAQ, legal, prose */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; padding: .9rem 1rem; }
.faq summary { cursor: pointer; font-weight: 600; } .faq p { margin: .6rem 0 0; color: var(--muted); }
.prose { max-width: 72ch; } .prose li { margin-bottom: .35rem; }
.legal-layout { display: grid; gap: 1.5rem; }
.legal-nav { display: flex; gap: .4rem; overflow-x: auto; }
.legal-nav a { white-space: nowrap; padding: .45rem .8rem; border-radius: 8px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); font-size: .9rem; }
.legal-nav a.active { background: var(--teal); color: #fff; border-color: var(--teal); }
@media (min-width: 900px) { .legal-layout { grid-template-columns: 240px 1fr; } .legal-nav { flex-direction: column; position: sticky; top: 84px; align-self: start; } }
.contact-tiles { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.tile { display: flex; flex-direction: column; gap: .2rem; text-decoration: none; color: var(--ink); margin: 0; }
.tile .ico { color: var(--teal); width: 26px; height: 26px; }
.error-code { font-family: var(--display); font-size: 4rem; color: var(--teal); margin: 0; }

/* Footer */
.site-footer { background: #0a3d3d; color: #fff; padding: 40px 0 calc(24px + env(safe-area-inset-bottom)); margin-top: 40px; font-size: .92rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; display: block; padding: .2rem 0; }
.site-footer a:hover { color: var(--gold); }
.site-footer h4 { color: var(--gold); font-family: var(--font); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid { display: grid; gap: 1.8rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.compliance dl { display: grid; grid-template-columns: auto 1fr; gap: .15rem .8rem; margin: 0; font-size: .82rem; }
.compliance dt { color: rgba(255,255,255,.6); } .compliance dd { margin: 0; }
.pay-badges { display: flex; gap: .4rem; margin-top: 1rem; } .pay-badges span { border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: .15rem .5rem; font-size: .75rem; font-weight: 700; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.8rem; padding-top: 1rem; font-size: .8rem; color: rgba(255,255,255,.65); }
.footer-bottom a { display: inline; }

/* Floating WhatsApp & cookie banner */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 35; }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.2); padding: 1rem; z-index: 60; font-size: .9rem; max-width: 560px; }
.cookie p { margin: 0 0 .8rem; } .cookie-actions { display: flex; gap: .5rem; justify-content: flex-end; } .cookie-actions .btn { flex: 1; padding-left: .6rem; padding-right: .6rem; }
@media (min-width: 720px) { .cookie { left: 24px; right: auto; bottom: 24px; } }

/* ---------------- Admin ---------------- */
body.admin { background: #F4F6F6; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-side { width: 250px; background: #0a3d3d; color: #fff; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; position: fixed; inset: 0 auto 0 0; transform: translateX(-100%); transition: transform .2s; z-index: 50; overflow-y: auto; }
.admin-side.open { transform: none; }
.admin-side nav { display: flex; flex-direction: column; gap: 2px; }
.admin-side nav a, .admin-side-foot a, .admin-side-foot .linklike { color: rgba(255,255,255,.85); text-decoration: none; padding: .55rem .7rem; border-radius: 8px; display: flex; gap: .55rem; align-items: center; font-size: .92rem; }
.admin-side nav a:hover { background: rgba(255,255,255,.08); }
.admin-side nav a.active { background: var(--teal); color: #fff; }
.admin-side-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.12); padding-top: .8rem; }
.admin-main { flex: 1; min-width: 0; }
.admin-top { display: flex; align-items: center; gap: .8rem; padding: .8rem 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.25rem; margin: 0; flex: 1; }
.admin-content { padding: 16px; }
.admin .flashes { padding: 1rem 16px 0; max-width: none; }
@media (min-width: 1000px) {
  .admin-side { position: sticky; top: 0; height: 100vh; transform: none; }
  .admin-toggle { display: none; }
  .admin-content { padding: 24px; }
}
.stats { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); margin-bottom: 1rem; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.stat span { font-size: .8rem; color: var(--muted); } .stat strong { font-size: 1.45rem; font-family: var(--display); color: var(--teal-d); } .stat small { color: var(--muted); }
.stat-alert { border-color: var(--bad); } .stat-alert strong { color: var(--bad); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 140px; }
.bar { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bar span { display: block; width: 100%; height: var(--h); min-height: 2px; background: var(--teal); border-radius: 3px 3px 0 0; }
.bar:hover span { background: var(--gold); }
.bars-axis { display: flex; justify-content: space-between; margin-top: .3rem; }
.hbars { display: grid; gap: .4rem; margin-bottom: 1rem; }
.hbar { display: grid; grid-template-columns: 160px 1fr 110px; gap: .6rem; align-items: center; }
.hbar div { background: var(--teal-l); border-radius: 4px; height: 14px; } .hbar i { display: block; height: 100%; background: var(--teal); border-radius: 4px; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.toolbar input, .toolbar select { width: auto; min-height: 38px; padding: .4rem .6rem; font-size: .9rem; }
.actions { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.inline-details { display: inline-block; } .inline-details summary { list-style: none; } .inline-details[open] form { margin-top: .4rem; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.thumbs figure { margin: 0; display: flex; flex-direction: column; gap: .3rem; } .thumbs img { border-radius: 8px; aspect-ratio: 3/2; object-fit: cover; }
.kyc-docs { display: grid; gap: .8rem; } .kyc-docs figure { margin: 0; } .kyc-docs img { border-radius: 8px; border: 1px solid var(--line); max-height: 420px; object-fit: contain; background: #f5f5f5; width: 100%; }
.muted-card { opacity: .6; }
.cal-grid { border-collapse: collapse; font-size: .72rem; min-width: 900px; width: 100%; }
.cal-grid th, .cal-grid td { border: 1px solid #edf0f0; padding: 0; text-align: center; height: 34px; min-width: 26px; }
.cal-grid thead th { background: #faf8f4; font-weight: 600; padding: .2rem 0; }
.cal-grid .sticky { position: sticky; left: 0; background: #fff; z-index: 2; padding: 0 .5rem; text-align: left; white-space: nowrap; min-width: 80px; }
.cal-grid th.today { background: var(--gold); color: #fff; } .cal-grid th.wkend { color: var(--teal); }
.cal-grid .cell a { display: block; height: 100%; line-height: 34px; color: #fff; text-decoration: none; overflow: hidden; white-space: nowrap; font-weight: 600; text-align: left; padding-left: 2px; }
.cell.confirmed, .cal-key.confirmed { background: var(--teal); } .cell.checked_in, .cal-key.checked_in { background: #0B5CAD; }
.cell.pending, .cal-key.pending { background: var(--gold); } .cell.completed, .cal-key.completed { background: #9aa5a5; }
.cell.blocked, .cal-key.blocked { background: repeating-linear-gradient(45deg, #ddd, #ddd 4px, #f4f4f4 4px, #f4f4f4 8px); }
.cell.maint { background: var(--bad-bg); }
.cal-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: .6rem; vertical-align: -1px; }

@media print {
  .admin-side, .admin-top, .toolbar, .site-header, .site-footer, .wa-float, .cookie { display: none !important; }
  .admin-content { padding: 0; } .card { box-shadow: none; border: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Prevent grid/fieldset children from forcing horizontal scroll on small phones */
.legal-layout > *, .account-layout > *, .listing-layout > *, .checkout > *, .split > *, .grid > *, .form-grid-2 > *, .form-grid-3 > * { min-width: 0; }
fieldset { min-width: 0; }
@media (max-width: 480px) { dl.kv { grid-template-columns: 1fr; gap: .1rem; } dl.kv dd { margin-bottom: .5rem; } }
.card > h2:first-child, .card > h3:first-child, .card form > h2:first-of-type { margin-top: 0; }
body.admin h2 { font-size: 1.1rem; }
@media (max-width: 959px) { .checkout .summary { order: -1; } }

/* =====================================================================
   PREMIUM THEME LAYER — "Westlands finish, Kitengela calm"
   ===================================================================== */
:root { --ink: #0F1B1B; --ink-2: #16292A; --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif; --gold-l: #E6CD7A; }
body { font-family: var(--font); letter-spacing: -.005em; }
h1, h2, .display, .display-sm { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h3, h4 { font-family: var(--font); font-weight: 600; letter-spacing: -.01em; }
.display { font-size: clamp(2.6rem, 8.5vw, 5.4rem); line-height: .98; margin: 0 0 1rem; color: #fff; }
.display em { font-style: italic; color: var(--gold-l); font-weight: 500; }
.display-sm { font-size: clamp(2rem, 5.2vw, 3.2rem); line-height: 1.05; margin: .2rem 0 .6rem; }
.display-sm.light, .light { color: #fff; }
.gold { color: var(--gold-l); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 600 .74rem/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 1rem; }
.eyebrow.dark { color: var(--gold-d); }
.eyebrow .rule { width: 28px; height: 1px; background: currentColor; display: inline-block; }
.center .eyebrow { justify-content: center; }
.narrow-p { max-width: 60ch; margin-left: auto; margin-right: auto; }
.section { padding: 56px 0; } @media (min-width: 900px) { .section { padding: 96px 0; } }
.section-head { margin-bottom: 2rem; }
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .5rem 2rem; }
.split-head p { margin: 0; }
.btn { border-radius: 999px; letter-spacing: .01em; }
.btn-gold { background: linear-gradient(135deg, #D9B43A, #B8901C); color: #1b1400; box-shadow: 0 6px 20px rgba(201,162,39,.35); }
.btn-gold:hover { background: linear-gradient(135deg, #C9A227, #9F7B14); color: #fff; }
.btn-primary { background: var(--ink); } .btn-primary:hover { background: var(--teal-d); }
.card { border-radius: 18px; border-color: rgba(15,27,27,.08); }

/* Header — transparent over the hero on the homepage */
.site-header { backdrop-filter: saturate(1.4) blur(10px); background: rgba(255,255,255,.92); }
.brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .01em; }
.brand strong { color: var(--ink); font-weight: 600; }
.is-home .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background .3s, border-color .3s; }
.is-home .site-header .brand, .is-home .site-header .brand strong, .is-home .site-header .nav-toggle { color: #fff; }
@media (min-width: 900px) { .is-home .site-header .nav-menu a:not(.btn), .is-home .site-header .nav-menu .linklike { color: rgba(255,255,255,.92); } }
.is-home .site-header.scrolled { background: rgba(15,27,27,.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom-color: rgba(255,255,255,.08); }
.is-home .flashes { padding-top: 84px; }
.nav-menu .btn-gold { color: #1b1400 !important; }

/* Hero slideshow */
.hero-x { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero-slides, .hero-slide { position: absolute; inset: 0; margin: 0; }
.hero-slide { opacity: 0; transition: opacity 1.4s ease; z-index: -2; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
.hero-slide:nth-child(even).is-active img { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.02) translate(0,0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes kenburns2 { from { transform: scale(1.14) translate(1.5%, 0); } to { transform: scale(1.02) translate(0, 0); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10,20,20,.55) 0%, rgba(10,20,20,.15) 30%, rgba(10,20,20,.35) 60%, rgba(10,20,20,.88) 100%),
  radial-gradient(ellipse at 20% 80%, rgba(10,20,20,.55), transparent 60%); }
.hero-x-inner { padding-top: 110px; padding-bottom: 28px; position: relative; }
.hero-x .lead { color: rgba(255,255,255,.9); max-width: 54ch; font-size: clamp(1rem, 2.4vw, 1.2rem); }
.ready-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.ready-chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.ready-chips .ico { color: var(--gold-l); }
.hero-x .search { background: rgba(255,255,255,.97); border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.35); margin-top: 1.6rem; }
.hero-x .search .btn-search { border-radius: 14px; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 22px; position: relative; }
.hero-caption { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: rgba(255,255,255,.85); transition: opacity .5s; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 34px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hero-dots i { display: block; height: 3px; width: 100%; background: rgba(255,255,255,.35); border-radius: 2px; position: relative; overflow: hidden; }
.hero-dots button.is-active i::after { content: ''; position: absolute; inset: 0; background: var(--gold-l); transform-origin: left; animation: dotprog 6.5s linear forwards; }
@keyframes dotprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 900px) { .hero-x-inner { padding-bottom: 40px; } .hero-x .search { max-width: 1060px; } }
@media (max-width: 600px) { .hero-caption { display: none; } .hero-foot { justify-content: center; } }

/* Ready grid */
.ready-section { background: linear-gradient(180deg, var(--cream), #fff); }
.ready-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 900px) { .ready-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } }
.ready-card { background: #fff; border: 1px solid rgba(15,27,27,.07); border-radius: 18px; padding: 1.2rem; transition: transform .25s, box-shadow .25s; }
.ready-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15,27,27,.08); }
.ready-card h3 { margin: .8rem 0 .3rem; font-size: 1rem; }
.ready-card p { margin: 0; font-size: .88rem; color: var(--muted); }
.ready-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--gold-l); }
@media (min-width: 900px) { .ready-card { padding: 1.6rem; } .ready-card h3 { font-size: 1.1rem; } }

/* Dark section with suites */
.section-ink { background: radial-gradient(ellipse at top right, #1d3a3a, var(--ink) 60%); color: #fff; }
.section-ink .listing-card { background: #fff; color: var(--ink); border: 0; }
.listing-card { transition: transform .3s, box-shadow .3s; }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.card-media { aspect-ratio: 4/3; }
.card-media img { transition: transform .8s ease; }
.listing-card:hover .card-media img { transform: scale(1.06); }
.chip { background: rgba(15,27,27,.72); color: #fff; backdrop-filter: blur(6px); letter-spacing: .02em; }
.chip-count { left: auto; right: .75rem; display: inline-flex; align-items: center; gap: .3rem; }
.price strong { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }

/* Tour mosaic */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; grid-auto-flow: dense; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; } }
.mosaic-item { position: relative; overflow: hidden; border-radius: 14px; display: block; background: var(--sand); }
.mosaic-item.tall { grid-row: span 2; }
.mosaic-item.wide { grid-column: span 2; grid-row: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .4s; }
.mosaic-item:hover img { transform: scale(1.06); }
.mosaic-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .6rem; font-size: .8rem; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transform: translateY(6px); transition: .3s; }
.mosaic-item:hover .mosaic-cap, .mosaic-item:focus .mosaic-cap { opacity: 1; transform: none; }
@media (hover: none) { .mosaic-cap { opacity: 1; transform: none; } }

/* Listing page mosaic */
.lmosaic { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 1rem; border-radius: 18px; -webkit-overflow-scrolling: touch; }
.lm-item { position: relative; flex: 0 0 86%; aspect-ratio: 4/3; scroll-snap-align: start; overflow: hidden; border-radius: 14px; display: block; }
.lm-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lm-item:hover img { transform: scale(1.04); }
.lm-more { position: absolute; right: 12px; bottom: 12px; background: #fff; color: var(--ink); border-radius: 999px; padding: .45rem .8rem; font-size: .82rem; font-weight: 600; display: inline-flex; gap: .35rem; align-items: center; box-shadow: var(--shadow); }
@media (min-width: 900px) {
  .lmosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; overflow: hidden; }
  .lm-item { aspect-ratio: auto; border-radius: 0; }
  .lm-main { grid-row: span 2; }
  .lm-extra { display: none; }
  .lmosaic.few { grid-template-columns: 2fr 1fr; }
}
.gallery { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,14,14,.96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 94vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 94vw; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.lightbox figcaption { color: rgba(255,255,255,.85); font-family: var(--serif); font-style: italic; font-size: 1.1rem; margin-top: .8rem; text-align: center; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }
.lb-count { position: absolute; top: 26px; left: 20px; color: rgba(255,255,255,.7); font-size: .85rem; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 20px; } .lb-prev { left: 30%; } .lb-next { right: 30%; } }

/* Location card, packages, CTA */
.location-card { overflow: hidden; padding-top: 0; }
.location-photo { margin: 0 -1.5rem 1.2rem; width: calc(100% + 3rem); max-width: none; aspect-ratio: 16/9; object-fit: cover; }
@media (max-width: 639px) { .location-photo { margin: 0 -1.1rem 1rem; width: calc(100% + 2.2rem); } }
.package { border-radius: 18px; padding: 1.3rem; position: relative; transition: transform .25s; }
.package:hover { transform: translateY(-3px); }
.package.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.package.featured h3 { color: #fff; } .package.featured .muted { color: rgba(255,255,255,.7); } .package.featured .big { color: var(--gold-l); }
.package .big { font-family: var(--serif); font-size: 1.8rem; color: var(--teal-d); }
.pkg-flag { position: absolute; top: -10px; right: 14px; background: var(--gold); color: #1b1400; font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.cta-x { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.cta-x > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-x::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,20,20,.92), rgba(10,20,20,.55)); }
.cta-x-inner { padding: 80px 16px; } .cta-x p { color: rgba(255,255,255,.85); max-width: 46ch; }
@media (min-width: 900px) { .cta-x-inner { padding: 130px 16px; } }
.site-footer { background: var(--ink); margin-top: 0; }
.site-footer .brand { font-size: 1.6rem; }
.page-head { background: linear-gradient(180deg, var(--sand), var(--cream)); padding: 40px 0 28px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); }
.listing-hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin-bottom: .2rem; }
.booking-box { border-radius: 22px; box-shadow: 0 24px 60px rgba(15,27,27,.12); }
.booking-price strong { font-family: var(--serif); font-size: 2rem; color: var(--ink); }

/* Paybill panel */
.paybill { background: linear-gradient(135deg, #0F1B1B, #1d3a3a); color: #fff; border-radius: 18px; padding: 1.2rem; }
.paybill dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: .8rem 0 1rem; align-items: center; }
.paybill dt { color: rgba(255,255,255,.65); font-size: .85rem; }
.paybill dd { margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; display: flex; gap: .5rem; align-items: center; }
.copy-btn { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; font-size: .72rem; padding: .2rem .5rem; cursor: pointer; letter-spacing: 0; font-weight: 600; }
.paybill ol { padding-left: 1.2rem; margin: 0 0 1rem; font-size: .9rem; color: rgba(255,255,255,.85); }
.paybill .field span { color: #fff; }
.pay-note { background: var(--sand); border-radius: 12px; padding: .8rem 1rem; font-size: .88rem; }
@media (min-width: 900px) { .nav-menu { background: transparent; } }

/* =====================================================================
   THEME v3 — brand colours from the Mevaj logo (teal → copper)
   Component patterns adapted from the supplied Elementor/Phlox styles:
   gradient text, side-by-side titles, floating card panels that lift
   into a gradient on hover, gradient circles, pill inputs & glow buttons.
   ===================================================================== */
:root {
  --e-global-color-primary: #0F5A5E;   /* logo teal */
  --e-global-color-secondary: #DE8F55; /* logo copper */
  --e-global-color-text: #5B6B6D;
  --primary: var(--e-global-color-primary); --primary-d: #0A4346; --secondary: var(--e-global-color-secondary); --secondary-l: #F0B17D;
  --teal: var(--primary); --teal-d: var(--primary-d); --teal-l: #E4F0EF;
  --gold: var(--secondary); --gold-d: #B96C35; --gold-l: #F0B17D;
  --ink: #0B2F31; --muted: var(--e-global-color-text);
  --grad: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  --grad-v: linear-gradient(180deg, var(--secondary) 4%, var(--primary) 84%);
  --grad-text: linear-gradient(271deg, var(--secondary) 0%, var(--primary) 100%);
  --grad-text-light: linear-gradient(271deg, #F6C79C 0%, var(--secondary) 100%);
  --glow: 0 6px 35px rgba(15, 90, 94, .38);
  --glow-copper: 0 3px 25px rgba(222, 143, 85, .5);
  --ease-lux: cubic-bezier(0.19, 1, 0.22, 1);
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Nunito', system-ui, sans-serif;
  --display: 'Nunito', system-ui, sans-serif;
}
body { font-family: var(--font); color: #1E2A2B; }
h1, h2, h3, .display, .display-sm { font-family: var(--font); letter-spacing: -.02em; }
h1, h2, .display, .display-sm { font-weight: 800; }
.display { font-size: clamp(2.4rem, 7.6vw, 4.8rem); line-height: 1.02; }
.display-sm { font-size: clamp(1.8rem, 4.4vw, 2.75rem); line-height: 1.12; }

/* --- Text gradient (aux-head-highlight) --- */
.head-highlight, .display em, .display-sm em {
  font-style: normal; background: var(--secondary); background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-x .display em, .section-ink .display-sm em, .cta-x .display-sm em { background: var(--grad-text-light); -webkit-background-clip: text; background-clip: text; }
.eyebrow { color: var(--secondary-l); letter-spacing: .2em; font-weight: 800; }
.eyebrow.dark { color: var(--secondary); }
.eyebrow .rule { height: 3px; width: 30px; border-radius: 3px; background: var(--grad); }

/* --- Side-by-side title (aux-modern-heading) --- */
.split-head { display: block; overflow: hidden; }
.split-head > div { display: inline-block; max-width: 560px; vertical-align: bottom; }
.split-head > p { display: inline-block; float: right; margin-top: 24px !important; max-width: 447px; }
@media (max-width: 1024px) { .split-head > p { float: none; display: block; margin-top: .4rem !important; } }
@media (max-width: 1406px) and (min-width: 1025px) { .split-head .display-sm { font-size: 42px; max-width: 514px; } .split-head > p { font-size: 14px; } }

/* --- Buttons: gradient pill with glow --- */
.btn { border-radius: 150px; font-weight: 700; }
.btn-gold, .btn-primary, .btn-mpesa {
  background: var(--secondary); background: var(--grad); color: #fff; border: 0;
  text-transform: uppercase; letter-spacing: .48px; font-size: .88rem; box-shadow: var(--glow);
  transition: box-shadow .4s var(--ease-lux), transform .4s var(--ease-lux), filter .3s;
}
.btn-gold:hover, .btn-primary:hover, .btn-mpesa:hover { color: #fff; background: var(--grad); filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 10px 40px rgba(15, 90, 94, .5); }
.btn-mpesa { background: linear-gradient(90deg, #4CB848, #2E8B2A); box-shadow: 0 6px 30px rgba(46, 139, 42, .35); }
.btn-mpesa:hover { background: linear-gradient(90deg, #4CB848, #2E8B2A); }
.btn-ghost { border-radius: 150px; }
.btn-sm { padding: .5rem 1rem; font-size: .76rem; }
.nav-menu .btn-gold, .nav-menu a.btn { color: #fff !important; }
body.admin .btn { text-transform: none; letter-spacing: 0; font-size: .85rem; }
body.admin .btn-primary, body.admin .btn-gold { box-shadow: none; }

/* --- Pill inputs (public site) --- */
body:not(.admin) .form input:not([type=checkbox]):not([type=radio]):not([type=file]),
body:not(.admin) .form select, body:not(.admin) .search input, body:not(.admin) .search select,
body:not(.admin) [data-booking-form] input:not([type=checkbox]), body:not(.admin) [data-booking-form] select {
  background: #F3F3F3; border: 1.5px solid transparent; border-radius: 100px; padding-left: 20px; min-height: 50px;
}
body:not(.admin) .form textarea { background: #F3F3F3; border: 1.5px solid transparent; border-radius: 22px; padding: 14px 20px; }
body:not(.admin) input:focus, body:not(.admin) select:focus, body:not(.admin) textarea:focus { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15, 90, 94, .12); }
.search .btn-search { border-radius: 100px !important; min-height: 50px; }
::placeholder { color: var(--e-global-color-text); opacity: .8; font-weight: 400; }

/* --- Header & brand logo --- */
.brand-logo { height: 46px; width: auto; display: block; }
.brand-logo.light { display: none; }
.is-home .site-header:not(.scrolled) .brand-logo.dark { display: none; }
.is-home .site-header:not(.scrolled) .brand-logo.light { display: block; }
.is-home .site-header.scrolled { background: rgba(255, 255, 255, .95); border-bottom-color: var(--line); }
.is-home .site-header.scrolled .brand-logo.dark { display: block; }
.is-home .site-header.scrolled .brand-logo.light { display: none; }
@media (min-width: 900px) { .is-home .site-header.scrolled .nav-menu a:not(.btn), .is-home .site-header.scrolled .nav-menu .linklike { color: var(--ink); } }
.is-home .site-header.scrolled .nav-toggle { color: var(--ink); }
.site-footer { background: linear-gradient(160deg, #0B3436 0%, #082426 100%); }
.site-footer h4 { color: var(--secondary-l); }
.footer-logo { height: 54px; width: auto; margin-bottom: .8rem; }

/* --- Hero tint in brand teal --- */
.hero-shade { background: linear-gradient(180deg, rgba(8, 38, 40, .55) 0%, rgba(8, 38, 40, .12) 32%, rgba(8, 38, 40, .38) 60%, rgba(6, 30, 32, .92) 100%), radial-gradient(ellipse at 15% 85%, rgba(15, 90, 94, .55), transparent 60%); }
.ready-chips li { background: rgba(255, 255, 255, .12); }
.ready-chips .ico { color: var(--secondary-l); }
.hero-dots button.is-active i::after { background: var(--grad); }

/* --- Gradient circles (testimonial col-subtitle) on "ready" cards --- */
.ready-card { border-radius: 22px; position: relative; overflow: hidden; transition: all 1100ms var(--ease-lux); }
.ready-ico { width: 72px; height: 72px; border-radius: 100px; background: var(--secondary); background: var(--grad-v); color: #fff; box-shadow: var(--glow-copper); }
.ready-ico .ico { width: 30px; height: 30px; }
.ready-card h3 { position: relative; padding-bottom: 12px; margin-top: 1.1rem; }
.ready-card h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; border-radius: 3px; background: var(--secondary); background: linear-gradient(277deg, var(--secondary) 4%, var(--primary) 84%); }
.ready-card:hover { background: var(--grad-v); transform: translateY(-10px); box-shadow: var(--glow-copper); }
.ready-card:hover h3, .ready-card:hover p { color: #fff; }
.ready-card:hover h3::after { background: #fff; }
.ready-card:hover .ready-ico { background: #fff; color: var(--primary); }

/* --- Suites section (portfolio: floating panel that lifts into a gradient) --- */
.section-ink { background: radial-gradient(ellipse at top right, #145F63 0%, #0B3436 55%, #082426 100%); }
.section-ink .grid-2 { gap: 2.5rem 2rem; }
.listing-card { background: transparent !important; border: 0; box-shadow: none; overflow: visible; margin-bottom: 1rem; }
.listing-card:hover { transform: none; box-shadow: none; }
.listing-card .card-media { border-radius: 22px; box-shadow: 0 10px 35px rgba(0, 0, 0, .29); }
.listing-card .card-body {
  position: relative; z-index: 2; width: 88%; margin: -64px auto 0; background: #fff; border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .22); padding: 1.1rem 1.2rem 1.2rem; transition: all 1100ms var(--ease-lux);
}
.listing-card .card-top h3 { position: relative; padding-left: 40px; }
.listing-card .card-top h3::before { content: ''; position: absolute; left: 0; top: .6em; width: 30px; height: 6px; border-radius: 8px; background: linear-gradient(277deg, var(--secondary) 4%, var(--primary) 84%); }
.listing-card:hover .card-body { background: var(--secondary); background: var(--grad-v); box-shadow: var(--glow-copper); transform: translateY(-35px); }
.listing-card:hover .card-body, .listing-card:hover .card-body a, .listing-card:hover .card-body .muted, .listing-card:hover .facts, .listing-card:hover .price strong, .listing-card:hover .price .muted { color: #fff !important; }
.listing-card:hover .card-top h3::before { background: #fff; }
.listing-card:hover .card-body .btn-primary { background: #fff; color: var(--primary) !important; box-shadow: none; }
@media (max-width: 767px) { .listing-card .card-body { width: calc(100% - 20px); margin-top: -40px; } .listing-card:hover .card-body { transform: translateY(-12px); } }
.chip { background: rgba(11, 47, 49, .72); }

/* --- Images (team/blog radius) --- */
.mosaic-item, .lm-item, .location-photo { border-radius: 22px; }
@media (min-width: 900px) { .lmosaic { border-radius: 22px; } }
.mosaic-item:hover { box-shadow: var(--glow); }

/* --- Packages as blog-style cards: lift into gradient on hover --- */
.package { border: 0; box-shadow: 0 3px 45px rgba(0, 0, 0, .10); border-radius: 15px; transition: all 1100ms var(--ease-lux); }
.package .big { color: var(--primary); font-family: var(--font); font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.package:hover, .package.featured { background: var(--secondary); background: var(--grad-v); box-shadow: var(--glow-copper); transform: translateY(-12px); }
.package:hover h3, .package:hover .muted, .package.featured h3, .package.featured .muted { color: #fff; }
.package:hover .big, .package.featured .big { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.pkg-flag { background: #fff; color: var(--primary); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }

/* --- Feature list & misc --- */
.features .fi { border-radius: 100px; background: var(--grad-v); color: #fff; box-shadow: var(--glow-copper); }
.booking-price strong, .price strong { font-family: var(--font); font-weight: 800; }
.card { border-radius: 15px; }
.section-cream { background: linear-gradient(180deg, #FBF6F0, #F6EFE6); }
.cta-x::before { background: linear-gradient(90deg, rgba(8, 36, 38, .94), rgba(15, 90, 94, .55)); }
.steps .current { background: var(--grad); border-color: transparent; }
.tab.active { color: var(--primary); border-bottom-color: var(--secondary); }
.paybill { background: linear-gradient(135deg, #0B3436, #0F5A5E); }
.hold-timer { border-radius: 100px; }
.account-nav a.active, .legal-nav a.active { background: var(--grad); border-color: transparent; }
.admin-side { background: linear-gradient(180deg, #0B3436, #082426); }
.admin-side nav a.active { background: var(--grad); }
.stat strong { color: var(--primary); font-family: var(--font); }
.badge-ok { background: #E1F2EC; color: #0F6B4F; }
a { color: var(--primary); }
.rules-list { padding-left: 1.3rem; } .rules-list li { margin-bottom: .7rem; } .rules-list li::marker { color: var(--secondary); font-weight: 800; }
.display em, .display-sm em { font-weight: 800; }
@media (min-width: 900px) { .brand-logo { height: 54px; } }
.chip-soon { left: auto; right: .75rem; background: var(--grad); color: #fff; }
.chip-soon.static { position: static; display: inline-block; margin-bottom: .6rem; }
.soon-box h3 { font-size: 1.3rem; margin: .2rem 0 .6rem; }
.mobile-book-bar[hidden] { display: none; }
.minor-box { border: 1px dashed #cfe0e0; border-radius: 14px; padding: 10px 14px; margin: 8px 0 14px; }
.minor-box summary { cursor: pointer; color: var(--primary, #0F5A5E); }

/* ---- Referral partners ---- */
.ref-link { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; background: var(--sand); border-radius: 12px; padding: .7rem .9rem; margin: .4rem 0 .8rem; }
.ref-link code { font-size: .95rem; word-break: break-all; flex: 1 1 14rem; }
.copy-btn.copy-light { background: #fff; color: var(--ink); border-color: var(--line); padding: .35rem .7rem; }
.ref-code summary { cursor: pointer; color: var(--muted, #6b7280); margin: .2rem 0 .4rem; }
.stats .stat small { display: block; color: #6b7280; font-size: .75rem; margin-top: .2rem; }
.inline-form { display: inline-flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.inline-form input { max-width: 11rem; }
