/* Aviacommerce - site stylesheet. Plain CSS, no build step. */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/nunito-400.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/nunito-600.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/nunito-700.woff2') format('woff2'); }

:root {
  --navy: #0b1f3a;
  --navy-2: #143158;
  --navy-deep: #071527;
  --gold: #d4a85a;
  --gold-2: #b8893b;
  --gold-soft: #f3e6cc;
  --sand: #faf5ea;
  --sand-2: #f2eadb;
  --ink: #15213a;
  --text: #3b475c;
  --muted: #68748a;
  --line: #e7e3d9;
  --radius: 20px;
  --shadow: 0 18px 40px -18px rgba(11, 31, 58, .22);
  --font-display: 'Poppins', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: 'Nunito', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.18; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; }
*:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, .8); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-tight { padding-top: 0; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.mt { margin-top: 40px; }

.eyebrow { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 14px; }
.eyebrow-light { color: var(--gold); }
.section-title::after { content: ''; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--gold); margin-top: 18px; }
.center .section-title::after { margin-left: auto; margin-right: auto; }
.lead-text { font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.intro { font-size: 1.12rem; color: var(--muted); }

.skip { position: absolute; left: 0; top: 0; transform: translateY(-120%); background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { transform: none; }

/* Header: floating pill */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: 12px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; border-radius: 18px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(226, 232, 240, .7); box-shadow: 0 10px 30px -14px rgba(11, 31, 58, .28); position: relative; }
.brand { display: inline-flex; flex: 0 1 auto; min-width: 0; }
.brand img { height: 22px; width: auto; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a { font-family: var(--font-display); font-size: .92rem; font-weight: 500; color: #4b5668; transition: color .2s; position: relative; }
.nav a:hover, .nav a.is-active { color: var(--navy); }
.nav a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--gold); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 38px; padding: 0 10px; border-radius: 999px; font-family: var(--font-display); font-size: .78rem; font-weight: 700; color: #68748a; transition: background .2s, color .2s; }
.lang:hover { background: rgba(226, 232, 240, .8); color: var(--navy); }
.burger { display: none; width: 38px; height: 34px; border: 0; background: transparent; border-radius: 999px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .2s; }
.burger:hover { background: rgba(226, 232, 240, .8); }
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); }
  body.nav-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { display: block; padding: 11px 14px; border-radius: 10px; }
  .nav a.is-active { background: var(--sand); }
  .nav a.is-active::after { display: none; }
  .bar .cta { display: none; }
  .burger { display: flex; flex-shrink: 0; }
  .bar { padding: 9px 14px; }
  .bar-actions { gap: 6px; }
  .brand img { height: 18px; }
  .lang { min-width: 34px; padding: 0 8px; }
}
@media (max-width: 400px) {
  .brand img { height: 16px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-family: var(--font-display); font-size: .92rem; font-weight: 500; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); box-shadow: 0 14px 26px -14px rgba(11, 31, 58, .6); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #e2b86c; box-shadow: 0 14px 26px -14px rgba(212, 168, 90, .7); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .18); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 840px); display: flex; align-items: center; overflow: hidden; color: #fff; padding: 150px 0 96px; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; z-index: 0; margin: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(7, 21, 39, .9) 0%, rgba(11, 31, 58, .66) 42%, rgba(11, 31, 58, .14) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 740px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.2rem; color: rgba(255, 255, 255, .84); max-width: 600px; margin-bottom: 34px; }
.hero-glow { position: absolute; z-index: 1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero-glow.one { width: 360px; height: 360px; right: 6%; top: 10%; background: rgba(212, 168, 90, .18); }
.hero-glow.two { width: 420px; height: 420px; left: -8%; bottom: -10%; background: rgba(20, 49, 88, .5); }

.page-hero { position: relative; padding: 160px 0 80px; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero .hero-bg img { opacity: .32; filter: saturate(.55); }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(7, 21, 39, .9) 0%, rgba(11, 31, 58, .7) 55%, rgba(11, 31, 58, .4) 100%); }
.page-hero .hero-inner { max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.page-hero .lead { color: rgba(255, 255, 255, .8); font-size: 1.15rem; max-width: 640px; margin-bottom: 0; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.align-center { align-items: center; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 32px; } }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 1px 2px rgba(11, 31, 58, .04); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 54px; height: 54px; border-radius: 16px; background: var(--sand); display: flex; align-items: center; justify-content: center; color: var(--gold-2); margin-bottom: 20px; flex-shrink: 0; }
.icon svg { width: 26px; height: 26px; }
.icon-navy { background: var(--navy); color: var(--gold); }
.card-link { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; transition: color .2s, gap .2s; }
.card-link:hover { color: var(--gold-2); gap: 10px; }
.card-link svg { width: 16px; height: 16px; }

/* Stats */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 18px; text-align: center; }
.stat-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--navy); line-height: 1.1; }
.stat-value.gold { color: var(--gold-2); }
.stat-label { display: block; font-size: .82rem; color: var(--muted); margin-top: 8px; font-weight: 600; line-height: 1.4; }

/* Services page */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service { padding: 40px; }
.service h2 { font-size: 1.5rem; margin-bottom: 12px; }
.service.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; background: linear-gradient(135deg, #fff 0%, var(--sand) 100%); }
.service .label { display: inline-block; font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); background: var(--gold-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8893b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.checks-2 { columns: 2; column-gap: 28px; }
.checks-2 li { break-inside: avoid; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } .service.featured { grid-template-columns: 1fr; gap: 20px; } .checks-2 { columns: 1; } .service { padding: 30px; } }

/* Photo + locations */
.photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.location { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: #fff; }
.location strong { display: block; font-family: var(--font-display); color: var(--navy); margin-bottom: 4px; }
.location p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 560px) { .locations { grid-template-columns: 1fr; } }

/* Partners */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; margin-top: 44px; }
.partners a { opacity: .82; transition: opacity .2s, transform .2s; }
.partners a:hover { opacity: 1; transform: translateY(-2px); }
.partners img { height: 64px; width: auto; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: 28px; padding: 56px 52px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: rgba(212, 168, 90, .22); filter: blur(44px); }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .72); }
.cta-band > * { position: relative; }
@media (max-width: 640px) { .cta-band { padding: 40px 28px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form .field { margin-bottom: 18px; }
.form label { display: block; font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #d9d4c7; border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 168, 90, .22); }
.form textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-note a { text-decoration: underline; text-decoration-color: var(--gold); }
.form-status { margin: 14px 0 0; font-weight: 700; display: none; }
.form-status.ok { display: block; color: #1b7a3d; }
.form-status.err { display: block; color: #b42318; }
.info-card + .info-card { margin-top: 16px; }
.info-card { padding: 26px 28px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--muted); }
.info-card a { color: var(--navy); font-weight: 700; }
.info-card a:hover { color: var(--gold-2); }

/* Legal prose */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.6em; }
.prose a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose .meta { color: var(--muted); font-size: .92rem; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0 0 1.4em; }
.prose dt { font-weight: 700; color: var(--ink); }
.prose dd { margin: 0; }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; gap: 0; } .prose dd { margin-bottom: 10px; } }

/* Simple pages (thanks, 404) */
.simple { min-height: 70vh; display: flex; align-items: center; text-align: center; padding: 160px 0 80px; }
.simple .wrap { max-width: 640px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 24px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; color: rgba(255, 255, 255, .6); }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .66); transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-style: normal; font-size: .95rem; color: rgba(255, 255, 255, .6); margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 56px; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: rgba(255, 255, 255, .45); }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
