:root {
  --brand: #c4000b;
  --brand-dark: #760009;
  --brand-deep: #570007;
  --brand-soft: #fff1f2;
  --ink: #121827;
  --text: #5b616d;
  --line: #e7e7e7;
  --surface: #ffffff;
  --muted: #f8f8f8;
  --shadow: 0 4px 18px rgba(24, 27, 35, .06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg { flex: 0 0 auto; }

.container { max-width: 1280px; }

.card-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 0 21px;
  border: 1px solid var(--brand);
  border-radius: 5px;
  background: linear-gradient(180deg, #cc0711 0%, #b80009 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 5px 12px rgba(196, 0, 11, .15);
}

.btn-brand:hover,
.btn-brand:focus {
  border-color: #a90008;
  background: #a90008;
  color: #fff;
}

.btn-outline-brand {
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 600;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.site-header {
  z-index: 1030;
  border-bottom: 1px solid var(--line);
}

.site-header .navbar {
  min-height: 76px;
  padding: 7px 0;
}

.navbar-brand img {
  width: 150px;
  height: 59px;
  object-fit: contain;
  object-position: left center;
}

.navbar-nav { gap: 28px; }

.nav-link {
  position: relative;
  padding: 27px 0 24px !important;
  color: #171a21 !important;
  font-weight: 500;
}

.nav-link.active {
  color: var(--brand) !important;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 2px;
  background: var(--brand);
}

.candidate-button {
  min-width: 174px;
}

.footer-highlights {
  background: linear-gradient(90deg, #cf0010, #bc000b);
}

.highlight-item {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 22px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.highlight-item:last-child { border-right: 0; }

.highlight-item strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.highlight-item span {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  opacity: .92;
}

.footer-main {
  padding: 34px 0 32px;
  background: linear-gradient(120deg, #790008, #5c0006);
}

.footer-main h2 {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
}

.footer-logo {
  width: 160px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: .97;
}

.footer-description {
  max-width: 245px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
}

.footer-links a {
  display: block;
  padding: 3px 0;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 7px;
  font-size: 13px;
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 800;
}

.footer-bottom {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  background: #620006;
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
}

.footer-bottom i {
  display: inline-block;
  width: 1px;
  height: 13px;
  margin: 0 18px -2px;
  background: rgba(255, 255, 255, .45);
}

@media (max-width: 991.98px) {
  .site-header .navbar { min-height: 68px; }

  .navbar-brand img {
    width: 138px;
    height: 52px;
  }

  .navbar-nav {
    gap: 0;
    padding: 10px 0;
  }

  .nav-link { padding: 10px 0 !important; }

  .nav-link.active::after {
    right: auto;
    bottom: 4px;
    width: 30px;
  }

  .candidate-button { margin-bottom: 14px; }

  .highlight-item {
    min-height: 82px;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  body { font-size: 14px; }

  .highlight-item {
    min-height: 94px;
    gap: 11px;
    padding: 13px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .highlight-item strong { font-size: 14px; }

  .highlight-item span { font-size: 10px; }

  .footer-main { padding-top: 28px; }
}
