/* ========================= */
/* RESET HOME */
/* ========================= */
#app-content .home-hero,
#app-content .home-section,
#app-content .home-banner {
  margin-bottom: var(--home-gap) !important;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}


#app-content {
  max-width: 100%;
  overflow-x: hidden; 
  padding: var(--home-gap);
  box-sizing: border-box;
  transition: none !important;
}

#app-content > *:first-child {
  margin-top: 0 !important;
}

:root {
  --home-gap: 20px;
}

/* ========================= */
/* HERO */
/* ========================= */

.home-hero {
  position: relative; /* ?? CLAVE para overlay */
  height: 55vh; /* más equilibrado */
  background: url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  opacity: 0.95;
}

.hero-content p {
  font-size: 16px;
  opacity: 0.85;
}

.hero-content,
.banner-content {
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* overlay azul */
.home-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 60, 0.75);
  z-index: 1;
}

/* contenido encima */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

/* ajuste para que encaje con la segunda sección */
.home-hero + .home-section {
  min-height: 35vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ========================= */
/* SECCIONES GENERALES */
/* ========================= */

.home-section {
  text-align: center;
  background: #f4f6f9;
  color: #1e3c72;
}

.home-section.dark {
  background: #1e3c72;
  color: white; 
}

.section-title {
  font-size: 28px;
  margin-bottom: 40px;
}

/* ========================= */
/* FEATURES */
/* ========================= */

.features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature {
  width: 150px;
  text-align: center;
}

.feature i {
  font-size: 30px;
  margin-bottom: 10px;
  color: #e74c3c;
}

.feature h3 {
  font-size: 16px;
}

/* ========================= */
/* ALIADOS */
/* ========================= */

.aliados {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.aliados img {
  width: 350px;
  height: auto; 
  object-fit: contain; 
  border-radius: 10px;
  background: white; 
  padding: 10px; 
}

.aliados img:hover {
  transform: scale(1.05);
}

/* ========================= */
/* BANNERS */
/* ========================= */

.home-banner {
  position: relative; /* ?? CLAVE */
  height: 45vh; /* ?? más pequeño */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* overlay azul */
.home-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 60, 0.75);
  z-index: 1;
}

/* contenido encima */
.banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

/* ========================= */
/* BACKGROUNDS */
/* ========================= */

.home-banner.seguridad {
  background: url('/assets/images/seguridad-bg.jpg') center/cover no-repeat;
}

.home-banner.gps {
  background: url('/assets/images/gps-bg.jpg') center/cover no-repeat;
}

.home-banner.talento {
  background: url('/assets/images/talento-bg.jpg') center/cover no-repeat;
}


/* ========================= */
/* GPS FEATURES */
/* ========================= */

.gps-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.gps-features span {
  background: rgba(255,255,255,0.15);
  color: white;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content h2 {
    font-size: 18px;
  }

  .section-title {
    font-size: 22px;
  }

  .home-banner {
    height: auto;
    padding: 60px 20px;
  }

}

.dbx-btn-pdf{

  height:38px;

  min-width:52px;

  padding:0 14px;

  border:none;

  border-radius:8px;

  background:#dc2626;

  color:#fff;

  cursor:pointer;

  display:flex;

  align-items:center;

  justify-content:center;

  gap:8px;

  transition:.2s;

}

.dbx-btn-pdf:hover{

  transform:translateY(-1px);

  background:#b91c1c;

}

.dbx-btn-pdf i:first-child{

  font-size:18px;

}

.dbx-btn-pdf i:last-child{

  font-size:12px;

}

.dbx-header{

  display:flex;

  align-items:center;

  justify-content:space-between;

  margin-bottom:16px;

}

.dbx-header h2{

  margin:0;

}

.dbx-btn-pdf{

  height:38px;

  min-width:52px;

  padding:0 14px;

  border:none;

  border-radius:8px;

  background:#dc2626;

  color:#fff;

  cursor:pointer;

  display:flex;

  align-items:center;

  justify-content:center;

  gap:8px;

  transition:.2s;

}

.dbx-btn-pdf:hover{

  background:#b91c1c;

}