:root {
  --navy: #062653;
  --navy-dark: #031d43;
  --gold: #f7b900;
  --gold-dark: #d99d00;
  --ink: #092149;
  --muted: #506078;
  --cream: #f8fafc;
  --white: #fff;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

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

a { text-decoration: none; }

.container { max-width: 1180px; }
body.menu-open { overflow: hidden; }

.site-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 30px rgba(6, 38, 83, .08);
}

.navbar { min-height: 92px; }

.campaign-logo {
  width: 195px;
  color: var(--navy);
  line-height: 1;
  position: relative;
  padding: 4px 0;
}

.logo-word {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.5px;
  display: block;
}

.logo-word i {
  display: inline-block;
  width: 10px;
  height: 27px;
  background: var(--navy);
  margin-right: 2px;
  position: relative;
  top: 2px;
}

.logo-word i::before {
  content: "";
  position: absolute;
  width: 23px;
  height: 7px;
  left: -7px;
  top: 0;
  background: var(--gold);
}

.logo-sub {
  display: block;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: .15px;
  margin-top: 3px;
}

.logo-script {
  display: block;
  font-family: "Caveat", cursive;
  color: var(--gold-dark);
  font-size: 19px;
  margin: -1px 0 0 29px;
  transform: rotate(-3deg);
}

.navbar-nav { gap: 22px; }

.navbar .nav-link {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 34px 4px 27px !important;
  position: relative;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 4px;
  right: 100%;
  bottom: 20px;
  background: var(--gold);
  transition: right .2s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { right: 4px; }

.btn {
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .1px;
  font-size: 12px;
  font-weight: 800;
  min-height: 48px;
  padding: 14px 26px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn i.bi-arrow-right { margin-left: 22px; }

.btn-navy {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.btn-navy:hover {
  color: #fff;
  background: #0a376f;
  border-color: #0a376f;
  box-shadow: 0 9px 20px rgba(6, 38, 83, .18);
}

.support-btn { padding: 12px 20px; min-height: 46px; }

.btn-gold {
  color: var(--navy);
  background: var(--gold);
  border-color: var(--gold);
}

.btn-gold:hover {
  color: var(--navy);
  background: #ffc928;
  border-color: #ffc928;
  box-shadow: 0 9px 20px rgba(247, 185, 0, .25);
}

.btn-outline-navy {
  color: var(--navy);
  border-color: var(--navy);
  background: rgba(255,255,255,.5);
}

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

.hero {
  min-height: 715px;
  position: relative;
  overflow: hidden;
  background: #edf4fa;
  padding-top: 92px;
}

.hero-photo {
  position: absolute;
  inset: 92px 0 0;
  background-image: url("assets/hero-candidate.png");
  background-size: cover;
  background-position: center top;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.2) 0%, transparent 43%);
}

.min-vh-hero { min-height: 623px; }

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 15px;
}

.eyebrow {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(56px, 6.1vw, 86px);
  line-height: .98;
  letter-spacing: -4px;
  font-weight: 800;
  color: var(--navy-dark);
}

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

.hero-lead {
  color: #203655;
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 30px;
}

.hero-lead strong { color: var(--navy); }

.hero-badge {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 55px;
  width: 287px;
  height: 142px;
  color: #fff;
  padding: 20px 45px;
  text-align: center;
  transform: rotate(-2deg);
  filter: drop-shadow(0 10px 15px rgba(4, 28, 62, .15));
}

.hero-badge::before,
.hero-badge::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5px -15px;
  background: var(--navy);
  clip-path: polygon(4% 15%, 13% 4%, 43% 9%, 63% 0, 95% 13%, 89% 34%, 100% 51%, 90% 71%, 94% 90%, 65% 93%, 44% 100%, 15% 91%, 1% 74%, 8% 51%, 0 33%);
}

.hero-badge::after {
  inset: 15px -7px 1px;
  background: #082c5e;
  transform: rotate(3deg);
}

.badge-name,
.badge-copy,
.badge-script { display: block; }

.badge-name {
  font-family: "Caveat", cursive;
  font-size: 35px;
  font-weight: 700;
  line-height: .7;
}

.badge-copy { color: var(--gold); margin-top: 9px; }
.badge-script { font-family: "Caveat", cursive; font-size: 24px; line-height: 1; }

.section-pad { padding: 66px 0; }

.section-mark {
  display: block;
  width: 32px;
  height: 5px;
  border-radius: 8px;
  background: var(--gold);
  margin-bottom: 20px;
}

section h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.about-section {
  background:
    radial-gradient(circle at 85% 25%, rgba(232, 240, 247, .9), transparent 35%),
    #fff;
}

.about-section p { max-width: 460px; margin-bottom: 5px; }

.feature-card {
  background: rgba(255,255,255,.9);
  padding: 28px;
  border: 1px solid rgba(9, 33, 73, .035);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 12px 35px rgba(6, 38, 83, .035);
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(6, 38, 83, .08);
}

.feature-card > i {
  color: var(--gold);
  font-size: 49px;
  line-height: 1;
  flex: 0 0 52px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 8px;
}

.feature-card p { font-size: 13px; margin: 0; }

.priorities-section {
  background:
    radial-gradient(circle at 50% 0, #0d407c 0, transparent 42%),
    var(--navy-dark);
  color: #fff;
}

.priorities-section h2 { color: #fff; }

.priority-grid { margin-top: 8px; }

.priority-item {
  text-align: center;
  padding: 18px 27px;
  min-height: 220px;
  position: relative;
}

.priority-grid > div:not(:last-child) .priority-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25px;
  bottom: 25px;
  width: 1px;
  background: rgba(255,255,255,.35);
}

.priority-item > i {
  display: block;
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 10px;
}

.priority-item h3 {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.priority-item p {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  margin-bottom: 0;
}

.news-section { background: #fff; }
.text-link, .news-card a { color: var(--navy); font-size: 13px; font-weight: 800; }
.text-link:hover, .news-card a:hover { color: var(--gold-dark); }

.news-card {
  border: 1px solid #e7edf3;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(6,38,83,.1);
}

.news-visual {
  width: 100%;
  aspect-ratio: 16 / 12;
  overflow: hidden;
  background: #dfe8ef;
}

.news-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}

.news-card:hover .news-visual img { transform: scale(1.05); }
.news-body { padding: 23px; }
.news-body small { color: #7c8999; font-size: 11px; font-weight: 700; }
.news-body h3 { font-size: 18px; font-weight: 800; margin: 8px 0; }
.news-body p { color: var(--muted); font-size: 13px; }

.gallery-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(247,185,0,.07), transparent 30%),
    #f6f9fc;
}

.gallery-card {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  text-align: left;
  box-shadow: 0 12px 30px rgba(6,38,83,.08);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 25%;
  transition: transform .4s ease;
}

.gallery-city img {
  object-position: 70% center;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  min-height: 92px;
  padding: 35px 22px 18px;
  color: #fff;
  background: linear-gradient(transparent, rgba(3,29,67,.92));
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-overlay i { color: var(--gold); }
.gallery-overlay strong { font-size: 14px; }

.support-section {
  color: #fff;
  background:
    radial-gradient(circle at 15% 50%, #0d407c 0, transparent 42%),
    var(--navy-dark);
}

.support-section h2 { color: #fff; }
.support-lead { max-width: 470px; color: rgba(255,255,255,.82); font-size: 16px; }

.support-points {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.support-points div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.support-points i { color: var(--gold); font-size: 18px; }

.support-form {
  padding: 32px;
  color: var(--ink);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.support-form .form-label {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
}

.support-form .form-control,
.support-form .form-select {
  min-height: 48px;
  border-color: #d8e0e8;
  font-size: 13px;
}

.support-form textarea.form-control { min-height: 110px; resize: vertical; }
.support-form .form-control:focus,
.support-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(247,185,0,.15);
}

.support-form .form-check-label { font-size: 11px; color: var(--muted); }
.support-form .form-check-input:checked { background-color: var(--navy); border-color: var(--navy); }

.contact-strip {
  padding: 32px 0;
  background: #f8fafc;
  border-top: 1px solid #e9eef3;
}

.contact-motto {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-motto > i {
  font-size: 52px;
  color: var(--gold);
}

.contact-motto h2 {
  font-size: 24px;
  margin: 0;
}

.contact-motto span {
  font-family: "Caveat", cursive;
  color: var(--gold-dark);
  font-size: 30px;
  line-height: 1;
}

.newsletter,
.social-block {
  border-left: 1px solid #dbe2e9;
  padding-left: 38px;
}

.newsletter h3,
.social-block h3 {
  font-size: 15px;
  font-weight: 800;
}

.newsletter p { font-size: 11px; margin: 0 0 10px; max-width: 420px; }
.newsletter .form-control { min-height: 44px; border-color: #ced8e2; font-size: 12px; }
.newsletter .btn { min-height: 44px; padding: 10px 22px; }
.form-message { font-size: 11px; min-height: 17px; margin-top: 5px; }

.socials { display: flex; gap: 14px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform .2s ease, background .2s ease;
}
.socials a:hover { background: var(--gold-dark); transform: translateY(-2px); }

footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
  padding: 13px 0;
  font-size: 10px;
}

footer p { margin: 0; }
footer p span { color: var(--gold); font-family: "Caveat", cursive; font-size: 17px; margin-left: 6px; }
footer a { color: rgba(255,255,255,.75); margin-left: 25px; }
footer a:hover { color: var(--gold); }

.modal-content { border-radius: 16px; }
.modal .section-mark { margin-bottom: 10px; }
.modal-title { color: var(--navy); font-weight: 800; }
.modal-priority {
  height: 100%;
  display: flex;
  gap: 15px;
  padding: 18px;
  border-radius: 10px;
  background: #f5f8fb;
}
.modal-priority > i { color: var(--gold-dark); font-size: 30px; }
.modal-priority h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.modal-priority p { font-size: 12px; margin: 0; }

@media (max-width: 1199.98px) {
  .hero-badge { right: 12px; }
  .priority-item { padding-inline: 18px; }
}

@media (max-width: 991.98px) {
  .navbar { min-height: 80px; }
  .site-header { background: #fff; }
  .navbar-collapse {
    position: fixed;
    z-index: 1055;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 105px 28px 38px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 50% 0, #0d407c 0, transparent 48%),
      var(--navy-dark);
    border: 0;
  }
  .navbar-collapse.collapsing {
    height: 100dvh !important;
    transition: opacity .22s ease;
  }
  .navbar-collapse:not(.show) { opacity: 0; }
  .navbar-collapse.show { opacity: 1; }
  .mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.08);
    font-size: 23px;
  }
  .navbar-nav {
    width: 100%;
    max-width: 460px;
    gap: 2px;
    text-align: center;
  }
  .navbar .nav-link {
    padding: 12px 4px !important;
    color: #fff;
    font-size: clamp(20px, 5vw, 30px);
    letter-spacing: -.3px;
  }
  .navbar .nav-link:hover,
  .navbar .nav-link.active { color: var(--gold); }
  .navbar .nav-link::after { display: none; }
  .support-btn {
    display: block;
    width: min(100%, 320px);
    margin: 28px auto 0;
    color: var(--navy);
    background: var(--gold);
    border-color: var(--gold);
    text-align: center;
  }
  .support-btn:hover {
    color: var(--navy);
    background: #ffc928;
    border-color: #ffc928;
  }

  .hero { padding-top: 80px; min-height: 750px; }
  .hero-photo {
    inset: 80px 0 0;
    background-position: 63% top;
  }
  .hero-photo::after {
    background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.84) 46%, rgba(255,255,255,.05) 72%);
  }
  .min-vh-hero { min-height: 670px; }
  .hero-content { max-width: 530px; }

  .priority-grid > div .priority-item::after { display: none; }
  .priority-grid > div:nth-child(odd) .priority-item::after {
    display: block;
    content: "";
    position: absolute;
    right: 0;
    top: 25px;
    bottom: 25px;
    width: 1px;
    background: rgba(255,255,255,.25);
  }
  .priority-grid > div:last-child .priority-item::after { display: none; }
  .priority-item { min-height: 210px; }
  .newsletter { border-left: none; padding-left: 12px; }
}

@media (max-width: 767.98px) {
  body { font-size: 14px; }
  .section-pad { padding: 52px 0; }
  section h2 { font-size: 28px; }
  .hero { min-height: 700px; }
  .hero-photo {
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 63% top;
  }
  .hero-photo::after {
    background:
      linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.82) 55%, rgba(255,255,255,.05) 85%),
      linear-gradient(0deg, rgba(255,255,255,.3), transparent 35%);
  }
  .min-vh-hero { min-height: 620px; }
  .hero h1 { font-size: 58px; letter-spacing: -3px; }
  .hero-lead { font-size: 15px; max-width: 390px; }
  .feature-card { padding: 23px; }
  .social-block { border-left: none; padding-left: 12px; }
}

@media (max-width: 575.98px) {
  .campaign-logo { width: 125px; }
  .logo-word { font-size: 25px; }
  .logo-word i { height: 24px; }
  .logo-sub { font-size: 8px; }
  .logo-script { font-size: 16px; }
  .hero { min-height: 700px; }
  .hero-photo { background-position: 67% top; opacity: .68; }
  .hero-photo::after { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.9) 55%, rgba(255,255,255,.26)); }
  .hero-content { padding-top: 30px; }
  .hero h1 { font-size: 51px; }
  .hero-lead { max-width: 310px; }
  .btn { padding: 12px 18px; }
  .btn i.bi-arrow-right { margin-left: 12px; }
  .feature-card > i { font-size: 40px; flex-basis: 44px; }
  .priority-item { padding: 15px 8px; min-height: 220px; }
  .priority-item > i { font-size: 42px; }
  .priority-item p { font-size: 11px; }
  .contact-motto { align-items: flex-start; }
  .newsletter form { flex-direction: column; }
  .newsletter .btn { width: 100%; }
  .support-form { padding: 22px; }
  footer a { margin: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
