:root {
  --red: #b5121b;
  --deep-red: #7b0d13;
  --gold: #f3c13a;
  --ink: #1f1f1f;
  --muted: #666;
  --cream: #fff8e6;
  --white: #ffffff;
  --soft: #f7f3ea;
  --shadow: 0 18px 60px rgba(0,0,0,.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(123, 13, 19, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.nav {
  max-width: 1180px;
  margin: auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: white;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  letter-spacing: .2px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--deep-red);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 700;
  font-size: .95rem;
}

.nav-links a { opacity: .92; }
.nav-links a:hover { opacity: 1; color: var(--gold); }

.nav-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 0;
  font-size: 1.8rem;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(73, 10, 15, .84), rgba(181, 18, 27, .30)),
    url("assets/cusco-hero.svg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(243,193,58,.26), transparent 34%),
    linear-gradient(to top, rgba(0,0,0,.62), transparent 48%);
}

.hero-content {
  position: relative;
  max-width: 1180px;
  width: 100%;
  margin: auto;
  padding: 130px 24px 80px;
  color: white;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: .82rem;
}

h1, h2, h3 { line-height: 1.05; margin: 0 0 20px; }
h1 {
  font-size: clamp(3.8rem, 10vw, 8rem);
  letter-spacing: -0.07em;
  max-width: 940px;
}
h1 span { color: var(--gold); }
h2 {
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  letter-spacing: -0.04em;
}
h3 { font-size: 1.45rem; }

.hero-text {
  max-width: 680px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  opacity: .94;
  margin-bottom: 34px;
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn-primary { background: var(--gold); color: var(--deep-red); }
.btn-secondary { border: 2px solid rgba(255,255,255,.75); color: white; }
.btn.full { width: 100%; }

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  color: white;
  font-size: 2rem;
  animation: bounce 1.7s infinite;
}
@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

.section {
  padding: 96px 22px;
}
.container {
  max-width: 1180px;
  margin: auto;
}
.narrow { max-width: 860px; text-align: center; }
.intro {
  background: var(--white);
}
.intro p:last-child {
  font-size: 1.2rem;
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.candidate {
  background: linear-gradient(180deg, var(--cream), #fff);
}
.candidate-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  transform: rotate(-1.5deg);
}
.candidate-photo {
  min-height: 430px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(255,255,255,.9);
  background:
    linear-gradient(145deg, rgba(123,13,19,.9), rgba(243,193,58,.48)),
    url("assets/eulogio-placeholder.svg") center/cover no-repeat;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.check-list li {
  padding: 12px 0 12px 36px;
  position: relative;
  font-weight: 700;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 1000;
}

.pillars {
  background: var(--deep-red);
  color: white;
}
.section-head {
  max-width: 860px;
  margin-bottom: 44px;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pillar {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 280px;
}
.pillar .icon { font-size: 2.2rem; }
.pillar p { opacity: .88; }

.problems {
  background: var(--soft);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.problem {
  background: white;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,.07);
  font-weight: 900;
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.problem span { font-size: 2rem; }
.problem:hover { outline: 3px solid var(--gold); }

.proposals {
  background: white;
}
.proposal-list {
  display: grid;
  gap: 18px;
}
.proposal {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(181,18,27,.10);
}
.proposal-number {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--red);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 1000;
}
.proposal p { margin: 0; color: var(--muted); }

.listen {
  background:
    linear-gradient(135deg, rgba(123,13,19,.92), rgba(181,18,27,.78)),
    url("assets/cusco-hero.svg") center/cover fixed;
  color: white;
}
.form-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(10px);
}

.footer {
  background: #16090b;
  color: white;
  padding: 36px 22px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer p { margin: 6px 0 0; opacity: .7; }
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 22px;
    background: rgba(123, 13, 19, .96);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .two-col,
  .pillar-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 72px 18px; }
  .proposal { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; }
}
