:root {
  --bg: #0b0e14;
  --bg-alt: #10141d;
  --surface: #161b27;
  --surface-2: #1d2433;
  --line: #273044;
  --text: #eef1f7;
  --text-dim: #9aa5bb;
  --blue: #2e9bff;
  --blue-strong: #0070d1;
  --gold: #f0b429;
  --green: #2fbf71;
  --green-wa: #25d366;
  --radius: 14px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5rem; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; }
.section-sub { color: var(--text-dim); max-width: 640px; margin: 0 0 36px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 20, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-marks { height: 34px; width: auto; display: block; mix-blend-mode: screen; }
.brand-text { font: 800 1.06rem var(--font-display); letter-spacing: .04em; }

.main-nav { display: flex; gap: 20px; margin-left: auto; }
.main-nav a { color: var(--text-dim); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); border-color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.acct-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.acct-icon { display: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.lang-toggle {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  color: var(--text-dim); font: 600 .8rem var(--font-body); padding: 6px 12px; cursor: pointer;
  letter-spacing: .04em; white-space: nowrap;
}
.lang-toggle .lang-opt.active { color: var(--blue); }
.lang-toggle:hover { border-color: var(--blue); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; text-align: center; cursor: pointer;
  font: 600 1rem var(--font-display); border-radius: 999px; padding: 13px 26px;
  border: 2px solid transparent; white-space: nowrap;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--blue-strong), var(--blue)); color: #fff; }
.btn-primary:hover { filter: brightness(1.12); }
.btn-outline { border-color: var(--line); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-whatsapp { background: var(--green-wa); color: #06331c; }
.btn-whatsapp:hover { filter: brightness(1.08); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; width: 100%; }

/* Hero */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: 640px; min-height: max(600px, 92svh);
  padding: 110px 0 92px;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.02);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1.1); transition: opacity 1.1s ease, transform 7.5s linear; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(3, 9, 17, .94) 6%, rgba(3, 9, 17, .74) 46%, rgba(3, 9, 17, .26) 100%),
    linear-gradient(0deg, rgba(3, 9, 17, .92) 0%, rgba(3, 9, 17, 0) 36%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: rgba(46, 155, 255, .12); border: 1px solid rgba(46, 155, 255, .45);
  padding: 6px 14px; border-radius: 999px; margin: 0 0 18px; backdrop-filter: blur(6px);
}
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}
.hero-sub { color: #cfd8e3; font-size: 1.08rem; max-width: 560px; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 34px; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 46px; padding: 0; margin: 0; }
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font: 800 1.55rem/1.15 var(--font-display); color: var(--blue); text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.hero-stats span { color: var(--text-dim); font-size: .88rem; max-width: 160px; }
.hero-dots { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 26px; display: flex; gap: 9px; }
.hero-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .35); cursor: pointer;
  transition: width .35s ease, background .35s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, .6); }
.hero-dot.is-active { width: 30px; background: var(--blue); }

/* Packages */
.section-head { text-align: center; display: grid; justify-items: center; margin-bottom: 44px; }
.section-pill {
  font: 600 .74rem var(--font-display); letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); border: 1px solid rgba(46, 155, 255, .45); background: rgba(46, 155, 255, .08);
  padding: 7px 18px; border-radius: 8px; margin: 0 0 16px;
}
.section-head .section-sub { margin-bottom: 0; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pkg-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.pkg-card:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: 0 20px 50px rgba(46, 155, 255, .16); }
.pkg-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pkg-featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 16px 44px rgba(46, 155, 255, .14); }
.pkg-featured:hover { box-shadow: 0 0 0 1px var(--blue), 0 26px 60px rgba(46, 155, 255, .28); }
.pkg-featured h3 { color: var(--blue); }
.pkg-tag {
  position: absolute; top: 18px; right: 18px; margin: 0;
  background: var(--blue); color: #04121f; font: 700 .68rem var(--font-display);
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 6px;
}
.pkg-desc { color: var(--text-dim); font-size: .93rem; margin: 0 0 18px; min-height: 42px; }
.pkg-price { margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pkg-price .amount { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -.01em; }
.pkg-price .per { color: var(--text-dim); font-size: .95rem; margin-left: 4px; }
.pkg-feats { list-style: none; padding: 0; margin: 0 0 24px; color: var(--text-dim); font-size: .95rem; flex: 1; }
.pkg-feats li { padding: 5px 0 5px 26px; position: relative; }
.pkg-feats li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
.pkg-select { width: 100%; margin-top: auto; }

/* Booking */
.book-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 24px; align-items: start; }
.book-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
/* Grid items default to min-width:auto; without this the form's min-content
   widens the column past the viewport on small screens. */
.book-layout > * { min-width: 0; }
.book-form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.book-form legend {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 0; margin-bottom: 14px; color: var(--text);
}

.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-card { cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card > span {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px;
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 10px;
  font-size: .95rem; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.radio-card > span strong { font-family: var(--font-display); }
.radio-card > span em { font-style: normal; color: var(--text-dim); font-size: .85rem; }
.radio-card:hover > span { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(46, 155, 255, .12); }
.radio-card input:checked + span { border-color: var(--blue); background: rgba(46, 155, 255, .08); }
.radio-card input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.radio-cards.two { grid-template-columns: repeat(2, 1fr); }

.duration-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  background: var(--surface-2); border: 1.5px solid var(--line); color: var(--text-dim);
  border-radius: 999px; padding: 8px 16px; font: 500 .9rem var(--font-body); cursor: pointer;
  transition: border-color .15s, color .15s, transform .15s;
}
.chip:hover { border-color: var(--blue); color: var(--text); transform: translateY(-1px); }
.chip.is-active { border-color: var(--blue); background: rgba(46, 155, 255, .12); color: var(--text); font-weight: 600; }

.field { display: block; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { margin-bottom: 14px; }
.duration-note {
  font-size: .88rem; color: var(--text-dim); margin: 0 0 14px;
  background: rgba(46, 155, 255, .07); border: 1px solid rgba(46, 155, 255, .22);
  border-radius: 10px; padding: 10px 12px;
}
.field > span { display: block; font-size: .9rem; font-weight: 500; color: var(--text-dim); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; font: 400 1rem var(--font-body);
  background: var(--bg); color: var(--text);
  border: 1.5px solid var(--line); border-radius: 10px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46, 155, 255, .18); }
/* Native date/time picker glyphs render near-black; invert them so the calendar
   and clock stay visible on the dark form fields. */
.field input[type="date"]::-webkit-calendar-picker-indicator,
.field input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1); opacity: .9; cursor: pointer;
}
.field input:invalid:not(:placeholder-shown) { border-color: #e5534b; }
.field-error { display: block; color: #ff8a80; font-size: .84rem; margin-top: 6px; }
.form-note { color: var(--text-dim); font-size: .88rem; text-align: center; margin: 14px 0 0; }

/* Summary */
.summary {
  position: sticky; top: 88px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.summary h3 { font-size: 1.1rem; margin-bottom: 18px; }
.sum-lines { margin: 0; }
.sum-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.sum-lines dt { color: var(--text-dim); }
.sum-lines dd { margin: 0; font-weight: 600; text-align: right; }
.text-green { color: var(--green); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 14px; }
.sum-total span { color: var(--text-dim); font-size: .9rem; }
.sum-total strong { font-family: var(--font-display); font-size: 1.45rem; color: var(--blue); }
.sum-note { font-size: .85rem; color: var(--text-dim); background: rgba(46, 155, 255, .07); border: 1px solid rgba(46, 155, 255, .22); border-radius: 10px; padding: 10px 12px; margin: 0; }
.sum-sent { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.sum-sent-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text); }
.sum-sent-check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #06281a; font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.sum-ref { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding: 10px 12px; font-size: .9rem; background: rgba(46, 155, 255, .08); border: 1px solid rgba(46, 155, 255, .28); border-radius: 10px; }
.sum-ref span { color: var(--text-dim); }
.sum-ref strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--blue); letter-spacing: .02em; }
.sum-sent-sub { font-size: .85rem; color: var(--text-dim); margin: 10px 0 0; }
.sum-pay { margin-top: 14px; padding: 16px; border: 1px dashed rgba(245, 196, 81, .55); border-radius: 12px; background: rgba(245, 196, 81, .06); }
.sum-pay-title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.sum-pay-inst { margin: 0 0 12px; font-size: .84rem; color: var(--text-dim); }
.sum-pay-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 8px; font-size: .88rem; }
.sum-pay-line span { color: var(--text-dim); }
.sum-pay-mono { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .05em; }
.sum-pay-btn { width: 100%; margin-top: 6px; }
.sum-pay-note { margin: 12px 0 0; font-size: .85rem; color: var(--green); }
.sum-pay-err { margin: 12px 0 0; font-size: .85rem; color: #ff8f8f; }

/* Confirmation */
.confirm-panel {
  margin-top: 32px; background: var(--surface); border: 1px solid var(--green);
  border-radius: var(--radius); padding: 30px; max-width: 720px; margin-inline: auto;
}
.confirm-head { display: flex; align-items: center; gap: 14px; }
.confirm-check {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--green); color: #06281a; font-size: 1.3rem; font-weight: 800; flex-shrink: 0;
}
.confirm-panel h3 { font-size: 1.4rem; margin: 0; }
.confirm-panel > p { color: var(--text-dim); }
.confirm-summary {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; font: 500 .9rem/1.7 var(--font-body); color: var(--text);
  white-space: pre-wrap; word-break: break-word;
}
.confirm-steps h4 { font-size: 1rem; margin-top: 22px; }
.confirm-steps ol { margin: 8px 0 0; padding-left: 20px; color: var(--text-dim); font-size: .95rem; }
.confirm-steps li { margin-bottom: 8px; }
.confirm-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 24px; }

/* Games */
.games-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0; }
.games-grid li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .12s, border-color .15s;
}
.games-grid li:hover { transform: translateY(-4px); border-color: var(--blue); }
.games-grid img { width: 100%; height: 250px; object-fit: cover; display: block; }
.game-info { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.games-grid strong { font-family: var(--font-display); font-size: .95rem; font-weight: 700; }
.games-grid span { color: var(--text-dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }

/* How it works */
.steps-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0; counter-reset: step; }
.steps-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.step-num {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px;
  border-radius: 10px; background: rgba(46, 155, 255, .14); color: var(--blue);
  font: 800 1.05rem var(--font-display);
}
.steps-grid h3 { font-size: 1.02rem; }
.steps-grid p { color: var(--text-dim); font-size: .92rem; margin: 0; }

/* Delivery */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.zones-table { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 560px; }
.zones-table th, .zones-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.zones-table th { font-family: var(--font-display); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); background: var(--surface-2); }
.zones-table tr:last-child td { border-bottom: 0; }
.zones-table td:nth-child(2) { font-weight: 700; color: var(--blue); white-space: nowrap; }
.zones-table td:nth-child(3) { color: var(--text-dim); }

/* FAQ */
.faq-list details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 0; margin-bottom: 12px; overflow: hidden;
}
.faq-list summary {
  cursor: pointer; padding: 18px 20px; font: 600 1rem var(--font-display);
  list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; font-weight: 400; transition: transform .15s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 20px 18px; margin: 0; color: var(--text-dim); font-size: .95rem; }
.faq-list summary:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-logo { height: 52px; width: auto; display: block; margin-bottom: 14px; }
.footer-tag { color: var(--text-dim); font-size: .92rem; max-width: 340px; margin: 0; }
.footer-col h4 {
  font: 700 .8rem var(--font-display); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 6px 0 14px;
}
.footer-col a, .footer-col p { display: block; color: var(--text-dim); font-size: .92rem; text-decoration: none; margin: 9px 0; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px;
}
.footer-bottom > p { color: var(--text-dim); opacity: .75; font-size: .82rem; margin: 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--text-dim);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.footer-social a:hover { color: #04121f; background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }

/* Responsive */
@media (max-width: 960px) {
  .pkg-grid { grid-template-columns: 1fr; max-width: 460px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .book-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  /* Nav is gone, so the actions must anchor themselves to the right. */
  .header-actions { margin-left: auto; }
}
@media (max-width: 720px) {
  /* Compact header so brand + actions always fit on one row; labels are
     nowrap (Swahili strings are the widest case). */
  .header-inner { gap: 10px; }
  .brand-marks { height: 26px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { padding: 6px 10px; font-size: .78rem; }
  .lang-toggle { padding: 5px 9px; font-size: .76rem; }
}
@media (max-width: 600px) {
  /* Keep the account action in the header as a compact icon button; the
     wordmark steps aside (the symbol logo stays) so all three actions fit
     on one row, including the longer Swahili labels. */
  .header-inner { gap: 8px; }
  .brand-text { display: none; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding: 6px 9px; font-size: .76rem; }
  .header-actions .acct-link { padding: 6px 7px; }
  .lang-toggle { padding: 5px 8px; font-size: .74rem; }
  .acct-icon { display: block; }
  .acct-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}
@media (max-width: 380px) {
  /* Narrowest screens: the toggle collapses to the current language, and
     the toggle itself switches it on tap. */
  .lang-toggle .lang-sep, .lang-opt:not(.active) { display: none; }
}
@media (max-width: 420px) {
  .brand-marks { height: 24px; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .hero { min-height: max(520px, 88svh); padding: 96px 0 84px; }
  .hero-stats { gap: 14px 28px; }
  .hero-stats span { max-width: 120px; }
  .radio-cards { grid-template-columns: 1fr; }
  .radio-cards.two { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid img { height: 170px; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Confirmation states (sent / failed) */
.confirm-check.is-error { background: rgba(255, 99, 99, .15); color: #ff6b6b; border-color: rgba(255, 107, 107, .4); }

/* Admin */
.admin-badge {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  color: var(--text-dim); font: 600 .75rem var(--font-body); padding: 5px 12px; letter-spacing: .08em;
}
.admin-main { padding: 40px 20px 80px; min-height: calc(100vh - 64px); }
.admin-login { display: flex; justify-content: center; padding: 48px 0; }
.admin-login-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px;
}
.admin-login-card p { color: var(--text-dim); margin: 0; font-size: .95rem; }
.admin-login-card label { font-weight: 600; font-size: .9rem; }
.admin-login-card input {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); padding: 12px 14px; font: 400 1rem var(--font-body);
}
.admin-login-card input:focus { outline: 2px solid var(--blue); border-color: transparent; }
.admin-error { color: #ff8080; font-size: .9rem; margin: 0; }

.admin-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 28px; }
.admin-stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 2px;
}
.admin-stat-value { font: 700 1.35rem var(--font-display); color: var(--text); }
.admin-stat-label { color: var(--text-dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }

.admin-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.admin-tab {
  background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  color: var(--text-dim); font: 600 .95rem var(--font-display); padding: 9px 22px;
}
.admin-tab.active { background: rgba(46, 155, 255, .12); border-color: var(--blue); color: var(--text); }
.admin-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.admin-chip { font-size: .85rem; }

.admin-bookings { display: flex; flex-direction: column; gap: 14px; }
.booking-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.booking-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.booking-ref { font: 700 1.05rem var(--font-display); letter-spacing: .05em; }
.booking-total { margin-left: auto; font: 700 1.05rem var(--font-display); color: var(--blue); }
.badge { border-radius: 999px; padding: 3px 12px; font: 600 .75rem var(--font-body); letter-spacing: .04em; border: 1px solid transparent; }
.badge-pending { background: rgba(255, 196, 0, .12); color: #ffc400; border-color: rgba(255, 196, 0, .35); }
.badge-confirmed { background: rgba(46, 155, 255, .12); color: var(--blue); border-color: rgba(46, 155, 255, .35); }
.badge-delivered { background: rgba(47, 191, 113, .12); color: var(--green); border-color: rgba(47, 191, 113, .35); }
.badge-completed { background: rgba(154, 165, 187, .12); color: var(--text-dim); border-color: rgba(154, 165, 187, .35); }
.badge-cancelled { background: rgba(255, 107, 107, .12); color: #ff6b6b; border-color: rgba(255, 107, 107, .35); }
.badge-pay-paid { background: rgba(47, 191, 113, .12); color: var(--green); border-color: rgba(47, 191, 113, .35); }
.badge-pay-unpaid { background: rgba(255, 196, 0, .12); color: #ffc400; border-color: rgba(255, 196, 0, .35); }

.booking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; margin-bottom: 14px; }
.b-field { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.b-label { color: var(--text-dim); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.b-value { font-size: .95rem; overflow-wrap: anywhere; }

.booking-details { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 16px; }
.booking-controls { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 10px 14px; align-items: center; margin-top: 6px; }
.control-label { color: var(--text-dim); font-size: .85rem; font-weight: 600; }
.admin-select, .admin-textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--text);
  padding: 9px 12px; font: 400 .92rem var(--font-body); width: 100%;
}
.admin-textarea { grid-column: 2 / -1; resize: vertical; }
.booking-controls .btn { grid-column: 1; justify-self: start; margin-top: 4px; }
.save-msg { grid-column: 2 / -1; color: var(--text-dim); font-size: .85rem; margin-top: 4px; }
.save-msg.save-error { color: #ff8080; }

.admin-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table th { color: var(--text-dim); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-empty { color: var(--text-dim); text-align: center; padding: 32px 0; }

@media (max-width: 960px) {
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
  .booking-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-controls { grid-template-columns: auto 1fr; }
  .admin-textarea { grid-column: 2; }
  .save-msg { grid-column: 2; }
}
@media (max-width: 560px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-total { margin-left: 0; width: 100%; }
}
