/* Firefighter Portal – page-specific compaction overrides
   What: Tighten vertical spacing and move hero content higher
   How to tweak: Adjust min-heights, paddings, and gaps below
   Scope: Only applies when body has id="firefighter-portal" */

/* Pull hero content up and reduce overall height */
body#firefighter-portal .hero {
  min-height: 55vh;
  align-items: flex-start;
  padding-top: 100px; /* space for fixed nav */
  padding-bottom: 2rem;
}

/* If a fixed video background exists, prevent it from forcing extra space */
body#firefighter-portal .video-hero .video-background {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 100%;
  z-index: 0;
}

/* Compact the hero card */
body#firefighter-portal .hero-content { padding: 1.75rem; max-width: 760px; }
body#firefighter-portal .hero-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
body#firefighter-portal .hero-subtitle { font-size: 1rem; margin-bottom: 1rem; }
body#firefighter-portal .hero-actions .btn { padding: 0.6rem 1rem; font-size: 0.9rem; }
body#firefighter-portal .hero-badges { margin-top: 0.5rem; }

/* Tighten section spacing */
body#firefighter-portal section { padding: 3rem 0; }
body#firefighter-portal .section-header { margin-bottom: 1.25rem; }
body#firefighter-portal .section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
body#firefighter-portal .section-description { margin: 0 auto 1.25rem; }

/* Grids and cards */
body#firefighter-portal .overview-grid,
body#firefighter-portal .features-grid { gap: 1.25rem; margin-top: 1rem; }
body#firefighter-portal .feature-card { padding: 1.5rem; }

/* Pricing area */
body#firefighter-portal .pricing-container { gap: 1.5rem; margin-top: 1.5rem; }
body#firefighter-portal .pricing-card { padding: 1.75rem; }

/* ===== Fresh layout styles (scoped) ===== */
/* Compact hero */
body#firefighter-portal .ff-hero {
  padding: 80px 0 24px; /* slightly tighter */
  background: linear-gradient(180deg, rgba(10,10,10,0.85), rgba(10,10,10,0.6));
  border-bottom: 1px solid rgba(255, 140, 66, 0.18);
}
body#firefighter-portal .ff-hero .ff-hero-content {
  margin: 0 auto;
  max-width: 860px;
  padding: 20px 20px 16px;
  background: rgba(20,20,20,0.75);
  border: 1px solid rgba(255, 140, 66, 0.22);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  text-align: center;
}
body#firefighter-portal .ff-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0 0 8px;
}
body#firefighter-portal .ff-subtitle {
  font-size: 1.05rem;
  color: #a0a0a0;
  margin: 0 0 14px;
}
body#firefighter-portal .ff-actions {
  display: flex; gap: 10px; justify-content: center; align-items: center;
}
body#firefighter-portal .ff-actions .btn { min-height: 40px; padding: 10px 16px; }
body#firefighter-portal .ff-highlights { list-style: none; padding: 0; margin: 10px 0 0; color: #b8b8b8; display: flex; gap: 8px 14px; flex-wrap: wrap; justify-content: center; }
body#firefighter-portal .ff-highlights i { color: var(--primary-color, #FF8C42); margin-right: 6px; }

/* Sections */
body#firefighter-portal .ff-section { padding: 24px 0; }
body#firefighter-portal .container { max-width: 960px; }
body#firefighter-portal .section-header { margin-bottom: 10px; }
body#firefighter-portal .ff-section .section-title { margin-bottom: 6px; }
body#firefighter-portal .ff-section .section-description { margin: 0 auto 10px; font-size: 1rem; }

/* Features grid */
body#firefighter-portal .ff-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
body#firefighter-portal .ff-card {
  background: linear-gradient(145deg, rgba(26,26,26,0.95), rgba(12,12,12,0.95));
  border: 1px solid rgba(255, 140, 66, 0.18);
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body#firefighter-portal .ff-card i { font-size: 24px; color: var(--primary-color, #FF8C42); margin-bottom: 8px; }
body#firefighter-portal .ff-card h3 { margin: 2px 0 4px; font-size: 1.05rem; }
body#firefighter-portal .ff-card p { margin: 0; font-size: .98rem; color: #b3b3b3; }
body#firefighter-portal .ff-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.35); border-color: var(--primary-color, #FF8C42); }

/* Pricing banner */
body#firefighter-portal .ff-pricing { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(20,20,20,0.8); border: 1px solid rgba(255, 140, 66, 0.18); border-radius: 12px; padding: 14px 16px; }
body#firefighter-portal .ff-pricing-cta .btn { min-height: 40px; padding: 10px 16px; }

/* Final CTA */
body#firefighter-portal .ff-cta { text-align: center; }

/* Responsive adjustments */
@media (max-width: 992px) {
  body#firefighter-portal .ff-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body#firefighter-portal .ff-pricing { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  body#firefighter-portal .ff-grid { grid-template-columns: 1fr; }
  body#firefighter-portal .ff-hero { padding-top: 88px; }
}
