:root {
  --navy: #061b53;
  --blue: #083cad;
  --royal: #0e52dc;
  --sky: #8cc7ff;
  --yellow: #ffd83d;
  --ink: #101524;
  --muted: #5c6475;
  --paper: #f6f8fc;
  --white: #fff;
  --line: #dce3f0;
  --shadow: 0 24px 70px rgba(5, 30, 90, .15);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 99;
  transform: translateY(-150%); background: white; color: var(--navy);
  padding: 10px 16px; border-radius: 8px; font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(6, 27, 83, .95);
  color: white; backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav-wrap {
  width: min(1180px, calc(100% - 40px)); min-height: 76px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 126px; height: 48px; object-fit: contain; }
.brand b {
  font-size: 22px; letter-spacing: -.04em; color: var(--navy);
  background: var(--yellow); border-radius: 7px; padding: 3px 8px;
}
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 14px; font-weight: 750; color: rgba(255,255,255,.84); }
nav a:hover, nav a:focus-visible { color: var(--yellow); }
.menu-button { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: white; }

.hero {
  min-height: 690px; color: white; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  background:
    radial-gradient(circle at 68% 5%, rgba(52,126,255,.55), transparent 29%),
    linear-gradient(125deg, #04143f 8%, #062a83 58%, #0a48c4 100%);
}
.hero-copy { align-self: center; padding: 90px max(7vw, calc((100vw - 1180px)/2)); padding-right: 30px; }
.eyebrow { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .18em; font-weight: 850; font-size: 13px; color: var(--yellow); }
.eyebrow.blue { color: var(--royal); }
.eyebrow.gold { color: #ae7600; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(52px, 6.3vw, 92px); line-height: .91; letter-spacing: -.065em; font-weight: 950; }
h1 em { color: var(--yellow); font-style: normal; }
.hero-lead { max-width: 610px; margin-bottom: 30px; font-size: clamp(18px, 2vw, 23px); line-height: 1.45; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 52px; padding: 14px 22px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 850; font-size: 15px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .filter:focus-visible, .menu-button:focus-visible, .floating-whatsapp:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.button-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 14px 35px rgba(255,216,61,.23); }
.button-ghost { border: 1px solid rgba(255,255,255,.45); color: white; }
.hero-pillars { margin-top: 42px; display: flex; gap: 22px; font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hero-pillars span + span::before { content: "•"; color: var(--yellow); margin-right: 22px; }
.hero-visual { position: relative; min-height: 690px; display: flex; align-items: end; justify-content: center; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% 7% -25% 4%; border-radius: 50% 50% 0 0;
  background: linear-gradient(150deg, var(--yellow), #ffbe0b); transform: rotate(5deg);
}
.hero-visual .hero-photo {
  position: relative; z-index: 2; width: min(100%, 610px); height: 650px;
  object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 26px 34px rgba(0,0,0,.22));
}
.number-badge {
  position: absolute; z-index: 4; left: -42px; bottom: 56px; color: var(--navy);
  width: 245px; padding: 13px; background: white; border-radius: 16px;
  box-shadow: var(--shadow); transform: rotate(-3deg); display: grid; gap: 7px;
}
.number-badge span { padding-left: 5px; text-transform: uppercase; font-weight: 950; font-size: 12px; letter-spacing: .18em; }
.number-badge img { width: 100%; border-radius: 9px; }
.hero-stamp {
  position: absolute; z-index: 4; right: 28px; top: 34px; width: 74px; height: 74px;
  overflow: hidden; border: 2px solid white; border-radius: 14px; box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.hero-stamp img { width: 100%; height: 100%; object-fit: contain; background: #0860aa; }
.statement { padding: 27px 5vw; display: flex; align-items: center; justify-content: center; gap: 18px 45px; flex-wrap: wrap; background: var(--yellow); color: var(--navy); text-align: center; }
.statement p, .statement span { margin: 0; font-weight: 950; text-transform: uppercase; }
.statement p { font-size: clamp(20px, 3vw, 31px); letter-spacing: -.035em; }
.statement span { font-size: 13px; letter-spacing: .1em; }

.section { padding: 105px max(5vw, calc((100vw - 1180px)/2)); }
.section-heading { max-width: 780px; }
.section-heading h2, .story h2, .participate h2 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 66px); line-height: 1; letter-spacing: -.055em; color: var(--navy); }
.section-heading > p:last-child { font-size: 19px; color: var(--muted); max-width: 710px; }
.filters { display: flex; gap: 9px; overflow-x: auto; margin: 38px 0 26px; padding: 3px 3px 9px; scrollbar-width: thin; }
.filter {
  flex: 0 0 auto; border: 1px solid var(--line); background: white; color: var(--navy);
  padding: 11px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
}
.filter.active { background: var(--navy); color: white; border-color: var(--navy); }
.proposal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.proposal-card {
  position: relative; min-height: 270px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius);
  background: white; box-shadow: 0 10px 36px rgba(16,21,36,.055); transition: transform .22s ease, box-shadow .22s ease;
}
.proposal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.proposal-card[hidden] { display: none; }
.proposal-card.featured { color: white; background: linear-gradient(145deg, #061a50, #0b4bce); border-color: transparent; }
.proposal-card.featured.warm { background: linear-gradient(145deg, #8f6500, #e5a900); }
.card-index { position: absolute; right: 22px; top: 16px; font-size: 35px; font-weight: 950; color: rgba(10,62,175,.11); }
.featured .card-index { color: rgba(255,255,255,.14); }
.card-category { color: var(--royal); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 900; }
.featured .card-category { color: var(--yellow); }
.proposal-card h3 { max-width: 90%; margin-bottom: 14px; font-size: 23px; line-height: 1.12; letter-spacing: -.03em; color: var(--navy); }
.featured h3 { color: white; }
.proposal-card > p:last-child { margin-bottom: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.featured > p:last-child { color: rgba(255,255,255,.82); }

.story { background: var(--paper); display: grid; grid-template-columns: minmax(320px,.8fr) minmax(0,1.2fr); gap: clamp(45px,7vw,100px); align-items: center; }
.story-portrait { position: relative; padding: 34px 25px 0; overflow: visible; border-radius: 6px 70px 6px 6px; background: linear-gradient(145deg, #0b4bce, #071a50); box-shadow: var(--shadow); }
.story-portrait img { width: 100%; max-height: 590px; object-fit: contain; object-position: center bottom; }
.story-portrait > div { position: absolute; right: -22px; bottom: 25px; padding: 18px 22px; display: grid; background: var(--yellow); color: var(--navy); box-shadow: var(--shadow); }
.story-portrait strong { text-transform: uppercase; font-size: 19px; }
.story-portrait span { font-size: 13px; font-weight: 750; }
.story-copy { max-width: 650px; }
.story-copy > p:not(.eyebrow) { color: #465066; font-size: 18px; }
blockquote { margin: 30px 0 0; padding: 17px 0 17px 24px; border-left: 5px solid var(--yellow); color: var(--navy); font-size: 25px; font-weight: 900; }

.participate {
  padding: 90px max(5vw, calc((100vw - 1180px)/2)); color: white;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center;
  background: linear-gradient(130deg, #071a50, #0b48c6);
}
.participate h2 { color: white; max-width: 700px; }
.participate p:last-child { max-width: 620px; color: rgba(255,255,255,.78); font-size: 18px; }
.participate-actions { display: grid; gap: 12px; }
.button-light { color: var(--navy); background: var(--yellow); }
.button-outline-light { border: 1px solid rgba(255,255,255,.5); color: white; }
.text-link { justify-self: center; margin-top: 8px; color: white; font-weight: 800; }
footer {
  padding: 38px max(5vw, calc((100vw - 1180px)/2)); color: rgba(255,255,255,.64); background: #020a22;
  display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 12px;
}
.footer-brand { display: flex; align-items: center; gap: 15px; color: white; }
.footer-brand img { width: 145px; height: 62px; object-fit: contain; }
.footer-brand strong { padding: 3px 9px; border-radius: 7px; color: var(--navy); background: var(--yellow); font-size: 19px; }
footer p { margin: 0; text-align: right; }
.footer-party-logo { width: 68px; height: 68px; object-fit: contain; border-radius: 11px; background: #0860aa; }
.floating-whatsapp {
  position: fixed; z-index: 40; right: 18px; bottom: 18px; padding: 13px 17px; border-radius: 999px;
  background: #20b85a; color: white; font-size: 14px; font-weight: 900; box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 75px 7vw 30px; }
  .hero-visual { min-height: 560px; }
  .hero-visual .hero-photo { height: 550px; }
  .number-badge { left: 7vw; bottom: 30px; }
  .proposal-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .story { grid-template-columns: .85fr 1.15fr; gap: 45px; }
}

@media (max-width: 700px) {
  .nav-wrap { width: calc(100% - 28px); min-height: 68px; }
  .menu-button { display: block; }
  nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 18px 20px 24px;
    flex-direction: column; align-items: stretch; gap: 4px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1);
  }
  nav.open { display: flex; }
  nav a { padding: 12px; border-radius: 8px; }
  .hero { min-height: auto; }
  .hero-copy { padding: 64px 20px 24px; }
  h1 { font-size: clamp(50px, 16vw, 74px); }
  .hero-actions .button { width: 100%; }
  .hero-pillars { gap: 8px; justify-content: space-between; font-size: 10px; }
  .hero-pillars span + span::before { margin-right: 8px; }
  .hero-visual { min-height: 470px; }
  .hero-visual .hero-photo { width: 96%; height: 470px; }
  .number-badge { left: 18px; bottom: 20px; width: 190px; }
  .hero-stamp { right: 17px; top: 16px; }
  .section { padding: 78px 20px; }
  .section-heading h2, .story h2, .participate h2 { font-size: 41px; }
  .proposal-grid { grid-template-columns: 1fr; }
  .proposal-card { min-height: 0; }
  .story { grid-template-columns: 1fr; }
  .story-portrait img { max-height: 500px; }
  .story-portrait > div { right: -7px; }
  .participate { padding: 72px 20px; grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 34px 20px 90px; flex-direction: column; align-items: flex-start; }
  footer p { text-align: left; }
  .footer-party-logo { width: 62px; height: 62px; }
}

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