/* ============================================================
   Fire Solution Technology — Core Stylesheet
   Brand: #032251 (Navy)  |  #c91812 (Fire Red)
   ============================================================ */

:root {
    /* Brand */
    --fst-navy: #032251;
    --fst-navy-700: #0a2f6b;
    --fst-navy-900: #021a3e;
    --fst-red: #c91812;
    --fst-red-600: #e02018;
    --fst-red-700: #a51210;

    /* Neutrals */
    --fst-ink: #16202e;
    --fst-slate: #4a586b;
    --fst-muted: #8b97a8;
    --fst-line: #e3e8ef;
    --fst-bg: #ffffff;
    --fst-bg-alt: #f5f7fa;
    --fst-bg-navy-soft: #f0f3f9;

    /* Accent / status */
    --fst-amber: #f5a623;
    --fst-green: #1f9d57;

    /* Typography */
    --font-display: 'Archivo', 'Segoe UI', Tahoma, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, sans-serif;

    /* Scale & shape */
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 3px rgba(3, 34, 81, .08);
    --shadow-md: 0 8px 24px rgba(3, 34, 81, .10);
    --shadow-lg: 0 20px 48px rgba(3, 34, 81, .16);
    --container: 1200px;
    --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--fst-ink);
    background: var(--fst-bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--fst-navy);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.01em;
}

a { color: var(--fst-red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--fst-red-700); }

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

/* ---------- Section rhythm ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--fst-bg-alt); }
.section--navy { background: var(--fst-navy); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fst-red);
    margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.section-head p { color: var(--fst-slate); margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
}
.btn-primary { background: var(--fst-red); color: #fff; }
.btn-primary:hover { background: var(--fst-red-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--fst-navy); color: #fff; }
.btn-navy:hover { background: var(--fst-navy-900); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--fst-navy); border-color: var(--fst-navy); }
.btn-outline:hover { background: var(--fst-navy); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: #fff; color: var(--fst-navy); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }

/* ---------- Cards ---------- */
.card {
    background: #fff;
    border: 1px solid var(--fst-line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 900; background: #fff; box-shadow: var(--shadow-sm); }
.topbar { background: var(--fst-navy); color: #cfd9e8; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar a { color: #cfd9e8; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; gap: 22px; align-items: center; }
.topbar__social { display: flex; gap: 14px; }

.navbar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.navbar__brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; color: var(--fst-navy); font-size: 1.15rem; }
.navbar__brand img { height: 50px; }
.navbar__brand span small { display: block; font-size: .62rem; letter-spacing: .12em; color: var(--fst-red); font-weight: 700; text-transform: uppercase; }
.navbar__menu { display: flex; gap: 6px; list-style: none; align-items: center; }
.navbar__menu > li > a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .93rem;
    color: var(--fst-ink);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.navbar__menu > li > a:hover, .navbar__menu > li > a.active { color: var(--fst-red); background: var(--fst-bg-navy-soft); }
.navbar__cta { display: flex; gap: 10px; align-items: center; }
.navbar__toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--fst-navy); cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--fst-navy-900); color: #aebbd0; padding-top: 64px; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-grid a { color: #aebbd0; display: block; padding: 5px 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { height: 56px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center; font-size: .85rem; color: #7d8ba5; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 950;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; box-shadow: 0 8px 24px rgba(37,211,102,.45);
    animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; font-family: var(--font-display); }
.badge--red { background: rgba(201,24,18,.1); color: var(--fst-red); }
.badge--green { background: rgba(31,157,87,.12); color: var(--fst-green); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
    background: linear-gradient(135deg, var(--fst-navy) 0%, var(--fst-navy-900) 100%);
    color: #fff; padding: 64px 0; position: relative; overflow: hidden;
}
.page-banner::after {
    content: ''; position: absolute; right: -60px; top: -60px;
    width: 280px; height: 280px; background: var(--fst-red); opacity: .12;
    border-radius: 50%;
}
.page-banner h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); position: relative; }
.breadcrumb { display: flex; gap: 8px; font-size: .88rem; color: #9fb0cb; margin-top: 10px; position: relative; }
.breadcrumb a { color: #9fb0cb; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .navbar__menu {
        position: fixed; inset: 76px 0 auto 0;
        background: #fff; flex-direction: column; align-items: stretch;
        padding: 16px; gap: 2px; box-shadow: var(--shadow-lg);
        transform: translateY(-150%); transition: transform var(--transition);
        max-height: calc(100vh - 76px); overflow-y: auto;
    }
    .navbar__menu.open { transform: translateY(0); }
    .navbar__toggle { display: block; }
    .topbar__contact span:not(:first-child) { display: none; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   Homepage Sections (Phase 2)
   ============================================================ */

/* ---- Intro strip ---- */
.intro-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; margin-top: -40px; position: relative; z-index: 5; }
.intro-strip__item { padding: 26px 24px; display: flex; align-items: center; gap: 14px; border-right: 1px solid var(--fst-line); }
.intro-strip__item:last-child { border-right: 0; }
.intro-strip__item i { font-size: 1.7rem; color: var(--fst-red); }
.intro-strip__item strong { display: block; font-family: var(--font-display); color: var(--fst-navy); font-size: 1rem; }
.intro-strip__item span { font-size: .85rem; color: var(--fst-slate); }

/* ---- Service cards ---- */
.service-card { padding: 30px 26px; text-align: left; }
.service-card__icon { width: 58px; height: 58px; border-radius: 14px; background: var(--fst-bg-navy-soft); color: var(--fst-navy); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; transition: all var(--transition); }
.service-card:hover .service-card__icon { background: var(--fst-red); color: #fff; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { color: var(--fst-slate); font-size: .93rem; margin-bottom: 14px; }
.service-card a.link { font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--fst-red); display: inline-flex; align-items: center; gap: 6px; }
.service-card a.link i { transition: transform var(--transition); }
.service-card:hover a.link i { transform: translateX(4px); }

/* ---- Product cards ---- */
.product-card { display: flex; flex-direction: column; }
.product-card__media { position: relative; aspect-ratio: 4/3; background: var(--fst-bg-alt); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__flags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.product-card__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--fst-muted); margin-bottom: 6px; }
.product-card__body h3 { font-size: 1.02rem; margin-bottom: 8px; line-height: 1.3; }
.product-card__body h3 a { color: var(--fst-navy); }
.product-card__body h3 a:hover { color: var(--fst-red); }
.product-card__price { font-family: var(--font-display); font-weight: 800; color: var(--fst-red); font-size: 1.2rem; margin: 4px 0 14px; }
.product-card__price .old { color: var(--fst-muted); font-weight: 500; font-size: .9rem; text-decoration: line-through; margin-left: 6px; }
.product-card__actions { margin-top: auto; display: flex; gap: 8px; }
.product-card__actions .btn { flex: 1; justify-content: center; }
.stock-pill { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; }
.stock-in { background: rgba(31,157,87,.12); color: var(--fst-green); }
.stock-out { background: rgba(201,24,18,.1); color: var(--fst-red); }

/* ---- Why choose us ---- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why__item { display: flex; gap: 14px; }
.why__item i { width: 44px; height: 44px; border-radius: 12px; background: rgba(201,24,18,.1); color: var(--fst-red); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.why__item strong { display: block; font-family: var(--font-display); color: var(--fst-navy); margin-bottom: 3px; }
.why__item span { font-size: .88rem; color: var(--fst-slate); }
.why__visual { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--fst-navy), var(--fst-navy-900)); box-shadow: var(--shadow-lg); position: relative; display:grid; place-items:center; }
.why__visual img { width: 100%; height: 100%; object-fit: cover; }
.why__visual .ph { color: rgba(255,255,255,.3); font-size: 4rem; }

/* ---- Industries ---- */
.industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.industry-card { background: #fff; border: 1px solid var(--fst-line); border-radius: var(--radius); padding: 22px 12px; text-align: center; transition: all var(--transition); }
.industry-card:hover { border-color: var(--fst-red); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.industry-card i { font-size: 1.8rem; color: var(--fst-navy); margin-bottom: 10px; }
.industry-card:hover i { color: var(--fst-red); }
.industry-card span { display: block; font-size: .82rem; font-weight: 600; color: var(--fst-ink); }

/* ---- Projects ---- */
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover img { transform: scale(1.07); }
.project-card__info { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,16,40,.9), transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.project-card__info span { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #ff8077; margin-bottom: 5px; }
.project-card__info h3 { color: #fff; font-size: 1.12rem; }
.project-card__info p { color: #c4d0e3; font-size: .84rem; margin-top: 3px; }
.project-card__ph { background: linear-gradient(135deg, var(--fst-navy), var(--fst-navy-900)); display:grid; place-items:center; color: rgba(255,255,255,.25); font-size: 2.6rem; }

/* ---- Testimonials ---- */
.testi-card { padding: 30px; }
.testi-card__stars { color: var(--fst-amber); margin-bottom: 14px; }
.testi-card__msg { font-size: 1rem; color: var(--fst-ink); line-height: 1.7; margin-bottom: 20px; }
.testi-card__who { display: flex; align-items: center; gap: 12px; }
.testi-card__who .ava { width: 46px; height: 46px; border-radius: 50%; background: var(--fst-navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.testi-card__who strong { display: block; color: var(--fst-navy); font-family: var(--font-display); }
.testi-card__who span { font-size: .84rem; color: var(--fst-slate); }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--fst-red) 0%, var(--fst-red-700) 100%); border-radius: var(--radius-lg); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: rgba(255,255,255,.92); margin-top: 6px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Clients marquee ---- */
.clients-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.client-chip { background: #fff; border: 1px solid var(--fst-line); border-radius: 100px; padding: 12px 24px; font-family: var(--font-display); font-weight: 600; color: var(--fst-slate); font-size: .92rem; }

/* ---- View-all row ---- */
.view-all { text-align: center; margin-top: 40px; }

@media (max-width: 992px) {
    .intro-strip { grid-template-columns: 1fr 1fr; }
    .intro-strip__item:nth-child(2) { border-right: 0; }
    .why { grid-template-columns: 1fr; }
    .industry-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .intro-strip { grid-template-columns: 1fr; margin-top: 0; }
    .intro-strip__item { border-right: 0; border-bottom: 1px solid var(--fst-line); }
    .why__list { grid-template-columns: 1fr; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-band { padding: 32px; flex-direction: column; text-align: center; }
}
