:root {
    --bg: #f7f8fb;
    --dark: #07111f;
    --text: #1d2939;
    --muted: #667085;
    --brand: #ff5a1f;
    --brand-2: #0ea5a4;
    --card: #ffffff;
    --border: #e4e7ec;
    --success: #027a48;
    --warning: #b54708;
    --danger: #b42318;
    --shadow: 0 20px 60px rgba(15, 23, 42, .10);
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(228,231,236,.75);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--dark); }
.brand-mark {
    width: 42px; height: 42px; border-radius: 16px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), #ff9a3d); color: #fff; box-shadow: 0 10px 25px rgba(255,90,31,.30);
}
.nav { display: flex; align-items: center; gap: 22px; font-weight: 600; color: #344054; }
.nav a:hover { color: var(--brand); }
.nav-toggle { display: none; border: 0; background: #fff; font-size: 26px; cursor: pointer; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; border-radius: 999px; padding: 14px 22px; font-weight: 800; cursor: pointer;
    color: #fff; background: linear-gradient(135deg, var(--brand), #f97316);
    box-shadow: 0 16px 34px rgba(255,90,31,.25); transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(255,90,31,.32); color: #fff; }
.btn-outline { background: #fff; color: var(--dark); border: 1px solid var(--border); box-shadow: none; }
.btn-small { padding: 10px 16px; font-size: 14px; }
.btn-full { width: 100%; }
.alert, .error-box {
    margin-top: 18px; border-radius: 16px; padding: 14px 16px; font-weight: 600;
}
.alert { background: #ecfdf3; color: var(--success); border: 1px solid #abefc6; }
.error-box { background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; margin-bottom: 16px; }
.hero {
    position: relative; overflow: hidden; padding: 86px 0 80px;
    background: radial-gradient(circle at top left, rgba(255,90,31,.20), transparent 32%), linear-gradient(135deg, #07111f 0%, #0f263f 55%, #0b5b5c 100%);
    color: #fff;
}
.hero:after { content: ''; position: absolute; inset: auto -20% -40% 35%; height: 360px; background: rgba(255,255,255,.08); filter: blur(70px); transform: rotate(-8deg); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.eyebrow { display: inline-flex; color: var(--brand); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.hero h1 { font-size: clamp(42px, 6vw, 74px); line-height: .95; margin: 16px 0 22px; letter-spacing: -0.05em; }
.hero p { max-width: 640px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.stats { display: flex; gap: 18px; flex-wrap: wrap; }
.stats div { min-width: 140px; padding: 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.08); }
.stats strong { display: block; font-size: 26px; }
.stats span { color: rgba(255,255,255,.70); font-size: 13px; }
.hero-card { position: relative; min-height: 520px; }
.hero-img {
    width: 100%; height: 520px; border-radius: 42px;
    background: url('https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1200&q=80') center/cover;
    box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.15);
}
.floating-card {
    position: absolute; left: -24px; bottom: 34px; background: #fff; color: var(--dark);
    padding: 22px; border-radius: 26px; box-shadow: var(--shadow); min-width: 260px;
}
.floating-card span, .floating-card small { display: block; color: var(--muted); }
.floating-card strong { display: block; font-size: 24px; margin: 5px 0; }
.section { padding: 76px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2, .steps-grid h2 { font-size: clamp(30px, 4vw, 48px); margin: 10px 0; letter-spacing: -0.04em; color: var(--dark); }
.section-head p { color: var(--muted); max-width: 650px; margin: 0 auto; line-height: 1.7; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trip-card { background: var(--card); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.trip-card img { width: 100%; height: 230px; object-fit: cover; }
.trip-body { padding: 22px; }
.tag { display: inline-flex; padding: 7px 12px; background: #fff7ed; color: #c2410c; border-radius: 999px; font-size: 12px; font-weight: 800; }
.trip-body h3 { font-size: 22px; margin: 16px 0 10px; color: var(--dark); }
.trip-body p { color: var(--muted); line-height: 1.6; min-height: 76px; }
.trip-meta { display: flex; align-items: center; justify-content: space-between; margin: 18px 0; color: var(--muted); }
.trip-meta strong { color: var(--dark); font-size: 22px; }
.steps-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps div { background: var(--bg); border: 1px solid var(--border); border-radius: 24px; padding: 24px; }
.steps b { width: 42px; height: 42px; background: var(--brand-2); color: #fff; display: grid; place-items: center; border-radius: 16px; }
.steps p { color: var(--muted); line-height: 1.6; }
.page-hero { background: linear-gradient(135deg, #07111f, #0b5b5c); color: #fff; padding: 74px 0; }
.page-hero.small h1 { font-size: clamp(36px, 5vw, 58px); margin: 10px 0; letter-spacing: -0.04em; }
.page-hero p { color: rgba(255,255,255,.78); }
.search-bar { display: flex; gap: 10px; max-width: 680px; margin-top: 22px; }
.search-bar input { flex: 1; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.11); color: #fff; padding: 15px 18px; outline: 0; }
.search-bar input::placeholder { color: rgba(255,255,255,.65); }
.auth-section { min-height: 76vh; display: grid; place-items: center; padding: 70px 16px; background: radial-gradient(circle at top, rgba(255,90,31,.16), transparent 38%), var(--bg); }
.auth-section.wide { place-items: start center; }
.auth-card { width: min(560px, 100%); background: #fff; border-radius: 32px; padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.auth-card.compact { width: min(470px, 100%); }
.auth-card.wide-card { width: min(920px, 100%); }
.auth-card h1 { margin: 10px 0; font-size: 34px; letter-spacing: -0.04em; }
.auth-card p { color: var(--muted); line-height: 1.6; }
.form { display: grid; gap: 16px; }
.form.two-col { grid-template-columns: repeat(2, 1fr); }
.form label { display: grid; gap: 7px; font-weight: 700; color: #344054; }
.form input, .form select, .form textarea, .inline-form select {
    width: 100%; border: 1px solid var(--border); border-radius: 16px; padding: 14px 15px; font: inherit; outline: 0; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255,90,31,.12); }
.full-row { grid-column: 1 / -1; }
.muted { color: var(--muted); text-align: center; }
.muted a { color: var(--brand); font-weight: 800; }
.trip-detail-hero { min-height: 470px; display: flex; align-items: end; padding: 88px 0; background-size: cover; background-position: center; color: #fff; }
.trip-detail-hero h1 { max-width: 780px; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.05em; margin: 14px 0; }
.trip-detail-hero p { max-width: 620px; font-size: 18px; color: rgba(255,255,255,.82); line-height: 1.7; }
.detail-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; }
.content-card, .summary-card, .table-card { background: #fff; border-radius: 28px; padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.content-card h2, .summary-card h3 { margin-top: 0; color: var(--dark); }
.content-card p { color: var(--muted); line-height: 1.85; }
.summary-card { position: sticky; top: 96px; display: grid; gap: 16px; }
.summary-card div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.summary-card span { color: var(--muted); }
.total-box { grid-column: 1 / -1; background: #f8fafc; border: 1px solid var(--border); border-radius: 18px; padding: 16px; font-weight: 800; }
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
td small { color: var(--muted); line-height: 1.7; }
.status { display: inline-flex; padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.status.pending { background: #fffaeb; color: var(--warning); }
.status.confirmed, .status.completed { background: #ecfdf3; color: var(--success); }
.status.cancelled { background: #fef3f2; color: var(--danger); }
.empty { background: #fff; border: 1px dashed var(--border); border-radius: 24px; padding: 30px; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.admin-hero { background: linear-gradient(135deg, #111827, #312e81); }
.admin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.admin-stat { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.admin-stat strong { display: block; font-size: 40px; color: var(--dark); }
.admin-stat span { color: var(--muted); font-weight: 700; }
.admin-actions { display: flex; gap: 14px; margin-top: 26px; }
.inline-form { display: grid; gap: 8px; min-width: 190px; }
.list-card { position: static; }
.list-card div { display: block; }
.mini-trip { border-bottom: 1px solid var(--border); padding: 12px 0; }
.mini-trip span { display: block; margin-top: 5px; }
.footer { background: var(--dark); color: #fff; padding: 52px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 24px; }
.footer p { color: rgba(255,255,255,.65); line-height: 1.7; }
.copyright { text-align: center; color: rgba(255,255,255,.50); margin-top: 32px; }
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav { display: none; position: absolute; left: 16px; right: 16px; top: 76px; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
    .nav.open { display: flex; }
    .hero-grid, .steps-grid, .detail-grid, .footer-grid { grid-template-columns: 1fr; }
    .card-grid, .steps, .admin-grid { grid-template-columns: 1fr 1fr; }
    .hero-card { min-height: auto; }
    .hero-img { height: 380px; }
    .floating-card { left: 18px; right: 18px; bottom: 18px; }
    .form.two-col { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .hero { padding: 58px 0; }
    .card-grid, .steps, .admin-grid { grid-template-columns: 1fr; }
    .search-bar { flex-direction: column; }
    .auth-card, .content-card, .summary-card, .table-card { padding: 22px; border-radius: 24px; }
    .admin-actions { flex-direction: column; }
}
