.products {
  background: #f4f8fc;
  scroll-margin-top: 78px;
}

.products h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font: 700 clamp(38px, 5vw, 58px)/1.05 "Space Grotesk", sans-serif;
  letter-spacing: -.055em;
}

.product-feature {
  padding: clamp(26px, 6vw, 68px);
  margin-bottom: 18px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(100deg, #09192e 30%, rgba(9, 25, 46, .48)),
    #102943 url("assets/hero-network.svg") right center / cover no-repeat;
}

.product-feature-content {
  max-width: 640px;
}

.product-category {
  margin: 0 0 12px;
  color: #1c5687;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.product-feature .product-category {
  color: var(--cyan);
}

.product-feature h3 {
  margin: 0;
  font: 700 clamp(32px, 5.2vw, 64px)/1.02 "Space Grotesk", sans-serif;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.product-feature-content > p:not(.product-category) {
  max-width: 48ch;
  margin: 18px 0 24px;
  color: #d4e4f4;
  line-height: 1.65;
}

.product-feature .button {
  color: #09192e;
  background: var(--cyan);
}

.product-feature .button:hover {
  background: #a0f4ff;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dbe7f2;
  border-radius: 16px;
}

.product-card:hover,
.product-card:focus-within {
  border-color: #5f9ed6;
}

.product-card h3 {
  margin: 0;
  font: 700 1.2rem/1.2 "Space Grotesk", sans-serif;
}

.product-card p:not(.product-category) {
  margin: 10px 0 18px;
  color: #506276;
  font-size: .9rem;
  line-height: 1.55;
}

.product-card a {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 0;
  color: #145182;
  font-weight: 700;
  text-underline-offset: 3px;
}

.products a:focus-visible {
  outline: 2px solid #2678ff;
  outline-offset: 4px;
}

.header .nav a[href="#productos"] {
  color: var(--cyan);
}

@media (max-width: 980px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 530px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  background: #09192e;
}

.product-feature-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #294560;
}

.product-card-image {
  display: block;
  width: calc(100% + 44px);
  max-width: none;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: -22px -22px 18px;
  border-radius: 15px 15px 0 0;
  background: #102943;
}

@media (max-width: 720px) {
  .product-feature {
    grid-template-columns: 1fr;
  }

  .product-feature-image {
    aspect-ratio: 4 / 3;
  }
}
