:root {
  --primary: #1358a8;
  --primary-deep: #083982;
  --secondary: #18aee2;
  --maroon: #082d63;
  --maroon-soft: #0f76b6;
  --ink: #151515;
  --muted: #65717c;
  --line: #d9dfe6;
  --soft: #f5f5f5;
  --white: #fff;
  --shadow: 0 18px 45px rgba(8, 45, 99, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hidden { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid rgba(19, 88, 168, .18);
  box-shadow: 0 2px 8px rgba(32, 33, 36, .08);
}
.nav { min-height: 72px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; font-weight: 800; color: var(--primary); }
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--white);
  border: 2px solid var(--primary);
  box-shadow: inset 0 0 0 3px rgba(24, 174, 226, .14);
}
.brand-name { font-size: 19px; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 18px; font-weight: 650; color: var(--primary); }
.nav-links a:hover, .help-link:hover { color: var(--primary-deep); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.contact-chip { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; font-size: 14px; line-height: 1.1; }
.contact-chip small { display: block; font-size: 11px; font-weight: 650; color: var(--primary); margin-bottom: 3px; }
.icon { font-size: 20px; }
.help-link { font-size: 14px; font-weight: 700; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.currency {
  border: 1px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 800;
}
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--primary); }

.hero { position: relative; min-height: 500px; overflow: hidden; background: var(--maroon); }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: hue-rotate(175deg) saturate(1.45) brightness(.9);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 45, 99, .38), rgba(8, 45, 99, .1));
}
.hero-content { position: relative; z-index: 1; padding: 64px 0 98px; }
.hero h1 { margin: 0 0 24px; max-width: 760px; color: var(--white); font-size: clamp(28px, 4vw, 44px); line-height: 1.18; font-weight: 650; letter-spacing: 0; }

.booking-panel { position: relative; }
.service-tabs { display: inline-flex; overflow: hidden; border-radius: 8px 8px 0 0; background: var(--primary); }
.service-tab { border: 0; color: var(--white); background: var(--primary); padding: 15px 26px; font-size: 16px; }
.service-tab.active { color: var(--primary); background: var(--white); box-shadow: inset 0 -2px 0 var(--primary); }
.search-card {
  position: relative;
  background: var(--white);
  border-radius: 0 8px 8px 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.trip-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 0;
  border-radius: 6px;
  background: #eef4f7;
  color: var(--ink);
  padding: 10px 14px;
}
.pill.active { background: var(--primary); color: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.soft-button, .filters select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 0 12px;
}
.passenger-menu {
  position: absolute;
  right: 18px;
  top: 76px;
  z-index: 5;
  width: 280px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.passenger-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.passenger-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid #eef3f6; }
.passenger-line small { display: block; color: var(--muted); font-size: 12px; }
.passenger-line button { width: 28px; height: 28px; border: 0; border-radius: 6px; background: var(--primary); color: var(--white); }
.passenger-line div { display: inline-flex; align-items: center; gap: 8px; }
.apply-button { width: 100%; margin-top: 12px; border: 0; border-radius: 6px; padding: 10px; color: var(--white); background: var(--primary); font-weight: 800; }

.search-grid, .hotel-grid { display: grid; gap: 12px; grid-template-columns: 1.2fr 1.2fr .9fr .75fr .8fr; align-items: stretch; }
.hotel-grid { grid-template-columns: 1.3fr .85fr .85fr 1fr .75fr; }
.field, .date-field {
  display: grid;
  gap: 7px;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
}
.field span, .date-field span { color: var(--muted); font-size: 13px; font-weight: 700; }
.field input { width: 100%; border: 0; outline: 0; color: var(--ink); font-weight: 800; font-size: 18px; min-width: 0; }
.date-field strong { color: var(--muted); font-size: 14px; }
.date-field b { color: var(--primary); font-size: 28px; line-height: 1; }
.date-field small { color: var(--muted); }
.return-button, .search-button {
  min-height: 92px;
  border: 0;
  border-radius: 8px;
  font-weight: 850;
  font-size: 17px;
}
.return-button { color: var(--primary); background: #eaf4f8; }
.search-button { color: var(--white); background: var(--primary); }
.search-button:hover, .pill.active:hover, .service-tab:not(.active):hover { background: var(--primary-deep); }

.routes-section, .airlines, .app-section { padding: 42px 0; }
.routes-section h2, .airlines h2, .destinations h2, .app-section h2 { margin: 0 0 12px; font-size: 28px; letter-spacing: 0; }
.segment { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); margin-bottom: 18px; }
.segment button { border: 0; background: transparent; padding: 10px 18px; color: var(--primary); font-weight: 800; }
.segment .active { background: var(--primary); color: var(--white); }
.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.route-grid article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.route-grid span { display: inline-block; color: var(--white); background: var(--primary); padding: 6px 10px; border-radius: 6px; font-weight: 800; margin-bottom: 12px; }
.route-grid b, .route-grid small { display: block; }
.route-grid small { margin-top: 7px; color: var(--muted); }

.section-copy { max-width: 760px; }
.section-copy p, .destinations p, .app-copy p { color: var(--muted); line-height: 1.7; }
.airlines h3 { margin: 26px 0 4px; font-size: 24px; }
.eyebrow { margin: 0 0 18px; color: var(--primary); font-weight: 800; }
.airline-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.airline-grid img {
  width: 100%;
  height: 82px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.destinations { padding: 42px 0; background: var(--white); }
.destinations h2 span { color: var(--primary); }
.destination-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.destination-grid a { position: relative; min-height: 230px; overflow: hidden; border-radius: 8px; color: var(--white); background: #0c2530; }
.destination-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.destination-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.72)); }
.destination-grid b, .destination-grid span { position: absolute; z-index: 1; left: 18px; }
.destination-grid b { bottom: 50px; font-size: 22px; }
.destination-grid span { bottom: 20px; color: var(--secondary); font-weight: 800; }
.destination-grid a:hover img { transform: scale(1.06); }

.app-section { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; }
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.store-row button { min-height: 48px; border: 0; border-radius: 7px; padding: 0 16px; color: var(--white); background: var(--ink); font-weight: 800; }
.qr { width: 72px; height: 72px; display: grid; place-items: center; border: 8px solid var(--white); outline: 1px solid var(--line); background: repeating-linear-gradient(45deg, #111 0 5px, #fff 5px 10px); color: transparent; }
.phone-art { justify-self: center; width: 230px; height: 430px; border-radius: 32px; padding: 14px; background: #111b23; box-shadow: var(--shadow); }
.phone-screen { height: 100%; border-radius: 24px; padding: 34px 20px; color: var(--white); background: linear-gradient(160deg, var(--primary), var(--maroon-soft) 48%, var(--secondary)); display: grid; align-content: center; gap: 12px; text-align: center; }
.phone-screen span { font-weight: 800; }
.phone-screen b { font-size: 28px; line-height: 1.1; }

.footer { background: var(--maroon); color: #dceeff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .9fr 1fr; gap: 40px; padding: 42px 0; }
.footer a { display: block; margin: 8px 0; }
.footer-brand { display: inline-flex !important; color: var(--white); margin-bottom: 16px !important; }
.footer h3 { color: var(--white); margin: 0 0 12px; }
.certificate { min-height: 74px; display: grid; place-items: center; border: 1px dashed rgba(255,255,255,.34); border-radius: 8px; margin-bottom: 20px; color: var(--white); }
.payment-row { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-row span { background: var(--white); color: var(--primary); border-radius: 6px; padding: 8px 12px; font-weight: 850; }
.copyright { border-top: 1px solid rgba(255,255,255,.14); text-align: center; padding: 16px; color: #aac0cb; }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #20bf63;
  border: 5px solid rgba(255,255,255,.88);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  font-size: 13px;
  font-weight: 900;
}

.page-hero {
  position: relative;
  min-height: 260px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--maroon);
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: hue-rotate(175deg) saturate(1.45) brightness(.9);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 45, 99, .5), rgba(15, 118, 182, .18));
}
.page-hero .shell {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: 0;
}
.content-section {
  padding: 48px 0;
  background: var(--soft);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.info-card, .contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(30, 30, 30, .06);
}
.info-card h2, .contact-card h2 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 22px;
}
.info-card p, .contact-card p {
  color: var(--muted);
  line-height: 1.7;
}
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 20px;
}
.contact-form {
  display: grid;
  gap: 12px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 14px;
  outline: 0;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  border: 0;
  border-radius: 7px;
  padding: 14px 18px;
  background: var(--primary);
  color: var(--white);
  font-weight: 850;
}

@media (max-width: 760px) {
  .info-grid, .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 1040px) {
  .nav-actions .contact-chip, .help-link { display: none; }
  .search-grid, .hotel-grid { grid-template-columns: repeat(2, 1fr); }
  .search-button { grid-column: span 2; }
  .airline-grid { grid-template-columns: repeat(4, 1fr); }
  .destination-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav { min-height: 64px; gap: 12px; }
  .menu-button { display: block; order: -1; }
  .brand-name { font-size: 16px; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; border-bottom: 1px solid var(--line); }
  .currency { display: none; }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 108px; }
  .trip-row { align-items: stretch; flex-direction: column; }
  .filters { justify-content: flex-start; }
  .passenger-menu { left: 18px; right: auto; top: 148px; width: min(280px, calc(100% - 36px)); }
  .search-grid, .hotel-grid, .route-grid, .app-section, .footer-grid { grid-template-columns: 1fr; }
  .search-button { grid-column: auto; }
  .airline-grid { grid-template-columns: repeat(2, 1fr); }
  .destination-grid { grid-template-columns: 1fr; }
  .destination-grid a { min-height: 210px; }
}
