/* Kisiwa Tours — design prototype styles */
:root {
  --ocean: #0e5e6f;
  --ocean-deep: #0a3d4a;
  --lagoon: #1fa3a8;
  --coral: #e8735a;
  --coral-dark: #c95a42;
  --sand: #f7f1e6;
  --sand-2: #efe5d2;
  --ink: #1d2a2f;
  --muted: #5b6b70;
  --line: #e2d9c8;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 61, 74, .10);
  --max: 1180px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--ocean); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.alt { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--coral); margin-bottom: 10px; display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: .95rem; font-family: inherit; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-outline { border-color: currentColor; color: var(--ocean); background: transparent; }
.btn-light { background: var(--white); color: var(--ocean-deep); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar { background: var(--ocean-deep); color: #cfe6ea; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #cfe6ea; text-decoration: none; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--ocean-deep); text-decoration: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(160deg, var(--lagoon), var(--ocean-deep)); display: grid; place-items: center; color: #fff; font-size: 1.1rem; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover, .nav-links a.active { color: var(--ocean); background: var(--sand); }
.nav-links .btn { margin-left: 8px; padding: 10px 18px; color: #fff; }
.nav-links .btn:hover { background: var(--coral-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ocean-deep); }

/* Hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,61,74,.85) 0%, rgba(10,61,74,.45) 55%, rgba(10,61,74,.1) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 620px; }
.hero p.lead { font-size: 1.15rem; color: #e3f1f3; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero { min-height: 340px; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.crumbs { font-size: .85rem; color: #cfe6ea; margin-bottom: 10px; }
.crumbs a { color: #fff; }

/* Search bar */
.trip-finder { position: relative; z-index: 3; margin-top: -48px; }
.trip-finder form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; align-items: end; }

/* Forms */
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: .95rem; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(31,163,168,.15); }
textarea { min-height: 130px; resize: vertical; }
.field { margin-bottom: 16px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field .error { color: #c0392b; font-size: .8rem; margin-top: 4px; display: none; }
.field.invalid .error { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-success { display: none; background: #e6f6ef; border: 1px solid #9fd9bd; color: #1d6b48; padding: 16px; border-radius: 10px; margin-top: 12px; }
.form-success.show { display: block; }

/* Cards */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,61,74,.16); }
.card-media { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; }
.badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); color: var(--ocean-deep); font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
.card-body p { color: var(--muted); font-size: .93rem; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-weight: 700; color: var(--ocean-deep); font-size: 1.15rem; }
.price small { font-weight: 400; color: var(--muted); font-size: .78rem; }
.link-arrow { font-weight: 600; color: var(--coral); text-decoration: none; font-size: .9rem; }

/* Destination tiles */
.dest-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background-size: cover; background-position: center; }
.dest-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,30,40,.8), rgba(10,30,40,0) 60%); }
.dest-tile .inner { position: relative; z-index: 2; padding: 20px; }
.dest-tile h3 { margin: 0 0 4px; }
.dest-tile span { font-size: .85rem; opacity: .9; }

/* Features / why us */
.feature { padding: 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.feature .icon { width: 50px; height: 50px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--ocean); }
.stat span { color: var(--muted); font-size: .9rem; }

/* Testimonials */
.quote { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.quote p { font-style: italic; }
.quote .who { font-weight: 600; font-size: .9rem; }
.stars { color: #f2a93b; letter-spacing: 2px; margin-bottom: 10px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--ocean-deep), var(--ocean)); color: #fff; border-radius: 20px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band p { color: #cfe6ea; margin: 0; }

/* Filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: inherit; font-size: .88rem; font-weight: 500; color: var(--ink); }
.chip.active, .chip:hover { background: var(--ocean); color: #fff; border-color: var(--ocean); }

/* Tour detail */
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.detail-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0 30px; }
.fact { background: var(--sand); border-radius: 12px; padding: 14px; }
.fact small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.fact strong { font-size: .98rem; }
.itinerary { list-style: none; padding: 0; margin: 0 0 30px; border-left: 2px solid var(--line); }
.itinerary li { position: relative; padding: 0 0 18px 24px; }
.itinerary li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { padding: 4px 0 4px 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--lagoon); font-weight: 700; }
.checklist.no li::before { content: "✕"; color: #b9533f; }
.booking-box { position: sticky; top: 100px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border: 1px solid var(--line); }

/* Gallery */
.gallery-grid { columns: 3 260px; column-gap: 16px; }
.gallery-item { break-inside: avoid; margin-bottom: 16px; border-radius: 12px; overflow: hidden; cursor: zoom-in; position: relative; }
.gallery-item img { width: 100%; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; color: #fff; font-size: .85rem; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); }
.lightbox { position: fixed; inset: 0; background: rgba(5,20,25,.92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 30px; flex-direction: column; gap: 12px; color: #fff; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: 10px; }
.lightbox button { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; }

/* Blog */
.post-body { max-width: 760px; margin: 0 auto; font-size: 1.05rem; }
.post-body h2 { font-size: 1.6rem; margin-top: 1.4em; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.contact-card { background: var(--sand); padding: 28px; border-radius: var(--radius); }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-item .icon { font-size: 1.3rem; }
.map-ph { margin-top: 20px; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: url(../img/island.svg) center/cover; display: grid; place-items: center; color: var(--ocean-deep); font-weight: 600; }
.map-ph span { background: rgba(255,255,255,.9); padding: 8px 14px; border-radius: 999px; font-size: .85rem; }

/* Footer */
.site-footer { background: var(--ocean-deep); color: #b9d3d8; padding: 64px 0 24px; margin-top: 0; font-size: .93rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #b9d3d8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 30px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.newsletter { display: flex; gap: 8px; }
.newsletter input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }



/* Responsive */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .booking-box { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
  .trip-finder form { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .detail-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .trip-finder form { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .cta-band { padding: 32px 24px; }
  .topbar .hide-sm { display: none; }
}

/* ---------- Server-rendered additions ---------- */
a.chip { text-decoration: none; display: inline-block; }
.flash { padding: 14px 16px; border-radius: 10px; margin: 0 0 16px; font-size: .95rem; }
.flash-success { background: #e6f6ef; border: 1px solid #9fd9bd; color: #1d6b48; }
.flash-error { background: #fdecea; border: 1px solid #f1b0a8; color: #9b2c1f; }
.flash-wrap { padding-top: 16px; }
.flash-wrap:empty { display: none; }
.map-embed { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: 12px; margin-top: 20px; }
.field .error:empty { display: none !important; }
button[disabled] { opacity: .7; cursor: wait; }

/* Client logo (D's Tour & Safari) */
.logo-img { width: 48px; height: 44px; flex: none; object-fit: contain; }
.site-footer .logo-img { background: #fff; border-radius: 12px; padding: 4px; width: 56px; height: 52px; }
/* Longer company name: keep header items on one line; the menu folds into ☰ below 1100px */
.nav .logo { white-space: nowrap; font-size: 1.3rem; }
.nav-links a { white-space: nowrap; }
@media (max-width: 480px) { .nav .logo { font-size: 1.05rem; gap: 8px; } .nav .logo-img { width: 40px; height: 37px; } }

/* Payment page */
.pay-page { background: var(--sand); min-height: 70vh; }
.pay-card { max-width: 520px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border: 1px solid var(--line); }
.pay-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pay-head strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--ocean-deep); }
.pay-head span { font-size: .85rem; color: var(--muted, #5b6b70); }
.pay-title { font-size: 1.6rem; margin: 18px 0 8px; }
.pay-summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 16px 0 22px; }
.pay-summary dt { color: var(--muted, #5b6b70); font-size: .9rem; }
.pay-summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.pay-summary .total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.pay-methods { text-align: center; font-size: .82rem; color: var(--muted, #5b6b70); margin: 12px 0 4px; }
.pay-result { text-align: center; padding: 18px 0 4px; }
.pay-result h1 { font-size: 1.6rem; margin: 8px 0; }
.pay-result.ok > span { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e6f6ef; color: #1d6b48; font-size: 1.8rem; font-weight: 700; }

/* Booking availability */
.avail { margin: -4px 0 12px; padding: 9px 12px; border-radius: 8px; font-size: .9rem; font-weight: 600; background: #f3f6f8; color: #4a5a66; }
.avail-open { background: #e7f6ec; color: #1d7a43; }
.avail-full { background: #fdecea; color: #b23a2e; }
.avail-total { margin: 0 0 12px; font-size: .9rem; color: var(--muted, #5b6b76); }
.avail-total:empty { display: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Chat assistant */
.chat-open { position: fixed; right: 20px; bottom: 92px; z-index: 91; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--ocean-deep, #0b4f6c); color: #fff; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.22); transition: transform .2s; }
.chat-open:hover { transform: translateY(-2px); }
.chat-open svg { width: 22px; height: 22px; fill: currentColor; }
.chat-open[aria-expanded="true"] { display: none; }
.chat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 95; width: 370px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.28); overflow: hidden; border: 1px solid var(--line, #e3e8ea); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ocean-deep, #0b4f6c); color: #fff; }
.chat-head img { background: #fff; border-radius: 8px; padding: 2px; flex: none; }
.chat-head div { flex: 1; min-width: 0; line-height: 1.25; }
.chat-head strong { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head span { font-size: .76rem; opacity: .85; }
.chat-close { background: none; border: 0; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; background: #f5f8f9; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: .92rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.chat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line, #e3e8ea); border-bottom-left-radius: 4px; }
.chat-msg.me { align-self: flex-end; background: var(--ocean, #127a99); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.typing { color: #7a8a90; font-style: italic; }
.chat-links, .chat-chips { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 92%; }
.chat-links a { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--ocean-deep, #0b4f6c); color: #fff; font-size: .84rem; font-weight: 600; text-decoration: none; }
.chat-links a.wa { background: #25d366; }
.chat-chips button { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--ocean, #127a99); background: #fff; color: var(--ocean-deep, #0b4f6c); font: inherit; font-size: .82rem; cursor: pointer; }
.chat-chips button:hover { background: #e9f4f8; }
.chat-date { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--line, #e3e8ea); border-radius: 12px; padding: 8px; max-width: 92%; }
.chat-date input, .chat-date select { padding: 6px 8px; border: 1px solid var(--line, #d5dde0); border-radius: 8px; font: inherit; font-size: .85rem; }
.chat-date button { padding: 7px 12px; font-size: .84rem; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line, #e3e8ea); background: #fff; }
.chat-form input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line, #d5dde0); border-radius: 999px; font: inherit; font-size: .92rem; }
.chat-form .btn { border-radius: 50%; width: 42px; height: 42px; padding: 0; justify-content: center; flex: none; }
@media (max-width: 480px) {
  .chat-panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100%; max-height: 100%; border-radius: 0; }
  .chat-open { right: 16px; bottom: 88px; }
}

/* Payment choice on booking forms */
.pay-choice { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 10px; margin: 0 0 14px; background: #fbfaf6; min-width: 0; }
.pay-choice[hidden] { display: none; }
.pay-choice legend { font-weight: 600; font-size: .92rem; padding: 0 4px; }
.pay-opt { display: flex; gap: 10px; align-items: flex-start; padding: 8px 6px; border-radius: 8px; cursor: pointer; font-weight: 400; }
.pay-opt + .pay-opt { border-top: 1px dashed var(--line); }
.pay-opt input { margin-top: 4px; accent-color: var(--ocean); flex: none; }
.pay-opt strong { display: block; font-size: .93rem; }
.pay-opt small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: 2px; }
.pay-ack { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 2px; padding: 9px 10px; border-radius: 8px; background: #fff5e8; border: 1px solid #f0d3a6; font-size: .85rem; cursor: pointer; font-weight: 500; }
.pay-ack[hidden] { display: none; }
.pay-ack input { margin-top: 3px; flex: none; }
.pay-choice .error { display: none; color: #c0392b; font-size: .82rem; margin-top: 4px; }
.pay-choice.invalid .error { display: block; }
.pay-choice.invalid .pay-ack { border-color: #c0392b; }
.pay-opt > span, .pay-ack > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pay-opt input, .pay-ack input { width: auto; min-width: 0; padding: 0; height: auto; box-shadow: none; }

/* About page lists */
.about-list { list-style: none; padding: 0; margin: 0; }
.about-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 50px; position: relative; font-weight: 600; color: var(--ocean-deep); }
.about-list li::before { content: "✓"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--lagoon); color: #fff; font-size: .75rem; display: grid; place-items: center; }
.about-steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0 0; }
.about-steps li { counter-increment: step; position: relative; padding: 0 0 16px 46px; color: var(--ink); }
.about-steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--ocean); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.feature .checklist li { color: var(--muted); font-size: .93rem; padding: 2px 0 2px 24px; }

/* Home page: core services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; font-size: 1.4rem; }
.service h3 { font-size: 1rem; margin: 0; line-height: 1.35; font-family: var(--font-body); font-weight: 600; color: var(--ocean-deep); }
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .service-grid { grid-template-columns: 1fr; } .service { flex-direction: row; align-items: center; } }
