:root {
  --green-900: #063f14;
  --green-800: #076505;
  --green-700: #117311;
  --green-600: #038b03;
  --green-500: #2b9429;
  --green-100: #e8f7e8;
  --green-50: #f4fbf4;
  --ink: #172019;
  --muted: #5d6b61;
  --line: #d8e2da;
  --soft-line: #edf2ee;
  --surface: #ffffff;
  --warm: #eee6d7;
  --warm-2: #faf7ef;
  --gold: #c69a39;
  --shadow: 0 18px 50px rgba(10, 44, 18, 0.13);
  --shadow-soft: 0 10px 30px rgba(10, 44, 18, 0.08);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  padding-top: 78px;
  background: #fff;
  color: var(--ink);
  font-family: "Futura Md BT", Futura, Avenir, "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.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;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 82px 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 12px max(22px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(216, 226, 218, 0.9);
  box-shadow: 0 10px 28px rgba(6, 63, 20, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 226px;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--green-800);
  font-size: 1.34rem;
  line-height: 1;
}

.brand small {
  max-width: 150px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  color: #314036;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-800);
  border-color: var(--green-500);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border 180ms ease;
}

.header-cta {
  padding: 0 18px;
  color: #fff;
  background: var(--green-800);
  box-shadow: var(--shadow-soft);
}

.header-cta svg,
.btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex: 0 0 auto;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--green-900);
}

.hero {
  min-height: calc(88vh - 78px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, #fff 0%, #fff 47%, rgba(244, 251, 244, 0.96) 47%, rgba(244, 251, 244, 0.96) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  padding: 26px 0 32px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--green-800);
  font-size: clamp(3.1rem, 5.6vw, 5.8rem);
  line-height: 0.94;
  font-weight: 900;
}

.hero-lead {
  margin: 30px 0 18px;
  max-width: 690px;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.9vw, 1.62rem);
  line-height: 1.22;
  font-weight: 800;
}

.hero-copy > p:not(.hero-lead) {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 28px;
}

.btn {
  padding: 0 20px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--green-800);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  background: var(--green-900);
  box-shadow: var(--shadow);
}

.btn-secondary {
  color: var(--green-900);
  background: #fff;
  border-color: var(--green-500);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--green-50);
}

.btn-print {
  color: var(--ink);
  background: var(--warm-2);
  border-color: #dfd1b8;
}

.identity-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 690px;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.identity-list div {
  padding: 18px 18px 16px 0;
}

.identity-list div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.identity-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.identity-list dd {
  margin: 4px 0 0;
  color: var(--green-900);
  font-size: 0.98rem;
  font-weight: 900;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero-media > img {
  width: 100%;
  height: min(62vh, 600px);
  min-height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.credential-card {
  position: absolute;
  right: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 36px);
  width: min(310px, calc(100% - 36px));
  padding: 20px;
  color: #fff;
  background: rgba(6, 63, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
}

.credential-card span,
.credential-card strong,
.credential-card small {
  display: block;
}

.credential-card span {
  color: #cbeecb;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.credential-card strong {
  margin: 4px 0 8px;
  font-size: 1.65rem;
  line-height: 1.05;
}

.credential-card small {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.proof-strip {
  padding: 34px 0;
  background: var(--green-900);
  color: #fff;
}

.proof-strip .container {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 30px;
  align-items: center;
}

.proof-strip h2 {
  margin: 0;
  max-width: 430px;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  overflow: hidden;
}

.proof-grid article {
  min-height: 126px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.16);
}

.proof-grid strong {
  display: block;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.proof-grid span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.28;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.05rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 900;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.2;
}

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

.section-lead,
.section-heading p,
.impact-header p,
.partners-copy p,
.contact-copy p,
.dossier p,
.transparency p,
.gallery p {
  font-size: 1.08rem;
}

.dossier {
  background: #fff;
}

.dossier-list {
  display: grid;
  gap: 14px;
}

.dossier-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dossier-list span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--green-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
}

.dossier-list p,
.document-list p,
.program-card p,
.impact-grid p {
  margin: 8px 0 0;
}

.aprendizagem {
  background: var(--warm-2);
}

.section-copy {
  max-width: 600px;
}

.section-copy h2 {
  color: var(--green-800);
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-800);
  box-shadow: inset 0 0 0 5px #d7f4d7;
}

.media-stack {
  position: relative;
  min-height: 520px;
}

.media-main,
.media-secondary {
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.media-main {
  width: 78%;
  aspect-ratio: 1.25 / 1;
}

.media-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  min-width: 220px;
  aspect-ratio: 0.82 / 1;
  border: 8px solid var(--warm-2);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading h2 {
  color: var(--green-900);
}

.course-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.course-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

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

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

.course-table td:first-child {
  color: var(--green-900);
  font-weight: 900;
}

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

.note {
  margin: 22px 0 0;
  padding: 18px 20px;
  color: #344239;
  background: var(--warm-2);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}

.impact {
  background: var(--green-50);
}

.impact-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  margin-bottom: 36px;
}

.impact-header h2 {
  color: var(--green-800);
}

.impact-header img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

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

.impact-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.impact-grid strong {
  display: block;
  margin-bottom: 16px;
  color: var(--green-800);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.92;
}

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

.program-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.program-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.program-card div {
  padding: 20px;
}

.gallery {
  padding-top: 70px;
  background: linear-gradient(180deg, #fff 0%, #fff 50%, var(--warm-2) 50%, var(--warm-2) 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

.gallery-grid > div {
  padding: 28px 26px;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius);
}

.gallery-grid h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
}

.gallery-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: #fff;
  font-weight: 900;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
}

.transparency {
  background: var(--warm-2);
}

.transparency h2 {
  color: var(--green-900);
}

.transparency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.document-list article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.partners {
  padding: 70px 0;
  background: #fff;
}

.partners .container {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
  gap: 38px;
  align-items: center;
}

.partners h2 {
  color: var(--green-800);
  font-size: clamp(1.9rem, 3.2vw, 3.4rem);
}

.partners img {
  width: 100%;
  aspect-ratio: 2.7 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--green-600);
}

.contact {
  padding: 86px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 63, 20, 0.98), rgba(6, 63, 20, 0.92)),
    url("assets/cultura-publico.webp") center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.contact h2 {
  color: #fff;
}

.contact p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-row {
  display: block;
  padding: 18px 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.contact-row:hover {
  background: rgba(255, 255, 255, 0.13);
}

.contact-row span,
.contact-row strong {
  display: block;
}

.contact-row span {
  color: #bceabc;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-row strong {
  margin-top: 4px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.copy-message {
  min-height: 48px;
  color: var(--green-900);
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
}

.copy-message.is-copied {
  color: #fff;
  background: var(--green-600);
}

.site-footer {
  padding: 24px 0;
  color: #d7ead7;
  background: #031f0a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.site-footer img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.site-footer a {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px 0 4px;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--soft-line);
  }

  .hero {
    min-height: auto;
    background: linear-gradient(180deg, #fff 0%, #fff 50%, var(--green-50) 50%, var(--green-50) 100%);
  }

  .hero-grid,
  .split-grid,
  .impact-header,
  .partners .container,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 12vw, 6rem);
  }

  .hero-media {
    min-height: auto;
  }

  .hero-media > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.45 / 1;
  }

  .proof-strip .container {
    grid-template-columns: 1fr;
  }

  .proof-strip h2 {
    max-width: 760px;
  }

  .proof-grid,
  .impact-grid,
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-stack {
    min-height: 420px;
  }

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

  .gallery-grid > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section-pad {
    padding: 64px 0;
  }

  .site-header {
    min-height: 68px;
    padding: 8px 14px;
    gap: 14px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 1.12rem;
  }

  .brand small {
    max-width: 132px;
    font-size: 0.68rem;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero-lead {
    margin-top: 22px;
  }

  .hero-actions,
  .transparency-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .identity-list {
    grid-template-columns: 1fr;
  }

  .identity-list div,
  .identity-list div + div {
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .identity-list div:first-child {
    border-top: 0;
  }

  .credential-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .hero-media {
    display: block;
  }

  .proof-grid,
  .impact-grid,
  .program-grid,
  .document-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid article {
    min-height: 104px;
  }

  .dossier-list article {
    grid-template-columns: 1fr;
  }

  .media-stack {
    min-height: 0;
  }

  .media-main,
  .media-secondary {
    position: static;
    width: 100%;
  }

  .media-secondary {
    margin-top: 12px;
    min-width: 0;
    border: 0;
    aspect-ratio: 1.2 / 1;
  }

  .gallery-grid img {
    min-height: 240px;
  }

  .course-table th,
  .course-table td {
    padding: 15px 16px;
  }

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

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

@media print {
  .site-header,
  .hero-actions,
  .transparency-actions,
  .copy-message,
  .site-footer a {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
    font-size: 12pt;
  }

  .section-pad,
  .partners,
  .contact,
  .proof-strip {
    padding: 28pt 0;
  }

  .hero {
    min-height: auto;
    background: #fff;
  }

  .hero-grid,
  .split-grid,
  .impact-header,
  .partners .container,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media > img,
  .program-card img,
  .gallery-grid img,
  .impact-header img {
    max-height: 220pt;
  }

  .proof-strip,
  .contact,
  .site-footer {
    color: #111;
    background: #fff;
  }

  .proof-grid,
  .impact-grid,
  .program-grid,
  .document-list,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-table-wrap {
    box-shadow: none;
  }

  a {
    text-decoration: none;
  }
}
