/* ===== HERO SECTION BACKGROUND ===== */

/* IDEA 1: Fondo sólido con color de marca */
#home.bg-secondary.gradient {
  background: linear-gradient(135deg, rgb(249 241 211 / 90%) 20%, rgba(0, 177, 163, 0.35) 80%);
  color: #222; /* texto oscuro */
}

/* Si quieres darle más brillo al gradiente */
#home.bg-secondary.gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
  pointer-events: none;
}

/* Botoncitos compacto */
.ux21-lang .btn,
.ux21-lang-fixed .btn {
  --pad: .25rem .5rem;
  padding: var(--pad);
  font-size: .75rem;
  line-height: 1;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  color: #111;
  border-radius: .375rem;
  margin-left: .25rem;
  transition: all .2s ease;
}
.ux21-lang .btn:first-child,
.ux21-lang-fixed .btn:first-child { margin-left: 0; }

.ux21-lang .btn:hover,
.ux21-lang-fixed .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.ux21-lang .btn.active,
.ux21-lang-fixed .btn.active {
  border-color: var(--ux21-primary, #00b1a3);
  color: #fff;
  background: var(--ux21-primary, #00b1a3);
}

/* Versión flotante (opcional) arriba-derecha */
.ux21-lang-fixed {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 9999;
  display: inline-flex;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(3px);
  padding: .25rem;
  border-radius: .5rem;
  border: 1px solid rgba(0,0,0,.06);
}

@media (max-width: 768px) {
  [data-scroll-direction="horizontal"] {
    transform: none !important;
    will-change: auto !important;
  }
  #home { overflow: visible !important; }
}

/* Titulares del hero */
.custom-hero-font-1{
  font-size: clamp(2rem, 8vw, 8rem);    /* móvil → desktop */
  line-height: 1.05;
  letter-spacing: -0.02em;
  word-break: normal;
  hyphens: auto;
}

/* Texto descriptivo del hero */
.custom-hero-text-1{
  font-size: clamp(1rem, 3.6vw, 1.25rem);
  line-height: 1.5;
}

/* Si usas contorno (stroke) en "CREATIVO" */
.custom-stroke-text-effect-1{
  -webkit-text-stroke-width: 1px;
}
@media (max-width: 768px){
  .custom-stroke-text-effect-1{
    -webkit-text-stroke-width: 0.6px;
  }
}

/* Respira mejor en móvil */
@media (max-width: 576px){
  .custom-border-bottom-1{ padding-block: .75rem !important; }
  .custom-hero-text-1{ margin-top: .5rem; }
  #video .col-12 {
    padding: 0 0.5rem;
  }
  #video video {
    max-height: 220px;
    border-radius: 1rem;
  }
  #video .btn {
    font-size: 1rem;
    padding: .5rem 1.2rem;
    border-radius: .5rem;
  }
}

section, .container, .row, .col {
  overflow: visible; /* solo si notas recortes */
}

/* Video optimizado */
#video video {
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  transition: box-shadow .2s;
}
#video video:focus {
  box-shadow: 0 12px 40px rgba(0,177,163,.25);
}

/* Botón principal */
.btn-primary {
  background: var(--ux21-primary, #00b1a3);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(0,177,163,.08);
  transition: background .2s;
}
.btn-primary:hover {
  background: #00897b;
}
