:root {
  --green-950: #139717;
  --green-900: #0f3d25;
  --green-800: #14552f;
  --green-700: #19733b;
  --green-600: #238a45;
  --green-500: #2fa858;
  --green-100: #e9f7ee;
  --green-50: #f5fbf7;
  --gold: #f4c542;
  --gold-dark: #d8a613;
  --ink: #1c2a22;
  --muted: #637568;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(9, 43, 26, 0.12);
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, var(--green-50) 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }

.top-bar {
  background: var(--green-950);
  color: rgba(255,255,255,.92);
  font-size: 13px;
}
.top-bar__content { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.top-bar__message { font-weight: 600; }
.top-bar__right { display: flex; align-items: center; gap: 14px; }
.search input {
  width: 210px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 8px 14px;
  color: #fff;
  background: rgba(255,255,255,.12);
  outline: none;
}
.search input::placeholder { color: rgba(255,255,255,.72); }
.search input:focus { background: #fff; color: var(--ink); }
.social { display: flex; align-items: center; gap: 11px; }
.social a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; transition: .25s ease; }
.social img { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.social a:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 13px 22px;
  font-weight: 800;
  letter-spacing: .2px;
  transition: .25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--small { padding: 8px 13px; font-size: 12px; text-transform: uppercase; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--gold { color: var(--green-950); background: var(--gold); box-shadow: 0 10px 22px rgba(244,197,66,.28); }
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--green-700), var(--green-500)); box-shadow: 0 14px 30px rgba(35,138,69,.28); }
.btn--primary:hover, .btn--outline:hover { transform: translateY(-2px); }
.btn--outline { color: var(--green-800); border-color: rgba(25,115,59,.25); background: rgba(255,255,255,.74); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20,85,47,.10);
  box-shadow: 0 10px 30px rgba(9,43,26,.06);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand img { width: min(250px, 55vw); height: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
.main-nav a:hover, .main-nav a.active { background: var(--green-100); color: var(--green-700); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 260px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(20,85,47,.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { min-height: auto; border-radius: 12px; padding: 10px 12px; text-transform: none; font-weight: 700; color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--green-100); cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--green-900); }

.hero { padding: 70px 0 60px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: 44px; align-items: center; }
.eyebrow { display: inline-flex; color: var(--green-700); background: var(--green-100); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .8px; }
h1 { margin-top: 18px; font-size: clamp(34px, 5vw, 60px); line-height: 1.02; color: var(--green-950); letter-spacing: -1.8px; }
.hero__content p { margin: 20px 0 28px; color: var(--muted); font-size: 18px; max-width: 590px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero__visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--green-900);
  isolation: isolate;
}
.hero__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,43,26,.32), transparent 58%); z-index: 2; pointer-events: none; }
.slider { height: 100%; display: flex; transition: transform .65s cubic-bezier(.22,1,.36,1); }
.slide { min-width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7;}
.candidate { position: absolute; right: 10px; bottom: 0; height: 80%; width: auto; z-index: 4; filter: drop-shadow(0 18px 25px rgba(0,0,0,.28)); pointer-events: none; }
.slider-btn { position: absolute; top: 50%; z-index: 6; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--green-900); font-size: 19px; cursor: pointer; box-shadow: 0 10px 25px rgba(0,0,0,.16); }
.slider-btn:hover { background: var(--gold); }
.slider-btn--prev { left: 16px; }
.slider-btn--next { right: 16px; }
.slider-dots { position: absolute; left: 50%; bottom: 18px; z-index: 7; transform: translateX(-50%); display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; border: 1px solid rgba(255,255,255,.5); }
.dot.active { width: 28px; border-radius: 999px; background: var(--gold); }

.features { padding: 55px 0 70px; }
.section-heading { text-align: center; max-width: 760px; }
.section-heading h2, .cta h2, .page-title h1 { margin-top: 14px; color: var(--green-950); font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -1px; }
.section-heading p { margin-top: 12px; color: var(--muted); }
.cards-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card, .content-card, .pillar-card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(20,85,47,.10);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(9,43,26,.08);
}
.card { padding: 28px; transition: .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--green-950); background: var(--gold); font-weight: 900; margin-bottom: 18px; }
.card h3, .content-card h2, .pillar-card h3 { color: var(--green-900); margin-bottom: 10px; }
.card p, .content-card p, .pillar-card p { color: var(--muted); }

.cta { padding: 10px 0 75px; }
.cta__box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; box-shadow: var(--shadow); }
.cta__box h2 { color: #fff; }
.cta__box p { color: rgba(255,255,255,.82); margin-top: 10px; }
.cta .eyebrow { color: var(--green-950); background: var(--gold); }

.page-hero { padding: 58px 0 38px; background: radial-gradient(circle at top right, rgba(244,197,66,.18), transparent 38%), linear-gradient(180deg, var(--green-50), #fff); }
.page-title { max-width: 850px; text-align: center; }
.page-title p { color: var(--muted); margin-top: 15px; font-size: 17px; }
.content-section { padding: 35px 0 70px; }
.content-stack { display: grid; gap: 20px; }
.content-card { padding: 30px; border-left: 6px solid var(--green-600); }
.content-card ul { display: grid; gap: 12px; margin-top: 16px; }
.content-card li { position: relative; padding-left: 28px; color: var(--muted); }
.content-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green-600); font-weight: 900; }
.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 20px; }
.pillar-card { padding: 24px; }

.footer { background: var(--green-950); color: rgba(255,255,255,.82); padding-top: 42px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 28px; }
.footer h3 { color: #fff; margin-bottom: 12px; }
.footer p { margin-bottom: 8px; }
.footer__quote { color: var(--gold); font-weight: 800; font-size: 18px; }
.social--footer a { background: rgba(255,255,255,.09); }
.footer__bottom { margin-top: 34px; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 14px; }

@media (max-width: 1024px) {
  .top-bar__message, .search { display: none; }
  .top-bar__content { justify-content: center; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 360px; }
  .cards-grid, .pillars-grid, .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-container { min-height: 72px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 78px; background: #fff; border: 1px solid rgba(20,85,47,.12); border-radius: 18px; box-shadow: var(--shadow); padding: 12px; display: none; }
  .main-nav.open { display: block; }
  .main-nav > ul { display: grid; gap: 4px; }
  .main-nav a { justify-content: flex-start; }
  .dropdown { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
  .has-dropdown:hover .dropdown { display: block; }
  .top-bar__right { gap: 8px; flex-wrap: wrap; justify-content: center; padding: 8px 0; }
  .candidate { height: 82%; right: -18px; }
  .hero { padding-top: 42px; }
  .hero__visual { min-height: 300px; }
  .cta__box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 28px, var(--container)); }
  .social--top { display: none; }
  .brand img { width: 215px; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
  .candidate { height: 72%; right: -38px; }
  .slider-btn { width: 38px; height: 38px; }
  .content-card { padding: 22px; }
}

/* ===== Tierra Verde completo ===== */
/* ===== Tierra Verde completo - Estilos organizados ===== */
.section {
  padding: 78px 0;
}

.bg-soft {
  background: linear-gradient(180deg, var(--green-50), #fff);
}

.bg-dark {
  background: radial-gradient(circle at top left, rgba(244, 197, 66, .2), transparent 34%), linear-gradient(135deg, var(--green-950), var(--green-800));
  color: #fff;
}

.hero--home {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  padding: 0;
  background: radial-gradient(circle at 15% 0, rgba(244, 197, 66, .22), transparent 28%);
}

.hero--home .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.hero--home .hero__grid {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 0;
  position: relative;
}

.hero--home .hero__overlay {
  grid-area: 1 / 1;
  z-index: 10;
  align-self: start;
  margin-top: 5px;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  /*gap: 15px; */
  width: 100%;
}

.hero--home .hero__content {
  width: min(90%, fit-content);
  max-width: 1200px;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero--home .hero__content h1 {
  color: #fff;
  font-size: clamp(24px, 4.5vw, 42px);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero--home .hero__visual {
  grid-area: 1 / 1;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
}

.split-grid h2,
.section-heading h2,
.cta-panel h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  color: var(--green-950);
  letter-spacing: -1px;
  margin: 14px 0;
}

.split-grid p,
.lead {
  font-size: 17px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.check-list span {
  padding: 12px 14px 12px 42px;
  background: #fff;
  border: 1px solid rgba(20, 85, 47, .1);
  border-radius: 14px;
  position: relative;
  font-weight: 700;
  color: var(--green-900);
}

.check-list span:before {
  content: '✓';
  position: absolute;
  left: 16px;
  color: var(--green-600);
  font-weight: 900;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 85, 47, .1);
  background: #fff;
}

.image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.image-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(9, 43, 26, .84);
  color: #fff;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
}

.featured-profile {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 30px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(20, 85, 47, .1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}

.profile-photo {
  min-height: 390px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--green-100), #fff);
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
}

.profile-photo img {
  max-height: 390px;
  object-fit: contain;
}

.profile-body h3 {
  font-size: 34px;
  color: var(--green-950);
  margin: 12px 0 8px;
}

.profile-body p {
  color: var(--muted);
  margin-bottom: 16px;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta-panel h2 {
  color: #fff;
}

.cta-panel p {
  color: rgba(255, 255, 255, .82);
  max-width: 680px;
}

.eyebrow--light {
  background: rgba(255, 255, 255, .12);
  color: var(--gold);
}

.page-banner {
  padding: 62px 0;
  background: radial-gradient(circle at top right, rgba(244, 197, 66, .22), transparent 34%), linear-gradient(180deg, #fff, var(--green-50));
  text-align: center;
}

.page-banner h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-banner p {
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.list-card {
  background: #fff;
  border: 1px solid rgba(20, 85, 47, .1);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: 0 12px 32px rgba(9, 43, 26, .07);
}

.list-card h3 {
  color: var(--green-900);
  margin-bottom: 12px;
}

.list-card li {
  padding: 9px 0 9px 28px;
  position: relative;
  color: var(--muted);
  border-bottom: 1px solid rgba(20, 85, 47, .07);
}

.list-card li:last-child {
  border-bottom: 0;
}

.list-card li:before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--gold);
  font-size: 24px;
  line-height: 16px;
}

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

.program-card {
  background: #fff;
  border: 1px solid rgba(20, 85, 47, .1);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(9, 43, 26, .07);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
}

.program-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--green-100);
  display: grid;
  place-items: center;
  font-size: 25px;
}

.program-card h3 {
  color: var(--green-950);
  margin-bottom: 5px;
}

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

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.candidate-card {
  background: #fff;
  border: 1px solid rgba(20, 85, 47, .1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(9, 43, 26, .07);
  position: relative;
}

.candidate-fb {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  background: var(--green-950);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.candidate-img {
  height: 230px;
  background: linear-gradient(135deg, var(--green-100), #fff);
  display: grid;
  place-items: center;
  color: var(--green-800);
  font-weight: 900;
}

.candidate-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.candidate-fb img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1); 
}

.candidate-fb:hover {
  background: var(--gold);
  transform: scale(1.1);
}

.candidate-content {
  padding: 22px;
}

.candidate-content h3 {
  color: var(--green-950);
  margin-bottom: 6px;
}

.candidate-content p {
  color: var(--muted);
  font-size: 15px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: #fff;
  border: 1px solid rgba(20, 85, 47, .1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(9, 43, 26, .07);
}

.news-thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--green-900), var(--green-500));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  text-align: center;
  padding: 20px;
}

.news-body {
  padding: 22px;
}

.news-body h3 {
  color: var(--green-950);
  margin-bottom: 10px;
}

.news-body p {
  color: var(--muted);
  font-size: 15px;
}

.form-shell {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.form-aside {
  background: linear-gradient(135deg, var(--green-950), var(--green-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 110px;
}

.form-aside h2 {
  font-size: 34px;
  line-height: 1.1;
  margin: 12px 0;
}

.form-aside p {
  color: rgba(255, 255, 255, .82);
}

.form-card {
  background: #fff;
  border: 1px solid rgba(20, 85, 47, .1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-weight: 800;
  color: var(--green-900);
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(20, 85, 47, .18);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfffc;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(47, 168, 88, .12);
  background: #fff;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.privacy-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

.download-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.mini-stat {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 16px;
  border-radius: 18px;
}

.mini-stat strong {
  display: block;
  font-size: 24px;
  color: var(--gold);
}


@media (max-width: 1024px) {
  .split-grid,
  .featured-profile,
  .form-shell {
    grid-template-columns: 1fr;
  }
  .form-aside {
    position: static;
  }
  .candidate-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .two-col,
  .program-grid,
  .candidate-grid,
  .news-grid,
  .form-grid,
  .mini-stat-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 54px 0;
  }
  .featured-profile {
    padding: 18px;
  }
  .profile-photo {
    min-height: 290px;
  }
  .profile-photo img {
    max-height: 300px;
  }
  .cta-panel {
    display: grid;
  }
  .image-card img {
    height: 300px;
  }
}
