/* ═══ HERO COMPARTIDO — Grupo Investo ═══════════════════════════
   Controla el hero de TODAS las páginas internas.
═══════════════════════════════════════════════════════════════ */

body .page-hero {
  background: #2B2A31 !important;
  padding: 24vh 0 80px !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: flex-start !important;
  position: relative;
  overflow: hidden;
}

/* ── Imagen de fondo por página (opcional) ───────────────────── */
body .page-hero.hero-bg-img {
  background:
    linear-gradient(90deg, rgba(26,26,26,0.96) 0%, rgba(26,26,26,0.85) 28%, rgba(26,26,26,0.45) 55%, rgba(26,26,26,0.15) 80%),
    var(--hero-img) center / cover no-repeat !important;
}

/* ── Columna única (nosotros, contacto, industrial, privado) ── */
body .page-hero-inner {
  width: 100%;
  padding: 0 60px !important;
  display: block;
}

/* ── Stats debajo del H1, junto al párrafo ───────────────────── */
body .hero-bottom-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 60px !important;
}

/* ── Dos columnas (Empresarial, Propietarios, Blog) ──────────── */
body .page-hero-inner.has-right {
  display: grid !important;
  grid-template-columns: 65% 1fr !important;
  align-items: start !important;
  gap: 60px !important;
}

body .page-hero-inner.has-right .page-hero-right {
  align-self: start !important;
  /* offset = label height (~14px) + label margin-bottom (20px) = 34px
     alinea la columna derecha con la primera línea del h1 */
  padding-top: 34px !important;
}

/* ── Label ──────────────────────────────────────────────────── */
body .page-hero .section-label,
body .page-hero-inner .section-label {
  font-family: 'League Spartan', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #A7E700 !important;
  margin-bottom: 20px !important;
  display: block !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

/* ── H1 ─────────────────────────────────────────────────────── */
body .page-hero h1 {
  font-family: 'Anton', sans-serif !important;
  font-size: clamp(48px, 7vw, 88px) !important;
  text-transform: uppercase !important;
  line-height: 0.95 !important;
  letter-spacing: 0 !important;
  color: #FFFFFF !important;
  margin-bottom: 24px !important;
  margin-top: 0 !important;
}

body .page-hero h1 span {
  color: #A7E700 !important;
}

/* ── Párrafo ─────────────────────────────────────────────────── */
body .page-hero p {
  font-size: 20px !important;
  color: rgba(255,255,255,0.65) !important;
  line-height: 1.7 !important;
  max-width: 540px !important;
  text-align: left !important;
  margin: 0 !important;
}


/* ── Columna derecha: stats y zonas ──────────────────────────── */
body .page-hero-right {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
  padding-bottom: 0 !important;
  min-width: 220px !important;
}

body .hero-stat {
  border-left: 3px solid #A7E700 !important;
  padding-left: 20px !important;
}

body .hero-stat strong {
  display: block !important;
  font-family: 'Anton', sans-serif !important;
  font-size: 40px !important;
  color: #A7E700 !important;
  line-height: 1 !important;
  margin-bottom: 4px !important;
}

body .hero-stat span {
  font-size: 11px !important;
  color: rgba(255,255,255,0.55) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-family: 'League Spartan', sans-serif !important;
}

/* ── Blog: buscador ──────────────────────────────────────────── */
body .page-hero .blog-search {
  display: flex !important;
  gap: 0 !important;
  margin-top: 0 !important;
}

body .page-hero .blog-search input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  color: #fff;
  padding: 14px 20px;
  font-family: 'League Spartan', sans-serif;
  font-size: 15px;
  outline: none;
}

body .page-hero .blog-search button {
  background: #A7E700;
  border: none;
  padding: 14px 20px;
  cursor: pointer;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  body .page-hero {
    padding: 20vh 0 60px !important;
  }
  body .page-hero-inner,
  body .page-hero-inner.has-right {
    padding: 0 24px !important;
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    display: block !important;
  }
  body .hero-bottom-row {
    flex-direction: column !important;
    gap: 24px !important;
  }
  body .page-hero h1 {
    font-size: clamp(36px, 10vw, 56px) !important;
  }
  body .page-hero-right {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    margin-top: 0 !important;
  }
}
