/* Overrides and new styles for three-icon banner and spacing after moving form */

:root {
  --brand: #003366;
  --brand-light: #e6effa;
  --text: #111;
}

/* Header banner: title + three options */
.header .bnner-title {
  width: 90%;
  margin: 4rem auto 0 auto; /* más espacio antes del H2 */
  font-size: var(--Fs-Pri);
  font-weight: var(--Fw-Bol);
  color: var(--brand);
  text-align: center; /* centrar el H2 */
}

.header .bnner {
  position: static;
  width: 90%;
  margin: 1.2rem auto 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.header .bnner .opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 1.2rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.header .bnner .opt:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.header .bnner .icon {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  overflow: hidden;
}

.header .bnner .icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
  /* Convert dark icons to white */
  filter: brightness(0) invert(1);
}

.header .bnner .label {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brand);
}

.header .bnner .subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  opacity: .8;
  margin-top: -.4rem;
}

/* Form spacing now that it moved up */
section.formulario {
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 767px) {
  .header .bnner-title {
    margin-top: 2rem;
  }
  .header .bnner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .header .bnner .icon {
    width: 8.4rem;
    height: 8.4rem;
  }
}

/* Desktop: alinear con otras secciones (1000px) */
@media (min-width: 1024px) {
  .header .bnner-title {
    width: 1000px;
    margin-top: 7rem; /* más espacio en desktop */
  }
  .header .bnner {
    width: 1000px; /* limita el ancho como el form y beneficios */
    margin-top: 2rem;
  }
}
