:root {
  --brand: #2D5DA1;
  --brand-dark: #1e3f73;
  --green: #4CAF50;
  --accent: #00B8D9;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e8eef6;
  --bg: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(45, 93, 161, 0.1);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
h1, h2, h3, .logo-text, .display {
  font-family: Outfit, system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.nav { display: none; gap: 18px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--brand); }
.header-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

.btn {
  border: 0; border-radius: 999px; padding: 11px 16px;
  font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; transition: .15s transform, .15s background;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-outline { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost { background: #eef4fb; color: var(--brand); }
.btn-lg { padding: 14px 20px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(45,93,161,.12), transparent 55%),
    radial-gradient(700px 320px at 95% 0%, rgba(0,184,217,.12), transparent 50%),
    #fff;
  padding: 36px 0 28px;
}
.hero-grid {
  display: grid; gap: 28px;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .nav { display: flex; }
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #d7e5f5; color: var(--brand);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.12; margin: 14px 0 12px; letter-spacing: -.02em;
}
.hero .lead { color: var(--muted); font-size: 16px; max-width: 520px; }
.tagline { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .04em; margin-top: 8px; }
.search-box {
  margin-top: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 10px; box-shadow: var(--shadow);
  display: grid; gap: 8px;
}
@media (min-width: 700px) {
  .search-box { grid-template-columns: 1.2fr 1fr auto; align-items: center; }
}
.search-box input, .search-box select {
  height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; width: 100%;
  background: #f8fafc;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px;
}
.trust-badge {
  background: #f0f7ff; color: var(--brand); border-radius: 999px;
  padding: 7px 12px; font-size: 12px; font-weight: 600;
}
.live-card {
  background: rgba(255,255,255,.8); border: 1px solid #e4eef9;
  border-radius: 24px; padding: 16px; box-shadow: var(--shadow);
}
.live-inner {
  background: linear-gradient(135deg, var(--brand), #163a6b);
  color: #fff; border-radius: 18px; padding: 20px;
}
.live-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-top: 16px; opacity: .95; }
.progress { height: 8px; background: rgba(255,255,255,.2); border-radius: 99px; margin-top: 14px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 68%; background: var(--accent); border-radius: 99px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mini-grid div { background: #fff; border-radius: 14px; padding: 12px; }
.mini-grid small { color: var(--muted); display: block; font-size: 11px; }

/* Sections */
.section { padding: 42px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 18px; }
.section h2 { font-size: clamp(22px, 3vw, 30px); }
.section .sub { color: var(--muted); font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: 0 6px 18px rgba(15,23,42,.04); transition: .15s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c9daf2; }
.card .icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: #eef5ff; color: var(--brand); font-weight: 700; margin-bottom: 10px; font-size: 13px;
}
.card h3 { font-size: 16px; margin-bottom: 4px; }
.card p { color: var(--muted); font-size: 13px; }
.card .from { margin-top: 10px; color: var(--brand); font-weight: 700; font-size: 14px; }

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px;
}
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { text-align: center; padding: 8px; }
.stats strong { display: block; color: var(--brand); font-size: 24px; font-family: Outfit, sans-serif; }
.stats span { color: var(--muted); font-size: 13px; }

.steps { display: grid; gap: 12px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: #fff; border-radius: var(--radius); padding: 18px; border: 1px solid var(--line);
}
.step .n { color: var(--accent); font-weight: 700; font-size: 28px; font-family: Outfit, sans-serif; opacity: .7; }

.band {
  background: linear-gradient(135deg, var(--brand), #163a6b);
  color: #fff; border-radius: 24px; padding: 28px; display: grid; gap: 16px;
}
@media (min-width: 800px) { .band { grid-template-columns: 1.3fr .7fr; align-items: center; } }
.band .actions { display: flex; flex-wrap: wrap; gap: 10px; }

.reviews { display: grid; gap: 12px; }
@media (min-width: 800px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 8px; }

.footer {
  background: #0f172a; color: #cbd5e1; padding: 36px 0 20px; margin-top: 20px;
}
.footer a { color: #e2e8f0; }
.footer-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; margin-bottom: 10px; }
.footer ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 24px; padding-top: 14px; font-size: 13px; color: #94a3b8; }

/* App shell portals */
.app-shell { min-height: 100vh; display: grid; }
@media (min-width: 900px) { .app-shell { grid-template-columns: 250px 1fr; } }
.sidebar {
  background: #0f172a; color: #cbd5e1; padding: 20px 14px;
  display: none;
}
@media (min-width: 900px) { .sidebar { display: block; } }
.sidebar .brand { color: #fff; margin-bottom: 22px; }
.side-nav a {
  display: block; padding: 10px 12px; border-radius: 12px; color: #cbd5e1; font-size: 14px; margin-bottom: 4px;
}
.side-nav a.active, .side-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.topbar {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 12px 5%; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.panel { padding: 20px 5%; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
@media (min-width: 800px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
.kpi small { color: var(--muted); display: block; font-size: 12px; }
.kpi strong { font-size: 24px; font-family: Outfit, sans-serif; display: block; margin-top: 6px; }

.table-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: auto;
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #f1f5f9; white-space: nowrap; }
th { background: #f8fafc; color: var(--muted); font-weight: 600; }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-blue { background: #e3f2fd; color: #1565c0; }
.badge-amber { background: #fff8e1; color: #f57f17; }
.badge-red { background: #ffebee; color: #c62828; }

/* Booking wizard */
.wizard {
  max-width: 720px; margin: 24px auto; background: #fff;
  border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: var(--shadow);
}
.steps-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.steps-bar span {
  font-size: 11px; padding: 6px 10px; border-radius: 999px; background: #f1f5f9; color: var(--muted);
}
.steps-bar span.active { background: var(--brand); color: #fff; }
.steps-bar span.done { background: #e8f5e9; color: #2e7d32; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff;
  font-size: 16px;
}
.field textarea { min-height: 90px; resize: vertical; }
.provider-list { display: grid; gap: 10px; }
.provider-item {
  border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex;
  justify-content: space-between; gap: 10px; align-items: center; cursor: pointer;
}
.provider-item.selected { border-color: var(--brand); background: #f3f8ff; }
.price-box {
  background: #f8fafc; border-radius: 14px; padding: 14px; margin-top: 8px;
}
.price-row { display: flex; justify-content: space-between; margin: 6px 0; font-size: 14px; }
.price-row.total { font-weight: 700; font-size: 16px; border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 8px; }

.mobile-nav {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 5%; background: #fff; border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .mobile-nav { display: none; } }
.mobile-nav a {
  white-space: nowrap; padding: 8px 12px; border-radius: 999px; background: #f1f5f9; font-size: 13px; font-weight: 600;
}
.mobile-nav a.active { background: var(--brand); color: #fff; }

.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: #0f172a; color: #fff; padding: 12px 16px; border-radius: 999px;
  font-size: 13px; display: none; z-index: 100; max-width: 90%;
}
.modal-bg {
  position: fixed; inset: 0; background: rgba(15,23,42,.45); display: none;
  align-items: flex-end; justify-content: center; z-index: 80; padding: 0;
}
@media (min-width: 640px) { .modal-bg { align-items: center; padding: 16px; } }
.modal-bg.open { display: flex; }
.modal {
  background: #fff; width: min(420px, 100%); border-radius: 20px 20px 0 0; padding: 20px;
  max-height: 90vh; overflow: auto;
}
@media (min-width: 640px) { .modal { border-radius: 20px; } }

.empty {
  background: #fff; border: 1px dashed var(--line); border-radius: 16px; padding: 20px; color: var(--muted); text-align: center;
}
.hint { font-size: 12px; color: var(--muted); background: #f8fafc; padding: 10px; border-radius: 12px; margin-top: 8px; }
