:root {
  --brand: #0b4f6c;        /* deep ocean teal */
  --brand-dark: #073447;
  --accent: #ff6b4a;       /* sunset coral */
  --accent-dark: #e4502f;
  --sky: #e8f4f8;
  --ink: #1b2a33;
  --muted: #5d6f7a;
  --line: #dbe5ea;
  --bg: #f6f9fb;
  --card: #ffffff;
  --ok: #13855c;
  --warn: #c2410c;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 79, 108, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.5;
}
a { color: var(--brand); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Header */
.topbar { background: var(--brand-dark); color: #cfe3ec; font-size: .8rem; }
.topbar .container { display: flex; justify-content: flex-end; gap: 20px; padding: 6px 0; }
.topbar a { color: inherit; text-decoration: none; }
.header { background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 50; }
.header .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.logo svg { width: 34px; height: 34px; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav > .nav-item { position: relative; }
.nav > .nav-item > a { display: block; padding: 22px 14px; color: #fff; text-decoration: none; font-weight: 600; }
.nav > .nav-item:hover > a { background: var(--brand-dark); }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 8px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.dropdown a:hover { background: var(--sky); }
.header-cta { background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; margin-left: auto; cursor: pointer; }

/* Buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: background .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--brand); color: #fff; }
.btn-secondary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-block { width: 100%; }
label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.field { margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* Hero + booking widget */
.hero { background: linear-gradient(120deg, rgba(7,52,71,.92), rgba(11,79,108,.75)), radial-gradient(circle at 80% 20%, #ffb199, transparent 50%), linear-gradient(160deg, #0b4f6c, #ff6b4a); color: #fff; padding: 64px 0 120px; }
.hero p { font-size: 1.15rem; max-width: 560px; color: #dceef5; }
.page-hero { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; padding: 48px 0; }
.page-hero p { color: #cfe3ec; margin: 0; max-width: 680px; }
.booker { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -80px; position: relative; }
.booker-tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.booker-tabs button { flex: 0 0 auto; background: none; border: 0; padding: 18px 22px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; }
.booker-tabs button.active { color: var(--brand); border-color: var(--accent); }
.booker-panel { display: none; padding: 22px; }
.booker-panel.active { display: block; }
.trip-type { display: flex; gap: 18px; margin-bottom: 14px; }
.trip-type label { display: flex; align-items: center; gap: 6px; font-size: .95rem; color: var(--ink); margin: 0; cursor: pointer; }
.trip-type input { width: auto; }
.booker-row { display: grid; grid-template-columns: 1.3fr auto 1.3fr 1fr 1fr .7fr auto; gap: 10px; align-items: end; }
.booker-row.hotels { grid-template-columns: 2fr 1fr 1fr .8fr auto; }
.booker-row.cars { grid-template-columns: 2fr 1fr 1fr auto; }
.swap { background: var(--sky); border: 0; border-radius: 50%; width: 40px; height: 40px; margin-bottom: 4px; cursor: pointer; color: var(--brand); font-size: 1.1rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s; }
a.card:hover { transform: translateY(-3px); }
.card-media { height: 170px; position: relative; display: flex; align-items: flex-end; padding: 14px; color: #fff; font-weight: 800; font-size: 1.4rem; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.card-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card-body p { margin: 0 0 12px; color: var(--muted); }
.price-tag { margin-top: auto; font-weight: 700; }
.price-tag strong { color: var(--accent); font-size: 1.4rem; }
.badge { display: inline-block; background: var(--sky); color: var(--brand); padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; margin: 0 4px 4px 0; }
.badge-accent { background: var(--accent); color: #fff; }
.stars { color: #f5a524; letter-spacing: 1px; }

/* Fare columns */
.fares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fare { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; border: 2px solid transparent; position: relative; }
.fare.popular { border-color: var(--accent); }
.fare .ribbon { position: absolute; top: -12px; left: 24px; }
.fare ul { list-style: none; padding: 0; margin: 16px 0 0; }
.fare li { padding: 6px 0 6px 26px; position: relative; }
.fare li.yes::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.fare li.no { color: var(--muted); }
.fare li.no::before { content: "–"; position: absolute; left: 4px; }

/* Flight results */
.results { display: grid; gap: 14px; }
.flight { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.4fr 2fr; overflow: hidden; }
.flight-info { padding: 20px; display: flex; align-items: center; gap: 18px; }
.flight-times { display: flex; align-items: center; gap: 14px; font-size: 1.5rem; font-weight: 800; }
.flight-line { flex: 1; min-width: 60px; height: 2px; background: var(--line); position: relative; }
.flight-line::after { content: ""; position: absolute; right: -6px; top: -7px; width: 15px; height: 15px; background: var(--accent); -webkit-mask: var(--plane-mask) center / contain no-repeat; mask: var(--plane-mask) center / contain no-repeat; }
.flight-fares { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.flight-fare { padding: 16px; text-align: center; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.flight-fare:first-child { border-left: 0; }
.flight-fare .amt { font-size: 1.3rem; font-weight: 800; color: var(--brand); }
.flight-fare .btn { padding: 8px 14px; font-size: .9rem; }

/* Misc blocks */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.feature { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--brand); display: grid; place-items: center; margin-bottom: 12px; }
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.quick-link { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 700; display: flex; align-items: center; gap: 12px; }
.quick-link:hover { background: var(--sky); }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.layout-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.summary-row:last-child { border: 0; }
.total { font-size: 1.4rem; font-weight: 800; color: var(--brand); }
.flash { background: #fff4e5; border-left: 4px solid var(--warn); padding: 12px 16px; border-radius: 8px; margin: 16px 0; }
.success { background: #e7f6ef; border-left: 4px solid var(--ok); padding: 16px; border-radius: 8px; }
.boarding-pass { display: grid; grid-template-columns: 2fr 1fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 20px; }
.boarding-pass > div { padding: 24px; }
.boarding-pass .bp-main { background: var(--brand); color: #fff; }
.boarding-pass .bp-stub { background: #fff; border-left: 2px dashed var(--line); }
.bp-route { font-size: 2.2rem; font-weight: 800; letter-spacing: .04em; }
details { background: #fff; border-radius: 10px; box-shadow: var(--shadow); margin-bottom: 10px; }
summary { padding: 16px 20px; cursor: pointer; font-weight: 700; }
details p { padding: 0 20px 16px; margin: 0; color: var(--muted); }
.newsletter { background: linear-gradient(120deg, var(--accent), #ff9a6b); color: #fff; border-radius: var(--radius); padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.newsletter form { display: flex; gap: 10px; }
.newsletter .btn { background: var(--brand-dark); color: #fff; }
.app-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.phone { width: 220px; height: 420px; border-radius: 36px; background: linear-gradient(160deg, var(--brand), var(--accent)); margin: auto; box-shadow: var(--shadow); border: 10px solid #1b2a33; display: grid; place-items: center; color: #fff; font-weight: 800; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filters a { padding: 8px 16px; border-radius: 999px; background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); font-weight: 600; }
.filters a.active { background: var(--brand); color: #fff; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--sky); color: var(--brand); }
.status-pill { padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: #e7f6ef; color: var(--ok); }
.status-pill.delayed { background: #fff4e5; color: var(--warn); }

/* Footer */
.footer { background: var(--brand-dark); color: #b9d3de; margin-top: 56px; padding: 48px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 24px; }
.footer h4 { color: #fff; margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Responsive */
@media (max-width: 1000px) {
  .booker-row, .booker-row.hotels, .booker-row.cars { grid-template-columns: 1fr 1fr; }
  .swap { display: none; }
  .flight { grid-template-columns: 1fr; }
  .flight-fares { border-left: 0; border-top: 1px solid var(--line); }
  .fares, .layout-2, .newsletter, .app-promo { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quick-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--brand); flex-direction: column; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav > .nav-item > a { padding: 12px 8px; }
  .dropdown { position: static; display: block; box-shadow: none; background: transparent; padding: 0 0 0 12px; }
  .dropdown a { color: #cfe3ec; padding: 6px 8px; }
  .dropdown a:hover { background: transparent; color: #fff; }
}
@media (max-width: 560px) {
  .booker-row, .booker-row.hotels, .booker-row.cars, .grid-2 { grid-template-columns: 1fr; }
  .flight-info { flex-direction: column; align-items: flex-start; }
  .newsletter form { flex-direction: column; }
  .boarding-pass { grid-template-columns: 1fr; }
  .boarding-pass .bp-stub { border-left: 0; border-top: 2px dashed var(--line); }
  .topbar .container { justify-content: center; }
}

/* Blog */
.post-meta { margin-top: auto; font-size: .82rem; color: var(--muted); }
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.blog-search input { width: 260px; border-radius: 999px; }
.featured-post { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; margin-bottom: 28px; }
.featured-media { min-height: 300px; }
.featured-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { margin-top: 14px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.pagination a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow); text-decoration: none; font-weight: 700; }
.pagination a.active { background: var(--brand); color: #fff; }
.post-hero { padding: 72px 0; }
.post-hero a.badge { text-decoration: none; }
.post-hero h1 { margin-top: 14px; max-width: 820px; }
.narrow { max-width: 900px; }
.article { font-size: 1.08rem; line-height: 1.75; }
.article h2 { margin-top: 1.6em; font-size: 1.5rem; }
.article h2:first-child { margin-top: 0; }
.tip-box { background: var(--sky); border-left: 4px solid var(--brand); border-radius: 10px; padding: 18px 24px; margin: 32px 0; }
.tip-box h3 { margin: 0 0 6px; color: var(--brand); }
.share { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 28px 0; }
.link-btn { background: none; border: 0; color: var(--brand); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.sticky { position: sticky; top: 90px; }
@media (max-width: 820px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-media { min-height: 180px; }
  .blog-search, .blog-search input { width: 100%; }
}

/* Hotels */
.amenities { columns: 2; padding-left: 18px; margin: 0; }
.amenities li { margin-bottom: 6px; }
.stay-bar { display: grid; grid-template-columns: 1fr 1fr .7fr auto; gap: 12px; align-items: end; padding: 18px; }
.room { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: 2fr 1fr; overflow: hidden; }
.room > div { padding: 20px; }
.room h3 { margin-bottom: 2px; }
.room-features { padding-left: 18px; margin: 8px 0; color: var(--muted); }
.room-price { border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; justify-content: center; align-items: flex-start; }
.room-price .amt { font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.room-price .btn { margin-top: 8px; padding: 10px 22px; }
.extra-row { display: flex; gap: 10px; align-items: center; font-size: 1rem; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; cursor: pointer; }
@media (max-width: 700px) {
  .stay-bar, .room { grid-template-columns: 1fr; }
  .room-price { border-left: 0; border-top: 1px solid var(--line); }
  .amenities { columns: 1; }
}
.pagination .gap { width: 24px; display: grid; place-items: center; color: var(--muted); }
