:root {
  --orange: #f3791d;
  --orange-dark: #d9621a;
  --black: #111113;
  --ink: #1b1b1f;
  --white: #ffffff;
  --gray-50: #f7f7f8;
  --gray-100: #eceef0;
  --gray-300: #c7cad0;
  --gray-600: #5a5e66;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 17, 19, 0.08);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}
.brand img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a { color: var(--ink); opacity: 0.85; }
.nav-links a:hover { opacity: 1; color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(243, 121, 29, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(243, 121, 29, 0.45); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, rgba(243,121,29,0.12), transparent 45%), var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero .container {
  padding: 96px 24px 110px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--orange);
  background: rgba(243, 121, 29, 0.12);
  border: 1px solid rgba(243, 121, 29, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero h1 span { color: var(--orange); }
.hero p.lead { font-size: 1.1rem; color: var(--gray-300); max-width: 480px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: #000;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

.strip {
  background: var(--orange);
  color: var(--white);
}
.strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  justify-content: center;
}
.strip span::after { content: "|"; margin-left: 24px; opacity: 0.6; font-weight: 400; }
.strip span:last-child::after { content: ""; margin: 0; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head .eyebrow { background: rgba(243,121,29,0.08); }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 12px; font-weight: 800; }
.section-head p { color: var(--gray-600); margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.feature .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.4rem;
}
.feature h3 { margin: 0; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--gray-600); font-size: 0.92rem; }

.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.fleet-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-100); box-shadow: var(--shadow); background: white; }
.fleet-card .img { height: 150px; background: var(--gray-50); display: flex; align-items: center; justify-content: center; color: var(--gray-300); font-size: 2.2rem; font-weight: 800; }
.fleet-card .body { padding: 16px; }
.fleet-card h4 { margin: 0 0 4px; font-size: 1.05rem; }
.fleet-card .meta { color: var(--gray-600); font-size: 0.85rem; margin-bottom: 12px; }
.fleet-card .rate { color: var(--orange); font-weight: 800; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.badge-available { background: #e6f7ec; color: #1a8a46; }
.badge-booked { background: #fdeceb; color: #c0392b; }
.badge-maintenance { background: #fff4e0; color: #b1720c; }
.badge-pending { background: #fff4e0; color: #b1720c; }
.badge-confirmed, .badge-active { background: #e6f0ff; color: #1d5fd6; }
.badge-completed { background: #e6f7ec; color: #1a8a46; }
.badge-cancelled, .badge-rejected { background: #fdeceb; color: #c0392b; }
.badge-new { background: #eee; color: #444; }
.badge-reviewing { background: #fff4e0; color: #b1720c; }
.badge-accepted, .badge-paid { background: #e6f7ec; color: #1a8a46; }
.badge-refunded { background: #eee; color: #444; }

.cta-band {
  background: var(--black);
  color: white;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h3 { margin: 0 0 6px; font-size: 1.5rem; }
.cta-band p { margin: 0; color: var(--gray-300); }

footer.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 48px 0 24px;
  margin-top: 48px;
}
footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer h4 { color: white; margin: 0 0 14px; }
footer a { color: var(--gray-300); display: block; margin-bottom: 8px; }
footer a:hover { color: var(--orange); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 32px; padding-top: 20px; font-size: 0.85rem; }

/* ---------- Forms ---------- */
.form-page {
  max-width: 480px;
  margin: 64px auto;
  padding: 0 24px;
}
.form-card { background: white; border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-card h2 { margin: 0 0 6px; }
.form-card p.sub { color: var(--gray-600); margin: 0 0 26px; font-size: 0.92rem; }
label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; margin-top: 16px; }
label:first-child { margin-top: 0; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-100);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--gray-50);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); background: white; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.msg { padding: 12px 14px; border-radius: 10px; font-size: 0.88rem; margin-top: 16px; }
.msg-error { background: #fdeceb; color: #c0392b; }
.msg-success { background: #e6f7ec; color: #1a8a46; }
.form-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--gray-600); }
.form-footer a { color: var(--orange); font-weight: 700; }
.field-note { color: var(--gray-600); font-size: 0.8rem; margin-top: 4px; }

/* ---------- App shell (admin + account) ---------- */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 230px;
  background: var(--black);
  color: white;
  padding: 24px 16px;
  flex-shrink: 0;
}
.sidebar .brand { color: white; margin-bottom: 28px; padding: 0 8px; }
.sidebar .brand img { height: 34px; }
.sidebar nav a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-300);
  margin-bottom: 4px;
}
.sidebar nav a:hover { background: rgba(255,255,255,0.06); color: white; }
.sidebar nav a.active { background: var(--orange); color: white; }
.main { flex: 1; background: var(--gray-50); min-width: 0; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; background: white; border-bottom: 1px solid var(--gray-100);
}
.content { padding: 28px 32px; }
.panel { background: white; border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--gray-100); }
.panel-head h3 { margin: 0; font-size: 1.05rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 12px 24px; border-bottom: 1px solid var(--gray-100); }
th { color: var(--gray-600); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.4px; }
tr:last-child td { border-bottom: none; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.stat-card { background: white; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stat-card .label { color: var(--gray-600); font-size: 0.82rem; font-weight: 600; }
.stat-card .value { font-size: 1.7rem; font-weight: 800; margin-top: 4px; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal { background: white; border-radius: var(--radius); padding: 28px; width: 420px; max-width: 92vw; max-height: 86vh; overflow-y: auto; }
.modal h3 { margin-top: 0; }
.hidden { display: none !important; }
select.status-select { padding: 6px 10px; font-size: 0.82rem; width: auto; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 48px; }
  .grid-3, .grid-2, .stat-grid { grid-template-columns: 1fr 1fr; }
  footer .container { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .app-shell { flex-direction: column; }
  .sidebar { width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .sidebar nav { display: flex; gap: 4px; overflow-x: auto; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .stat-grid, .form-row { grid-template-columns: 1fr; }
}
