/* Sección con fondo fijo y altura según contenido */
.bckgr-static-hero {
  --bckgr-static-image: url('https://picsum.photos/id/1011/1920/1080'); /* cámbiala */
  position: relative;
  padding: 4rem 1.5rem;             /* << controla la altura (ajústalo a tu contenido) */
  color: #111;

  /* Fondo que NO se mueve con el scroll */
  background-image: var(--bckgr-static-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;     /* clave: el fondo queda “anclado” */
}

/* Overlay para contraste premium (no altera la altura) */
.bckgr-static-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);     /* ajusta color/opacity a tu marca */
  pointer-events: none;
}

/* Contenido interno */
.bckgr-static-inner {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  z-index: 1;
}

.bckgr-static-title { font-size: 2.25rem; font-weight: 700; margin-bottom: .75rem; color: #fff; }
.bckgr-static-text  { font-size: 1.1rem; line-height: 1.65; color: rgba(255,255,255,.9); margin-bottom: 1.25rem; }

.bckgr-static-btn {
  display: inline-block; padding: .9rem 1.4rem;
  background: #fff; color: #111; border-radius: 14px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bckgr-static-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.18); }

/* Fallback/performance en móviles: desactiva el fixed si lo prefieres */
@media (max-width: 640px) {
  .bckgr-static-hero { background-attachment: scroll; }
  .bckgr-static-hero::before { background: rgba(0,0,0,0.22); }
}
