:root {
  --bg: #0A0F2C;
  --surface: #121A42;
  --surface-2: #18214F;
  --border: #232D63;
  --border-strong: #2A3466;
  --text: #F5F7FF;
  --text-2: #C3C9E8;
  --text-3: #8E96C2;
  --teal: #19E3C1;
  --coral: #FF7A59;
  --danger: #FF8A8A;
  --radius: 22px;
  --head: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* Elements toggled with the hidden attribute must stay hidden even when a class sets display. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img, svg { display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 720px; }
.accent { color: var(--teal); }
.teal { color: var(--teal); }
.coral { color: var(--coral); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--teal); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--coral); color: var(--bg); font: 600 16px var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-dark { background: var(--bg); color: var(--text); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; }

/* header / footer */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(10, 15, 44, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.logo-mark { width: 44px; height: 44px; }
.wordmark { font: 700 28px var(--head); letter-spacing: -0.03em; }
.brand-small .logo-mark { width: 32px; height: 32px; }
.brand-small .wordmark { font-size: 20px; }
nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
nav a:not(.btn) { color: var(--text-2); text-decoration: none; font-weight: 500; }
nav a:not(.btn):hover { color: var(--text); }
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 120px; color: var(--text-3); font-size: 14px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); margin: 24px 0 20px; }
.lead { font-size: 20px; color: var(--text-2); max-width: 640px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-globe { display: block; width: 100%; aspect-ratio: 1 / 1; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pills li { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #DDE2F7; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-teal { background: var(--teal); }
.dot-coral { background: var(--coral); }
.dot-white { background: var(--text); }

/* sections */
.section { padding: 72px 0; }
.section-alt { background: #0D1336; border-block: 1px solid var(--border); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.eyebrow-coral { color: var(--coral); }
.section h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 36px; max-width: 760px; }
.page-title { font-size: clamp(34px, 5vw, 48px); margin-bottom: 16px; }

.services { display: grid; gap: 16px; }
.service { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 28px; padding: 28px 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.service h3 { font-size: 26px; margin-bottom: 6px; }
.service ul { margin: 14px 0 0; padding-left: 20px; color: var(--text-2); columns: 2; column-gap: 32px; }
.service li { margin-bottom: 6px; break-inside: avoid; }
.badge { width: 80px; height: 80px; border-radius: 20px; display: grid; place-items: center; font: 700 30px var(--head); color: var(--bg); }
.badge-teal { background: var(--teal); }
.badge-coral { background: var(--coral); }
.badge-white { background: var(--text); }
.sub { font-weight: 600; font-size: 18px; }
.sub-teal { color: var(--teal); }
.sub-coral { color: var(--coral); }
.sub-white { color: var(--text); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; padding: 32px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.stat strong { font: 700 clamp(44px, 6vw, 64px) var(--head); letter-spacing: -0.04em; line-height: 1; }
.stat span { color: #DDE2F7; }
.fineprint { margin-top: 20px; font-size: 13px; color: var(--text-3); text-align: center; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); }
.steps h3 { font-size: 22px; margin: 16px 0 8px; }
.steps p { color: var(--text-2); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); color: var(--teal); font: 700 20px var(--head); }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 40px; background: var(--coral); color: var(--bg); border-radius: 26px; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(26px, 3.4vw, 34px); }
.cta-band p { font-weight: 500; font-size: 18px; }

/* booking */
.progress { display: flex; gap: 8px; list-style: none; padding: 0; margin: 32px 0 20px; flex-wrap: wrap; }
.progress li { flex: 1 1 140px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); color: var(--text-3); font-size: 14px; font-weight: 600; }
.progress li.active { border-color: var(--teal); color: var(--text); }
.progress li.complete { color: var(--teal); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.card-title { font-size: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 12px 14px; min-height: 48px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: 16px var(--body); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: 14px; color: var(--text-3); }
.error { font-size: 14px; color: var(--danger); min-height: 0; }
.error:empty { display: none; }
.days { display: flex; flex-direction: column; gap: 18px; max-height: 460px; overflow-y: auto; padding-right: 4px; }
.day h3 { font-size: 16px; font-family: var(--body); font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.time { min-height: 44px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: 600 15px var(--body); cursor: pointer; }
.time:hover { border-color: var(--teal); }
.time[aria-checked="true"] { background: var(--teal); border-color: var(--teal); color: var(--bg); }
.confirmed p { color: var(--text-2); }

/* admin */
.table-box { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text-3); font-weight: 600; }
.admin-h2 { font-size: 26px; margin: 48px 0 16px; }

/* chat widget */
.chat-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--teal); color: var(--bg); font: 700 16px var(--body); cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.chat-launcher svg { width: 22px; height: 22px; }
.chat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 40px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 14px 18px; border-bottom: 1px solid var(--border); }
.chat-head strong { display: block; font-family: var(--head); font-size: 18px; }
.chat-head span { font-size: 13px; color: var(--text-3); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; white-space: pre-wrap; font-size: 15px; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: var(--teal); color: var(--bg); border-bottom-right-radius: 4px; }
.msg.error { color: var(--danger); }
.msg.typing::after { content: "..."; animation: blink 1s steps(3, end) infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.chat-suggestions button { min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; color: var(--text-2); font: 13px var(--body); cursor: pointer; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chat-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: 15px var(--body); }
.chat-book { display: block; padding: 0 16px 14px; font-size: 14px; font-weight: 600; color: var(--coral); text-decoration: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-globe { max-width: 340px; margin: 0 auto; }
  .stats, .steps { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; padding: 24px; }
  .service ul { columns: 1; }
  .badge { width: 64px; height: 64px; font-size: 24px; }
  nav a:not(.btn) { display: none; }
  .card { padding: 24px; }
  .cta-band { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .msg.typing::after { animation: none; }
}
