.home {
  background: radial-gradient(ellipse at 75% 0%, #222e26, transparent 42rem), var(--bg);
}

.home header {
  background: #101313;
}

.home nav .brand {
  color: var(--text);
  font-size: 1.25rem;
}

.home .nav-links {
  align-items: center;
}

.home .nav-links a {
  color: var(--text);
  text-decoration: none;
}

.home .nav-links a:hover,
.home .text-link:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.home .nav-links .nav-access {
  color: var(--green);
}

.home-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 34rem;
}

.home-hero h1 {
  max-width: 9ch;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: .99;
}

.home-hero .hero-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-actions,
.home-footer {
  display: flex;
  align-items: center;
  gap: 1rem 1.4rem;
  flex-wrap: wrap;
}

.home .text-link {
  color: var(--text);
  font-weight: 700;
  text-underline-offset: .25em;
}

.home-section {
  padding: clamp(2.75rem, 6vw, 5rem) 0;
  scroll-margin-top: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
}

.services-grid article {
  border-top: 1px solid var(--green);
  padding-top: 1.25rem;
}

.services-grid h3 {
  margin-bottom: .65rem;
  font-size: 1.3rem;
}

.services-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.home-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.25rem 2.5rem;
}

.home-feature .lede,
.about-section p:last-child {
  margin-bottom: 0;
}

.home-feature #inscripcion .button {
  margin-top: 0;
}

.home-footer {
  justify-content: space-between;
}

@media (max-width: 780px) {
  .home-hero,
  .home-feature,
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero {
    min-height: 0;
    padding-block: 3rem;
    gap: 1.75rem;
  }

  .home nav {
    justify-content: flex-start;
    padding-block: .85rem;
    gap: .4rem 1.8rem;
  }

  .home .nav-links {
    gap: .45rem 1rem;
  }
}
