/* ============================================================
   h-aero.eu — Defense & Security microsite
   Dark "defensive ISR" theme · HAT brand green accent
   ============================================================ */

:root {
  --bg:        #0d1217;
  --bg-alt:    #121a22;
  --surface:   #19232d;
  --surface-2: #1f2c38;
  --border:    #2a3b49;
  --text:      #e7eef4;
  --muted:     #9db0bf;
  --faint:     #6f8493;
  --green:     #4a9e3f;
  --green-br:  #67c258;
  --steel:     #4f8bb3;
  --danger:    #c8553d;
  --maxw:      1140px;
  --radius:    10px;
  --shadow:    0 6px 28px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--green-br); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 2rem; margin: 0 0 .5rem; }
h3 { font-size: 1.18rem; margin: 0 0 .4rem; }
p  { margin: 0 0 1rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--green-br);
  margin: 0 0 .6rem;
}
.lead { font-size: 1.16rem; color: var(--muted); max-width: 760px; }

/* ── Section rhythm ── */
section { padding: 84px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 780px; margin-bottom: 38px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,18,23,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; }
.brand .tag {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--faint); border-left: 1px solid var(--border); padding-left: 12px;
}
.site-nav { display: flex; gap: 26px; }
.site-nav a { color: var(--muted); font-size: .92rem; font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 7px;
  font-weight: 600; font-size: .96rem; cursor: pointer; border: 1px solid transparent;
  transition: transform .12s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-br); color: #fff; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--green-br); color: var(--green-br); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ── Hero ── */
.hero { position: relative; padding: 0; border-bottom: none; min-height: 86vh; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.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(180deg, rgba(13,18,23,.55) 0%, rgba(13,18,23,.78) 55%, rgba(13,18,23,.96) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 24px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); margin: 0 0 1rem; max-width: 16ch; }
.hero .subline { font-size: 1.24rem; color: #cfdbe5; max-width: 620px; }

/* ── Grids / cards ── */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
}
.card .ic {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(74,158,63,.13); border: 1px solid rgba(74,158,63,.3);
  color: var(--green-br);
}
.card .ic svg { width: 22px; height: 22px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(74,158,63,.14); border: 1px solid rgba(74,158,63,.4);
  color: var(--green-br); font-weight: 700; font-size: 1.2rem;
}
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ── Spec table ── */
.spec {
  width: 100%; border-collapse: collapse; margin-top: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.spec th, .spec td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: .98rem; }
.spec th { color: var(--faint); font-weight: 600; width: 38%; background: var(--bg-alt); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: none; }
.spec td { color: var(--text); }

/* ── Use-case list ── */
.uc { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.uc .item {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-alt) 100%);
}
.uc .item h3 { font-size: 1.05rem; }
.uc .item p { color: var(--muted); font-size: .92rem; margin: 0; }
.uc .item .k { color: var(--green-br); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }

/* ── Video ── */
.video-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.video-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.video-card .frame { position: relative; padding-top: 56.25%; background: #000; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card .cap { padding: 14px 18px; }
.video-card .cap h3 { font-size: 1rem; margin: 0 0 2px; }
.video-card .cap p { font-size: .86rem; color: var(--muted); margin: 0; }

/* ── Split (image + text) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); display: block; }
.split.alt-figure { background: #fff; padding: 22px; }

/* ── Evidence chips ── */
.evidence { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.ev {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--green);
  border-radius: 8px; padding: 18px 20px;
}
.ev .mark { color: var(--green-br); font-weight: 700; font-size: 1.1rem; line-height: 1.4; }
.ev h3 { font-size: 1rem; margin: 0 0 2px; }
.ev p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ── Bullet list ── */
ul.checks { list-style: none; padding: 0; margin: 18px 0 0; }
ul.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); }
ul.checks li::before {
  content: "▸"; position: absolute; left: 6px; color: var(--green-br); font-weight: 700;
}
ul.checks strong { color: var(--text); }

/* ── Callout ── */
.callout {
  background: linear-gradient(135deg, rgba(74,158,63,.10), rgba(79,139,179,.08));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 32px;
}
.callout h2 { font-size: 1.5rem; }

/* ── Footer ── */
.site-footer { background: #090d11; border-top: 1px solid var(--border); padding: 54px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-footer img { height: 26px; margin-bottom: 14px; }
.site-footer p, .site-footer a { color: var(--faint); font-size: .9rem; }
.site-footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 12px; }
.site-footer .row a { display: block; margin-bottom: 8px; }
.footer-base { border-top: 1px solid var(--border); margin-top: 34px; padding-top: 22px; font-size: .82rem; color: var(--faint); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3, .grid-4, .uc, .evidence, .video-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .grid-3, .grid-2, .grid-4, .uc, .evidence, .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-alt); border-bottom: 1px solid var(--border);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 24px; border-top: 1px solid var(--border); }
  .nav-toggle { display: block; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 6px; padding: 6px 12px; font-size: 1.1rem; cursor: pointer; }
  .brand .tag { display: none; }
  .hero { min-height: 78vh; }
  .hero-inner { padding: 76px 20px; }
  .hero h1 { font-size: 2.05rem; }
  .hero .subline { font-size: 1.05rem; }
  .btn-row { gap: 10px; }
  .btn { padding: 12px 20px; }
}
