/* Tehiru Aerial Systems — site stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0e18;
  --bg-alt: #1A1A1A;
  --panel: #131828;
  --text: #F0ECE6;
  --muted: rgba(240, 236, 230, 0.9);
  --dim: rgba(240, 236, 230, 0.6);
  --gold: #B8A88A;
  --border: rgba(240, 236, 230, 0.12);
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0.9rem 2rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex; gap: 1.8rem; margin-left: auto; align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }

.btn {
  display: inline-block;
  padding: 0.75rem 1.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: background 0.2s, color 0.2s;
}
.btn-gold { background: var(--gold); color: #0a0e18; }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: #0a0e18; }
.nav-cta { padding: 0.55rem 1.2rem; font-size: 0.7rem; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--border);
  color: var(--text); font-size: 1.2rem;
  padding: 0.3rem 0.7rem; cursor: pointer;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}
h1, h2, h3 { font-weight: 300; text-transform: uppercase; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: 0.04em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: 0.05em; margin-bottom: 1rem; }
h3 { font-size: 1.05rem; letter-spacing: 0.08em; font-weight: 500; margin-bottom: 0.6rem; color: var(--text); }
p { color: var(--muted); font-weight: 300; }

.divider {
  width: 52px; height: 3px; background: var(--gold);
  border: none; margin: 1.4rem 0;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  padding: 6rem 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,14,24,0.94) 0%, rgba(10,14,24,0.78) 45%, rgba(10,14,24,0.45) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero p.lead { max-width: 640px; font-size: 1.08rem; margin-top: 0; }
.hero-sub { min-height: 52vh; }
.hero-actions { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-img {
  background-size: cover; background-position: center;
  position: relative;
}
.section-img::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,24,0.92), rgba(10,14,24,0.82));
}
.section-img .wrap { position: relative; z-index: 1; }
.section .lead { max-width: 720px; font-size: 1.02rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 2rem 1.8rem;
}
.section-alt .card { background: rgba(10,14,24,0.55); }
.card .eyebrow { margin-bottom: 0.6rem; }
.card p { font-size: 0.92rem; }

.cta-row { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.center .cta-row { justify-content: center; }

/* ---------- Media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.video-frame { border: 1px solid var(--border); }

.card-img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 1.4rem;
  border: 1px solid var(--border);
}

.img-placeholder {
  border: 1px solid var(--gold);
  background: rgba(184, 168, 138, 0.05);
  min-height: 220px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1.4rem;
}
.img-placeholder span {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- Form ---------- */
.contact-form { max-width: 680px; margin-top: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.45rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-notice {
  font-size: 0.82rem; color: var(--dim);
  border-left: 3px solid var(--gold);
  padding-left: 1rem; margin: 1.5rem 0;
}
.contact-form button { cursor: pointer; font-family: var(--font); }
.form-thanks {
  display: none;
  border: 1px solid var(--gold);
  padding: 2rem;
  margin-top: 1.5rem;
}
.form-thanks.visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2.5rem;
  background: #070a12;
}
.footer-top {
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-top img { height: 30px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-links a {
  color: var(--muted); font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.footer-links a:hover { color: var(--gold); }
.footer-meta { margin-top: 2.5rem; font-size: 0.78rem; color: var(--dim); }
.footer-meta p { color: var(--dim); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    gap: 0;
    background: rgba(10,14,24,0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 2rem 1.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.7rem 0; }
  .nav-links .nav-cta { margin-top: 0.8rem; text-align: center; }

  .grid-3, .grid-2, .split, .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; padding: 4rem 0; }
  .section { padding: 3.5rem 0; }
}

/* ---------- Legal pages ---------- */
.hero-plain { background: #070a12; min-height: auto; padding: 7rem 0 1.5rem; }
.hero-plain + .section { padding-top: 1.5rem; }
.legal-content { max-width: 800px; text-align: left; }
.legal-content h2 { margin: 2.2rem 0 0.8rem; font-size: 1.25rem; }
.legal-content h3 { margin: 1.6rem 0 0.6rem; font-size: 1rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; }
.legal-content p { margin: 0 0 1rem; color: var(--muted); line-height: 1.75; }
.legal-content ul { margin: 0 0 1rem 1.3rem; color: var(--muted); line-height: 1.75; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--gold); }
.footer-legal { margin-top: 1.6rem; }
