:root {
  --brand: #0b5cff;
  --brand-dark: #0841b8;
  --ink: #1a1f2b;
  --muted: #5b6475;
  --line: #e3e7ee;
  --bg: #f6f8fb;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; }
a { color: var(--brand); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

header { border-bottom: 1px solid var(--line); background: #fff; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 800; font-size: 1.4rem; text-decoration: none; color: var(--ink); }
.logo span { color: var(--brand); }
nav a { margin-left: 18px; text-decoration: none; color: var(--ink); font-weight: 500; }
nav a:hover { color: var(--brand); }

.hero { background: linear-gradient(135deg, #0b5cff 0%, #00a3ff 100%); color: #fff; padding: 72px 0; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 12px; line-height: 1.15; }
.hero p { font-size: 1.15rem; max-width: 600px; opacity: .95; }

.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-dark); }
.btn.light { background: #fff; color: var(--brand); }

section { padding: 56px 0; }
section.alt { background: var(--bg); }
h2 { font-size: 1.8rem; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 28px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; }
.card h3 { margin: 0 0 6px; }
.price { font-size: 1.6rem; font-weight: 700; margin: 10px 0; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.card ul { padding-left: 18px; color: var(--muted); margin: 0 0 16px; }

form { display: grid; gap: 14px; max-width: 520px; }
label { font-weight: 600; font-size: .95rem; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; margin-top: 4px; }
textarea { min-height: 120px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.notice { padding: 14px; border-radius: 8px; background: #e9f7ef; color: #146c43; display: none; }

.page { padding: 48px 0 64px; max-width: 820px; }
.page h1 { margin-top: 0; }
.page h2 { font-size: 1.25rem; margin-top: 32px; }
.updated { color: var(--muted); font-size: .9rem; }

footer { background: #0f1422; color: #c5cbd8; padding: 40px 0 24px; font-size: .95rem; }
footer a { color: #c5cbd8; text-decoration: none; }
footer a:hover { color: #fff; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
footer h4 { color: #fff; margin: 0 0 10px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 6px; }
footer .copy { border-top: 1px solid #252c3d; margin-top: 28px; padding-top: 16px; font-size: .85rem; }

@media (max-width: 640px) {
  header .wrap { flex-direction: column; height: auto; padding: 12px 16px; }
  nav a { margin: 0 8px; }
  .row { grid-template-columns: 1fr; }
}

/* --- v2: photo hero, search, destinations --- */
.topbar { background: #0f1422; color: #c5cbd8; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }

.hero.photo { position: relative; padding: 80px 0 110px; background: #0b2a5c url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1800&q=70&auto=format") center/cover; }
.hero.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,20,50,.55), rgba(5,20,50,.35)); }
.hero.photo .wrap { position: relative; }

.search { background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.18); margin-top: 28px; overflow: hidden; }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { flex: 0 0 auto; background: none; border: 0; padding: 14px 22px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; }
.tabs button.on { color: var(--brand); border-bottom-color: var(--brand); }
.search form { max-width: none; padding: 18px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
.search label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.search .btn { height: 46px; }
.search form[hidden] { display: none; }

.trust { border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust div { font-size: .95rem; color: var(--muted); }
.trust strong { display: block; color: var(--ink); }

.dest { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; color: #fff; text-decoration: none; }
.dest img, .hotel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.dest:hover img, .hotel:hover img { transform: scale(1.05); }
.dest span { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.dest b { display: block; font-size: 1.2rem; }

.hotel { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.hotel .ph { aspect-ratio: 16/10; overflow: hidden; }
.hotel .bd { padding: 16px; }
.hotel h3 { margin: 0 0 4px; font-size: 1.05rem; }
.hotel .meta { color: var(--muted); font-size: .9rem; }
.hotel .from { margin-top: 8px; font-weight: 700; font-size: 1.15rem; }
.hotel .from small { font-weight: 400; color: var(--muted); font-size: .85rem; }
.note { color: var(--muted); font-size: .85rem; margin-top: 14px; }
.pay { margin-top: 10px; font-size: .85rem; }
.grid.g3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (max-width: 640px) { .grid.g3 { grid-template-columns: 1fr; } .topbar .wrap { justify-content: center; text-align: center; } }
