/* Twende Zanzibar — warm islander identity. Vanilla CSS, no build step. */

:root {
  --ink:        #15302c;
  --ink-soft:   #4a635d;
  --teal:       #0e7c86;
  --teal-deep:  #07484f;
  --coral:      #ff6a45;
  --coral-dk:   #e7542f;
  --gold:       #f0b53f;
  --sand:       #faf5ea;
  --sand-2:     #f1e7d3;
  --card:       #ffffff;
  --line:       #e7dcc6;
  --wa:         #1faf54;
  --wa-dk:      #18913f;
  --shadow:     0 10px 30px rgba(20, 48, 44, .10);
  --shadow-sm:  0 4px 14px rgba(20, 48, 44, .08);
  --radius:     18px;
  --radius-sm:  12px;
  --maxw:       1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--coral-dk); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .85rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--coral-dk); margin: 0 0 .5rem; }
.eyebrow.center { text-align: center; }

/* ---- Icons ---- */
.ic { width: 1.15em; height: 1.15em; vertical-align: -.18em; display: inline-block; }

/* ---- Top bar ---- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(250, 245, 234, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; }
.brand-mark .ic { width: 20px; height: 20px; }
.brand-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1; }
.brand-sub { color: var(--coral); margin-left: .25em; }
.footer-brand { font-size: 1.4rem; }

.mainnav { display: flex; align-items: center; gap: 22px; }
.mainnav a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.mainnav a.active, .mainnav a:hover { color: var(--coral-dk); }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--wa); color: #fff !important; padding: 8px 14px; border-radius: 999px; font-weight: 600; }
.nav-cta:hover { background: var(--wa-dk); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 1rem; padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .08s ease, box-shadow .15s ease, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--coral-dk); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dk); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal-deep); border-color: var(--teal-deep); }
.btn-ghost:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: #fff; color: var(--teal-deep); }
.btn.block { display: flex; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2rem; }
.cta-row.center { justify-content: center; }

/* ---- Sections ---- */
.site { display: block; }
.band { padding: 64px 0; }
.band-tint { background: var(--sand-2); }
.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.seeall { font-weight: 600; white-space: nowrap; }
.pagehead { padding: 56px 0 48px; }
.pagehead .lede { max-width: 640px; }
.lede { font-size: 1.18rem; color: var(--ink-soft); }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--teal-deep); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-art { position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(240,181,63,.38), transparent 55%),
    radial-gradient(110% 80% at 0% 110%, rgba(255,106,69,.42), transparent 55%),
    linear-gradient(160deg, rgba(10,91,100,.78) 0%, rgba(7,72,79,.82) 60%, rgba(6,54,59,.88) 100%);
}
.hero-art::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255,255,255,.10) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.08) 0 2px, transparent 3px);
  background-size: 90px 90px, 120px 120px;
}
.hero-inner { position: relative; z-index: 2; padding: 92px 22px 84px; max-width: 820px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--gold); }
.hero .lede { color: rgba(255,255,255,.92); font-size: 1.25rem; }
.hero-trust { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .94rem; color: rgba(255,255,255,.9); }
.hero-trust .ic { color: var(--gold); }

/* ---- Art tiles (photo placeholders) ---- */
.art { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-sm); overflow: hidden; display: grid; place-items: center; color: rgba(255,255,255,.92); }
.art-ic .ic { width: 56px; height: 56px; opacity: .9; }
.art-cap { position: absolute; left: 16px; bottom: 14px; font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 600; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.art--ocean  { background: linear-gradient(150deg, #12a3b0, #0a5b64); }
.art--reef   { background: linear-gradient(150deg, #1bb6a6, #0d6f7a); }
.art--sunset { background: linear-gradient(150deg, #ff8a5b, #e7542f 70%, #b83d6f); }
.art--spice  { background: linear-gradient(150deg, #e8a13a, #b5611f); }
.art--stone  { background: linear-gradient(150deg, #c98a5e, #8a5a3c); }
.art--forest { background: linear-gradient(150deg, #4fa05a, #1f6b46); }
.art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 10%, rgba(255,255,255,.18), transparent 60%); }

/* Real photo inside an art tile (gradient stays as a fallback behind it). */
.art.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; }
.art.has-img::after { background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0) 55%); z-index: 1; }
.art.has-img .art-cap { z-index: 2; }

/* ---- Grids & cards ---- */
.grid { display: grid; gap: 22px; }
.cards { grid-template-columns: repeat(3, 1fr); }
.quad { grid-template-columns: repeat(4, 1fr); }
.trio { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); color: var(--ink); display: flex; flex-direction: column; transition: transform .12s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.card .art { border-radius: 0; aspect-ratio: 16 / 10; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 2px 0; }
.card-blurb { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--teal-deep); background: #e6f1f0; padding: 3px 9px; border-radius: 999px; }
.tag-band { background: var(--sand-2); color: var(--ink-soft); }
.tag-twende { background: #ffe7c2; color: #9a5a14; }
.price { font-weight: 700; color: var(--ink); font-size: 1.1rem; margin: 4px 0 0; }
.price.big { font-size: 1.7rem; }

/* mini transport tiles */
.mini { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; box-shadow: var(--shadow-sm); color: var(--ink); }
.mini:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #e6f1f0; color: var(--teal-deep); }
.mini-ic .ic { width: 26px; height: 26px; }
.mini-name { font-weight: 600; }

/* features */
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.feature-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--teal); color: #fff; margin-bottom: 12px; }
.feature-ic .ic { width: 28px; height: 28px; }

/* ---- Signature block ---- */
.signature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.signature-art .art { aspect-ratio: 4 / 3; }

/* eats teaser */
.eats-teaser { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eats-art .art { aspect-ratio: 4 / 3; }

/* ---- Detail pages ---- */
.detail-hero .art { aspect-ratio: 21 / 7; border-radius: 0; }
.detail-hero .art-ic .ic { width: 72px; height: 72px; }
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.detail-main .back { display: inline-block; margin-bottom: 10px; font-weight: 600; }
.detail-lede { font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.ticks li { display: flex; align-items: flex-start; gap: 8px; }
.ticks .ic { color: var(--wa); flex: none; margin-top: .2em; }
.note { background: #e6f1f0; border-left: 4px solid var(--teal); padding: 12px 16px; border-radius: 8px; }
.prose p { font-size: 1.05rem; }

/* booking panel */
.book-panel { position: sticky; top: 88px; }
.book-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.or { text-align: center; position: relative; color: var(--ink-soft); font-size: .85rem; margin: 16px 0; }
.or::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.or span { background: var(--card); padding: 0 12px; position: relative; }

/* ---- Forms ---- */
.bookform label, .planform label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 12px; }
.bookform input, .bookform select, .bookform textarea,
.planform input, .planform select, .planform textarea {
  width: 100%; margin-top: 5px; padding: 11px 12px; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.bookform input:focus, .bookform select:focus, .bookform textarea:focus,
.planform input:focus, .planform select:focus, .planform textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,124,134,.15);
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); max-width: 640px; }
.login-form { max-width: 420px; margin: 1.5rem auto 0; text-align: left; }

/* ---- Pricing plans (guide) ---- */
.pricing { margin-top: 28px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan-feat { border-color: var(--coral); box-shadow: var(--shadow); transform: translateY(-6px); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 12px; border-radius: 999px; }
.plan-price { font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 700; color: var(--ink); margin: .2em 0 0; }
.plan p { margin-bottom: .6rem; }
.plan .btn { margin-top: auto; }

/* ---- Planner ---- */
.plan-cols { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.plan-pick h2 { margin-top: 1.4rem; font-size: 1.4rem; }
.plan-pick h2:first-child { margin-top: 0; }
.checks { display: flex; flex-direction: column; gap: 8px; }
.check { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .12s; }
.check:hover { border-color: var(--teal); }
.check input { width: 20px; height: 20px; accent-color: var(--coral); flex: none; }
.check-main { display: flex; flex-direction: column; flex: 1; }
.check-name { font-weight: 600; }
.check-price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.plan-summary { position: sticky; top: 88px; }
.summary-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.plan-list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.plan-list li { padding: 8px 12px; background: var(--sand); border-radius: 8px; font-size: .92rem; }
.plan-list li.empty { background: none; color: var(--ink-soft); padding-left: 0; }
.plan-total { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.plan-total strong { font-family: 'Fraunces', serif; font-size: 1.8rem; color: var(--coral-dk); }

/* ---- Reviews ---- */
.stars { display: inline-flex; gap: 2px; vertical-align: -.15em; }
.star { width: 16px; height: 16px; fill: #d9cdb4; }
.star.on { fill: var(--gold); }
.rating-line { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.rating-line.big .star { width: 20px; height: 20px; }
.reviews { display: flex; flex-direction: column; gap: 14px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }

/* ---- Rows (transport) ---- */
.stack { display: flex; flex-direction: column; gap: 22px; }
.row-card { display: grid; grid-template-columns: 280px 1fr; gap: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); align-items: center; }
.row-art .art { border-radius: 0; aspect-ratio: 4 / 3; height: 100%; }
.row-body { padding: 22px 26px 22px 0; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(150deg, #0a5b64, #07484f); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 1rem; }
.cta-band .cta-row { justify-content: center; }

/* ---- Footer ---- */
.footer { background: #06363b; color: rgba(255,255,255,.82); padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.footer a { display: block; color: rgba(255,255,255,.82); padding: 3px 0; font-size: .95rem; }
.footer a:hover { color: var(--gold); }
.footer .brand-name { color: #fff; }
.footer .muted { color: rgba(255,255,255,.6); }
.footer-base { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; flex-wrap: wrap; gap: 10px; }
.footer-base a { display: inline; }
.footer-base-links { display: inline-flex; gap: 18px; }

/* ---- Misc ---- */
.flash { background: #e3f6e8; border: 1px solid #b7e6c4; color: #176b34; padding: 10px 14px; border-radius: 10px; }
.flash-err { background: #fde7e1; border-color: #f5bdad; color: #b23a1b; }
.note a { font-weight: 600; }
.big-check { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; background: var(--wa); color: #fff; }
.big-check .ic { width: 40px; height: 40px; }
.thanks { padding-top: 72px; }

/* admin */
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-actions { display: flex; gap: 14px; align-items: center; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--sand-2); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.status { padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line); font-weight: 600; }
.status-new { background: #fff3d6; }
.status-contacted { background: #e0eefc; }
.status-confirmed { background: #e3f6e8; }
.status-closed { background: #eee; color: var(--ink-soft); }
.inline { display: inline; }
.linklike { background: none; border: 0; color: var(--teal-deep); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.linklike.danger { color: var(--coral-dk); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .cards, .trio { grid-template-columns: repeat(2, 1fr); }
  .quad { grid-template-columns: repeat(2, 1fr); }
  .detail, .plan-cols { grid-template-columns: 1fr; }
  .signature, .eats-teaser { grid-template-columns: 1fr; }
  .book-panel, .plan-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .mainnav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--sand); border-bottom: 1px solid var(--line); padding: 14px 22px 20px; }
  body.nav-open .mainnav { display: flex; }
  .mainnav a { padding: 8px 0; width: 100%; }
  .nav-cta { margin-top: 6px; }
  .cards, .trio, .quad { grid-template-columns: 1fr; }
  .row-card { grid-template-columns: 1fr; }
  .row-art .art { aspect-ratio: 16 / 9; }
  .row-body { padding: 0 20px 22px; }
  .ticks { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .plan-feat { transform: none; }
}
