:root {
  --red: #c92534;
  --green: #477050;
  --deep: #163a2a;
  --mint: #f2faf1;
  --cream: #fffdf7;
  --paper: #ffffff;
  --ink: #17231d;
  --muted: #66736a;
  --line: rgba(22, 58, 42, 0.14);
  --shadow: 0 18px 50px rgba(22, 58, 42, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--mint);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -50px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--deep);
  color: #fff;
}
.skip-link:focus { top: 12px; }

.topbar {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 7px 16px;
  color: #fff;
  background: var(--deep);
  font-size: 14px;
}
.topbar a { text-decoration: none; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 52px);
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand img { width: clamp(156px, 18vw, 228px); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--deep);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link,
.submenu a,
.language a,
.btn {
  min-height: 42px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  color: var(--deep);
}
.nav-link:hover,
.nav-link.active { background: rgba(71, 112, 80, 0.11); }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  display: none;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.nav-item:hover .submenu,
.nav-item:focus-within .submenu { display: grid; }
.submenu a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--ink);
  border-radius: 6px;
}
.submenu a:hover { background: var(--mint); color: var(--red); }

.language {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.language a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  color: var(--deep);
}
.language .active { color: #fff; background: var(--red); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  min-height: 620px;
  color: #fff;
  background: var(--deep);
}
.hero-media { position: relative; min-height: 440px; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 58, 42, 0.12), rgba(22, 58, 42, 0.74));
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 84px);
}
.eyebrow {
  margin: 0 0 11px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #fff; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(42px, 6vw, 78px); }
h2 { font-size: clamp(30px, 4vw, 54px); }
h3 { font-size: 23px; }
.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 21px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
}
.btn.primary { color: #fff; background: var(--red); }
.btn.light { color: var(--deep); background: #fff; }
.btn.outline { color: var(--deep); border: 1px solid var(--line); background: #fff; }

.page-hero {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(90deg, rgba(22,58,42,.94), rgba(22,58,42,.74)), url("images/DJI_0936_3.jpg") center/cover;
}
.page-hero p { max-width: 760px; margin: 18px 0 0; font-size: 20px; color: rgba(255,255,255,.86); }

.section { padding: clamp(56px, 7vw, 96px) clamp(18px, 5vw, 72px); }
.section.white { background: #fff; }
.section-heading { max-width: 880px; margin-bottom: 32px; }
.lead { max-width: 900px; font-size: 20px; color: var(--muted); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 26px; align-items: start; }
.panel {
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.panel.green { color: #fff; background: var(--deep); }
.panel.green p, .panel.green li { color: rgba(255,255,255,.82); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 22px; }
.card p { color: var(--muted); }

.document-panel {
  margin-top: 30px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.section-heading.compact { margin-bottom: 18px; }
.section-heading.compact h2 { font-size: clamp(24px, 3vw, 34px); }
.featured-docs {
  display: grid;
  gap: 12px;
}
.featured-doc {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  min-height: 0;
  padding: 20px 22px 20px 24px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  background: #fff;
}
.featured-doc strong {
  grid-column: 1;
  max-width: none;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
}
.featured-doc span {
  grid-column: 1;
  max-width: 760px;
  color: var(--muted);
}
.featured-kicker {
  grid-column: 1;
  width: fit-content;
  padding: 0;
  color: var(--green) !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 0;
  background: transparent;
}
.featured-doc em {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  width: fit-content;
  margin-top: 0;
  padding: 9px 14px;
  color: #fff;
  font-style: normal;
  font-weight: 900;
  border-radius: 999px;
  background: var(--red);
}
.featured-doc:hover {
  border-color: rgba(201,37,52,.35);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.link-list { display: grid; gap: 10px; }
.doc-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.doc-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  border-radius: 8px;
  background: var(--red);
}
.doc-title { flex: 1; font-weight: 800; }
.doc-action {
  flex: 0 0 auto;
  color: var(--red);
  font-weight: 900;
  white-space: nowrap;
}
.doc-link:hover { border-color: rgba(201,37,52,.45); box-shadow: var(--shadow); transform: translateY(-1px); }

.news-links {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
}
.media-link {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.media-link span { color: var(--muted); }
.media-link strong { color: var(--red); text-align: right; }
.media-link:hover { border-color: rgba(201,37,52,.45); box-shadow: var(--shadow); }
.poster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.poster-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gallery-thumb:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
  border-radius: 8px;
}
.gallery-thumb img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px;
  background: rgba(14, 27, 20, 0.88);
}
.lightbox.open { display: flex; }
.lightbox-image {
  max-width: min(1120px, 100%);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,.36);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--deep);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--yellow); }

.notice {
  padding: 18px 20px;
  background: #fff;
  border-left: 6px solid var(--red);
  border-radius: 8px;
}

.support-section {
  padding: clamp(34px, 5vw, 62px) clamp(18px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
}
.support-section img {
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #101a15;
}
.footer a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-logo { width: 190px; margin-bottom: 14px; filter: brightness(1.08); }
.copyright { padding: 16px clamp(18px, 5vw, 72px); color: #fff; background: #0b120e; font-size: 14px; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto auto auto; }
  .menu-toggle { display: block; justify-self: end; }
  .nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 12px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav-link { width: 100%; }
  .submenu {
    position: static;
    min-width: 0;
    display: grid;
    margin: 0 0 8px 12px;
    box-shadow: none;
  }
  .language { justify-self: end; }
  .hero { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .site-header { gap: 10px; padding: 10px 14px; }
  .brand img { width: 132px; }
  .language a { min-height: 36px; padding: 5px 8px; }
  .hero { min-height: auto; }
  .hero-media { min-height: 310px; }
  .hero p:not(.eyebrow), .page-hero p, .lead { font-size: 18px; }
  .content-grid, .card-grid, .featured-docs, .gallery-grid, .poster-grid, .footer { grid-template-columns: 1fr; }
  .featured-doc { grid-template-columns: 1fr; }
  .featured-doc em {
    grid-column: 1;
    grid-row: auto;
  }
  .gallery-thumb img { height: 220px; }
  .doc-link, .media-link { flex-direction: column; gap: 4px; }
  .doc-link { align-items: flex-start; }
  .doc-action { white-space: normal; }
  .media-link strong { text-align: left; }
  .lightbox { padding: 64px 16px; }
  .lightbox-image { max-height: 76vh; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 14px;
    transform: none;
  }
  .lightbox-prev { left: calc(50% - 54px); }
  .lightbox-next { right: calc(50% - 54px); }
}
