﻿:root {
  --bg: #070e19;
  --surface: rgba(8, 19, 34, 0.88);
  --surface-2: rgba(10, 27, 47, 0.84);
  --text: #f2f8ff;
  --muted: #9fb2c9;
  --line: rgba(103, 198, 255, 0.26);
  --accent: #49d3ff;
  --accent-2: #27ffc4;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Chivo", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 0% -10%, #103051, transparent 60%),
    radial-gradient(900px 500px at 100% -10%, #1f2c52, transparent 60%),
    linear-gradient(rgba(99, 171, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 171, 255, 0.05) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
}

h1,
h2,
h3,
.brand {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3, 13, 24, 0.86);
  box-shadow: 0 0 0 1px rgba(73, 211, 255, 0.08), 0 14px 26px rgba(0, 8, 18, 0.45);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.site-nav {
  display: flex;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
  text-shadow: 0 0 14px rgba(73, 211, 255, 0.55);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
}

main {
  padding: 26px 0 40px;
  display: grid;
  gap: 18px;
}

section {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--surface);
  padding: 24px;
  box-shadow: inset 0 0 0 1px rgba(39, 255, 196, 0.05);
}

.hero {
  padding: 30px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.1vw, 3.7rem);
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.lead,
section p,
section li,
section td,
section th {
  color: var(--muted);
  line-height: 1.6;
}

.lead {
  max-width: 780px;
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: #04131e;
  background: linear-gradient(120deg, var(--accent), #87e3ff);
  box-shadow: 0 10px 20px rgba(73, 211, 255, 0.25);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(11, 25, 42, 0.65);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-secondary:hover {
  border-color: rgba(73, 211, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(73, 211, 255, 0.25);
}

.hero-media {
  margin: 20px 0 0;
}

.hero-media img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  max-height: 420px;
  object-fit: cover;
}

.hero-media img.img-portrait {
  object-fit: contain;
  object-position: center top;
  background: #091422;
  padding: 8px;
  max-height: 620px;
}

.metrics,
.grid-3,
.grid-2,
.gallery-grid,
.video-grid {
  display: grid;
  gap: 12px;
}

.metrics {
  margin-top: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metrics article,
.card,
.wide-card,
.stat-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 166px;
  box-shadow: inset 0 0 0 1px rgba(73, 211, 255, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.metrics article:hover,
.card:hover,
.wide-card:hover,
.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(73, 211, 255, 0.66);
  box-shadow: inset 0 0 0 1px rgba(73, 211, 255, 0.14), 0 10px 22px rgba(5, 12, 22, 0.35);
}

.metrics h3,
.card h3,
.wide-card h3,
.stat-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.metrics p,
.card p,
.wide-card p,
.stat-card p {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  margin-top: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery figure {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.gallery figure.figure-portrait img.img-portrait {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center top;
  background: #091422;
  padding: 8px;
}

.gallery figcaption {
  padding: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  padding: 14px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(73, 211, 255, 0.07);
}

.video-card h3 {
  margin: 0;
}

.video-slot {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 12px;
  min-height: 220px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(165deg, rgba(22, 61, 83, 0.4), rgba(20, 15, 44, 0.45));
}

.video-slot-placeholder {
  text-align: center;
}

.video-slot-placeholder strong {
  display: block;
  margin-bottom: 8px;
}

.video-slot-ready {
  border-style: solid;
  padding: 0;
  background: #061020;
  overflow: hidden;
}

.video-slot video {
  width: 100%;
  min-height: 220px;
  border-radius: 12px;
  background: #020812;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.table th,
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.table th {
  color: var(--text);
  background: rgba(26, 58, 84, 0.5);
}

.table tr:last-child td {
  border-bottom: 0;
}

.workflow ol {
  margin: 0;
  padding-left: 20px;
}

.contact {
  text-align: center;
  padding: 28px;
}

.contact .btn {
  margin-top: 8px;
}

.legal p {
  margin: 0 0 10px;
}

.notice {
  border: 1px solid var(--line);
  background: rgba(15, 54, 79, 0.35);
  border-radius: 12px;
  padding: 12px;
}

.site-footer {
  padding: 8px 0 30px;
  text-align: center;
  color: var(--muted);
}

.bg-glow {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(95px);
}

.bg-glow-a {
  width: 320px;
  height: 320px;
  background: #156f8c;
  top: 8%;
  right: 7%;
}

.bg-glow-b {
  width: 260px;
  height: 260px;
  background: #1f4ea1;
  left: 8%;
  bottom: 12%;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .metrics,
  .grid-3,
  .grid-2,
  .gallery-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 62px;
    right: 0;
    width: min(260px, 90vw);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(8, 21, 37, 0.98);
    padding: 12px;
    flex-direction: column;
    gap: 10px;
    display: none;
  }

  .site-nav.nav-open {
    display: flex;
  }

  .hero {
    padding: 22px;
  }

  .metrics article,
  .card,
  .wide-card,
  .stat-card {
    min-height: 0;
  }
}
