/* Fire-first home page — additive to shared-styles.css */
:root { --fire-ink: #14110f; --fire-ink-2: #231a17; --fire-red: #c00; --fire-amber: #ff8a1f; }

.fire-hero {
    position: relative;
    margin: 0;
    padding: 110px 0 90px;
    color: #fff;
    background:
        linear-gradient(105deg, rgba(20, 17, 15, .97) 0%, rgba(20, 17, 15, .93) 55%, rgba(110, 10, 10, .88) 100%),
        url('Fire-Alarm-System-Control-Panel-768x429.png') center/cover no-repeat;
    border-radius: 0;
}
.fire-hero .eyebrow {
    display: inline-block; padding: 6px 14px; margin-bottom: 18px;
    border: 1px solid rgba(255, 138, 31, .6); border-radius: 30px;
    color: var(--fire-amber); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
}
.fire-hero h1 { font-weight: 800; font-size: 3rem; line-height: 1.12; max-width: 820px; color: #fff; }
.fire-hero h1 span { color: var(--fire-amber); }
.fire-hero .lead { max-width: 640px; font-size: 1.25rem; margin: 22px 0 32px; color: rgba(255, 255, 255, .88); }
.fire-hero .btn { border-radius: 4px; padding: 14px 28px; font-weight: 700; }
.fire-hero .btn-call { background: transparent; border: 2px solid #fff; color: #fff; }
.fire-hero .btn-call:hover { background: #fff; color: var(--fire-ink); text-decoration: none; }
.fire-hero .hero-note { margin-top: 26px; font-size: .95rem; color: rgba(255, 255, 255, .7); }
.fire-hero .hero-note i { color: var(--fire-amber); margin-right: 6px; }

.lifecycle { background: var(--fire-ink); color: #fff; border-bottom: 3px solid var(--fire-red); }
.lifecycle .item { padding: 22px 12px; text-align: center; }
.lifecycle .item i { color: var(--fire-amber); font-size: 1.6rem; margin-bottom: 8px; display: block; }
.lifecycle .item strong { display: block; font-size: 1rem; }
.lifecycle .item small { color: rgba(255, 255, 255, .65); }

.section-kicker { color: var(--fire-red); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; text-align: center; }
.section-title { text-align: center; font-weight: 800; margin-bottom: 12px; }
.section-sub { text-align: center; max-width: 680px; margin: 0 auto 44px; color: #666; }

.fire-card { border: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 28px rgba(0, 0, 0, .12); height: 100%; }
.fire-card .fire-card-img { height: 240px; background-size: cover; background-position: center; position: relative; }
.fire-card .fire-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 17, 15, .75)); }
.fire-card .fire-card-img h3 { position: absolute; z-index: 1; left: 24px; bottom: 18px; margin: 0; color: #fff; font-weight: 800; }
.fire-card .card-body { padding: 26px 24px; }
.fire-card ul { padding-left: 0; list-style: none; margin: 18px 0 22px; }
.fire-card li { padding: 6px 0 6px 28px; position: relative; }
.fire-card li::before { content: '\f06d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--fire-red); }

.process { counter-reset: step; }
.process .step { position: relative; padding: 24px 20px 20px 20px; background: #fff; border-radius: 8px; border-top: 4px solid var(--fire-red); box-shadow: var(--shadow-sm); height: 100%; }
.process .step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--fire-ink); color: #fff; font-weight: 800; margin-bottom: 12px; }
.process .step h5 { font-weight: 700; }
.process .step p { margin: 0; color: #666; font-size: .95rem; }

.secondary-band { background: var(--gray-light, #f8f9fa); }
.tile-grid a {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 14px;
    background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; color: #222; font-weight: 600;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tile-grid a:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--fire-red); color: var(--fire-red); }
.tile-grid a i { width: 24px; text-align: center; color: var(--fire-red); }
.other-works { border-left: 4px solid var(--fire-red); background: #fff; padding: 18px 22px; border-radius: 6px; margin-top: 10px; }

.cta-band { background: linear-gradient(105deg, var(--fire-ink) 0%, #7a0b0b 100%); color: #fff; padding: 60px 0; }
.cta-band h2 { font-weight: 800; }
.cta-band .btn { border-radius: 4px; padding: 14px 28px; font-weight: 700; }

#quoteStatus { display: none; margin: 0 16px 12px; }

@media (max-width: 768px) {
    .fire-hero { padding: 70px 0 60px; }
    .fire-hero h1 { font-size: 2.1rem; }
    .fire-hero .lead { font-size: 1.05rem; }
    .fire-card .fire-card-img { height: 190px; }
}

/* Keep the full nav on one line from the lg breakpoint up */
@media (min-width: 992px) {
    .navbar .container { max-width: 1180px; }
    .navbar-nav .nav-link { padding-left: .55rem; padding-right: .55rem; font-size: .95rem; }
    .navbar-brand { font-size: 1.1rem; }
}
@media (min-width: 992px) and (max-width: 1199px) { .portal-label { display: none; } }
