:root {
  --bg: #08111c;
  --bg-2: #0f1d2e;
  --bg-3: #14263a;
  --panel: #102235;
  --line: #2b4058;
  --text: #eaf1f7;
  --muted: #c4d5e7;
  --brand: #f97316;
  --brand-2: #ff9d3b;
  --ok: #26c281;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Barlow", "Segoe UI", "Arial", sans-serif;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: #ffffff;
  color: #0b1220;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.top-strip {
  background: #050b13;
  border-bottom: 1px solid #1d2a3a;
  font-size: 0.88rem;
  color: #c7d7e7;
}

.top-strip a {
  color: #c7d7e7;
  text-decoration: none;
}

.top-strip a:hover,
.top-strip a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.navbar {
  backdrop-filter: blur(10px);
  background: rgba(8, 17, 28, 0.86);
  border-bottom: 1px solid #22344a;
}

.navbar .nav-link,
.navbar-brand {
  color: #dbe7f3;
}

.navbar .nav-link.active,
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar-brand:hover,
.navbar-brand:focus {
  color: #ffffff;
}

.btn-brand {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #0c1118;
  border: none;
  font-weight: 700;
}

.btn-brand:hover,
.btn-brand:focus {
  color: #000;
  filter: brightness(1.03);
}

.btn-outline-light-2 {
  color: #eaf1f7;
  border: 1px solid #4f6680;
}

.btn-outline-light-2:hover,
.btn-outline-light-2:focus {
  color: #fff;
  border-color: #94abc2;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: linear-gradient(110deg, rgba(6, 12, 20, 0.95) 20%, rgba(6, 12, 20, 0.6) 65%, rgba(6, 12, 20, 0.95) 100%),
    url("../img/cnc-lgt.jpg") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -100px;
  height: 220px;
  background: var(--bg);
  transform: rotate(-4deg);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 157, 59, 0.14);
  color: #ffd2a2;
  border: 1px solid rgba(255, 157, 59, 0.36);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0.3px;
}

.hero p.lead {
  color: #c2d3e5;
  max-width: 760px;
}

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

.fact-card {
  background: rgba(15, 29, 46, 0.68);
  border: 1px solid #38506b;
  border-radius: 0.9rem;
  padding: 0.95rem;
}

.fact-card .num {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.section-pad {
  padding: 5.3rem 0;
}

.section-dark {
  background: var(--bg);
}

.section-mid {
  background: var(--bg-2);
}

.section-light {
  background: #f4f7fb;
  color: #111827;
}

.section-light .text-muted {
  color: #4f5d6f !important;
}

.text-muted {
  color: #c4d5e7 !important;
}

.section-dark .text-muted,
.section-mid .text-muted {
  color: #c5d6e7 !important;
}

.hero .text-muted,
.fact-card .text-muted,
.timeline .text-muted {
  color: #d2e0ef !important;
}

.section-head {
  max-width: 820px;
  margin-bottom: 2.2rem;
}

.section-head p {
  color: var(--muted);
  margin-bottom: 0;
}

.cap-card {
  height: 100%;
  background: linear-gradient(165deg, #12253a 0%, #0e1d2f 100%);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.3rem;
}

.cap-card .badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.7rem;
  background: rgba(255, 157, 59, 0.18);
  border: 1px solid rgba(255, 157, 59, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  color: #ffd8b0;
  font-weight: 700;
}

.image-tile {
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #23384f;
  background: #0c1b2b;
}

.image-tile img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.image-tile .tile-body {
  padding: 1rem;
}

.timeline {
  border-left: 2px solid #37516c;
  padding-left: 1rem;
}

.timeline-item {
  margin-bottom: 1.2rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.48rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(255, 157, 59, 0.2);
}

.contact-panel {
  border: 1px solid #2a415a;
  border-radius: 1rem;
  background: linear-gradient(165deg, #0f1f32, #10273f);
  padding: 1.3rem;
}

.contact-panel .text-muted,
.cap-card .text-muted {
  color: #cfe0f0 !important;
}

.contact-list li {
  margin-bottom: 0.55rem;
}

.contact-list a {
  color: #d9ebff;
}

.contact-list a:hover,
.contact-list a:focus {
  color: #fff;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  border: 1px solid #324b66;
  padding: 0.75rem;
  vertical-align: top;
}

.legal-table th {
  width: 35%;
  color: #dbe6f2;
}

.policy h2,
.policy h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.7rem;
}

.policy p,
.policy li {
  color: #c4d4e4;
  line-height: 1.7;
}

.policy .policy-meta {
  border: 1px solid #2d4660;
  border-radius: 0.75rem;
  background: #0f1f32;
  padding: 0.9rem 1rem;
  margin: 1rem 0 1.5rem;
}

.policy .policy-meta p {
  margin-bottom: 0.3rem;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.legal-note {
  border: 1px solid #2d4660;
  border-radius: 0.85rem;
  background: #0e1d30;
  padding: 1rem;
}

.policy a {
  color: #ffd19a;
}

.site-footer {
  background: #040a11;
  border-top: 1px solid #1d2b3d;
  color: #adbed0;
}

.site-footer a {
  color: #dce9f6;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  background: #0a1727;
  border-top: 1px solid #29425c;
  padding: 0.85rem 0;
}

.cookie-banner p {
  margin: 0;
  color: #c8d9e9;
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .quick-facts {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 6rem;
  }

  .hero::after {
    height: 140px;
    bottom: -70px;
  }

  .image-tile img {
    height: 230px;
  }
}
