/* Excel Security Systems — "Equipment We Install" section.
   Dropped into index.html and the service pages. All classes are eq- prefixed
   so nothing collides with the per-page inline styles already on those pages. */

.eq-section { padding: 80px 5%; background: #fbfaf7; }
.eq-head { margin-bottom: 40px; }
.eq-label { font-family: var(--font-display); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: #8a6a1f; margin-bottom: 12px; }
.eq-title { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 38px); font-weight: 900; letter-spacing: -0.02em; color: #14213a; line-height: 1.08; margin-bottom: 16px; text-wrap: balance; }
.eq-sub { font-size: 18px; color: #6b7280; line-height: 1.6; max-width: 640px; }

/* Featured IQ Panel 4 block */
.eq-hero { background: #0f1d38; color: #fff; border-radius: 14px; padding: 44px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 46px; align-items: center; position: relative; overflow: hidden; margin-bottom: 36px; }
.eq-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #f0a500; }
.eq-hero-media { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 26px; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.eq-hero-media img { max-width: 100%; max-height: 280px; width: auto; object-fit: contain; display: block; }
.eq-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(240,165,0,0.14); border: 1px solid rgba(240,165,0,0.4); color: #f0c15a; padding: 5px 13px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 16px; }
.eq-tag i { color: #f0a500; font-size: 11px; }
.eq-hero h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.06; margin-bottom: 8px; color: #fff; }
.eq-hero .eq-kicker { color: #94a3b8; font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.eq-hero p { color: #cbd5e1; font-size: 15.5px; line-height: 1.7; margin-bottom: 22px; max-width: 58ch; }
.eq-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 18px; margin-bottom: 26px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; }
.eq-stat b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 900; color: #f0a500; line-height: 1; letter-spacing: -0.01em; }
.eq-stat span { display: block; font-size: 12px; color: #94a3b8; margin-top: 5px; line-height: 1.4; }
.eq-btn { background: #f0a500; color: #14213a; padding: 14px 26px; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 800; display: inline-flex; align-items: center; gap: 9px; transition: background 0.2s; }
.eq-btn:hover { background: #ffb61f; }

/* Device card row */
.eq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; }
.eq-card { display: flex; flex-direction: column; border: 1px solid #e7e2d8; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.eq-card:hover { border-color: #c8901a; box-shadow: 0 14px 34px rgba(20,33,58,0.10); transform: translateY(-3px); }
.eq-card .eq-media { position: relative; background: #fff; border-bottom: 1px solid #e7e2d8; aspect-ratio: 4 / 3; }
.eq-card .eq-media img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); max-width: none; max-height: none; object-fit: contain; }
.eq-card .eq-media .eq-ph { position: absolute; inset: 0; min-height: 0; }
.eq-card .eq-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.eq-card .eq-brand { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #8a6a1f; }
.eq-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; color: #14213a; }
.eq-card .eq-meta { font-size: 13px; color: #6b7280; line-height: 1.5; }

/* Placeholder tile for devices awaiting a product photo */
.eq-ph { width: 100%; height: 100%; min-height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: repeating-linear-gradient(45deg, #f7f4ee, #f7f4ee 10px, #f2eee5 10px, #f2eee5 20px); border-radius: 8px; color: #a9a08c; }
.eq-ph i { font-size: 24px; color: #c3b89e; }
.eq-ph span { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }

.eq-foot { margin-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.eq-all { color: #14213a; text-decoration: none; font-size: 15px; font-weight: 700; border-bottom: 2px solid #c8901a; padding-bottom: 3px; transition: color 0.2s; }
.eq-all:hover { color: #c8901a; }
.eq-note { font-size: 13.5px; color: #8a857a; line-height: 1.55; max-width: 60ch; }

@media (max-width: 980px) {
  .eq-hero { grid-template-columns: 1fr; gap: 30px; padding: 32px; }
}
@media (max-width: 768px) {
  .eq-section { padding: 56px 5%; }
  .eq-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .eq-card, .eq-btn, .eq-all { transition: none !important; }
}
