@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #1e211b;
  --bg2: #191c15;
  --deep: #14170f;
  --panel: #262a22;
  --line: rgba(242, 240, 233, .14);
  --line-strong: rgba(242, 240, 233, .3);
  --ink: #f2f0e9;
  --ink-soft: #d9d6cb;
  --muted: #a5a396;
  --cream: #cfcdc2;
  --mpesa: #23d170;
  --mpesa-deep: #17a95a;
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  --radius: 16px;
  --font-display: "Great Vibes", "Segoe Script", cursive;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--brand);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* faint brand watermark behind everything */
body::after {
  content: "";
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0;
  width: min(58vw, 560px); aspect-ratio: 1;
  background: url("images/logo.jpeg") center / contain no-repeat;
  opacity: .06; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
::selection { background: var(--ink); color: var(--deep); }
[id] { scroll-margin-top: 92px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }
.container { max-width: 1180px; margin: auto; padding-left: 24px; padding-right: 24px; }

/* ---------- header ---------- */
header {
  background: rgba(30, 33, 27, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 46px; width: auto; display: block; }
.links { display: flex; align-items: center; gap: 26px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.links a { padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .18s, border-color .18s; }
.links a:hover { color: var(--ink); }
.links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.links a.button { border-bottom: 0; padding: 12px 18px; color: var(--deep); }

.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  border: 0; border-radius: 11px;
  background: var(--ink);
  color: var(--deep); font-weight: 800; font-size: 13.5px; padding: 13px 20px; cursor: pointer;
  transition: filter .18s, transform .18s, box-shadow .18s;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}
.button:hover { filter: brightness(.92); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
.button.secondary:hover { background: rgba(242, 240, 233, .08); }
.button.pay { background: linear-gradient(140deg, var(--mpesa), var(--mpesa-deep)); color: #fff; box-shadow: 0 10px 26px rgba(35, 209, 112, .3); }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 40px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 11px; cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }

/* ---------- hero slideshow + welcome overlay ---------- */
.kicker {
  color: var(--muted); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2.6px; margin: 0 0 16px;
}
.page-head h1 { font-size: clamp(56px, 8.4vw, 100px); line-height: 1.06; margin: 0; color: var(--ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.showcase { position: relative; height: calc(100vh - 76px); min-height: 560px; background: var(--deep); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s cubic-bezier(.45, 0, .25, 1); }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide .shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 23, 15, .88) 0%, rgba(20, 23, 15, .45) 46%, rgba(20, 23, 15, .18) 100%); }
.welcome { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.welcome .kicker { color: var(--cream); }
.welcome h1 { font-size: clamp(52px, 7.6vw, 92px); line-height: 1.08; margin: 0; color: var(--ink); max-width: 640px; }
.welcome p { color: var(--cream); font-size: 16.5px; max-width: 470px; margin: 20px 0 28px; }
.slide-cap { position: absolute; right: 0; bottom: 0; z-index: 1; padding: 0 24px 28px; }
.cap-inner {
  width: min(400px, 84vw); margin-left: auto; text-align: right; color: #fff;
  opacity: 0; transform: translateY(14px); transition: opacity .9s .3s, transform .9s .3s;
}
.slide.active .cap-inner { opacity: 1; transform: none; }
.cap-inner .kicker { color: var(--cream); margin-bottom: 4px; }
.cap-inner b { display: block; font-family: var(--font-body); font-size: clamp(19px, 2.2vw, 26px); letter-spacing: -.4px; font-weight: 700; }
.cap-inner span { display: block; color: var(--cream); font-size: 13px; margin-top: 6px; }

/* ---------- sections ---------- */
.section { padding-top: 88px; padding-bottom: 88px; }
.section.pale { background: var(--bg2); }
.section.white { background: var(--brand); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 38px; }
.section-head h2, .page-head h2 { font-size: clamp(42px, 5.6vw, 64px); line-height: 1.12; margin: 0; color: var(--ink); }
.section-head p { color: var(--muted); max-width: 340px; margin: 0; font-size: 14.5px; }
.page-head { padding-top: 64px; padding-bottom: 40px; }
.page-head p { color: var(--muted); max-width: 560px; font-size: 16px; margin: 18px 0 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card-number { color: var(--cream); font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.card h3 { margin: 22px 0 8px; font-size: 27px; line-height: 1.15; color: var(--ink); }
.card p { color: var(--muted); font-size: 13.5px; margin: 0; }
.price-card { border-top: 3px solid var(--ink); }
.price { color: var(--ink); font-size: 28px; font-weight: 800; margin-top: 22px; letter-spacing: -.5px; }
.price small { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.card.soon { border-style: dashed; opacity: .85; }
.soon-tag {
  position: absolute; top: 20px; right: 20px; background: rgba(242, 240, 233, .1);
  color: var(--cream); font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 6px 11px; border-radius: 999px;
}
.soon-note { color: var(--muted); font-size: 13px; margin: 18px 0 0; }

.feature {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow); margin-bottom: 34px;
}
.feature img { width: 100%; height: 340px; object-fit: cover; display: block; }
.feature .inner { padding: 34px 38px 34px 6px; }
.feature h3 { font-size: clamp(36px, 4.2vw, 46px); line-height: 1.12; margin: 0 0 12px; color: var(--ink); }
.feature p { color: var(--muted); font-size: 14.5px; max-width: 420px; margin: 0 0 6px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; color: var(--ink); font-size: 13.5px; font-weight: 800; }
.text-link:hover { color: var(--cream); }
.tick { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; font-size: 13.5px; color: var(--muted); }
.tick li:before { content: '✓'; color: var(--mpesa); font-weight: 800; margin-right: 9px; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-item {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.process-item b {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  background: rgba(242, 240, 233, .1); color: var(--ink); font-size: 15px;
}
.process-item h3 { font-size: 27px; line-height: 1.15; margin: 18px 0 8px; color: var(--ink); }
.process-item p { color: var(--muted); font-size: 13.5px; margin: 0; }

.cta-band {
  background: linear-gradient(120deg, var(--deep) 0%, #2a2e25 130%);
  border: 1px solid var(--line);
  border-radius: 22px; color: #fff; padding: 46px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(38px, 4.6vw, 54px); line-height: 1.1; color: var(--ink); }
.cta-band p { margin: 0; color: var(--muted); font-size: 14px; max-width: 460px; }

/* ---------- booking + payment ---------- */
.booking-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: start; }
.booking-form {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 32px; box-shadow: var(--shadow);
}
fieldset { border: 0; padding: 0 0 26px; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
fieldset:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
legend { font-weight: 800; font-size: 15px; padding: 0; margin-bottom: 18px; letter-spacing: -.1px; color: var(--ink); }
.service {
  border: 1px solid var(--line-strong); background: rgba(242, 240, 233, .06); border-radius: 13px;
  padding: 16px 18px; display: flex; justify-content: space-between; gap: 15px; align-items: center;
}
.service strong { display: block; font-size: 15px; color: var(--ink); }
.service span { font-size: 11.5px; color: var(--muted); }
.bucket-row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--ink); }
.stepper { display: flex; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--deep); }
.stepper button { border: 0; background: rgba(242, 240, 233, .08); color: var(--ink); width: 42px; height: 40px; font-size: 19px; cursor: pointer; transition: background .15s; }
.stepper button:hover { background: rgba(242, 240, 233, .18); }
.stepper input { width: 46px; border: 0; background: transparent; text-align: center; font-weight: 700; color: var(--ink); }
.stepper input:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--cream); font-size: 12.5px; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; background: var(--deep);
  padding: 12px 13px; color: var(--ink); outline: 0; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #767568; }
.field input:focus, .field textarea:focus { border-color: var(--line-strong); box-shadow: 0 0 0 3px rgba(242, 240, 233, .1); }
.field textarea { min-height: 78px; resize: vertical; }

/* calendar + time slots */
.when-note { color: var(--muted); font-size: 12.5px; margin: -6px 0 14px; }
.when { display: grid; grid-template-columns: 1.05fr .95fr; gap: 16px; }
.when.invalid { outline: 2px solid #e0653a; outline-offset: 5px; border-radius: 14px; }
.cal, .slots-wrap { background: var(--deep); border: 1px solid var(--line); border-radius: 13px; padding: 15px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--ink); font-weight: 700; font-size: 14px; }
.cal-head button {
  width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line);
  background: rgba(242, 240, 233, .08); color: var(--ink); cursor: pointer; font-size: 14px;
}
.cal-head button:hover:not(:disabled) { background: rgba(242, 240, 233, .18); }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 10.5px; color: var(--muted); font-weight: 800; letter-spacing: .6px; margin-bottom: 6px; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-days button {
  height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel);
  color: var(--ink); font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.cal-days button:hover:not(:disabled) { background: rgba(242, 240, 233, .08); border-color: var(--line-strong); }
.cal-days button:disabled { opacity: .3; cursor: default; }
.cal-days button[aria-pressed="true"] { background: var(--ink); border-color: transparent; color: var(--deep); font-weight: 800; }
.cal-days .blank { visibility: hidden; }
.slots-label { font-size: 11.5px; color: var(--muted); font-weight: 800; display: block; margin-bottom: 11px; letter-spacing: .4px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slots button {
  padding: 10px 0; border-radius: 9px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); font-size: 12.5px; font-weight: 700;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.slots button:hover { background: rgba(242, 240, 233, .08); border-color: var(--line-strong); }
.slots button[aria-pressed="true"] { background: var(--ink); border-color: transparent; color: var(--deep); }

/* payment panel */
.pay-panel { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.pay-panel .pay-head {
  background: linear-gradient(120deg, var(--mpesa), var(--mpesa-deep));
  color: #fff; padding: 14px 18px; font-weight: 800; font-size: 14px;
}
.pay-body { padding: 18px; background: var(--deep); }
.pay-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 11px;
  padding: 12px 14px; margin-bottom: 10px;
}
.pay-row span { font-size: 11.5px; color: var(--muted); display: block; }
.pay-row strong { font-size: 17px; letter-spacing: -.3px; color: var(--ink); }
.copy-btn {
  border: 1px solid var(--line-strong); background: rgba(242, 240, 233, .08); color: var(--ink);
  font-size: 11.5px; font-weight: 800; border-radius: 9px; padding: 8px 12px; cursor: pointer; transition: background .15s;
}
.copy-btn:hover { background: rgba(242, 240, 233, .18); }
.pay-steps { margin: 14px 0 4px; padding-left: 18px; color: var(--muted); font-size: 13px; }
.pay-steps li { margin-bottom: 6px; }
.pay-steps b { color: var(--ink); }

/* summary */
.summary {
  background: linear-gradient(165deg, var(--deep), #2a2e25);
  border: 1px solid var(--line);
  color: #fff; border-radius: 18px; padding: 32px; box-shadow: var(--shadow);
  position: sticky; top: 95px;
}
.summary h3 { font-size: 32px; line-height: 1.1; margin: 0 0 22px; color: var(--ink); }
.sum-row { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 13px 0; color: var(--muted); font-size: 13px; }
.sum-row strong { color: var(--ink); }
.total { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 22px; }
.total span { font-size: 12px; color: var(--muted); }
.total strong { font-size: 32px; letter-spacing: -.8px; color: var(--ink); font-weight: 800; }
.summary .button { width: 100%; margin-top: 24px; }
.form-status { min-height: 20px; font-size: 12.5px; margin: 12px 0 0; color: #ff9b7a; font-weight: 600; }
.form-status.ok { color: #7ee2a8; }

/* ---------- feedback / faq ---------- */
.rating-strip {
  display: flex; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 26px; margin-bottom: 26px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.rating-strip b { font-size: 36px; letter-spacing: -.8px; color: var(--ink); font-weight: 600; }
.rating-strip span { color: var(--muted); font-size: 13px; }

.feedback {
  margin-top: 30px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px; box-shadow: var(--shadow);
}
.feedback h3 { margin: 0 0 6px; color: var(--ink); font-size: 30px; line-height: 1.15; }
.feedback .sub { color: var(--muted); font-size: 13.5px; margin: 0 0 18px; }
.star-pick { display: flex; gap: 6px; margin-bottom: 16px; }
.star-pick button {
  border: 0; background: transparent; color: rgba(242, 240, 233, .22);
  font-size: 27px; cursor: pointer; line-height: 1; padding: 2px; transition: color .15s, transform .15s;
}
.star-pick button.on { color: var(--ink); }
.star-pick button:hover { transform: scale(1.15); }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 46px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 700; font-size: 14.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary:after { content: '+'; font-size: 18px; color: var(--cream); }
details[open] summary:after { content: '−'; }
details p { font-size: 13.5px; color: var(--muted); max-width: 460px; margin: 12px 0 0; }

/* ---------- footer ---------- */
footer { background: var(--brand); border-top: 1px solid var(--line); color: var(--muted); padding: 34px 0; font-size: 12.5px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-row .brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-row .brand .logo-img { height: 44px; }
.estd { font-size: 10px; font-weight: 700; letter-spacing: 3.2px; color: var(--muted); }
.footer-row span { color: var(--muted); }
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .feature, .booking-layout, .when { grid-template-columns: 1fr; }
  .feature .inner { padding: 26px; }
  .cards, .process { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .summary { position: static; }
}
@media (max-width: 800px) {
  .nav { height: 64px; }
  .container { padding-left: 18px; padding-right: 18px; }
  .menu-toggle { display: flex; }
  .logo-img { height: 36px; }
  .links {
    position: absolute; top: 64px; left: 0; right: 0; z-index: 39;
    background: var(--bg2); flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 18px 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .links a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .links a.button { margin-top: 12px; border-bottom: 0; color: var(--deep); }
  body.nav-open .links { display: flex; }
  body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .showcase { height: calc(100vh - 64px); min-height: 500px; }
  .slide-cap { display: none; }
  .welcome h1 { font-size: clamp(44px, 10vw, 64px); }
  .welcome p { font-size: 15px; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .cta-band { padding: 32px 26px; }
  .fields { grid-template-columns: 1fr; }
  .footer-row { display: block; }
  .footer-row span, .footer-links { display: block; margin-top: 10px; }
}
@media (max-height: 620px) {
  .showcase { min-height: 460px; }
  .welcome h1 { font-size: clamp(38px, 8vw, 56px); }
  .welcome p { font-size: 14px; margin: 14px 0 20px; }
  .slide-cap { display: none; }
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
