:root {
  --navy: #001f4d;
  --navy-deep: #00163a;
  --gold: #f7bd0b;
  --gold-soft: #fff1bd;
  --red: #cc1149;
  --green: #13823b;
  --ink: #071832;
  --muted: #5e6b7c;
  --paper: #fffdf7;
  --line: #e7d596;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 31, 77, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid rgba(0, 31, 77, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
}

.brand img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 2px solid var(--navy);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%;
  background: var(--white);
}

.brand span {
  max-width: 260px;
  font-size: 0.92rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a {
  padding: 10px 12px;
  border-radius: 6px;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--gold-soft);
  outline: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 83px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 22, 58, 0.95) 0%, rgba(0, 31, 77, 0.88) 46%, rgba(0, 31, 77, 0.5) 100%),
    var(--navy);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--red));
}

.hero-media {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-media img {
  width: min(48vw, 650px);
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  filter: saturate(1.08);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  padding: clamp(62px, 8vw, 118px) clamp(20px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.hero-lead {
  width: min(720px, 100%);
  margin: 22px 0 0;
  color: var(--gold);
  font-size: clamp(1.55rem, 3.3vw, 3rem);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  line-height: 1.05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.hero-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 14px;
  margin-top: 42px;
}

.hero-details div {
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.detail-label {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-details strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.mayor-band {
  padding: clamp(46px, 7vw, 76px) 0;
  background: var(--white);
}

.mayor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
}

.mayor-grid p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.signature {
  color: var(--red);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: 0.92;
  white-space: nowrap;
}

.values-section,
.candidates-section,
.program-section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.values-section {
  background:
    linear-gradient(180deg, rgba(247, 189, 11, 0.14), rgba(255, 253, 247, 0)),
    var(--paper);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 760px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-item {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(0, 31, 77, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.value-item p {
  margin: 0;
  color: var(--muted);
}

.value-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
}

.value-icon svg {
  width: 36px;
  height: 36px;
  color: var(--white);
}

.value-icon.handshake {
  background: var(--red);
}

.value-icon.leaf {
  background: var(--green);
}

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

.candidates-section .eyebrow,
.candidates-section h2 {
  color: var(--gold);
}

.candidates-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.candidates-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: candidates calc(var(--start, 1) - 1);
}

.candidates-list[start="9"] {
  --start: 9;
}

.candidates-list li {
  counter-increment: candidates;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.candidates-list li::before {
  content: counter(candidates);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: 8px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 900;
}

.candidates-list span {
  padding: 14px 16px;
  font-size: clamp(1rem, 2vw, 1.24rem);
  font-weight: 900;
  text-transform: uppercase;
}

.program-section {
  background: var(--white);
}

.program-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}

.poster-panel {
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.poster-panel img {
  width: 100%;
}

.program-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.program-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.program-points p {
  margin: 0;
  padding: 16px 18px;
  border-left: 5px solid var(--gold);
  background: var(--paper);
}

.program-points strong {
  color: var(--navy);
}

.site-footer {
  padding: 30px 0;
  color: var(--white);
  background: var(--navy-deep);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: var(--gold);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    width: 100%;
    opacity: 0.2;
  }

  .hero-details,
  .mayor-grid,
  .values-grid,
  .candidates-columns,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .signature {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 46px;
    height: 46px;
  }

  .hero-content {
    padding-top: 56px;
    padding-bottom: 70px;
  }

  h1 {
    font-size: clamp(2.55rem, 18vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.9rem, 12vw, 3rem);
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 28px, 1160px);
  }

  .value-item {
    min-height: auto;
  }

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