/* Confidence Aviation – site styles */
:root {
  --navy: #0c2340;
  --navy-2: #12325a;
  --blue: #1a6fb5;
  --sky: #e8f1fa;
  --orange: #f2780c;
  --orange-d: #d9650a;
  --ink: #1b2633;
  --muted: #5a6878;
  --line: #dbe3ec;
  --bg: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(12, 35, 64, .10);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--orange-d); }
.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
.mark { width: 42px; height: 42px; flex: none; color: var(--navy); }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 1.12rem; letter-spacing: .01em; }
.brand-sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a { padding: .55rem .75rem; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:hover { background: var(--sky); color: var(--navy); }
.site-nav .lang { border: 1px solid var(--line); font-size: .8rem; font-weight: 700; letter-spacing: .06em; margin-left: .4rem; }
.site-nav .nav-call { background: var(--orange); color: #fff; font-weight: 600; margin-left: .4rem; }
.site-nav .nav-call:hover { background: var(--orange-d); color: #fff; }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: .5rem .9rem; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; padding: 4.5rem 0 0; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(26,111,181,.55), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(26,111,181,.35), transparent 60%),
    repeating-radial-gradient(circle at 78% 40%, rgba(255,255,255,.05) 0 1px, transparent 1px 46px),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.eyebrow { margin: 0 0 1rem; color: #ffb06b; font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0 0 1.2rem; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
.lead { margin: 0 0 2rem; font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.5rem; border-radius: 8px; font: inherit; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; }

.hero-photos { position: relative; height: 360px; }
.hp { position: absolute; border-radius: var(--radius); border: 4px solid rgba(255,255,255,.95); box-shadow: 0 20px 45px rgba(0,0,0,.35); object-fit: cover; }
.hp1 { width: 66%; height: 210px; top: 0; right: 0; }
.hp2 { width: 34%; height: 250px; bottom: 10px; left: 4%; }
.hp3 { width: 54%; height: 170px; bottom: 0; right: 8%; }

.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.15); }
.stat { padding: 1.5rem 1rem 1.7rem; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.15); }
.stat strong { display: block; font-size: 1.45rem; font-weight: 700; color: #fff; letter-spacing: .02em; }
.stat span { font-size: .82rem; color: rgba(255,255,255,.7); letter-spacing: .04em; }

/* ---------- sections ---------- */
.section { padding: 5rem 0; }
.section.alt { background: #f4f7fb; }
.kicker { margin: 0 0 .5rem; color: var(--orange-d); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h2 { margin: 0 0 1.2rem; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; color: var(--navy); letter-spacing: -.01em; }
h3 { color: var(--navy); }
.intro { color: var(--muted); margin: 0 0 2rem; max-width: 44rem; }
.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: start; }
.sign { font-weight: 600; color: var(--navy); }
.about-photo { margin: 0; padding: 1.2rem; background: var(--sky); border-radius: var(--radius); display: grid; place-items: center; }
.about-photo img { width: 100%; max-width: 360px; border-radius: 6px; }

/* capabilities */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cap { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow); }
.cap-badge { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: var(--sky); padding: .25rem .6rem; border-radius: 999px; }
.cap h3 { margin: .9rem 0 .3rem; font-size: 1.2rem; }
.cap-scope { margin: 0; color: var(--muted); font-weight: 600; }
.limited { margin-top: 1.4rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.limited h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.limited p { margin: 0; color: var(--muted); }

/* certificates */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cert { margin: 0; text-align: center; }
.cert img { width: 100%; aspect-ratio: 545 / 751; object-fit: cover; object-position: top; border-radius: 6px; }
.cert .zoom { padding: .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cert figcaption { margin-top: .8rem; font-weight: 600; color: var(--navy); font-size: .95rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.shot { margin: 0; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; transition: transform .3s; }
.shot .zoom:hover img { transform: scale(1.03); }
.shot figcaption { font-size: .85rem; color: var(--muted); margin-top: .45rem; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: 8px; }
.zoom:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* contact */
.details { margin: 1.5rem 0; display: grid; gap: .9rem; }
.details div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; }
.details dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.details dd { margin: 0; }
.dir-h { font-size: 1rem; margin: 1.6rem 0 .5rem; }
.dirs { margin: 0; padding-left: 1.1rem; }
.dirs li { margin: .25rem 0; }

.contact-form { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--navy); }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; padding: .75rem .85rem; border: 1px solid #c9d4e0; border-radius: 8px; font: inherit; font-size: 1rem; color: var(--ink); background: #fbfcfe; }
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,111,181,.18); background: #fff; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }
.small { margin: 0; font-size: .82rem; color: var(--muted); }
.form-status { margin: 0; min-height: 1.3em; font-weight: 600; }
.form-status.ok { color: #1c7c4a; }
.form-status.err { color: #b3261e; }

/* footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 2.5rem 0; font-size: .9rem; }
.site-footer a { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .mark { color: #fff; width: 34px; height: 34px; }
.footer-row { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-row p { margin: .4rem 0 0; }
.footer-contact { text-align: right; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(6, 18, 34, .85); }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 6px; background: #fff; }
.lb-caption { color: #fff; text-align: center; margin: .7rem 0 0; }
.lb-close { position: absolute; top: .3rem; right: .3rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: .6rem 1.25rem 1rem; box-shadow: 0 12px 24px rgba(12,35,64,.08); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem .6rem; }
  .site-nav .lang, .site-nav .nav-call { margin: .3rem 0 0; text-align: center; }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-photos { height: 300px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero { padding-top: 3rem; }
  .hero-photos { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.15); }
  .caps, .certs { grid-template-columns: 1fr; }
  .certs { max-width: 340px; margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 1.4rem; }
  .contact-form .row { grid-template-columns: 1fr; }
  .details div { grid-template-columns: 1fr; gap: .1rem; }
  .footer-contact { text-align: left; }
  .section { padding: 3.5rem 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
