:root {
  --verde-oscuro: #1f3d2b;
  --verde-profundo: #01281d;
  --verde-medio: #3e7c59;
  --verde-cta: #6fcf97;
  --blanco-roto: #f5f5f5;
  --gris: #d9e2dc;
  --negro: #111111;
  --texto: #24332b;
  --max-width: 1180px;
  --radius: 22px;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
  --font-title: "Montserrat", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--blanco-roto);
  color: var(--texto);
  line-height: 1.6;
}

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

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

button,
input {
  font-family: inherit;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-dark {
  background: var(--verde-profundo);
  color: white;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
  color: inherit;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.section-subtitle {
  font-size: 1.15rem;
  max-width: 760px;
  margin-bottom: 42px;
  opacity: 0.9;
}

.section-intro {
  max-width: 860px;
  margin-bottom: 42px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--verde-medio);
}

.section-dark .section-kicker {
  color: var(--verde-cta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
  text-align: center;
  line-height: 1.1;
  min-height: 48px;
}

.btn-primary {
  background: var(--verde-cta);
  color: var(--negro);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-dark {
  border: 1px solid rgba(31, 61, 43, 0.25);
  color: var(--verde-oscuro);
}

.btn-outline-dark:hover {
  background: rgba(31, 61, 43, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(1, 40, 29, 0.94);
  backdrop-filter: blur(10px);
  color: white;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 96px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo img {
  height: 48px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.92;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links .btn {
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.hero {
  min-height: 88vh;
  background:
    linear-gradient(
      90deg,
      rgba(1, 40, 29, 0.95),
      rgba(1, 40, 29, 0.72),
      rgba(1, 40, 29, 0.3)
    ),
    url("../img/hero-reptil.jpg") center / cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
}

.hero-content {
  width: min(92%, var(--max-width));
  margin: 0 auto;
  max-width: 780px;
  padding: 80px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--verde-cta);
  background: rgba(255, 255, 255, 0.06);
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 680px;
  margin-bottom: 34px;
  color: #e8f2ec;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
}

.cards-3,
.cards-4,
.program-grid {
  display: grid;
  gap: 24px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(31, 61, 43, 0.08);
}

.card.dark {
  background: rgba(255, 255, 255, 0.07);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--verde-oscuro);
  letter-spacing: -0.03em;
}

.card.dark h3 {
  color: white;
}

.card p {
  color: #425248;
}

.card.dark p {
  color: #dcebe3;
}

.card-number,
.system-number,
.ser-number,
.content-number,
.philosophy-number {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--verde-medio);
  letter-spacing: 0.12em;
}

.problem-closing,
.statement,
.ser-closing,
.philosophy-closing {
  margin-top: 34px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--verde-oscuro);
}

.section-dark .problem-closing,
.section-dark .statement,
.section-dark .ser-closing,
.section-dark .philosophy-closing {
  color: white;
}

.system-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.system-text,
.system-closing,
.ser-text,
.content-text,
.philosophy-text,
.resource-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
}

.system-text,
.system-closing {
  color: rgba(255, 255, 255, 0.82);
}

.system-closing {
  margin-top: 20px;
  font-weight: 800;
  color: white;
}

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

.system-card,
.ser-definition,
.ser-pillar,
.content-card,
.philosophy-card {
  border-radius: var(--radius);
  padding: 26px;
}

.system-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.system-card h3,
.ser-definition h3,
.ser-pillar h3,
.content-card h3,
.philosophy-card h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.system-card p {
  color: rgba(255, 255, 255, 0.78);
}

.ser-layout {
  display: grid;
  grid-template-columns: 1fr 0.68fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 34px;
}

.ser-definition {
  background: var(--verde-profundo);
  color: white;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ser-acronym {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: var(--verde-cta);
  margin-bottom: 20px;
}

.ser-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ser-pillar,
.content-card,
.philosophy-card {
  background: white;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(31, 61, 43, 0.08);
}

.ser-pillar p,
.content-card p,
.philosophy-card p {
  color: #425248;
}

.programs-header {
  max-width: 850px;
  margin-bottom: 38px;
}

.program-positioning {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(111, 207, 151, 0.12);
  border: 1px solid rgba(111, 207, 151, 0.25);
  color: var(--verde-cta);
  font-weight: 800;
}

.program-card {
  background: white;
  color: var(--texto);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.program-image {
  min-height: 220px;
  background: linear-gradient(135deg, var(--verde-oscuro), var(--verde-medio));
}

.program-image-1 {
  background:
    linear-gradient(135deg, rgba(31, 61, 43, 0.65), rgba(62, 124, 89, 0.65)),
    url("../img/programa-educativo-1.jpg") center / cover no-repeat;
}

.program-image-2 {
  background:
    linear-gradient(135deg, rgba(31, 61, 43, 0.65), rgba(62, 124, 89, 0.65)),
    url("../img/programa-educativo-2.jpg") center / cover no-repeat;
}

.program-body {
  padding: 32px;
}

.program-label {
  color: var(--verde-medio);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.program-body h3 {
  color: var(--verde-oscuro);
  font-family: var(--font-title);
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.program-body ul {
  margin: 20px 0 26px 18px;
}

.program-body li {
  margin-bottom: 10px;
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

.program-meta span {
  display: inline-block;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(31, 61, 43, 0.08);
  color: var(--verde-oscuro);
  font-size: 0.82rem;
  font-weight: 800;
}

.programs-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.program-info-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.program-info-item {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.program-info-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--verde-cta);
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.program-info-item strong {
  display: block;
  color: white;
  line-height: 1.4;
}

.content-layout,
.philosophy-layout,
.resource-box {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.content-grid,
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.content-actions {
  margin-top: 28px;
}

.philosophy-copy .section-kicker {
  color: var(--verde-cta);
}

.philosophy-text {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}

.philosophy-card {
  background: rgba(255, 255, 255, 0.07);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.philosophy-card h3,
.philosophy-card p {
  color: white;
}

.philosophy-card p {
  opacity: 0.78;
}

.resource-section {
  background: linear-gradient(180deg, #f5f5f5 0%, #edf3ee 100%);
}

.resource-box {
  background: var(--verde-profundo);
  color: white;
  border-radius: 34px;
  padding: 46px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.12);
}

.resource-box .section-kicker {
  color: var(--verde-cta);
}

.resource-subtitle {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
}

.resource-list {
  margin: 24px 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
}

.resource-list li {
  margin-bottom: 10px;
}

.resource-mockup {
  display: flex;
  justify-content: center;
}

.resource-mockup-card {
  width: min(100%, 390px);
  min-height: 430px;
  border-radius: 30px;
  background: linear-gradient(160deg, #f5f5f5 0%, #d9e2dc 100%);
  color: var(--verde-oscuro);
  padding: 34px;
  transform: rotate(1.6deg);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.3);
}

.mockup-label {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 61, 43, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}

.resource-mockup-card h3 {
  font-family: var(--font-title);
  font-size: 2rem;
  line-height: 1.12;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}

.resource-mockup-card p {
  font-weight: 800;
  color: #425248;
}

.mockup-lines {
  display: grid;
  gap: 16px;
  margin-top: 38px;
}

.mockup-lines span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: rgba(31, 61, 43, 0.12);
}

.mockup-lines span:nth-child(1) {
  width: 92%;
}

.mockup-lines span:nth-child(2) {
  width: 78%;
}

.mockup-lines span:nth-child(3) {
  width: 66%;
}

.mockup-lines span:nth-child(4) {
  width: 84%;
}

.icon {
  font-size: 2rem;
  margin-bottom: 18px;
}

.method-card {
  min-height: 250px;
}

.content-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

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

.video-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: linear-gradient(135deg, #183626, #3e7c59);
  display: flex;
  align-items: end;
  padding: 18px;
  color: white;
  font-weight: 700;
  min-height: 150px;
}

.lead-box {
  background: white;
  border-radius: 34px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: center;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.08);
}

.mockup {
  min-height: 360px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(31, 61, 43, 0.95), rgba(62, 124, 89, 0.9)),
    url("../img/mockup-checklist.jpg") center / cover no-repeat;
  display: flex;
  align-items: end;
  padding: 26px;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.lead-form input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #c8d6ce;
  font-size: 1rem;
}

.lead-form button {
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #5b6b61;
}

.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.image-block {
  min-height: 420px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(1, 40, 29, 0.15), rgba(1, 40, 29, 0.55)),
    url("../img/instalaciones.jpg") center / cover no-repeat;
}

footer {
  background: #071b14;
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

footer h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

footer h4 {
  margin-bottom: 16px;
  color: var(--verde-cta);
}

footer p {
  color: #d9e2dc;
  max-width: 430px;
}

footer a {
  display: block;
  margin-bottom: 9px;
  color: #d9e2dc;
  font-size: 0.95rem;
}

footer a:hover {
  color: var(--verde-cta);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  color: #afc2b7;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .cards-4,
  .program-info-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-strip,
  .lead-box,
  .philosophy,
  .footer-grid,
  .system-layout,
  .ser-layout,
  .content-layout,
  .philosophy-layout,
  .resource-box {
    grid-template-columns: 1fr;
  }

  .system-grid,
  .content-grid,
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .resource-mockup {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(
        90deg,
        rgba(1, 40, 29, 0.96),
        rgba(1, 40, 29, 0.78)
      ),
      url("../img/hero-reptil.jpg") center / cover no-repeat;
  }

  .hero-content {
    padding: 88px 0;
  }

  .logo {
    min-width: 78px;
  }

  .logo img {
    height: 38px;
    max-width: 96px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 24px;
    background: rgba(1, 40, 29, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links .btn {
    width: 100%;
  }

  .cards-3,
  .cards-4,
  .program-grid,
  .video-grid,
  .ser-pillars,
  .program-info-band {
    grid-template-columns: 1fr;
  }

  .resource-box {
    padding: 28px;
    border-radius: 26px;
  }

  .resource-mockup-card {
    min-height: 300px;
    padding: 26px;
  }

  .programs-cta-actions .btn,
  .hero-actions .btn,
  .content-actions .btn {
    width: 100%;
  }

  .lead-box {
    padding: 28px;
    border-radius: 26px;
  }

  .mockup {
    min-height: 280px;
  }

  .footer-grid {
    gap: 26px;
  }
}