@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/Suisse_Intl_Book.woff2") format("woff2"), url("../fonts/Suisse_Intl_Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/Suisse_Intl_Medium.woff2") format("woff2"), url("../fonts/Suisse_Intl_Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/Suisse_Intl_Bold.woff2") format("woff2"), url("../fonts/Suisse_Intl_Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #17243f;
  --navy-2: #213a6c;
  --blue: #4d7ec2;
  --blue-soft: #d9e7f7;
  --gold: #f28c18;
  --gold-soft: #ffe7c2;
  --white: #fff;
  --paper: #f6f8fc;
  --ink-soft: #61708c;
  --border: #dbe6f3;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Suisse Intl", Arial, sans-serif;
  line-height: 1.5;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 48px;
  background: var(--navy);
  box-shadow: 0 2px 12px rgb(0 0 0 / 25%);
}

.brand {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.brand span {
  color: var(--gold);
}

.name-highlight .name-together {
  color: var(--gold);
}

.name-highlight .name-rest {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #b5c9e8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links .nav-cta {
  border-radius: 4px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 18px;
}

.hero {
  position: relative;
  min-height: 0;
  aspect-ratio: 1186 / 444;
  overflow: hidden;
  background: var(--navy);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgb(23 36 63 / 5%) 0%, rgb(23 36 63 / 6%) 45%, rgb(23 36 63 / 88%) 100%),
    linear-gradient(90deg, rgb(23 36 63 / 70%) 0%, rgb(23 36 63 / 12%) 48%, rgb(23 36 63 / 0%) 100%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  right: 56px;
  bottom: 34px;
  left: 56px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  border-radius: 3px;
  background: var(--blue);
  color: var(--white);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.stat-num,
.cta h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  color: var(--white);
  font-size: 48px;
  line-height: 1.08;
}

.hero h1 .name-rest {
  display: block;
  margin-top: 6px;
  font-size: 30px;
  line-height: 1.18;
}

.hero p {
  max-width: 680px;
  margin: 18px 0 30px;
  color: #eef4ff;
  font-size: 17px;
  text-shadow: 0 2px 12px rgb(0 0 0 / 38%);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 4px;
  padding: 0 24px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--gold);
  color: var(--navy);
}

.button-secondary {
  border: 1px solid rgb(255 255 255 / 45%);
  color: var(--white);
}

.hero-main-photo {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: contain;
  object-position: center top;
}

.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  padding: 20px 56px;
  background: var(--gold);
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.stat-num {
  color: var(--navy);
  font-size: 29px;
}

.stat-label {
  max-width: 130px;
  color: rgb(23 36 63 / 75%);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgb(23 36 63 / 22%);
}

.section {
  padding: 66px 56px;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.section-dark .section-kicker {
  color: var(--gold);
}

.section-title {
  margin-bottom: 34px;
  color: inherit;
  font-size: 30px;
  line-height: 1.15;
}

.carousel {
  position: relative;
}

.carousel-track,
.priority-grid,
.candidates-grid {
  display: grid;
  gap: 20px;
}

.carousel-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  transition: opacity .2s ease;
}

.fact-card,
.priority-card,
.candidate-card {
  border-radius: 8px;
}

.fact-card {
  position: relative;
  display: flex;
  min-height: 235px;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 28px 24px;
}

.card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--navy-2);
}

.card-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.fact-card h3,
.priority-card h3,
.candidate-name {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.fact-card p,
.priority-card p,
.candidate-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.fact-num {
  position: absolute;
  right: 20px;
  bottom: 14px;
  color: var(--border);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-prev {
  left: -19px;
}

.carousel-next {
  right: -19px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--blue);
  transform: scale(1.25);
}

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

.priority-card {
  border-left: 3px solid var(--gold);
  background: rgb(255 255 255 / 8%);
  padding: 24px;
}

.section-light .priority-card {
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  background: var(--white);
}

.priority-card .card-icon {
  margin-bottom: 14px;
  background: rgb(230 161 31 / 16%);
  color: var(--gold);
}

.priority-card p {
  color: #c5d5ee;
}

.section-light .priority-card p {
  color: var(--ink-soft);
}

.continuity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.continuity-block {
  margin-top: 58px;
}

.continuity-block .section-title {
  margin-bottom: 24px;
}

.continuity-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.continuity-head {
  margin-bottom: 16px;
}

.continuity-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

.continuity-head p {
  margin: 6px 0 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.project-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-list li {
  position: relative;
  padding-left: 18px;
  color: #34425c;
  font-size: 14px;
  line-height: 1.35;
}

.project-list li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.project-list li.is-extra {
  display: none;
}

.continuity-grid.is-expanded .project-list li.is-extra {
  display: list-item;
}

.project-toggle {
  display: block;
  margin: 26px auto 0;
  border: 1px solid rgb(77 126 194 / 35%);
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  padding: 9px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.project-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.candidates-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 52px;
}

.candidate-card {
  text-align: center;
}

.candidate-photo {
  width: 128px;
  height: 128px;
  margin: 0 auto 16px;
  border: 2px solid rgb(77 126 194 / 45%);
  border-radius: 50%;
  background: var(--blue-soft);
  object-fit: cover;
  box-shadow: 0 8px 24px rgb(23 36 63 / 12%);
}

.candidate-photo-fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgb(23 36 63 / 20%), rgb(230 161 31 / 25%)),
    url("../img/trebotov-naves-2020.jpg") center / cover;
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 2px 12px rgb(0 0 0 / 45%);
}

.candidate-photo-fallback span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 50%;
  background: rgb(23 36 63 / 62%);
}

.candidate-body {
  padding: 0;
}

.candidate-order {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--navy);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
}

.candidate-name {
  color: var(--navy);
  font-weight: 700;
}

.section-dark .candidate-name {
  color: var(--white);
}

.candidate-meta {
  margin-top: 5px;
}

.section-dark .candidate-meta {
  color: #c5d5ee;
}

.candidate-detail-button {
  margin-top: 12px;
  border: 1px solid rgb(77 126 194 / 35%);
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.candidate-detail-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.section-dark .candidate-detail-button {
  border-color: rgb(255 255 255 / 22%);
  color: var(--white);
}

.section-dark .candidate-detail-button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(10 18 34 / 72%);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, 88vh);
  overflow: auto;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  padding: 30px;
  box-shadow: 0 24px 70px rgb(0 0 0 / 32%);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.modal-candidate-head {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding-right: 30px;
}

.modal-candidate-head img,
.modal-photo-fallback {
  width: 112px;
  height: 112px;
  border: 2px solid rgb(77 126 194 / 45%);
  border-radius: 50%;
  object-fit: cover;
}

.modal-photo-fallback {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-size: 32px;
  font-weight: 700;
}

.modal-photo-fallback[hidden],
.modal-candidate-head img[hidden] {
  display: none;
}

.modal-candidate-head .section-kicker {
  margin-bottom: 6px;
}

.modal-candidate-head h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.18;
}

.modal-candidate-head p:last-child {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.modal-candidate-content {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.modal-candidate-content p {
  margin: 0;
  color: #34425c;
}

.supporters-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 18px;
  max-width: 900px;
}

.supporters-list span {
  position: relative;
  min-width: 160px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  padding: 12px 10px 12px 22px;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
}

.section-light .supporters-list span {
  border-bottom-color: var(--border);
  color: var(--navy);
}

.supporters-list span:nth-child(3n + 1) {
  min-width: 210px;
}

.supporters-list span:nth-child(4n + 2) {
  margin-top: 18px;
}

.supporters-list span:nth-child(5n) {
  min-width: 190px;
  margin-left: 26px;
}

.supporters-list span:nth-child(7n) {
  margin-top: -6px;
}

.supporters-list span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta h2 {
  max-width: 620px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.22;
}

.section-dark .cta h2 {
  color: var(--white);
}

.cta strong {
  color: var(--gold);
}

.site-footer {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 30px 56px;
  background: #10182b;
  color: #8ea3c4;
  text-align: center;
}

.footer-logo {
  color: var(--white);
  font-weight: 700;
}

.footer-logo span {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 18px;
}

.social-links a {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
}

.social-links svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.footer-small {
  font-size: 13px;
}

@media (max-width: 920px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    aspect-ratio: auto;
    min-height: 620px;
  }

  .hero-main-photo {
    height: auto;
    max-height: 48vh;
    object-fit: contain;
  }

  .hero-copy {
    right: 20px;
    bottom: 24px;
    left: 20px;
  }

  .section,
  .stats-strip,
  .site-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero h1 .name-rest {
    font-size: 24px;
  }

  .stats-strip {
    flex-wrap: wrap;
    gap: 18px;
  }

  .stat-divider {
    display: none;
  }

  .carousel-track,
  .priority-grid,
  .continuity-grid,
  .candidates-grid {
    grid-template-columns: 1fr;
  }

  .supporters-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .supporters-list span {
    min-width: 0;
    margin: 0 !important;
  }

  .modal {
    align-items: flex-end;
    padding: 14px;
  }

  .modal-panel {
    max-height: 92vh;
    padding: 24px 20px;
  }

  .modal-candidate-head {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-right: 0;
    text-align: center;
  }

  .carousel-button {
    display: none;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}
