/* Privavia — luminous premium-minimal aviation
   Palette: soft white + midnight navy + brushed-silver accent
   Fonts: Outfit (headings) / Source Serif 4 (body) */

:root {
  --white: #fbfcfe;
  --paper: #f3f5f9;
  --navy: #0e1a33;
  --navy-soft: #233456;
  --silver: #aab4c4;
  --silver-deep: #7c8aa0;
  --line: #e2e7ef;
  --ink: #16213a;
  --muted: #5d6a82;
  --accent: #b9c2cf;
  --shadow: 0 24px 60px -28px rgba(14, 26, 51, 0.28);
  --shadow-sm: 0 12px 30px -18px rgba(14, 26, 51, 0.22);
  --r: 18px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .eyebrow, .nav-link, .btn, .lang-switch {
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3 { color: var(--navy); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 600;
  color: var(--silver-deep);
  display: inline-block;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 252, 254, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 20px; color: var(--navy); letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; }
.brand small { display: block; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver-deep); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 30px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--navy-soft); letter-spacing: 0.01em; transition: color .2s; }
.nav-link:hover { color: var(--navy); }

.lang-switch { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--white); }
.lang-btn {
  font-family: "Outfit", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  border: 0; background: transparent; color: var(--silver-deep);
  padding: 5px 10px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.lang-btn.active { background: var(--navy); color: var(--white); }
.lang-btn:hover:not(.active) { color: var(--navy); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  padding: 13px 24px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--silver); }
.btn-ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(251,252,254,0.97) 0%, rgba(251,252,254,0.86) 38%, rgba(251,252,254,0.32) 66%, rgba(251,252,254,0) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 118px 0 130px; max-width: 660px; }
.hero h1 { font-size: clamp(40px, 6vw, 70px); margin: 20px 0 22px; font-weight: 600; }
.hero h1 em { font-style: italic; font-family: "Source Serif 4", serif; color: var(--navy-soft); font-weight: 400; }
.hero p { font-size: 19px; color: var(--muted); max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 46px; margin-top: 58px; }
.hero-stats div strong { font-family: "Outfit", sans-serif; font-size: 30px; color: var(--navy); display: block; font-weight: 600; }
.hero-stats div span { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Section frame ---------- */
section { padding: 96px 0; }
.section-head { max-width: 620px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- Spec cards (asymmetric) ---------- */
.specs { background: var(--paper); }
.spec-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; }
.spec-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px 30px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .25s, box-shadow .25s;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spec-card.tall { grid-row: span 2; display: flex; flex-direction: column; }
.spec-card.tall .spec-photo { margin-top: auto; border-radius: 12px; overflow: hidden; height: 200px; }
.spec-card.tall .spec-photo img { width: 100%; height: 100%; object-fit: cover; }
.spec-num { font-family: "Outfit", sans-serif; font-size: 13px; font-weight: 600; color: var(--silver-deep); letter-spacing: 0.16em; }
.spec-card h3 { font-size: 22px; margin: 16px 0 10px; }
.spec-card p { color: var(--muted); font-size: 16px; }
.spec-rule { width: 38px; height: 3px; background: var(--navy); border-radius: 3px; margin: 18px 0; }

/* ---------- Routes (split) ---------- */
.routes-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.routes-media { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.routes-media img { width: 100%; height: 540px; object-fit: cover; }
.route-list { list-style: none; }
.route-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.route-list li:last-child { border-bottom: 0; }
.route-pair { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 19px; color: var(--navy); }
.route-pair span { color: var(--silver); margin: 0 8px; font-weight: 400; }
.route-time { font-size: 14px; color: var(--muted); white-space: nowrap; }

/* ---------- Experience band ---------- */
.experience { background: var(--navy); color: var(--white); }
.experience h2, .experience h3 { color: var(--white); }
.experience .eyebrow { color: var(--silver); }
.exp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 60px; margin-top: 44px; }
.exp-item { padding-left: 22px; border-left: 2px solid var(--navy-soft); }
.exp-item h3 { font-size: 20px; margin-bottom: 8px; }
.exp-item p { color: #c4cdda; font-size: 16px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--navy); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: "Outfit", sans-serif; font-size: 13px; font-weight: 600; color: var(--silver-deep); letter-spacing: 0.14em;
}
.step h3 { font-size: 21px; margin: 8px 0 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: 70px 40px; box-shadow: var(--shadow-sm);
}
.cta-box h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.cta-box p { color: var(--muted); font-size: 18px; max-width: 480px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #c4cdda; padding: 64px 0 40px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--navy-soft); }
.footer .brand, .footer .brand small { color: var(--white); }
.footer-legal { max-width: 520px; }
.footer-legal p { margin-bottom: 4px; line-height: 1.6; }
.footer-legal .company { font-family: "Outfit", sans-serif; color: var(--white); font-weight: 600; font-size: 15px; }
.footer-legal a { color: var(--silver); text-decoration: underline; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: #c4cdda; font-family: "Outfit", sans-serif; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--silver-deep); }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 70px 0 56px; }
.legal-hero h1 { font-size: clamp(32px, 5vw, 50px); }
.legal-hero p { color: var(--muted); margin-top: 12px; }
.legal-body { padding: 70px 0 90px; max-width: 780px; }
.legal-body h2 { font-size: 24px; margin: 40px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink); margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; margin-bottom: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-card.tall { grid-row: auto; grid-column: span 2; flex-direction: row; gap: 24px; align-items: center; }
  .spec-card.tall .spec-photo { height: 140px; width: 200px; flex-shrink: 0; }
  .routes-split { grid-template-columns: 1fr; gap: 36px; }
  .routes-media img { height: 360px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--line); padding: 18px 28px; gap: 18px; box-shadow: var(--shadow-sm); }
  .menu-toggle { display: block; }
  .header .btn-primary { display: none; }
  .spec-grid, .exp-grid, .steps { grid-template-columns: 1fr; }
  .spec-card.tall { grid-column: auto; flex-direction: column; align-items: stretch; }
  .spec-card.tall .spec-photo { width: 100%; height: 180px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  section { padding: 70px 0; }
  .footer-top { flex-direction: column; }
}
