:root {
  --blue: #1f5fac;
  --blue-dark: #123b70;
  --red: #ff3d42;
  --gold: #f5c451;
  --ink: #1f2937;
  --muted: #667085;
  --line: #e6eaf0;
  --soft: #f5f7fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 44, 78, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.top-alert { min-height: 30px; display: flex; align-items: center; justify-content: center; padding: 6px 16px; background: linear-gradient(90deg, #ffeaa6, #fff4c9); color: #4a3511; font-size: 13px; font-weight: 700; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(21,38,64,.08); backdrop-filter: blur(14px); }
.header-inner { max-width: 1220px; margin: 0 auto; min-height: 78px; display: flex; align-items: center; gap: 24px; padding: 10px 18px; }
.brand { min-width: 178px; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 900; background: linear-gradient(145deg, var(--blue), var(--red)); box-shadow: 0 8px 18px rgba(31,95,172,.28); }
.brand-name { font-size: 20px; font-weight: 900; color: var(--blue-dark); line-height: 1; }
.brand-name span { color: var(--red); }
.brand-tag { font-size: 10px; color: var(--muted); margin-top: 4px; font-weight: 700; }
.main-nav { flex: 1; display: grid; grid-template-columns: repeat(8, minmax(68px, 1fr)); gap: 4px; }
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 68px; border-bottom: 4px solid transparent; color: #4d5866; font-size: 13px; font-weight: 700; transition: .2s ease; }
.nav-item:hover, .nav-item.active { color: var(--blue); border-bottom-color: var(--blue); background: #f2f7ff; }
.nav-icon { font-size: 20px; line-height: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.small-btn { min-height: 38px; border: 0; border-radius: 4px; padding: 0 12px; background: var(--blue); color: #fff; font-weight: 900; font-size: 12px; cursor: pointer; white-space: nowrap; }
.small-btn.red { background: var(--red); }

.hero { min-height: 500px; display: flex; align-items: center; padding: 58px 18px 110px; background: linear-gradient(90deg, rgba(9,22,41,.78), rgba(9,22,41,.34)), url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat; }
.hero-inner, .container { max-width: 1220px; width: 100%; margin: 0 auto; }
.hero-kicker { color: #fff; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; margin-bottom: 12px; }
.hero-title { max-width: 720px; color: #fff; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; font-weight: 900; letter-spacing: 0; text-shadow: 0 14px 30px rgba(0,0,0,.22); }
.hero-title span { color: var(--gold); }
.hero-copy { max-width: 620px; margin-top: 18px; color: rgba(255,255,255,.9); font-size: 17px; }
.hero-contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact-pill { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 4px; background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.28); font-size: 13px; font-weight: 800; }

.booking-shell { max-width: 1110px; margin: -86px auto 0; padding: 0 18px; }
.booking-card, .panel, .card { background: var(--white); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.trip-tabs { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 22px 14px; background: #f9fbfe; border-bottom: 1px solid var(--line); }
.radio-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 20px; background: #fff; border: 1px solid #d9e0e9; font-weight: 800; font-size: 13px; }
.dot { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #b7c2d0; box-shadow: inset 0 0 0 3px #fff; }
.radio-pill.active .dot { background: var(--red); border-color: var(--red); }
.booking-grid { display: grid; grid-template-columns: 1.3fr 1.3fr .9fr .9fr 1fr auto; align-items: stretch; }
.field { min-height: 110px; padding: 16px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.field label { color: var(--muted); font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.field input, .field select { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 20px; font-weight: 900; }
.field small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.search-area { min-width: 148px; display: grid; place-items: center; padding: 18px; }
.search-btn, .submit, .primary-btn { min-height: 46px; border: 0; border-radius: 8px; padding: 0 18px; background: var(--red); color: #fff; font-weight: 900; cursor: pointer; box-shadow: 0 12px 22px rgba(255,61,66,.26); display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.fare-row { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); background: #fbfcfe; }
.fare-option { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-right: 1px solid var(--line); color: #45515f; font-size: 13px; font-weight: 700; }
.box { width: 14px; height: 14px; border: 1px solid #8eb1cf; border-radius: 3px; background: #fff; }

.quick-strip { max-width: 1000px; margin: 28px auto 0; padding: 0 18px; }
.quick-inner { display: flex; justify-content: center; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(20,44,78,.08); overflow: hidden; }
.quick-link { min-height: 50px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-right: 1px solid var(--line); color: #4c5968; font-weight: 800; font-size: 13px; }

section, .page-section { padding: 70px 18px; }
.page-hero { padding: 64px 18px; background: linear-gradient(135deg, #123b70, #1f5fac); color: #fff; }
.page-hero h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.08; max-width: 760px; }
.page-hero p { margin-top: 14px; max-width: 700px; color: rgba(255,255,255,.86); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.eyebrow { color: var(--red); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; margin-top: 8px; }
.section-head p { max-width: 520px; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { padding: 22px; box-shadow: 0 10px 22px rgba(28,44,68,.07); }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }
.card .price { margin: 12px 0; color: var(--blue); font-size: 24px; font-weight: 900; }
.soft { background: var(--soft); }
.external { color: var(--blue); font-weight: 900; text-decoration: underline; }

.form-panel { border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 26px rgba(28,44,68,.07); padding: 24px; }
.form-panel h3 { font-size: 24px; margin-bottom: 6px; }
.form-panel p { color: var(--muted); margin-bottom: 18px; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row { margin-bottom: 12px; }
.form-row label { display: block; margin-bottom: 6px; color: #495566; font-size: 12px; font-weight: 900; }
.form-row input, .form-row select, .form-row textarea { width: 100%; min-height: 44px; border: 1px solid #d8e0ea; border-radius: 4px; padding: 10px 12px; background: #fff; color: var(--ink); outline: none; }
.form-row textarea { min-height: 96px; resize: vertical; }
.submit { width: 100%; }

.admin-note { background: #fff9e8; border: 1px solid #f1d98d; color: #5b4614; border-radius: 8px; padding: 16px; margin-top: 18px; font-size: 14px; }
.account-band { background: #0f243c; color: #fff; }
.account-band .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.account-band .card p { color: rgba(255,255,255,.76); }
footer { padding: 48px 18px 26px; background: #071423; color: #fff; }
.footer-grid { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand-name { font-size: 24px; font-weight: 900; color: #fff; }
.footer-brand-name span { color: var(--red); }
footer p, footer li, footer a { color: rgba(255,255,255,.72); font-size: 14px; }
.footer-col h4 { margin-bottom: 12px; color: #fff; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { max-width: 1220px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 24px; background: #18b46b; color: #fff; font-weight: 900; box-shadow: 0 14px 30px rgba(0,0,0,.22); }

@media (max-width: 1040px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { order: 3; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .booking-grid { grid-template-columns: 1fr 1fr; }
  .search-area { grid-column: 1 / -1; }
  .field { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .top-alert { font-size: 12px; }
  .header-inner { gap: 12px; padding: 10px 12px; }
  .brand { min-width: auto; }
  .brand-name { font-size: 17px; }
  .header-actions { width: 100%; }
  .small-btn { flex: 1; }
  .main-nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 8px; scrollbar-width: thin; }
  .nav-item { min-width: 92px; min-height: 54px; border: 1px solid var(--line); border-bottom: 3px solid transparent; border-radius: 8px; font-size: 12px; flex: 0 0 auto; }
  .nav-icon { display: none; }
  .hero { min-height: 430px; padding: 44px 14px 92px; }
  .hero-title { font-size: 34px; }
  .hero-copy { font-size: 15px; }
  .hero-contacts { gap: 8px; }
  .contact-pill { width: 100%; justify-content: center; font-size: 12px; overflow-wrap: anywhere; }
  .booking-shell { margin-top: -64px; padding: 0 12px; }
  .booking-grid, .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .field { min-height: 82px; border-right: 0; padding: 12px 14px; }
  .field input, .field select { font-size: 17px; }
  .search-area { padding: 12px; }
  .search-btn, .submit, .primary-btn { width: 100%; min-height: 48px; }
  .quick-link { width: 50%; border-bottom: 1px solid var(--line); }
  section, .page-section { padding: 46px 14px; }
  .page-hero { padding: 44px 14px; }
  .page-hero h1 { font-size: 34px; }
  .form-panel, .card { padding: 18px; }
  .float-wa { right: 12px; bottom: 12px; min-height: 44px; }
}

@media (max-width: 420px) {
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 15px; }
  .brand-tag { font-size: 9px; }
  .quick-link { width: 100%; }
  .fare-option { width: 100%; border-right: 0; }
}
