/* components.site.css — netlifeplanes only; loads straight after its shared counterpart, so it overrides that section without disturbing the others */

.sticky-button {
  position: fixed;
  bottom: 40%;
  right: -2rem;
  z-index: 999;
  display: inline-block;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sticky-button img {
  display: block;
  width: 17rem;
  height: auto;
}

.botones {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.nl-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  min-height: 16rem;
  border-radius: 1rem;
  background: var(--nl-bg-light);
  color: var(--nl-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  margin-bottom: 3rem;
  font-size: 1.4rem;
  border: 4px solid #3131318f;
  box-shadow: 1px 8px 8px rgba(0, 0, 0, 0.15);
}

.nl-cta-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.nl-cta-copy {
  flex: 1 1 auto;
  max-width: 80rem;
}

.nl-cta-figure {
  flex: 0 0 auto;
}

.nl-cta-img {
  display: block;
  width: 22rem;
  height: auto;
  border-radius: 1rem;
}

.nl-cta-action {
  flex: 0 0 auto;
  justify-self: end;
}

.nl-benefit {
  font-size: 1.2rem;
}

.nl-benefit {
  padding: 0.9rem!important;
  background: var(--nl-cta-bg-light)!important;
  color: var(--nl-dark);
}

@media (max-width:30rem) {
  .sticky-button {
    bottom: 20%;
    right: -1rem;
    width: 10rem;
  }

  .nl-benefit {
    font-size: .9rem;
  }

  /* Las medidas van en el <a>, no en el <img>. Con la imagen en position:fixed
     el enlace se quedaba sin contenido en flujo y colapsaba a 0x0, así que el
     recuadro de foco del teclado aparecía lejos del botón visible. */
  .sticky-button img {
    width: 100%;
  }

}
@media (max-width:37.5rem) {
  .nl-benefit {
    padding: 0.8rem!important;
  }

  .botones {
    gap: .5rem;
  }

}
@media (max-width:60.25rem) {
  .nl-benefit {
    padding: 0.85rem!important;
  }

}
@media (max-width:80rem) {
  .nl-cta-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .nl-cta-figure {
    display: none;
  }

  .nl-cta-action {
    align-self: center;
  }

}
@media (prefers-color-scheme:dark) {
  .nl-card {
    background: #1e1e1e;
    color: var(--nl-surface-light);
  }

}
@media(prefers-color-scheme:dark) {
  .nl-benefit {
    border-color: rgba(255,255,255,.08)!important;
    background: #202020!important;
    color: #d9d9d9!important;
  }

}
