:root {
  --blue: #0b4796;
  --blue-2: #083b83;
  --blue-dark: #062f70;
  --blue-deep: #041f4f;
  --yellow: #ffbd00;
  --green: #008f37;
  --ink: #111827;
  --muted: #5c6575;
  --paper: #f6f8fc;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(4, 31, 79, .14);
  --font: "Uni Sans", "Arial Narrow", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.container.narrow { width: min(900px, calc(100% - 48px)); }
.section { padding: 110px 0; }
.section-blue-dark { background: var(--blue-dark); color: var(--white); }
.section-yellow { background: var(--yellow); color: var(--blue-deep); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(2.7rem, 5vw, 5rem); margin-bottom: 28px; }
h3 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); }
p { font-size: 1.12rem; color: var(--muted); }
strong { color: inherit; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .11em;
  font-size: .82rem;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 5px; background: var(--yellow); transform: skewX(-18deg); }
.eyebrow.white { color: var(--white); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 36px;
  background: rgba(5, 43, 101, .82);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(4, 31, 79, .96); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.brand-mini img { width: 235px; height: auto; }
.header-social {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.header-social a {
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.header-social a:not(.header-handle) {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-deep);
}
.header-social a:hover { transform: translateY(-2px); }
.header-social svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
  overflow: visible;
}
.header-handle {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--yellow);
  color: #fff;
  font-size: .76rem;
  font-weight: 900;
}
.nav-social-mobile { display: none; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; flex-shrink: 0; }
.site-nav a { color: #fff; text-decoration: none; font-size: .86rem; font-weight: 800; letter-spacing: .01em; position: relative; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; height: 3px; left: 0; right: 100%; bottom: -8px; background: var(--yellow); transition: right .25s ease; }
.site-nav a:hover::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: white; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: linear-gradient(90deg, #0a3f99 0%, #0d4daa 55%, #1259b7 100%);
  padding: 120px 0 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 73% 24%, rgba(116,182,255,.28), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.06));
}
.hero-texture {
  position: absolute;
  inset: 0;
  background: url('assets/brand/textura-bg.png') left center / 1120px auto repeat;
  opacity: .16;
  mix-blend-mode: soft-light;
}
.hero-topbar {
  position: absolute;
  top: 108px;
  left: max(32px, calc((100vw - 1260px) / 2 + 32px));
  right: max(32px, calc((100vw - 1260px) / 2 + 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 10;
}
.hero-social {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-social a {
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.hero-social a:not(.hero-handle) {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-deep);
  box-shadow: 0 10px 20px rgba(0,0,0,.14);
}
.hero-social a:not(.hero-handle):hover,
.hero-handle:hover { transform: translateY(-2px); }
.hero-social svg {
  width: 18px;
  height: 18px;
  display: block;
  overflow: visible;
  fill: currentColor;
  flex: 0 0 auto;
}
.hero-handle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--yellow);
  background: rgba(4,31,79,.26);
  color: #fff;
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.hero-piece {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--delay, 0s);
  will-change: transform, opacity;
}
body.page-loaded .hero-piece {
  opacity: 1;
  transform: translateY(0);
}
.hero .reveal { opacity: 1; transform: none; }
.hero-stripe { position: absolute; pointer-events: none; }
.hero-content {
  width: 100%;
  margin: 0;
  padding-left: max(32px, calc((100vw - 1260px) / 2 + 32px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 120px);
}
.hero-copy {
  padding: 74px 0 148px;
  position: relative;
  z-index: 8;
}
.hero-copy .eyebrow { font-size: 1.18rem; margin-bottom: 16px; }
.hero-logo { width: min(820px, 108%); max-width: 108%; margin: 2px 0 10px -6px; }
.hero-number { width: min(520px, 82%); margin-left: auto; margin-right: 0; }
.hero-slogan { width: min(860px, 108%); max-width: 108%; margin: 30px 0 40px -8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; padding: 0 30px; border-radius: 10px; text-decoration: none; text-transform: uppercase; font-weight: 900; font-size: .9rem; letter-spacing: .06em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--blue-deep); box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.btn-outline { border: 1px solid rgba(255,255,255,.62); color: white; background: rgba(255,255,255,.06); }
.hero-portrait-wrap {
  align-self: end;
  position: relative;
  height: min(98svh, 1120px);
  min-height: 860px;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  overflow: visible;
}
.hero-glow {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,134,255,.42), rgba(11,71,150,0) 68%);
  bottom: 16%;
  right: 2%;
  z-index: 2;
}
.hero-stripe-yellow {
  right: -2px;
  bottom: 0;
  width: clamp(500px, 58vw, 1040px);
  z-index: 1;
}
.hero-portrait {
  position: absolute;
  bottom: 0;
  right: 28px;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  z-index: 5;
  filter: drop-shadow(0 30px 45px rgba(0,0,0,.24));
}
.hero-stripe-green {
  right: -2px;
  bottom: 0;
  width: clamp(320px, 34vw, 600px);
  z-index: 4;
}

.hero-mdb {
  width: 118px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.1));
}
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 32px; height: 50px; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; transform: translateX(-50%); z-index: 9; }
.scroll-cue span { width: 4px; height: 8px; background: var(--yellow); position: absolute; left: 50%; top: 9px; transform: translateX(-50%); border-radius: 5px; animation: cue 1.6s ease infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,18px); } }

.intro-statement, .second-statement { padding: 92px 0; overflow: hidden; position: relative; }
.intro-statement::after { content: "FLAVINHO"; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); font-size: clamp(6rem, 16vw, 15rem); font-weight: 900; color: rgba(255,255,255,.035); line-height: 1; }
.statement-name { font-size: clamp(1.4rem, 2vw, 2rem); color: rgba(255,255,255,.72); margin-bottom: 4px; font-weight: 800; }
.intro-statement h1, .second-statement h2 { font-size: clamp(3.5rem, 8vw, 7.2rem); margin: 0; letter-spacing: -.055em; }
.intro-statement h1 em, .second-statement h2 em { font-weight: 900; }
.second-statement { text-align: center; }

.history { background: linear-gradient(180deg, #fff 0%, #f6f8fc 100%); }
.history-grid { display: grid; grid-template-columns: 1.05fr .8fr; gap: 80px; align-items: center; }
.history-copy p { max-width: 760px; }
.photo-card { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: #dce4f1; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card-tall { height: 620px; }
.photo-card figcaption { position: absolute; left: 22px; bottom: 22px; background: var(--yellow); color: var(--blue-deep); font-weight: 900; text-transform: uppercase; padding: 10px 14px; transform: skewX(-8deg); }
.ministry-grid { margin-top: 110px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.ministry-photo { position: relative; height: 470px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ministry-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; color: white; font-weight: 900; font-size: 1.4rem; background: linear-gradient(transparent, rgba(4,31,79,.88)); }
.stats { margin-top: 95px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stat { padding: 30px 24px; border-radius: 16px; background: white; border: 1px solid #e6ebf3; box-shadow: 0 10px 35px rgba(4,31,79,.06); }
.stat strong { display: block; font-size: clamp(2.3rem, 4vw, 4rem); color: var(--blue); line-height: .95; }
.stat span { display: block; margin-top: 10px; font-size: .92rem; font-weight: 800; color: #687185; }
.public-service { margin-top: 95px; padding: 45px 48px; border-radius: var(--radius); background: var(--blue-deep); display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; position: relative; overflow: hidden; }
.public-service::after { content: "1537"; position: absolute; right: -15px; bottom: -50px; font-size: 9rem; font-weight: 900; color: rgba(255,255,255,.04); }
.public-service h3 { color: white; margin: 0; }
.public-service p { color: rgba(255,255,255,.76); margin: 0; position: relative; z-index: 2; }

.candidacy { background: white; }
.section-heading.center { max-width: 820px; margin: 0 auto 55px; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center p { max-width: 700px; margin-left: auto; margin-right: auto; }
.candidate-banner { display: grid; grid-template-columns: 1.08fr .92fr; background: var(--blue); border-radius: 28px; overflow: hidden; min-height: 440px; box-shadow: var(--shadow); }
.candidate-banner-copy { padding: 52px; align-self: center; }
.candidate-banner-copy p { color: rgba(255,255,255,.82); }
.candidate-banner-copy strong { color: var(--yellow); }
.big-number { font-size: clamp(5rem, 11vw, 9rem) !important; font-weight: 900; color: white !important; line-height: .75; letter-spacing: -.08em; margin-bottom: 36px; }
.candidate-banner > img { width: 100%; height: 100%; object-fit: cover; object-position: center; min-height: 440px; }
.mission-heading { margin-top: 105px; max-width: 760px; }
.proposal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 45px; }
.proposal-card { position: relative; min-height: 190px; border-radius: 18px; padding: 30px 28px 28px; border: 1px solid #e5eaf2; background: linear-gradient(145deg, #fff, #f8faff); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.proposal-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(4,31,79,.09); border-color: #d1ddf0; }
.proposal-card svg { width: 31px; height: 31px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.proposal-card h3 { font-size: 1.15rem; line-height: 1.24; margin: 0; max-width: 92%; }
.proposal-index { position: absolute; right: 16px; top: 6px; font-size: 4.3rem; line-height: 1; font-weight: 900; color: #edf2fa; letter-spacing: -.08em; }

.mandate-hero { height: 620px; position: relative; overflow: hidden; display: flex; align-items: end; background: linear-gradient(90deg, #082456 0%, #0c4aa2 100%); }
.mandate-hero > img { position: absolute; inset: -4% 0 -4% 0; width: 100%; height: 108%; object-fit: cover; object-position: center 28%; will-change: transform; }
.mandate-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,31,79,.97) 0%, rgba(4,31,79,.88) 28%, rgba(4,31,79,.50) 52%, rgba(4,31,79,.18) 74%, rgba(4,31,79,.06) 100%); }
.mandate-hero-content { position: relative; z-index: 2; padding-bottom: 72px; color: white; }
.mandate-hero h2 { margin: 0 0 20px; font-size: clamp(4rem, 8vw, 7rem); }
.mandate-hero p { color: rgba(255,255,255,.82); max-width: 620px; font-size: 1.2rem; }
.mandate-summary { background: var(--paper); }
.mandate-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.mandate-lead h2 { font-size: clamp(2.6rem, 4.4vw, 4.8rem); margin-bottom: 0; }
.mandate-lead p { margin-bottom: 5px; }
.mandate-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; }
.mandate-numbers div { background: white; border-radius: 18px; padding: 32px; border-left: 6px solid var(--yellow); box-shadow: 0 10px 30px rgba(4,31,79,.06); }
.mandate-numbers strong { display: block; font-size: 3rem; color: var(--blue); line-height: 1; }
.mandate-numbers span { display: block; margin-top: 10px; font-weight: 800; color: #657085; }
.commissions-layout { margin-top: 90px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 65px; align-items: stretch; }
.commission-photo { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 500px; box-shadow: var(--shadow); }
.commission-photo img { width: 100%; height: 100%; object-fit: cover; }
.commissions-copy { padding: 20px 0; }
.commission-list { display: grid; gap: 12px; margin-top: 26px; }
.commission-list p { margin: 0; padding: 18px 20px 18px 54px; border-radius: 12px; background: white; position: relative; font-size: 1rem; }
.commission-list p::before { content: "✓"; position: absolute; left: 20px; top: 18px; color: var(--green); font-weight: 900; }
.topic-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 65px; }
.topic-cloud span { padding: 10px 14px; border-radius: 999px; background: #e7eef9; color: var(--blue-deep); font-weight: 800; font-size: .86rem; }
.topic-cloud span:nth-child(3n+1) { background: var(--yellow); }

.actions { background: var(--blue-deep); color: white; position: relative; overflow: hidden; }
.actions::before { content: ""; position: absolute; inset: 0; background: url('assets/brand/textura-bg.png') center/700px repeat; opacity: .06; }
.actions .container { position: relative; z-index: 2; }
.actions-heading { display: grid; grid-template-columns: 1fr 380px; gap: 70px; align-items: end; }
.actions-heading h2 { margin-bottom: 0; }
.actions-heading > img { width: 100%; height: 280px; object-fit: cover; border-radius: 18px; box-shadow: 0 22px 55px rgba(0,0,0,.28); }
.actions-list { margin-top: 70px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; overflow: hidden; }
.action-item { min-height: 78px; display: flex; align-items: center; padding: 20px 26px 20px 60px; background: rgba(255,255,255,.055); position: relative; font-weight: 800; color: rgba(255,255,255,.9); }
.action-item::before { content: ""; position: absolute; left: 26px; width: 15px; height: 15px; border: 4px solid var(--yellow); border-top-color: transparent; border-left-color: transparent; transform: rotate(45deg) translateY(-3px); }
.action-item:hover { background: rgba(255,255,255,.09); }

.final-cta { position: relative; overflow: hidden; background: linear-gradient(135deg, #0a4698, #125bc7); color: white; min-height: 670px; }
.final-texture { position: absolute; inset: 0; background: url('assets/brand/textura-bg.png') center/800px repeat; opacity: .13; }
.final-cta::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: 8%; top: 8%; background: radial-gradient(circle, rgba(34,115,255,.75), transparent 68%); }
.final-grid { position: relative; z-index: 2; min-height: 670px; display: grid; grid-template-columns: 1fr .8fr; align-items: center; }
.final-copy { padding: 80px 0; }
.final-logo { width: min(560px, 95%); }
.final-number { width: min(330px, 64%); margin: 10px 0 10px auto; margin-right: 14%; }
.final-slogan { font-size: clamp(1.6rem, 3vw, 2.7rem); color: white; font-weight: 900; margin: 28px 0; }
.social-strip { width: min(410px, 90%); }
.final-photo { height: 670px; display: flex; align-items: end; justify-content: center; }
.final-photo img { height: 94%; width: auto; filter: drop-shadow(0 25px 35px rgba(0,0,0,.25)); }



.contact-section {
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
  color: #fff;
  padding: 110px 0;
}
.contact-texture {
  position: absolute;
  inset: 0;
  background: url('assets/brand/textura-bg.png') center / 760px auto repeat;
  opacity: .07;
  pointer-events: none;
}
.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-copy h2 {
  margin: 10px 0 18px;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: .96;
  color: #fff;
}
.contact-copy > p {
  max-width: 520px;
  color: rgba(255,255,255,.74);
}
.btn-whatsapp {
  margin-top: 18px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.contact-email {
  margin-top: 24px;
  font-size: .96rem;
}
.contact-email a { color: #fff; font-weight: 800; }
.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 22px 56px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label { display: grid; gap: 8px; }
.contact-form label span {
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.78);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.contact-form input { min-height: 52px; padding: 0 14px; }
.contact-form textarea { padding: 14px; resize: vertical; min-height: 150px; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(255,193,7,.12);
}
.contact-submit { justify-self: start; border: 0; cursor: pointer; }
.form-note {
  margin: -4px 0 0;
  font-size: .78rem;
  color: rgba(255,255,255,.58);
}

.site-footer { background: #031939; color: rgba(255,255,255,.72); padding: 26px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-row > img { width: 250px; }
.footer-info { display: flex; align-items: center; gap: 22px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.footer-info img { width: 64px; height: 48px; object-fit: contain; }

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

@media (min-width: 821px) {
  .hero-portrait { height: 104%; right: 32px; }
}

@media (max-width: 1280px) and (min-width: 821px) {
  .site-header { height: 72px; padding: 0 24px; }
  .brand-mini img { width: 215px; }
  .header-social { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-social-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 16px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-social-mobile a { text-decoration: none; }
  .nav-social-mobile a:not(.nav-handle-mobile) {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    color: var(--blue-deep);
  }
  .nav-social-mobile svg { width: 16px; height: 16px; fill: currentColor; display: block; }
  .nav-handle-mobile {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--yellow);
    color: #fff;
    display: inline-flex;
    align-items: center;
    font-size: .78rem;
    font-weight: 900;
  }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 8px 24px 18px;
    background: rgba(4,31,79,.98);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
}

@media (max-width: 1040px) {
  .site-nav { gap: 18px; }
  .hero-topbar { left: max(20px, calc((100vw - 1160px) / 2 + 20px)); right: max(20px, calc((100vw - 1160px) / 2 + 20px)); }
  .hero-content { grid-template-columns: 1fr 1fr; width: 100%; padding-left: max(20px, calc((100vw - 1160px) / 2 + 20px)); }
  .hero-copy { padding: 84px 0 138px; }
  .hero-portrait-wrap { height: min(86svh, 960px); min-height: 760px; }
  .hero-portrait { right: 72px; }
  .hero-stripe-yellow { width: clamp(450px, 54vw, 900px); }
  .hero-stripe-green { width: clamp(280px, 32vw, 520px); }
  .history-grid, .ministry-grid, .public-service, .candidate-banner, .mandate-lead, .commissions-layout { gap: 42px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .proposal-grid { grid-template-columns: repeat(2, 1fr); }
  .actions-heading { grid-template-columns: 1fr 300px; gap: 40px; }
}

@media (max-width: 820px) {
  .container, .container.narrow { width: min(100% - 34px, 680px); }
  .section { padding: 82px 0; }
  .site-header { height: 68px; padding: 0 18px; }
  .brand-mini img { width: 190px; }
  .menu-toggle { display: block; }
  .header-social { display: none; }
  .nav-social-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 16px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-social-mobile a { text-decoration: none; }
  .nav-social-mobile a:not(.nav-handle-mobile) {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow);
    color: var(--blue-deep);
  }
  .nav-social-mobile svg { width: 16px; height: 16px; fill: currentColor; display: block; }
  .nav-handle-mobile {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--yellow);
    color: #fff;
    display: inline-flex;
    align-items: center;
    font-size: .78rem;
    font-weight: 900;
  }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 18px; background: rgba(4,31,79,.98); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .25s ease; }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero { min-height: 1090px; padding-top: 100px; align-items: end; }
  .hero-topbar { top: 84px; left: 17px; right: 17px; gap: 18px; flex-wrap: wrap; }
  .hero-mdb { width: 88px; }
  .hero-social { justify-content: flex-start; }
  .hero-content { display: block; width: min(100% - 34px, 680px); min-height: calc(100svh - 100px); }
  .hero-copy { position: relative; z-index: 8; padding: 84px 0 500px; }
  .hero-logo { width: 88%; }
  .hero-number { width: 54%; margin-right: 4%; }
  .hero-slogan { width: 98%; }
  .hero-portrait-wrap { position: absolute; inset: auto -6% 0 34%; height: 34%; min-height: 270px; z-index: 2; opacity: .98; }
  .hero-portrait { right: 24px; }
  .hero-mdb { width: 90px; right: 8%; top: 2%; }
  .hero-copy::after { content: ""; position: absolute; inset: -10px -18px -36px; z-index: -1; background: linear-gradient(90deg, rgba(11,71,150,.95) 0%, rgba(11,71,150,.78) 72%, transparent 100%); }
  .hero-stripe-yellow { width: 68%; right: 0; }
  .hero-stripe-green { width: 38%; right: 0; }
  .history-grid, .ministry-grid, .public-service, .candidate-banner, .mandate-lead, .commissions-layout, .actions-heading, .final-grid { grid-template-columns: 1fr; }
  .photo-card-tall { height: 520px; }
  .ministry-photo { order: 2; height: 430px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .public-service { padding: 34px; }
  .candidate-banner > img { min-height: 360px; max-height: 480px; }
  .proposal-grid { grid-template-columns: 1fr; }
  .mandate-hero { height: 560px; }
  .mandate-hero > img { inset: 0; width: 100%; height: 100%; object-position: center 24%; }
  .mandate-overlay { background: linear-gradient(0deg, rgba(4,31,79,.95), rgba(4,31,79,.70) 48%, rgba(4,31,79,.18) 100%); }
  .mandate-numbers { grid-template-columns: 1fr; }
  .commission-photo { min-height: 420px; }
  .actions-heading > img { width: 100%; height: 340px; }
  .actions-list { grid-template-columns: 1fr; }
  .final-grid { min-height: 780px; }
  .final-copy { padding: 72px 0 0; }
  .final-photo { height: 480px; }
  .final-photo img { height: 100%; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .contact-section { padding: 82px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 42px; }
}


@media (max-width: 520px) {
  p { font-size: 1.02rem; }
  .hero { min-height: 1020px; }
  .hero-topbar { top: 82px; }
  .hero-social { gap: 6px; }
  .hero-social a:not(.hero-handle) { width: 36px; height: 36px; }
  .hero-social svg { width: 16px; height: 16px; }
  .hero-handle { min-height: 36px; padding: 0 12px; font-size: .78rem; }
  .hero-copy { padding-bottom: 400px; }
  .hero-copy .eyebrow { font-size: .78rem; }
  .hero-logo { width: 92%; }
  .hero-number { width: 60%; margin-right: 0; }
  .hero-slogan { width: 100%; margin-top: 16px; max-width: 100%; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 96%; gap: 14px; }
  .btn { min-height: 48px; }
  .hero-portrait-wrap { left: 6%; right: 6%; height: 38%; min-height: 360px; }
  .hero-portrait { left: 0; right: 0; bottom: 0; margin: 0 auto; }
  .hero-mdb { right: 21%; width: 74px; }
  .hero-stripe-yellow { width: 68%; }
  .hero-stripe-green { width: 40%; }
  .intro-statement, .second-statement { padding: 66px 0; }
  .history-grid { gap: 38px; }
  .photo-card-tall { height: 440px; }
  .ministry-grid { margin-top: 72px; }
  .ministry-photo { height: 340px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 65px; }
  .stat { padding: 22px 18px; }
  .public-service { grid-template-columns: 1fr; margin-top: 65px; padding: 28px 24px; }
  .candidate-banner-copy { padding: 34px 26px; }
  .candidate-banner > img { min-height: 300px; }
  .proposal-card { min-height: 165px; }
  .commission-photo { min-height: 330px; }
  .actions-heading > img { height: 260px; }
  .action-item { padding-left: 52px; }
  .contact-section { padding: 66px 0; }
  .contact-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-submit, .btn-whatsapp { width: 100%; }
  .final-grid { min-height: 700px; }
  .final-photo { height: 390px; margin-right: -18%; }
  .footer-info { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 520px) {
  .hero-portrait { bottom: 0; }
  .hero-copy::after { display: none; }
}
