/* =========================================================
   Inspectoratul General de Aviație – stil unic pentru tot site-ul
   Un singur fișier CSS, fără Bootstrap, fără dependențe externe.
   ========================================================= */

/* TOATE fonturile sunt locale, în assets/fonts/ – site-ul nu încarcă nimic de pe internet. */
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-var.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IGAv Text";   /* Inter, găzduit local – folosit dacă stația nu are Segoe UI */
  src: url("../fonts/inter-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IGAv Text";   /* Inter, găzduit local – folosit dacă stația nu are Segoe UI */
  src: url("../fonts/inter-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IGAv Text";   /* Inter, găzduit local – folosit dacă stația nu are Segoe UI */
  src: url("../fonts/inter-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IGAv Text";   /* Inter, găzduit local – folosit dacă stația nu are Segoe UI */
  src: url("../fonts/inter-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IGAv Text";   /* Inter, găzduit local – folosit dacă stația nu are Segoe UI */
  src: url("../fonts/inter-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Culori */
  --ink: #13263d;        /* text principal, titluri */
  --ink-soft: #2d3f55;
  --muted: #5a6a7c;      /* text secundar */
  --paper: #ffffff;
  --mist: #f2f5f8;       /* fundal secțiuni */
  --line: #d9e1e9;       /* linii, borduri */
  --brand: #0a4f8f;      /* albastru MAI – linkuri, acțiuni */
  --brand-dark: #083b6b;
  --brand-tint: #e6eef7;
  --signal: #c2410c;     /* portocaliu salvare – focus, accent */
  --ok: #1f7a3a;

  /* Tipografie */
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", "IGAv Text", Arial, sans-serif;   /* Segoe UI (Windows) sau fontul local din assets/fonts/ */
  --scale: 1;            /* modificat de butoanele de accesibilitate */

  /* Spațiere */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: calc(100% * var(--scale));
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
.hidden { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Bandă tricoloră ---------- */
.tricolor { display: flex; height: 8px; position: sticky; top: 0; z-index: 51; }   /* rămâne fixă sus, ca meniul */
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: #002b7f; }
.tricolor span:nth-child(2) { background: #fcd116; }
.tricolor span:nth-child(3) { background: #ce1126; }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 8px; z-index: 50;   /* 8px = grosimea dungii tricolore; dacă o schimbați, schimbați și aici */
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 38px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.brand-sub { font-size: .82rem; color: var(--muted); }

.header-tools { display: flex; align-items: center; gap: 8px; }
.tool-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: .9rem; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 12px; cursor: pointer;
}
.tool-btn:hover { background: var(--mist); }
.tool-btn svg { width: 18px; height: 18px; flex: none; }
.menu-toggle { display: none; }

/* ---------- Navigație principală (meniu mare) ---------- */
.main-nav { border-top: 1px solid var(--line); position: relative; }
.nav-list {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter);
  max-width: var(--wrap);
  display: flex; flex-wrap: wrap; gap: 0;
}
.nav-link {
  display: flex; align-items: center; gap: 6px;
  font: inherit; font-size: .95rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  padding: 14px 14px 12px; border-bottom: 2px solid transparent;
}
.nav-list > li:first-child .nav-link { padding-left: 0; }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--brand); }
.nav-link[aria-expanded="true"] { border-bottom-color: var(--brand); }
.nav-link.is-current { color: var(--ink); border-bottom-color: var(--signal); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .15s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.mega { display: none; }
.nav-link[aria-expanded="true"] + .mega { display: block; }
.mega-links { list-style: none; margin: 0; padding: 0; }
.mega-links a { display: block; text-decoration: none; color: var(--ink); border-radius: 8px; }
.mega-links .mt { display: block; font-weight: 600; font-size: .97rem; }
.mega-links a:hover .mt { color: var(--brand); }
.mega-links a[aria-current="page"] .mt { color: var(--brand); }
.mega-links .md { display: block; color: var(--muted); font-size: .87rem; line-height: 1.4; margin-top: 2px; }
.mega-intro .ico { width: 30px; height: 30px; color: var(--brand); }
.mega-intro .mega-title { color: var(--ink); font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; margin: 10px 0 6px; }
.mega-intro p { color: var(--muted); margin: 0 0 16px; font-size: .95rem; }
.mega-all { font-weight: 600; text-decoration: none; }
.mega-all::after { content: ""; display: inline-block; width: .5em; height: .5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: 8px; vertical-align: .1em; }
.mega-all:hover { text-decoration: underline; }

@media (min-width: 981px) {
  .mega {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 55;
    background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(19, 38, 61, .25);
    animation: megaIn .14s ease-out;
  }
  @keyframes megaIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
  .mega-inner { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gutter) 36px; display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
  .mega-intro { border-right: 1px solid var(--line); padding-right: 40px; }
  .mega-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 16px; align-content: start; }
  .mega-links a { padding: 10px 12px; }
  .mega-links a:hover { background: var(--mist); }
  .mega-links a[aria-current="page"] { background: var(--brand-tint); }
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .tool-btn .label { display: none; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.05rem; }
  .main-nav { display: none; max-height: calc(100vh - 80px); overflow-y: auto; }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; padding: 8px var(--gutter) 20px; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-list > li:first-child .nav-link { width: 100%; justify-content: space-between; padding: 15px 0; border-bottom: 0; font-size: 1.02rem; }
  .nav-link[aria-expanded="true"] { border-bottom: 0; }
  .nav-link.is-current { border-bottom: 0; color: var(--brand); }
  .mega-inner { padding: 0 0 14px; }
  .mega-intro { display: flex; align-items: center; justify-content: space-between; padding: 0 0 8px 14px; border-left: 2px solid var(--line); }
  .mega-intro .ico, .mega-intro .mega-title, .mega-intro p { display: none; }
  .mega-all { padding: 6px 0; }
  .mega-links { border-left: 2px solid var(--line); }
  .mega-links a { padding: 9px 0 9px 14px; }
  .mega-links .md { display: none; }
  .mega-links .mt { font-weight: 400; }
}

/* ---------- Panou accesibilitate ---------- */
.a11y-panel {
  position: absolute; right: var(--gutter); top: calc(100% + 6px); z-index: 60;
  width: min(320px, calc(100vw - 32px));
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(19, 38, 61, .16);
  padding: 16px;
}
.a11y-panel h2 { font-family: var(--font-body); font-size: 1rem; margin: 0 0 12px; }
.a11y-size { display: flex; gap: 8px; margin-bottom: 12px; }
.a11y-size button { flex: 1; }
.a11y-panel .opt {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  font: inherit; font-size: .95rem; text-align: left; color: var(--ink);
  background: none; border: 0; border-top: 1px solid var(--line); padding: 10px 0; cursor: pointer;
}
.a11y-panel .opt::after {
  content: ""; width: 34px; height: 20px; border-radius: 10px; background: var(--line);
  box-shadow: inset -14px 0 0 2px var(--line), inset 0 0 0 2px var(--line);
  background: #fff; transition: box-shadow .15s;
}
.a11y-panel .opt[aria-pressed="true"]::after { box-shadow: inset 14px 0 0 2px var(--brand), inset 0 0 0 2px var(--brand); }
.a11y-panel .reset { margin-top: 12px; width: 100%; justify-content: center; }

/* Moduri de accesibilitate */
html.a11y-gray body { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3 {
  font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: .02em; word-spacing: .08em;
}
html.a11y-contrast {
  --ink: #000; --ink-soft: #000; --muted: #000; --paper: #fff; --mist: #fff;
  --line: #000; --brand: #00309e; --brand-dark: #001f66; --brand-tint: #fff;
}
html.a11y-contrast body { background: #fff; }
html.a11y-contrast .site-footer, html.a11y-contrast .footer-bottom { background: #000 !important; color: #fff; }
html.a11y-contrast .site-footer a { color: #ffef5a; }
#reading-guide {
  position: fixed; left: 0; right: 0; height: 2.2em; pointer-events: none; z-index: 90;
  background: rgba(252, 209, 22, .28); border-top: 2px solid rgba(19,38,61,.5); border-bottom: 2px solid rgba(19,38,61,.5);
  display: none;
}
html.a11y-guide #reading-guide { display: block; }

/* ---------- Cap de pagină interioară ---------- */
.page-head { background: var(--mist); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 28px; padding-bottom: 32px; }
.breadcrumb { font-size: .875rem; color: var(--muted); margin: 0 0 10px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #9aa8b6; }
.breadcrumb a { color: var(--muted); }
.page-title {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); line-height: 1.15; margin: 0; max-width: 28ch;
}
.page-lead { margin: 12px 0 0; color: var(--muted); max-width: 62ch; }

/* ---------- Layout pagină ---------- */
.page-body { padding: 40px 0 72px; }
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.layout.no-side { grid-template-columns: minmax(0, 1fr); }
.sidebar { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; font-size: .95rem; padding-bottom: 8px; }
.side-nav h2, .toc h2 { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.side-nav ul, .toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.side-nav a, .toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; color: var(--ink-soft); text-decoration: none; border-left: 2px solid transparent; line-height: 1.35; }
.side-nav a:hover, .toc a:hover { color: var(--brand); }
.side-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-left-color: var(--signal); }
.toc { margin-top: 32px; }
.toc a { font-size: .9rem; padding-top: 4px; padding-bottom: 4px; }
.toc a.is-active { color: var(--brand); border-left-color: var(--brand); }
.section-menu { display: none; }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; gap: 0; }
  .sidebar { display: none; }
  .section-menu { display: block; margin: -16px 0 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
  .section-menu summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-size: .95rem; }
  .section-menu summary::-webkit-details-marker { display: none; }
  .section-menu summary .chev { width: 12px; height: 12px; flex: none; transition: transform .15s; }
  .section-menu[open] summary .chev { transform: rotate(180deg); }
  .section-menu ul { list-style: none; margin: 0; padding: 4px 0 8px; border-top: 1px solid var(--line); }
  .section-menu a { display: block; padding: 9px 16px; text-decoration: none; color: var(--ink-soft); }
  .section-menu a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--signal); }
}

/* ---------- Conținut (text) ---------- */
.prose { max-width: 76ch; }
.prose.wide { max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose h2 {
  font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; line-height: 1.25;
  margin: 2.2em 0 .6em; letter-spacing: -.005em;
}
.prose h3 { font-size: 1.12rem; font-weight: 600; margin: 1.8em 0 .4em; line-height: 1.35; }
.prose h4 { font-size: 1rem; font-weight: 600; margin: 1.4em 0 .3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--muted); }
.prose ul ul { margin: .4em 0 .6em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose strong, .prose b { font-weight: 600; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--line); color: var(--ink-soft); }

/* Tabele */
.table-wrap {
  overflow-x: auto; margin: 1.4em 0 2em; background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(19, 38, 61, .05);
}
.table-wrap table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .94rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.table-wrap thead th {
  position: sticky; top: 0; z-index: 1;
  background: #f6f8fb; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  white-space: nowrap; border-bottom: 1px solid var(--line);
}
.table-wrap tbody tr { transition: background .12s; }
.table-wrap tbody tr:hover { background: #f7fafd; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-weight: 600; color: var(--ink); }
.table-wrap td { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.table-wrap td p { margin: 0; }
.table-wrap td .file { margin-left: 0; }
.table-wrap .no-results { text-align: center; color: var(--muted); font-weight: 400; padding: 32px 16px; }
@media (max-width: 700px) {
  .table-wrap:has(.stack) { border: 0; box-shadow: none; background: none; overflow: visible; }
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 6px 0; margin-bottom: 12px; }
  table.stack td { border: 0; padding: 6px 16px; display: grid; grid-template-columns: 38% 1fr; gap: 12px; }
  table.stack td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; font-weight: 600; }
  table.stack td:first-child { font-size: 1rem; }
}

/* Linkuri către fișiere */
.file {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: .85rem; font-weight: 600; text-decoration: none;
  color: var(--brand); background: var(--brand-tint);
  padding: 2px 9px; border-radius: 4px; margin-left: 6px; vertical-align: 1px;
}
.file::before {
  content: ""; width: 12px; height: 12px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1v9m0 0L4.5 6.5M8 10l3.5-3.5M2 13.5h12' stroke='black' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1v9m0 0L4.5 6.5M8 10l3.5-3.5M2 13.5h12' stroke='black' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.file:hover { background: var(--brand); color: #fff; text-decoration: none; }

/* Liste lungi de documente (plăți, venituri) */
.doc-list { list-style: none !important; padding: 0 !important; columns: 3 220px; column-gap: 32px; }
.doc-list li { break-inside: avoid; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 7px 0; margin: 0 !important; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.doc-list .file { margin-left: 0; }

/* Grupuri pe ani, pliabile */
details.group { border-top: 1px solid var(--line); }
details.group:last-of-type { border-bottom: 1px solid var(--line); }
details.group > summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600;
}
details.group > summary::-webkit-details-marker { display: none; }
details.group > summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; color: var(--muted); }
details.group[open] > summary::after { content: "−"; }
details.group > summary .count { font-family: var(--font-body); font-size: .85rem; font-weight: 400; color: var(--muted); margin-left: auto; margin-right: 16px; }
details.group > .group-body { padding: 0 0 24px; }

/* Anunțuri / documente cu dată */
.doc-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.doc-item:first-child { padding-top: 0; }
.doc-item .doc-title { font-weight: 600; display: block; margin-bottom: 4px; }
.doc-item .doc-date { display: block; font-size: .875rem; color: var(--muted); margin-top: 6px; }
.doc-item .file { margin-left: 0; margin-top: 8px; }

/* Stare goală */
.empty {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; color: var(--muted); max-width: 60ch;
}
.empty strong { color: var(--ink); display: block; margin-bottom: 4px; }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 12px 20px; border-radius: var(--radius); border: 1px solid var(--brand);
  background: var(--brand); color: #fff; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; text-decoration: none; }
.btn.secondary { background: transparent; color: var(--brand); }
.btn.secondary:hover { background: var(--brand-tint); color: var(--brand-dark); }

/* Formulare */
.form { max-width: 720px; }
.form label, .form .label { display: block; font-weight: 600; font-size: .95rem; margin: 18px 0 6px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="file"], .form input[type="search"],
.form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 11px 12px; border: 1px solid #b9c5d1; border-radius: var(--radius); background: #fff;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--brand-tint); border-color: var(--brand); }
.form small, .form .hint { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; }
.form .check label { margin: 0; font-weight: 400; }
.form .check input { margin-top: 5px; width: 18px; height: 18px; }
.form .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form fieldset { border: 0; padding: 0; margin: 0; }
.notice { background: var(--mist); border-left: 3px solid var(--brand); padding: 14px 18px; margin: 0 0 24px; border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d6dee7; font-size: .95rem; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h2 { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: #fff; margin: 0 0 14px; }
.site-footer p { margin: 0 0 6px; }
.site-footer dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.site-footer dt { color: #93a4b7; }
.site-footer dd { margin: 0; }
.tel-verde { font-size: 1.6rem; font-weight: 600; color: #fff; letter-spacing: .01em; text-decoration: none; display: inline-block; margin: 4px 0; }
.meteo { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.meteo a { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.meteo a:hover { text-decoration: underline; }
.meteo i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.footer-links { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; }
.footer-links a { color: #c3cfdb; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; font-size: .85rem; color: #93a4b7; }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { color: #c3cfdb; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Prima pagină ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: #0d2036; color: #fff; min-height: clamp(520px, 72vh, 700px);
  display: flex; align-items: center;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 62% 55%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 26, 45, .94) 0%, rgba(10, 26, 45, .82) 34%, rgba(10, 26, 45, .25) 66%, rgba(10, 26, 45, .05) 100%),
    linear-gradient(0deg, rgba(10, 26, 45, .55) 0%, rgba(10, 26, 45, 0) 35%);
}
.hero-inner { width: 100%; padding-top: 64px; padding-bottom: 72px; }
.hero-kicker { font-size: .95rem; font-weight: 600; color: #fcd116; margin: 0 0 14px; letter-spacing: .01em; }
.hero h1 {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -.015em; color: #fff;
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.9rem); line-height: 1.05; margin: 0 0 20px; max-width: 17ch;
}
.hero-text { font-size: 1.15rem; line-height: 1.6; color: #d9e3ee; max-width: 46ch; margin: 0 0 32px; }
.hero .hero-search { border-color: transparent; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); }
.hero .chips button { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(4px); }
.hero .chips button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-credit { position: absolute; right: 16px; bottom: 10px; margin: 0; font-size: .75rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 700px) {
  .hero { min-height: 0; align-items: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(10, 26, 45, .97) 0%, rgba(10, 26, 45, .9) 50%, rgba(10, 26, 45, .15) 88%); }
  .hero-bg img { object-position: 50% 30%; }
  .hero-inner { padding-top: 140px; padding-bottom: 40px; }
}

.home-section { padding: 64px 0; }
.home-section + .home-section { border-top: 1px solid var(--line); }
.section-title { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 8px; }
.section-intro { color: var(--muted); margin: 0 0 32px; max-width: 60ch; }

.tasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.tasks li { border-bottom: 1px solid var(--line); }
.tasks li:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.tasks a { display: block; padding: 24px 24px 24px 0; text-decoration: none; color: var(--ink); height: 100%; }
.tasks li:not(:nth-child(3n+1)) a { padding-left: 24px; }
.tasks a:hover { background: var(--mist); }
.tasks a:hover .t { color: var(--brand); text-decoration: underline; }
.tasks .t { display: block; font-weight: 600; font-size: 1.08rem; margin-bottom: 4px; }
.tasks .d { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 860px) {
  .tasks { grid-template-columns: 1fr; }
  .tasks li { border-right: 0 !important; }
  .tasks a, .tasks li:not(:nth-child(3n+1)) a { padding: 18px 0; }
}

.missions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; margin: 0; padding: 0; }
.missions li { border-top: 2px solid var(--ink); padding-top: 14px; }
.missions h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 6px; }
.missions p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .missions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .missions { grid-template-columns: 1fr; } }

.units { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.units a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.units a:hover { color: var(--brand); }
.units small { color: var(--muted); }

/* ---------- Persoane (echipă, unități) ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px 32px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
.person .ph { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--mist); display: grid; place-items: center; color: #9aa8b6; }
.person .ph svg { width: 40%; }
.person h3 { font-size: 1.05rem; margin: 14px 0 2px; }
.person .role { color: var(--muted); font-size: .92rem; margin: 0 0 8px; line-height: 1.4; }
.person.lead { grid-column: 1 / -1; display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.person.lead h3 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; margin-top: 0; }
@media (max-width: 600px) { .person.lead { grid-template-columns: 1fr; } }

.unit-card { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
.unit-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.unit-card h2 { font-family: var(--font-head); font-size: 1.3rem; margin: 0 0 4px; }
.unit-card .role { color: var(--muted); margin: 0 0 16px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
@media (max-width: 600px) { .unit-card { grid-template-columns: 1fr; } .unit-card img { max-width: 200px; } }

.link-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.link-columns h3 { font-size: 1rem; margin: 0 0 8px; }
.link-columns ul { list-style: none; margin: 0; padding: 0; }
.link-columns li { padding: 6px 0; border-bottom: 1px solid var(--line); }

/* ---------- Aeronave ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 40px; }
.jump a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.jump a:hover { border-color: var(--brand); color: var(--brand); }
.aircraft { padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.aircraft h2 { font-family: var(--font-head); font-size: 1.6rem; margin: 0 0 4px; }
.aircraft .kind { color: var(--muted); margin: 0 0 18px; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 32px; margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.footnote { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ---------- Galerii ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--mist); cursor: zoom-in; border-radius: 4px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: opacity .2s; }
.gallery button:hover img { opacity: .85; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
dialog.lightbox::backdrop { background: rgba(8, 16, 28, .92); }
dialog.lightbox img { max-width: 92vw; max-height: 84vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; padding: 12px 0 0; }
.lb-bar button { font: inherit; color: #fff; background: rgba(255,255,255,.12); border: 0; border-radius: var(--radius); padding: 8px 14px; cursor: pointer; }
.lb-bar button:hover { background: rgba(255,255,255,.24); }

.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.videos figure { margin: 0; }
.videos video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); }
.videos figcaption { margin-top: 10px; }
.videos figcaption strong { display: block; }
.videos figcaption span { color: var(--muted); font-size: .92rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-grid h2 { font-family: var(--font-head); font-size: 1.3rem; margin: 0 0 12px; }
.contact-block + .contact-block { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.big-line { font-size: 1.35rem; font-weight: 600; }
.map img { border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Căutare declarații ---------- */
.search-box { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 760px; }
.search-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 12px; align-items: end; }
.search-row label { margin-top: 0; }
@media (max-width: 640px) { .search-row { grid-template-columns: 1fr; } }
.results { margin-top: 28px; max-width: 760px; }
.results h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 0 0 8px; }
.results ul { list-style: none; padding: 0; margin: 0; }
.results li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.msg { padding: 14px 18px; border-radius: var(--radius); background: #fff4e5; border-left: 3px solid var(--signal); }

/* ---------- Tipărire ---------- */
@media print {
  .site-header, .site-footer, .sidebar, .section-menu, .pager, .partners, .to-top, .skip-link, .tricolor, .a11y-panel { display: none !important; }
  .page-head { background: none; border: 0; }
  .layout { display: block; }
  a { color: #000; }
  .file::after { content: " (" attr(href) ")"; font-weight: 400; }
}

/* Link lung către un document: text normal + eticheta formatului */
.ext {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 3px;
  padding: 0 5px; vertical-align: 2px; line-height: 1.5;
}
.prose { overflow-wrap: break-word; }

/* ---------- Linkuri utile (logo-uri) ---------- */
.partners { background: var(--mist); border-top: 1px solid var(--line); padding: 40px 0; }
.partners h2 { font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--muted); margin: 0 0 16px; }
.partners ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.partners a {
  display: flex; align-items: center; justify-content: center; height: 84px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.partners a:hover { border-color: var(--brand); }
.partners img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 520px) { .partners ul { grid-template-columns: 1fr 1fr; } .partners a { height: 72px; } }
@media (min-width: 861px) { .partners ul { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 521px) and (max-width: 860px) { .partners ul { grid-template-columns: repeat(3, 1fr); } }

/* =========================================================
   Navigare: căutare, secțiuni, orientare în pagină
   ========================================================= */

/* Buton căutare în antet */
.search-trigger {
  display: inline-flex; align-items: center; gap: 10px; min-width: 250px;
  font: inherit; font-size: .92rem; color: var(--muted);
  background: var(--mist); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 10px 8px 14px; cursor: pointer; text-align: left;
}
.search-trigger:hover { border-color: #b9c5d1; color: var(--ink); }
.search-trigger svg { width: 18px; height: 18px; flex: none; color: var(--ink-soft); }
.search-trigger .label { flex: 1; }
kbd {
  font: inherit; font-size: .75rem; line-height: 1; color: var(--muted);
  border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 3px 6px; background: var(--paper);
}
@media (max-width: 980px) {
  .search-trigger { min-width: 0; padding: 8px 12px; border-radius: var(--radius); background: transparent; }
  .search-trigger .label, .search-trigger kbd { display: none; }
}

/* Fereastra de căutare */
dialog.search-dialog {
  width: min(680px, calc(100vw - 24px)); max-height: min(78vh, 720px);
  margin: 9vh auto auto; padding: 0; border: 0; border-radius: 14px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px rgba(8, 18, 32, .35);
  display: none; flex-direction: column; overflow: hidden;
}
dialog.search-dialog[open] { display: flex; }
dialog.search-dialog::backdrop { background: rgba(13, 27, 44, .55); backdrop-filter: blur(2px); }
.search-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.search-head > svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search-head input {
  flex: 1; min-width: 0; font: inherit; font-size: 1.15rem; color: var(--ink);
  border: 0; outline: 0; background: transparent; padding: 6px 0;
}
.search-head input::-webkit-search-cancel-button { display: none; }
.search-close { font: inherit; font-size: .85rem; color: var(--muted); background: var(--mist); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; cursor: pointer; }
.search-help { margin: 0; padding: 10px 18px; font-size: .82rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.search-results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.search-results li a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.search-results li a .rs { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 2px; }
.search-results li a .rt { display: block; font-weight: 600; }
.search-results li a .rx { display: block; font-size: .88rem; color: var(--ink-soft); margin-top: 3px; line-height: 1.45; }
.search-results li a mark { background: #fff1b8; color: inherit; border-radius: 2px; padding: 0 1px; }
.search-results li[aria-selected="true"] a, .search-results li a:hover { background: var(--brand-tint); }
.search-results li[aria-selected="true"] a .rt { color: var(--brand); }
.search-results .empty-res { padding: 24px 14px; color: var(--muted); }
.search-results .group-label { padding: 10px 14px 4px; font-size: .78rem; font-weight: 600; color: var(--muted); }

/* Hero: câmp de căutare mare + căutări frecvente */
.hero-search {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 520px;
  font: inherit; font-size: 1.08rem; color: var(--muted); text-align: left;
  background: var(--paper); border: 1.5px solid #b9c5d1; border-radius: 12px;
  padding: 15px 16px; cursor: text; box-shadow: 0 6px 18px -10px rgba(19, 38, 61, .35);
}
.hero-search:hover { border-color: var(--brand); }
.hero-search svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.hero-search span { flex: 1; }
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.chips button {
  font: inherit; font-size: .88rem; color: var(--ink-soft); cursor: pointer;
  background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.chips button:hover { border-color: var(--brand); color: var(--brand); background: var(--paper); }

/* Secțiunile site-ului pe prima pagină */
.home-section.tint { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-section.tint + .home-section { border-top: 0; }
.sec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.sec-card, .hub-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 22px 22px 20px; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.sec-card:hover, .hub-card:hover { border-color: var(--brand); box-shadow: 0 10px 26px -14px rgba(10, 79, 143, .45); transform: translateY(-2px); }
.sec-card .ico { width: 28px; height: 28px; color: var(--brand); margin-bottom: 14px; }
.sec-card .t, .hub-card .t { font-weight: 600; font-size: 1.08rem; margin-bottom: 6px; padding-right: 22px; }
.sec-card .d, .hub-card .d { color: var(--muted); font-size: .93rem; line-height: 1.5; flex: 1; }
.sec-card .n { margin-top: 14px; font-size: .82rem; color: var(--brand); font-weight: 600; }
.sec-card::after, .hub-card::after {
  content: ""; position: absolute; top: 26px; right: 22px; width: 8px; height: 8px;
  border-top: 2px solid var(--line); border-right: 2px solid var(--line); transform: rotate(45deg); transition: border-color .15s, right .15s;
}
.sec-card:hover::after, .hub-card:hover::after { border-color: var(--brand); right: 18px; }

/* Pagini de secțiune */
.hub-title { display: flex; align-items: center; gap: 14px; }
.hub-ico { width: 40px; height: 40px; color: var(--brand); flex: none; }
.hub-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.hub-note { color: var(--muted); margin: 0 0 24px; max-width: 70ch; }

/* Anterior / următor */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 76ch; }
.pager a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.pager a:hover { border-color: var(--brand); }
.pager a:hover span { color: var(--brand); }
.pager small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 2px; }
.pager span { font-weight: 600; line-height: 1.35; display: block; }
.pager .next { text-align: right; grid-column: 2; }
.pager .prev small::before { content: "‹ "; }
.pager .next small::after { content: " ›"; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager .next { grid-column: auto; } .pager > span:empty { display: none; } }

/* Înapoi sus */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(8, 18, 32, .3);
}
.to-top:hover { background: var(--brand); color: #fff; }
.to-top svg { width: 20px; height: 20px; }

/* Harta site-ului în footer */
.footer-sitemap { display: grid; grid-template-columns: repeat(7, 1fr); gap: 24px; padding-top: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-sitemap h2 { font-family: var(--font-body); font-size: .92rem; font-weight: 600; margin: 0 0 10px; }
.footer-sitemap h2 a { color: #fff; text-decoration: none; }
.footer-sitemap h2 a:hover { text-decoration: underline; }
.footer-sitemap ul { list-style: none; margin: 0; padding: 0; }
.footer-sitemap li { margin: 0 0 7px; font-size: .85rem; line-height: 1.35; }
.footer-sitemap li a { color: #b9c6d4; text-decoration: none; }
.footer-sitemap li a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 1100px) { .footer-sitemap { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .footer-sitemap { grid-template-columns: 1fr 1fr; } .footer-sitemap li:nth-child(n+4) { display: none; } }
.to-top[hidden] { display: none; }
@media (max-width: 480px) {
  .brand { gap: 10px; }
  .brand img { width: 32px; }
  .brand-name { font-size: .95rem; line-height: 1.2; }
  .header-tools { gap: 6px; }
  .tool-btn, .search-trigger { padding: 8px 9px; }
  .menu-toggle span { display: none; }
}


/* ---------- Rafinări (pagini interioare) ---------- */
.page-head { background: var(--ink); border-bottom: 0; color: #fff; position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07); box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02);
  pointer-events: none;
}
.page-head .wrap { padding-top: 32px; padding-bottom: 40px; position: relative; z-index: 1; }
.page-head .page-title { color: #fff; }
.page-head .page-lead { color: #c3d0dd; }
.page-head .page-lead a { color: #fff; }
.breadcrumb, .breadcrumb a { color: #a9b8c8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { color: #5f7690; }
.hub-ico { color: #fcd116; }
html.a11y-contrast .page-head { background: #000; }

.aircraft-desc { max-width: 76ch; margin: 0 0 24px; color: var(--ink-soft); }
.aircraft-desc p { margin: 0 0 .8em; }
.aircraft-desc ul { margin: 0 0 1em; padding-left: 1.2em; }
.specs-title { font-size: .85rem; font-weight: 600; color: var(--muted); margin: 8px 0 6px; }
.results-count { font-weight: 600; margin: 0 0 4px; }
.search-box .hint { margin: 10px 0 0; }
.results .table-wrap { margin-top: 12px; }
#decl-more { margin-top: 4px; }

/* =========================================================
   v4 – hero roșu + albastru, siglă mare, Facebook, albume
   ========================================================= */

/* Siglă și nume mai mari */
.header-bar { min-height: 92px; }
.brand { gap: 16px; }
.brand img { width: 54px; height: auto; }
.brand-name { font-size: 1.5rem; letter-spacing: -.005em; }
.brand-sub { font-size: .92rem; }
@media (max-width: 980px) { .brand img { width: 44px; } .brand-name { font-size: 1.15rem; } }
@media (max-width: 480px) { .brand img { width: 38px; } .brand-name { font-size: 1rem; } }

/* Facebook în antet */
.fb-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: .92rem; font-weight: 500; color: #fff; background: #1877f2;
  border-radius: 999px; padding: 8px 14px 8px 10px;
}
.fb-link:hover { background: #0f5fd0; color: #fff; }
.fb-link svg { width: 22px; height: 22px; }
@media (max-width: 980px) { .fb-link { padding: 8px; } .fb-link .label { display: none; } }

/* Hero cu două elicoptere: albastru (IGAv) + roșu (SMURD) */
.hero.hero-duo { background: #0b1d31; min-height: clamp(540px, 74vh, 720px); }
.hero.hero-duo::before { display: none; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.duo { position: absolute; top: 0; bottom: 0; overflow: hidden; }
.duo img { width: 100%; height: 100%; object-fit: cover; }
.duo-blue { left: 0; width: 66%; clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); }
.duo-blue img { object-position: 92% 55%; }
.duo-red { right: 0; width: 50%; clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
.duo-red img { object-position: 28% 50%; }
.duo-red::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 29, 49, .35), rgba(11, 29, 49, 0) 40%); }
.hero-media::before {
  /* linia galbenă de separare dintre cele două fotografii */
  content: ""; position: absolute; inset: 0; z-index: 2; background: #fcd116;
  clip-path: polygon(62% 0, 62.45% 0, 50.45% 100%, 50% 100%);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 24, 41, .95) 0%, rgba(9, 24, 41, .85) 30%, rgba(9, 24, 41, .25) 52%, rgba(9, 24, 41, 0) 62%),
    linear-gradient(0deg, rgba(9, 24, 41, .6) 0%, rgba(9, 24, 41, 0) 30%);
}
.hero-duo .hero-inner { position: relative; z-index: 3; }
.hero-duo h1 { max-width: 620px; font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.3rem); }
.hero-duo .hero-text { max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-btn { background: #fff; color: var(--ink); border-color: #fff; }
.hero-btn:hover { background: #fcd116; border-color: #fcd116; color: var(--ink); }
.hero-fb {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none;
  color: #fff; background: #1877f2; border-radius: var(--radius); padding: 11px 18px 11px 14px;
}
.hero-fb:hover { background: #0f5fd0; color: #fff; }
.hero-fb svg { width: 24px; height: 24px; }
@media (max-width: 760px) {
  .hero.hero-duo { display: block; min-height: 0; }
  .hero-media { position: relative; height: 260px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(9, 24, 41, 1) 0%, rgba(9, 24, 41, 0) 45%); }
  .duo-blue { width: 64%; clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
  .duo-blue img { object-position: 70% 55%; }
  .duo-red { width: 56%; }
  .hero-media::before { clip-path: polygon(64.4% 0, 65.2% 0, 49.9% 100%, 49.1% 100%); }
  .duo-red img { object-position: 30% 50%; }
  .hero-duo .hero-inner { padding-top: 8px; padding-bottom: 40px; }
}

/* Textul de bun venit */
.welcome-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.welcome p { color: var(--ink-soft); }
.welcome-lead { font-weight: 600; margin: 0 0 8px; }
.welcome-list { margin: 0; padding-left: 1.2em; }
.welcome-list li { margin: 6px 0; }
@media (max-width: 860px) { .welcome-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Fără breadcrumb: titlul respiră mai mult */
.page-head .wrap { padding-top: 40px; padding-bottom: 44px; }

/* Albume foto */
.album { padding: 28px 0 8px; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.album h2 { font-family: var(--font-head); font-size: 1.4rem; margin: 0; }
.album-count { color: var(--muted); font-size: .9rem; margin: 2px 0 16px; }
.jump small { color: var(--muted); margin-left: 4px; }

/* TelVerde cu receptor */
.tel-verde { display: inline-flex; align-items: center; gap: 10px; }
.tel-verde img { width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.decl-row { grid-template-columns: 170px 1fr auto; }
.decl-actions { display: flex; gap: 8px; }
.decl-actions .btn { white-space: nowrap; }
@media (max-width: 760px) { .decl-row { grid-template-columns: 1fr; } .decl-actions .btn { flex: 1; } }
.results li span a { font-weight: 600; }
.muted-note { color: var(--muted); font-size: .92rem; margin: 6px 0 0; }

/* =========================================================
   v5 – hero cu mozaic foto, butoane antet identice, siglă mai mare
   ========================================================= */
.header-bar { min-height: 104px; }
.brand img { width: 66px; }
.brand-name { font-size: 1.8rem; }
.brand-sub { font-size: 1rem; }
@media (max-width: 1100px) { .brand-name { font-size: 1.45rem; } .brand img { width: 56px; } }
@media (max-width: 980px) { .header-bar { min-height: 84px; } .brand img { width: 48px; } .brand-name { font-size: 1.15rem; } }
@media (max-width: 480px) { .brand img { width: 40px; } .brand-name { font-size: 1rem; } }

/* Facebook și Accesibilitate: același buton */
.fb-link, #a11y-toggle {
  display: inline-flex; align-items: center; gap: 8px; height: 42px;
  padding: 0 16px 0 12px; border-radius: 999px; border: 0;
  font: inherit; font-size: .92rem; font-weight: 500; line-height: 1; color: #fff; text-decoration: none; cursor: pointer;
}
.fb-link { background: #1877f2; }
.fb-link:hover { background: #0f5fd0; color: #fff; }
#a11y-toggle { background: var(--ink); }
#a11y-toggle:hover, #a11y-toggle[aria-expanded="true"] { background: var(--brand); }
.fb-link svg, #a11y-toggle svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 980px) {
  .fb-link, #a11y-toggle { width: 42px; padding: 0; justify-content: center; }
  .fb-link .label, #a11y-toggle .label { display: none; }
}

/* Hero: text + mozaic cu trei fotografii */
.hero.hero-mosaic {
  display: block; min-height: 0; color: #fff;
  background: radial-gradient(120% 140% at 85% 0%, #1c3b5f 0%, #13263d 45%, #0d1c2e 100%);
}
.hero.hero-mosaic::before { display: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero-mosaic h1 { color: #fff; max-width: 17ch; font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.4rem); margin-bottom: 20px; }
.hero-mosaic .hero-text { color: #d3deea; max-width: 44ch; margin-bottom: 32px; }
.hero-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.hero-btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.tile { margin: 0; overflow: hidden; border-radius: 14px; background: #0d1c2e; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.03); }
.tile-main { grid-column: 1 / -1; aspect-ratio: 16 / 8.2; }
.tile-red, .tile-third { aspect-ratio: 4 / 3; }
.tile-red img { object-position: 50% 45%; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; padding-bottom: 44px; }
  .mosaic { order: -1; gap: 10px; }
  .tile { border-radius: 10px; }
}
.welcome { background: var(--paper); }

/* =========================================================
   v6 – fotografia elicopterului IGAv pe tot fundalul zonei principale
   ========================================================= */
.hero.hero-blend {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: #0d2036; min-height: clamp(520px, 72vh, 700px); display: flex; align-items: center;
}
.hero.hero-blend::before { display: none; }
.blend { position: absolute; inset: 0; z-index: -1; }
.blend img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.blend::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 26, 45, .94) 0%, rgba(10, 26, 45, .82) 34%, rgba(10, 26, 45, .25) 66%, rgba(10, 26, 45, .05) 100%),
    linear-gradient(0deg, rgba(10, 26, 45, .55) 0%, rgba(10, 26, 45, 0) 35%);
}
.hero-blend .hero-inner { position: relative; padding-top: 64px; padding-bottom: 72px; }
.hero-blend h1 { color: #fff; max-width: 17ch; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.9rem); line-height: 1.05; margin: 0 0 20px; }
.hero-blend .hero-text { color: #d9e3ee; max-width: 46ch; margin: 0 0 32px; font-size: 1.15rem; line-height: 1.6; }
@media (max-width: 700px) {
  .hero.hero-blend { min-height: 0; align-items: flex-end; }
  .blend img { object-position: 50% 30%; }
  .blend::after { background: linear-gradient(0deg, rgba(10, 26, 45, .97) 0%, rgba(10, 26, 45, .9) 50%, rgba(10, 26, 45, .15) 88%); }
  .hero-blend .hero-inner { padding-top: 140px; padding-bottom: 40px; }
}

/* =========================================================
   v7 – fotografiile de fundal din slide/ se schimbă la 5 secunde (assets/js/slide.js)
   ========================================================= */
.blend img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.blend img.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .blend img { transition: none; } }
