/* ============================================================
   MESECI — Venta de Equipo Contra Incendios (página hub)
   Estilos específicos para /venta-de-equipo-contra-incendios/
   Transiciones: SOLO en botones y links
   ============================================================ */

/* ── HERO HUB ──────────────────────────────────────────────── */
.ve-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.ve-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.ve-hero .container { position: relative; z-index: 1; }

.ve-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ve-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 16px;
}
.ve-hero-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.ve-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 20px;
}
.ve-hero h1 .accent { color: #ef4444; }

.ve-hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin: 0 0 28px;
  max-width: 540px;
}

/* Stats row */
.ve-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}
.ve-stat { text-align: left; }
.ve-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.ve-stat-label {
  font-size: .8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Hero CTA buttons */
.ve-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ve-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}
.ve-hero-btn--primary {
  background: #dc2626;
  color: #fff;
}
.ve-hero-btn--primary:hover { background: #b91c1c; }
.ve-hero-btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
}
.ve-hero-btn--outline:hover { border-color: rgba(255,255,255,.5); }

/* Hero right — editorial */
.ve-hero-editorial { color: #cbd5e1; }
.ve-hero-editorial p {
  font-size: .98rem;
  line-height: 1.75;
  margin: 0 0 16px;
}
.ve-hero-editorial p:last-child { margin-bottom: 0; }
.ve-hero-editorial strong { color: #fff; font-weight: 600; }

/* Hero badges */
.ve-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.ve-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  color: #cbd5e1;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.08);
}
.ve-badge svg { flex-shrink: 0; color: #22c55e; }

/* ── NORMATIVA ─────────────────────────────────────────────── */
.ve-norma-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ve-norma-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
}
.ve-norma-tag {
  display: inline-block;
  background: #fef2f2;
  color: #dc2626;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ve-norma-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}
.ve-norma-card p {
  font-size: .9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ── SUBCATEGORÍAS DETALLADAS ──────────────────────────────── */
.ve-subcats-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
.ve-subcat-group h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}
.ve-subcat-group > p {
  font-size: .88rem;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.5;
}
.ve-subcat-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ve-subcat-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #0f172a;
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
}
.ve-subcat-link:hover { background: #f1f5f9; border-color: #cbd5e1; }
.ve-subcat-link svg { flex-shrink: 0; color: #dc2626; }

/* ── SEO CONTENT (below fold) ──────────────────────────────── */
.ve-seo-content {
  max-width: 800px;
  margin: 0 auto;
}
.ve-seo-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
}
.ve-seo-content p {
  font-size: .95rem;
  line-height: 1.75;
  color: #475569;
  margin: 0 0 16px;
}
.ve-seo-content p:last-child { margin-bottom: 0; }
.ve-seo-content strong { color: #0f172a; }
.ve-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.ve-seo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #0f172a;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
}
.ve-seo-link:hover { border-color: #dc2626; color: #dc2626; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ve-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .ve-subcats-block { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .ve-hero { padding: 48px 0 40px; }
  .ve-stats { gap: 20px; }
  .ve-stat-num { font-size: 1.4rem; }
  .ve-norma-grid { grid-template-columns: 1fr; }
  .ve-subcat-links { grid-template-columns: 1fr; }
  .ve-hero-actions { flex-direction: column; }
  .ve-hero-badges { flex-direction: column; }
}

@media (max-width: 480px) {
  .ve-stats { flex-direction: column; gap: 12px; }
  .ve-hero h1 { font-size: 1.7rem; }
}
