/* ===== FONDO COMPLETO ===== */
#gradient {
  background: linear-gradient(135deg, rgb(15,24,48) 0%, rgb(32,52,108) 40%, rgb(150,28,40) 100%);
  padding: 10px 0;






}

/* ===== LAYOUT GENERAL (MÓVIL / BASE) ===== */

.hero-jdg {
  /* reservado por si añades algo global del hero */
    padding-top: 1px; /* En lugar de margin-top */
}

.hero-inner {
  display: flex;
  flex-direction: column; /* móvil */
  gap: 30px;
}

.hero-portada-jdg {
  width: 100%;
}

.hero-portada-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column; /* móvil */
  gap: 40px;
}

/* Texto */
.hero-texto {
  flex: 1;
}

/* Vídeo */
.hero-video {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 15px;
  padding-top: 15px;
}

.hero-video video {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* ===== TEXTO ===== */
.hero-portada-inner h1 {

  font-weight: 800;
  margin-top: 10px;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.hero-tagline {
  margin-bottom: 22px;
  max-width: 1220px;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.55;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.hero-tagline-largo {
  margin-bottom: 22px;
  max-width: 1220px;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.55;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

/* ===== BOTONES ===== */
.hero-actions {
  display: flex;
  flex-direction: column; /* móvil */
  gap: 12px;

}

/* ===== FALDÓN JDG ===== */

.faldon-jdg {

display: inline-flex;
  align-items: stretch;
 margin-top: -30px;
  padding: 0;
  border-radius: 999px;
  overflow: hidden;


}



/* Nombre – bloque principal rojo */
.faldon-nombre {
  padding: 6px 16px 6px 18px;
  background: linear-gradient(135deg, #c3322b, #e14a3b);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

/* Cargo – pastilla secundaria clara */
.faldon-cargo {
  padding: 6px 14px 6px 14px;
  background: #f5f5f5;
  color: #333;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  border-left: 1px solid rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  display: flex;
  align-items: center;
}


/* BOTONES HERO (reutiliza tu estilo si ya existe) */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-hero-primary {
    background: #D3322A;
    color: #fff;
}

.btn-hero-secondary {
    background: #ffffff;
    color: var(--jdg-azul);
    border-color: #dde3ea;
}

.btn-hero i {
    font-size: 16px;
}

.btn-hero:active {
    transform: scale(0.98);
}

.btn-hero-wa {
    background-color: var(--jdg-verde-wa);
    border-color: var(--jdg-verde-wa);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.btn-hero-wa i {
    font-size: 1.1em;
}

.btn-hero-wa:hover {
    background-color: #1fb257;
    border-color: #1fb257;
    color: #ffffff;
}

.btn-hero-wa:active {
    transform: scale(0.97);
}

.btn-hero-wa-experto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
}



/* ===== PC (A PARTIR DE 992px) ===== */
@media (min-width: 992px) {

  .hero-portada-inner {
    flex-direction: row;              /* texto izquierda + vídeo derecha */
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
  }

  .hero-actions {
    flex-direction: row;
  }

  .hero-inner {
    margin-top: 5px;
    flex-direction: row;              /* texto izquierda + vídeo derecha */
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 5px;
  }
}
