:root {
  --white: #ffffff;
  --soft: #f8fcf7;
  --mint-1: #effaf1;
  --mint-2: #e4f7e8;
  --mint-3: #d8f1de;
  --mint-4: #c8ead1;
  --mint-5: #b5e2c2;
  --green-900: #113b22;
  --green-800: #19502e;
  --green-700: #24703f;
  --green-600: #3a9a57;
  --green-500: #74bd83;
  --yellow: #f5cf3a;
  --ink: #14251a;
  --muted: #607065;
  --line: #dceee0;
  --shadow: 0 24px 70px rgba(17, 59, 34, 0.13);
  --soft-shadow: 0 14px 36px rgba(17, 59, 34, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 14px clamp(14px, 3vw, 34px) auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(220, 238, 224, 0.9);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(17, 59, 34, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  border-radius: 12px;
  font-weight: 900;
}

.brand-mark.logo-mark {
  overflow: hidden;
  padding: 0;
  background: var(--yellow);
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.brand-mark.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.92rem;
  font-weight: 800;
}

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

.site-nav a:hover {
  background: var(--mint-2);
}

.nav-cta {
  color: var(--white);
  background: var(--green-800);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--mint-2);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--green-900);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding: 128px clamp(20px, 5.5vw, 86px) 136px;
  overflow: hidden;
  color: var(--white);
  background: #c8f1d0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 59, 34, 0.72) 0%, rgba(42, 112, 64, 0.5) 38%, rgba(203, 244, 211, 0.08) 100%),
    linear-gradient(0deg, rgba(219, 249, 223, 0.12), rgba(219, 249, 223, 0.12));
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "PROGRESEMOS";
  position: absolute;
  right: clamp(20px, 6vw, 90px);
  top: 10vh;
  color: rgba(255, 255, 255, 0.14);
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  filter: saturate(0.92) brightness(1.08);
}

.hero-copy {
  position: relative;
  z-index: 3;
}

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

.hero .eyebrow {
  color: #f7d64a;
  text-shadow: 0 2px 18px rgba(17, 59, 34, 0.18);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 12px;
  color: var(--white);
  text-shadow: 0 10px 34px rgba(17, 59, 34, 0.22);
  font-size: clamp(4.2rem, 9.2vw, 8.7rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-slogan {
  max-width: 650px;
  margin-bottom: 14px;
  color: var(--yellow);
  text-shadow: 0 8px 28px rgba(17, 59, 34, 0.22);
  font-size: clamp(1.55rem, 3.35vw, 3rem);
  font-weight: 900;
  line-height: 1.02;
}

.hero-rotator {
  display: inline-flex;
  max-width: 680px;
  margin-bottom: 14px;
  padding: 9px 13px;
  color: var(--green-900);
  background: rgba(232, 248, 235, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(17, 59, 34, 0.14);
  font-size: 0.96rem;
  font-weight: 900;
}

.hero-text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.02rem;
  font-weight: 600;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(17, 59, 34, 0.14);
}

.button.primary {
  color: var(--green-900);
  background: var(--yellow);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(70px, 9vw, 112px) clamp(20px, 5.5vw, 78px);
}

.section-intro {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-intro.compact {
  max-width: 680px;
}

.section-intro h2 {
  margin-bottom: 14px;
  color: var(--green-900);
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.join .section-intro h2,
.support-layout h2,
.agenda-layout h2,
.admin-login h2,
.admin-topbar h2,
.privacy-card h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.35rem);
  line-height: 1.06;
}

.section-intro p:not(.section-label) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.07rem;
}

.trajectory {
  background:
    linear-gradient(180deg, var(--white), var(--mint-1));
}

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

.story-card,
.pillar,
.campaign-form {
  border: 1px solid rgba(220, 238, 224, 0.9);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.story-card {
  min-height: 260px;
  padding: 24px;
}

.story-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--green-800);
  border-radius: 14px;
  font-weight: 900;
}

.story-card h3,
.pillar h3,
.campaign-form h3,
.province-panel h3 {
  margin-bottom: 10px;
  color: var(--green-900);
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.08;
}

.story-card p,
.pillar p {
  color: var(--muted);
}

.tone-1 {
  background: #f0faf2;
}

.tone-2 {
  background: #e8f8eb;
}

.tone-3 {
  background: #ddf3e3;
}

.tone-4 {
  background: #d1edda;
}

.timeline-block {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
}

.timeline-block h3 {
  max-width: 680px;
  margin-bottom: 26px;
  color: var(--green-900);
  font-size: clamp(1.65rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.timeline-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.timeline-stages span {
  padding: 9px 12px;
  color: var(--green-900);
  background: var(--mint-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 4%;
  left: 4%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--green-700));
}

.timeline article {
  position: relative;
  padding-top: 58px;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 28px;
  height: 28px;
  background: var(--white);
  border: 8px solid var(--green-600);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(116, 189, 131, 0.16);
}

.timeline time {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green-700);
  font-weight: 900;
}

.timeline h4 {
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: 1.1rem;
}

.timeline p {
  color: var(--muted);
}

.detailed-timeline {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.detailed-timeline::before {
  display: none;
}

.detailed-timeline article {
  min-height: 236px;
  padding: 20px;
  background: linear-gradient(180deg, var(--mint-1), var(--white));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
}

.detailed-timeline article::before {
  display: none;
}

.timeline-card {
  display: flex;
  flex-direction: column;
}

.timeline-card time {
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: 1.55rem;
  line-height: 1;
}

.timeline-tag {
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 9px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(220, 238, 224, 0.9);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-card h4 {
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: 1.08rem;
  line-height: 1.08;
}

.timeline-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.timeline-card.is-featured {
  border-color: rgba(245, 207, 58, 0.72);
  box-shadow: 0 18px 44px rgba(17, 59, 34, 0.14);
}

.timeline-card.is-featured time {
  color: var(--green-800);
}

.stage-formation {
  background: linear-gradient(180deg, #f1fbf3, #ffffff) !important;
}

.stage-business {
  background: linear-gradient(180deg, #e4f7e8, #ffffff) !important;
}

.stage-leadership {
  background: linear-gradient(180deg, #fff8d9, #ffffff) !important;
}

.stage-regional {
  background: linear-gradient(180deg, #d8f1de, #ffffff) !important;
}

.timeline-closing {
  margin: 22px 0 0;
  padding: 18px 20px;
  color: var(--green-900);
  background: rgba(245, 207, 58, 0.26);
  border: 1px solid rgba(245, 207, 58, 0.45);
  border-radius: 18px;
  font-weight: 900;
}

.plan {
  background: var(--white);
}

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

.pillar {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 24px;
  background: linear-gradient(180deg, var(--mint-1), var(--white));
}

.pillar:nth-child(2) {
  background: linear-gradient(180deg, var(--mint-2), var(--white));
}

.pillar:nth-child(3) {
  background: linear-gradient(180deg, var(--mint-3), var(--white));
}

.pillar:nth-child(4) {
  background: linear-gradient(180deg, var(--mint-4), var(--white));
}

.pillar-tag,
.form-badge {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.pillar a {
  margin-top: auto;
  color: var(--green-800);
  font-weight: 900;
}

.pillar a:hover {
  color: var(--green-600);
}

.plan .flagship-projects,
.flagship-projects {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(232, 248, 235, 0.96), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at top right, rgba(245, 207, 58, 0.28), transparent 36%);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.plan .flagship-head,
.flagship-head {
  max-width: 860px;
  margin-bottom: 22px;
}

.plan .flagship-head h3,
.flagship-head h3 {
  max-width: 780px;
  margin-bottom: 12px;
  color: var(--green-900);
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.04;
}

.plan .flagship-head p:not(.section-label),
.flagship-head p:not(.section-label) {
  color: var(--muted);
  font-size: 1.02rem;
}

.carousel-hint {
  display: none;
  width: fit-content;
  margin-top: 10px;
  padding: 7px 10px;
  color: var(--green-900);
  background: var(--mint-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

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

.plan .flagship-card,
.flagship-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 22px;
  overflow: hidden;
  color: var(--green-900);
  background: var(--white);
  border: 1px solid rgba(191, 228, 199, 0.9);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.plan .flagship-card::before,
.flagship-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  background: var(--mint-3);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.project-airport::before {
  content: "AI";
}

.project-road::before {
  content: "VE";
}

.project-cable::before {
  content: "CH";
}

.project-water::before {
  content: "60";
}

.plan .flagship-card::before,
.flagship-card::before {
  display: grid;
  place-items: center;
  color: var(--green-800);
  font-size: 1.35rem;
  font-weight: 900;
}

.plan .flagship-card::after,
.flagship-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -40px;
  width: 130px;
  height: 130px;
  background: rgba(116, 189, 131, 0.18);
  border-radius: 50%;
}

.plan .flagship-card > span,
.flagship-card > span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 13px;
  font-weight: 900;
}

.plan .flagship-card h4,
.flagship-card h4 {
  margin-bottom: 10px;
  color: var(--green-900);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.08;
}

.plan .flagship-card p,
.flagship-card p {
  color: var(--muted);
}

.plan .flagship-card strong,
.flagship-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 16px;
  color: var(--green-800);
  line-height: 1.25;
}

.plan .flagship-card a,
.flagship-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 9px 12px;
  color: var(--white);
  background: var(--green-800);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.plan .gas-project,
.gas-project {
  margin-top: 14px;
  padding: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.plan .gas-project span,
.gas-project span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan .gas-project h4,
.gas-project h4 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 900;
}

.plan .gas-project p,
.gas-project p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.province-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(300px, 1.35fr);
  gap: 24px;
  margin-top: 20px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, #dff5e5, #f3fbf5 58%, #ccefd6);
  border: 1px solid #c7e9d0;
  border-radius: 26px;
  box-shadow: 0 22px 54px rgba(17, 59, 34, 0.12);
}

.province-panel h3 {
  color: var(--green-900);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.province-panel .section-label {
  color: var(--green-700);
}

.province-cloud {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
}

.province-button {
  padding: 10px 13px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #c5e6ce;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.province-button:hover,
.province-button.is-active {
  background: var(--yellow);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.province-plan-card {
  margin-top: 18px;
  padding: 20px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #c7e9d0;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(17, 59, 34, 0.1);
}

.province-plan-card h4 {
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
}

.province-plan-card p {
  margin-bottom: 14px;
  color: var(--muted);
}

.province-plan-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.province-priorities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.province-priorities li {
  padding: 11px 12px;
  background: var(--mint-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 800;
}

.province-plan-cta {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 10px 13px;
  color: var(--white);
  background: var(--green-800);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
}

.province-plan-cta:hover {
  background: var(--green-700);
}


.join {
  background:
    linear-gradient(180deg, var(--mint-1), var(--white));
}

.forms-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(340px, 1.18fr);
  gap: 20px;
  align-items: start;
}

.campaign-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--white);
}

.campaign-form.accent {
  background: linear-gradient(180deg, #eef9f1, #ffffff);
  border-color: #bfe4c7;
}

.campaign-form label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.personero-form {
  position: relative;
}

.personero-form::before {
  content: "Gestión de personeros";
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--green-800);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
}

.campaign-form input,
.campaign-form select,
.campaign-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #cfe4d5;
  border-radius: 13px;
}

.campaign-form input:focus,
.campaign-form select:focus,
.campaign-form textarea:focus {
  outline: 3px solid rgba(116, 189, 131, 0.28);
  border-color: var(--green-600);
}

.campaign-form input.is-invalid,
.campaign-form select.is-invalid,
.campaign-form textarea.is-invalid {
  background: #fff8f8;
  border-color: #d75555;
  box-shadow: 0 0 0 3px rgba(215, 85, 85, 0.12);
}

.field-error {
  color: #9b1c1c;
  font-size: 0.78rem;
  font-weight: 900;
}

.campaign-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-note.success {
  color: var(--green-800);
}

.form-note.error {
  color: #9b1c1c;
}

.form-note a {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 8px 10px;
  color: var(--white);
  background: #20b15a;
  border-radius: 999px;
  font-weight: 900;
}

.form-stepper {
  display: none;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background: var(--mint-1);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.form-stepper button {
  min-height: 38px;
  padding: 8px 11px;
  color: var(--green-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.form-stepper span {
  color: var(--green-900);
  font-size: 0.84rem;
  font-weight: 900;
}

.priority-pill {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.priority-high {
  color: #7b1d1d;
  background: #ffe8e8;
}

.priority-medium {
  color: #6b4c00;
  background: #fff4c4;
}

.priority-low {
  color: var(--green-900);
  background: var(--mint-2);
}

.agenda {
  background:
    linear-gradient(180deg, var(--white), #f0faf2);
}

.support-section {
  background:
    linear-gradient(180deg, #ffffff, #eefaf1);
}

.support-layout,
.agenda-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.support-layout h2,
.agenda-layout h2 {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--green-900);
  font-size: clamp(1.9rem, 3.8vw, 3.35rem);
  font-weight: 900;
  line-height: 1.06;
}

.support-layout > div > p:not(.section-label),
.agenda-layout > div > p:not(.section-label) {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.07rem;
}

.support-options,
.meeting-types {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.support-options article,
.meeting-types article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.support-options span,
.meeting-types span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green-800);
  font-weight: 900;
}

.support-options p,
.meeting-types p {
  margin: 0;
  color: var(--muted);
}

.support-form {
  background: linear-gradient(180deg, #e8f8eb, #ffffff);
  border-color: #bfe4c7;
}

.support-hint {
  padding: 12px 14px;
  color: var(--green-900);
  background: #fffbea;
  border: 1px solid #f2dea1;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
}

.agenda-form {
  background: linear-gradient(180deg, #ecf9ef, #ffffff);
  border-color: #c6e9ce;
}

.admin-section {
  background:
    linear-gradient(180deg, #f7fcf8, #ffffff);
}

.admin-section[hidden] {
  display: none;
}

.admin-login,
.admin-dashboard {
  display: grid;
  gap: 24px;
}

.admin-login {
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 420px);
  align-items: center;
}

.admin-login h2,
.admin-topbar h2 {
  margin-bottom: 12px;
  color: var(--green-900);
  font-size: clamp(1.9rem, 3.8vw, 3.35rem);
  font-weight: 900;
  line-height: 1.06;
}

.admin-login p:not(.section-label) {
  max-width: 620px;
  color: var(--muted);
}

.admin-login-card {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.admin-login-card label,
.admin-controls label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-weight: 900;
}

.admin-login-card input,
.admin-controls input,
.admin-controls select,
.status-select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #cfe4d5;
  border-radius: 12px;
}

.admin-dashboard[hidden],
.admin-login[hidden] {
  display: none;
}

.admin-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-ghost {
  color: var(--green-900);
  background: var(--white);
  border-color: var(--line);
}

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

.admin-stats article {
  padding: 20px;
  background: linear-gradient(180deg, var(--mint-1), var(--white));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
}

.admin-stats span {
  display: block;
  color: var(--green-800);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.admin-stats p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.admin-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(160px, 220px) minmax(160px, 220px) minmax(160px, 220px);
  gap: 14px;
  padding: 16px;
  background: #f1faf3;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.province-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.province-summary span {
  padding: 9px 12px;
  color: var(--green-900);
  background: var(--mint-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.territory-map {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #f7fcf8;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.territory-row {
  display: grid;
  grid-template-columns: 150px minmax(120px, 1fr) 44px;
  gap: 10px;
  align-items: center;
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 900;
}

.territory-bar {
  overflow: hidden;
  height: 12px;
  background: var(--mint-2);
  border-radius: 999px;
}

.territory-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green-500), var(--yellow));
  border-radius: inherit;
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.admin-table th {
  color: var(--green-900);
  background: #edf8f0;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--ink);
  font-size: 0.92rem;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-cards {
  display: none;
  gap: 14px;
}

.admin-record-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.admin-record-card h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 1.05rem;
}

.admin-record-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.record-type {
  display: inline-block;
  padding: 6px 9px;
  color: var(--green-900);
  background: var(--mint-2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.record-detail {
  max-width: 270px;
  color: var(--muted);
}

.record-contact {
  display: grid;
  gap: 8px;
}

.whatsapp-record {
  width: fit-content;
  padding: 7px 10px;
  color: var(--white);
  background: #20b15a;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.internal-note {
  min-width: 180px;
  min-height: 72px;
  padding: 10px;
  color: var(--ink);
  background: #fbfdf9;
  border: 1px solid #cfe4d5;
  border-radius: 10px;
  resize: vertical;
}

.delete-record {
  min-height: 38px;
  padding: 8px 10px;
  color: #8a1f1f;
  background: #fff3f3;
  border: 1px solid #f2caca;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 26px clamp(20px, 5.5vw, 78px);
  color: var(--green-900);
  background: var(--mint-2);
  font-weight: 800;
}

.site-footer strong {
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #64445b;
  font-weight: 500;
}

.footer-share {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.footer-links span::after,
.footer-links a::after,
.footer-share::after {
  content: "·";
  margin-left: 8px;
  color: #8c7187;
}

.footer-links a:last-child::after {
  content: "";
  margin-left: 0;
}

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

.mobile-campaign-bar {
  position: fixed;
  right: 12px;
  bottom: 82px;
  left: 12px;
  z-index: 29;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(17, 59, 34, 0.18);
  backdrop-filter: blur(14px);
}

.mobile-campaign-bar a,
.mobile-campaign-bar button {
  min-height: 46px;
  padding: 10px 8px;
  color: var(--green-900);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 900;
}

.mobile-campaign-bar button {
  cursor: pointer;
}

.mobile-campaign-bar :last-child {
  border-right: 0;
}

.presentation-exit {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 80;
  display: none;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--green-900);
  background: var(--yellow);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(17, 59, 34, 0.22);
  font-weight: 900;
  cursor: pointer;
}

body.presentation-mode {
  background: var(--mint-1);
}

body.presentation-mode .site-header,
body.presentation-mode .site-footer,
body.presentation-mode .whatsapp-float,
body.presentation-mode .mobile-campaign-bar,
body.presentation-mode .join,
body.presentation-mode .support-section,
body.presentation-mode .agenda,
body.presentation-mode .admin-section,
body.presentation-mode .privacy-section {
  display: none !important;
}

body.presentation-mode .presentation-exit {
  display: inline-flex;
}

body.presentation-mode .hero {
  min-height: 100vh;
  padding-top: 80px;
}

body.presentation-mode .hero-actions {
  display: none;
}

body.presentation-mode .section {
  min-height: 100vh;
  padding-top: 76px;
}

body.presentation-mode .plan {
  background: linear-gradient(180deg, var(--white), var(--mint-1));
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #20b15a;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(17, 59, 34, 0.24);
  font-size: 0;
  font-weight: 900;
}

.whatsapp-float::before {
  content: "W";
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #20b15a;
  background: var(--white);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 1000;
}

.whatsapp-float:hover {
  background: #17984b;
  transform: translateY(-2px);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 30;
  display: none;
  width: 46px;
  height: 46px;
  color: var(--green-900);
  background: var(--yellow);
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(17, 59, 34, 0.2);
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

.back-to-top.is-visible {
  display: grid;
  place-items: center;
}

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

.privacy-card {
  max-width: 980px;
  padding: clamp(24px, 5vw, 44px);
  background: linear-gradient(180deg, var(--mint-1), var(--white));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
}

.privacy-card h2 {
  max-width: 780px;
  margin-bottom: 14px;
  color: var(--green-900);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.privacy-card p:not(.section-label) {
  max-width: 820px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .story-grid,
  .pillar-grid,
  .flagship-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forms-grid {
    grid-template-columns: 1fr;
  }

  .agenda-layout {
    grid-template-columns: 1fr;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

  .admin-login,
  .admin-controls {
    grid-template-columns: 1fr;
  }

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

  .timeline::before {
    display: none;
  }
}

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

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-bg img {
    object-position: 58% center;
  }

  .admin-topbar {
    align-items: start;
    flex-direction: column;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .province-panel {
    grid-template-columns: 1fr;
  }

  .province-priorities {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    padding-bottom: 86px;
  }

  .brand small {
    display: none;
  }

  .site-header {
    inset: 10px 10px auto;
  }

  .hero {
    min-height: 100vh;
    padding: 104px 18px 138px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(17, 59, 34, 0.78) 0%, rgba(42, 112, 64, 0.54) 58%, rgba(203, 244, 211, 0.12) 100%),
      linear-gradient(0deg, rgba(219, 249, 223, 0.1), rgba(219, 249, 223, 0.1));
  }

  .hero::after {
    top: 90px;
    right: 12px;
    font-size: clamp(3.1rem, 17vw, 5.6rem);
    color: rgba(255, 255, 255, 0.1);
  }

  .hero-bg img {
    object-position: 62% center;
  }

  h1 {
    max-width: 420px;
    font-size: clamp(3.15rem, 15.5vw, 5.15rem);
    line-height: 0.96;
  }

  .hero-slogan {
    max-width: 390px;
    font-size: clamp(1.25rem, 6.5vw, 1.85rem);
    line-height: 1.1;
  }

  .hero-rotator {
    border-radius: 14px;
    font-size: 0.82rem;
  }

  .hero-text {
    max-width: 390px;
    font-size: 0.92rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 58px 18px;
  }

  .story-grid,
  .pillar-grid,
  .forms-grid,
  .support-layout,
  .agenda-layout {
    grid-template-columns: 1fr;
  }

  .plan .flagship-grid,
  .flagship-grid {
    display: grid;
    grid-auto-columns: minmax(268px, 84vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .plan .flagship-card,
  .flagship-card {
    min-height: 330px;
    scroll-snap-align: start;
  }

  .carousel-hint {
    display: inline-flex;
  }

  .campaign-form.has-steps .field-grid {
    display: block;
  }

  .campaign-form.has-steps label {
    display: none;
  }

  .campaign-form.has-steps label.is-current-step {
    display: grid;
  }

  .campaign-form.has-steps .form-stepper {
    display: flex;
  }

  .timeline.detailed-timeline {
    display: grid;
    grid-auto-columns: minmax(250px, 82vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .timeline.detailed-timeline .timeline-card {
    scroll-snap-align: start;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .territory-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .admin-table-wrap {
    display: none;
  }

  .admin-cards {
    display: grid;
  }

  .mobile-campaign-bar {
    display: grid;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 18px;
  }

  .back-to-top {
    right: 14px;
    bottom: 138px;
  }

  .personero-form::before {
    position: static;
    width: fit-content;
    order: -1;
  }

  .story-card,
  .pillar {
    min-height: auto;
  }
}
