/* ============================================
   TOOL HERO — Banner estándar para herramientas
   DogNavi — Compartido por todas las tools
   ============================================ */

.tool-hero {
  width: 100%;
  min-height: 380px;
  border-radius: 0 0 20px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay oscuro estándar para legibilidad */
.tool-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}

/* Contenido centrado sobre el overlay */
.tool-hero-body {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  color: #fff;
}

/* Breadcrumb / badge de categoría */
.tool-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
}

/* Título principal */
.tool-hero-body h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  color: #fff;
}

/* Subtítulo */
.tool-hero-body p {
  font-size: clamp(15px, 2.5vw, 19px);
  line-height: 1.5;
  max-width: 580px;
  margin: 0 auto 1.4rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  color: rgba(255,255,255,0.93);
}

/* Pills de metadatos (tiempo, gratis, etc.) */
.tool-hero-meta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tool-hero-meta span {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.28rem 0.85rem;
  border-radius: 50px;
}

/* ---- Variantes de color / fondo ---- */

/* Verde oscuro DogNavi (vacunas, BCS) */
.tool-hero--green {
  background: linear-gradient(135deg, #1c3a28 0%, #2e6b4f 50%, #3d8a65 100%);
}

/* Azul marino (test de raza) */
.tool-hero--navy {
  background: linear-gradient(135deg, #1a2a3e 0%, #2c4a6e 50%, #3d6b9a 100%);
}

/* Naranja cálido (rutina express) */
.tool-hero--orange {
  background: linear-gradient(135deg, #7a3f10 0%, #c0601a 50%, #e8893a 100%);
}

/* Tierra / neutral (edad perro) */
.tool-hero--earth {
  background: linear-gradient(135deg, #3a2a1a 0%, #6b4a2a 50%, #9a7050 100%);
}

/* Con imagen de fondo */
.tool-hero--img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .tool-hero {
    min-height: 320px;
  }

  .tool-hero-body {
    padding: 2.5rem 1.2rem 2rem;
  }

  .tool-hero-meta {
    gap: 0.5rem;
  }
}
