:root {
  --navy: #10263f;
  --navy-2: #173a5e;
  --blue: #2f6fa7;
  --gold: #d9a441;
  --cream: #f7f5ef;
  --white: #ffffff;
  --text: #243342;
  --muted: #667788;
  --line: #dce3e8;
  --shadow: 0 18px 50px rgba(16, 38, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(980px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 38, 63, 0.08);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--gold), #f0c66d);
  box-shadow: 0 6px 18px rgba(217, 164, 65, 0.25);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 600;
  color: var(--navy);
}

.main-nav a {
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.main-nav .nav-donate {
  background: var(--navy);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 9px;
}

.main-nav .nav-donate:hover {
  color: var(--white);
  background: var(--navy-2);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  color: var(--navy);
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0 95px;
  background:
    radial-gradient(circle at 85% 10%, rgba(217, 164, 65, 0.18), transparent 26%),
    linear-gradient(135deg, #f8fbfd 0%, #eef4f7 50%, #f8f5ec 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(47, 111, 167, 0.12);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 72px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 9px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-2);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
}

.hero-card {
  position: relative;
  z-index: 1;
  padding: 36px;
  border: 1px solid rgba(16, 38, 63, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.halo {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--gold);
  font-size: 1.5rem;
}

.hero-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.65rem;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 92px 0;
}

.section-alt {
  background: var(--cream);
}

.section-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 760px;
  margin: 20px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-intro.left {
  margin-left: 0;
  text-align: left;
}

#about .section-label,
#about .section-title,
#involved .section-label,
#involved .section-title {
  text-align: center;
}

.feature-grid,
.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}

.feature-card,
.involve-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.feature-card h3,
.involve-card h3,
.donate-box h3 {
  margin: 12px 0 10px;
  color: var(--navy);
}

.feature-card p,
.involve-card p,
.donate-box p {
  color: var(--muted);
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #edf4f9;
  color: var(--blue);
  font-weight: 800;
}

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.donate-box {
  padding: 34px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.donate-box h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.amounts button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

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

.full {
  width: 100%;
}

.donate-box small {
  display: block;
  margin-top: 14px;
  color: #7d8b97;
  text-align: center;
}

.involve-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 700;
}

.cta {
  background: var(--navy);
  color: var(--white);
  padding: 58px 0;
}

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

.cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.section-label.light {
  color: #f0c66d;
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  white-space: nowrap;
}

.site-footer {
  padding: 56px 0 22px;
  background: #0b1a2b;
  color: #ccd5dd;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  color: #9fafbd;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-content: flex-start;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #8999a7;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

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

  .main-nav a {
    padding: 10px 12px;
  }

  .hero {
    padding: 82px 0 72px;
  }

  .hero-grid,
  .donate-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-grid,
  .involve-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner,
  .footer-grid,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .section {
    padding: 72px 0;
  }

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

  .hero-card,
  .donate-box {
    padding: 26px;
  }
}
.about-candidate {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 35px;
}

.candidate-photo-wrap {
  width: 100%;
}

.candidate-photo {
  display: block;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.candidate-info .section-title {
  text-align: left !important;
  margin-bottom: 22px;
}

.candidate-info p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 18px;
}

@media (max-width: 760px) {
  .about-candidate {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .candidate-photo {
    margin: 0 auto;
  }

  .candidate-info .section-title {
    text-align: center !important;
  }
}
