:root{
  --navy:#0A2E73;          /* brand navy */
  --navy-deep:#070C18;     /* page background (dark theme) */
  --navy-surface:#0E1A38;  /* card surface */
  --navy-line:#1C2B52;     /* borders */
  --orange:#FF7A00;        /* brand orange */
  --orange-hover:#ff8f24;
  --white:#ffffff;
  --muted:#aab4cc;         /* secondary text */
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Segoe UI',system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
  background:var(--navy-deep);color:var(--white);line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-weight:700;font-size:1rem;padding:15px 30px;border-radius:8px;
  cursor:pointer;border:2px solid transparent;transition:.18s ease;text-align:center;
}
.btn-primary{background:var(--orange);color:#10193a}
.btn-primary:hover{background:var(--orange-hover);transform:translateY(-2px)}
.btn-ghost{background:transparent;color:var(--white);border-color:#33436f}
.btn-ghost:hover{border-color:var(--orange);color:var(--orange)}
.btn:focus-visible{outline:2px solid var(--orange);outline-offset:2px}

/* ---------- Header / Nav ---------- */
header{
  position:sticky;top:0;z-index:100;
  background:rgba(7,12,24,.92);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--navy-line);
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:15px 24px;max-width:1160px;margin:0 auto}
.brand{display:flex;align-items:center;gap:12px}
.brand-logo{height:64px;width:auto;display:block}
.nav-right{display:flex;align-items:center;gap:18px}
.nav-phone{font-weight:700;color:var(--white);white-space:nowrap}
.nav-phone span{color:var(--orange)}

.nav-links{display:flex;align-items:center;gap:6px}
.nav-links > li{list-style:none;position:relative}
.nav-link{display:inline-flex;align-items:center;gap:5px;padding:10px 14px;border-radius:7px;
  font-weight:600;font-size:.96rem;color:#dbe1f0;transition:.15s ease}
.nav-link:hover{color:var(--white);background:rgba(255,255,255,.06)}
.nav-link.active{color:var(--orange)}
.nav-link .caret{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);margin-top:-3px;transition:.15s ease}

/* dropdown (desktop) */
.has-dropdown{position:relative}
.dropdown-toggle{background:none;border:none;cursor:pointer;font-family:inherit}
.dropdown-menu{
  position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%) translateY(-6px);
  background:var(--navy-surface);border:1px solid var(--navy-line);border-radius:12px;
  min-width:250px;padding:8px;box-shadow:0 18px 40px rgba(0,0,0,.45);
  opacity:0;visibility:hidden;pointer-events:none;transition:.16s ease;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0);
}
.dropdown-menu a{display:block;padding:12px 14px;border-radius:8px;font-weight:600;font-size:.94rem;color:#dbe1f0}
.dropdown-menu a:hover{background:rgba(255,122,0,.1);color:var(--orange)}
.dropdown-menu a .sub{display:block;font-weight:400;font-size:.8rem;color:var(--muted);margin-top:2px}

.nav-desktop{display:flex;align-items:center;gap:8px}
.hamburger{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:5px}
.hamburger span{display:block;width:24px;height:2px;background:var(--white);border-radius:2px;transition:.2s ease}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* mobile menu */
.mobile-menu{display:none}
@media(max-width:860px){
  .nav-phone{display:none}
  .brand-logo{height:52px}
  .nav-desktop{display:none}
  .hamburger{display:flex}
  .mobile-menu{
    display:block;max-height:0;overflow:hidden;transition:max-height .25s ease;
    border-top:1px solid var(--navy-line);background:#080d1c;
  }
  .mobile-menu.open{max-height:600px}
  .mobile-menu-inner{padding:14px 24px 22px}
  .mobile-menu a.nav-link{display:block;padding:13px 4px;font-size:1.02rem;border-bottom:1px solid var(--navy-line)}
  .mobile-accordion-toggle{
    width:100%;display:flex;align-items:center;justify-content:space-between;background:none;border:none;
    color:#dbe1f0;font-weight:600;font-size:1.02rem;padding:13px 4px;border-bottom:1px solid var(--navy-line);
    cursor:pointer;font-family:inherit;
  }
  .mobile-accordion-toggle .caret{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
    transform:rotate(45deg);transition:.2s ease}
  .mobile-accordion-toggle.open .caret{transform:rotate(-135deg)}
  .mobile-submenu{max-height:0;overflow:hidden;transition:max-height .22s ease;background:rgba(255,255,255,.03)}
  .mobile-submenu.open{max-height:300px}
  .mobile-submenu a{display:block;padding:12px 20px;font-size:.96rem;color:var(--muted);border-bottom:1px solid var(--navy-line)}
  .mobile-submenu a:hover{color:var(--orange)}
  .mobile-menu .btn{width:100%;margin-top:16px}
  .mobile-menu .nav-phone-mobile{display:flex;align-items:center;gap:8px;padding:14px 4px;font-weight:700;color:var(--white)}
  .mobile-menu .nav-phone-mobile span{color:var(--orange)}
}

/* ---------- Hero (home) ---------- */
.hero{position:relative;overflow:hidden;padding:90px 0 80px;text-align:center}
.hero::before{
  content:"";position:absolute;right:-120px;top:50%;transform:translateY(-50%);
  width:620px;height:620px;background:url('logo-watermark.png') center/contain no-repeat;
  opacity:.06;pointer-events:none;
}
.hero::after{
  content:"";position:absolute;left:50%;top:-200px;transform:translateX(-50%);
  width:900px;height:500px;background:radial-gradient(ellipse at center,rgba(10,46,115,.55),transparent 70%);
  pointer-events:none;z-index:-1;
}
.eyebrow{display:inline-block;color:var(--orange);font-weight:700;letter-spacing:3px;
  font-size:.78rem;text-transform:uppercase;margin-bottom:20px;border:1px solid #33436f;
  padding:7px 16px;border-radius:30px}
.hero h1{font-size:3.3rem;line-height:1.1;font-weight:800;letter-spacing:-.5px;max-width:900px;margin:0 auto}
.hero h1 .accent{color:var(--orange)}
.hero p.sub{font-size:1.22rem;color:var(--muted);max-width:680px;margin:22px auto 36px}
.hero-cta{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
@media(max-width:600px){.hero h1{font-size:2.2rem}.hero p.sub{font-size:1.05rem}.hero-cta .btn{width:100%}}

/* ---------- Page hero (inner pages, shorter) ---------- */
.page-hero{position:relative;overflow:hidden;padding:60px 0 54px;text-align:center;
  border-bottom:1px solid var(--navy-line);background:#0A1330}
.page-hero::before{
  content:"";position:absolute;right:-140px;top:50%;transform:translateY(-50%);
  width:460px;height:460px;background:url('logo-watermark.png') center/contain no-repeat;
  opacity:.05;pointer-events:none;
}
.breadcrumb{display:flex;justify-content:center;gap:8px;font-size:.85rem;color:var(--muted);margin-bottom:18px}
.breadcrumb a:hover{color:var(--orange)}
.page-hero h1{font-size:2.6rem;font-weight:800;letter-spacing:-.4px;max-width:760px;margin:0 auto}
.page-hero h1 .accent{color:var(--orange)}
.page-hero p.sub{font-size:1.1rem;color:var(--muted);max-width:640px;margin:18px auto 0}
.page-hero .std-badge{display:inline-block;margin-top:18px;font-size:.78rem;color:var(--orange);
  font-weight:700;letter-spacing:.5px;background:rgba(255,122,0,.1);padding:6px 14px;border-radius:6px;
  border:1px solid rgba(255,122,0,.3)}
@media(max-width:600px){.page-hero h1{font-size:2rem}}

/* ---------- Trust bar ---------- */
.trustbar{border-top:1px solid var(--navy-line);border-bottom:1px solid var(--navy-line);background:#0A1330}
.trust-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 38px;padding:20px 24px;max-width:1160px;margin:0 auto}
.trust-inner div{display:flex;align-items:center;gap:9px;font-size:.93rem;color:#cdd6ea;font-weight:600}
.trust-inner .tick{color:var(--orange);font-weight:900}
@media(max-width:600px){
  .trust-inner{flex-direction:column;align-items:center;gap:10px;padding:18px 20px}
  .trust-inner div{display:block;text-align:center}
  .trust-inner .tick{margin-right:7px}
}

/* ---------- Sections ---------- */
section.block{padding:78px 0}
.sec-head{text-align:center;max-width:680px;margin:0 auto 50px}
.sec-head.left{text-align:left;margin:0 0 40px}
.sec-head .kicker{color:var(--orange);font-weight:700;letter-spacing:2px;text-transform:uppercase;font-size:.78rem}
.sec-head h2{font-size:2.3rem;font-weight:800;margin:10px 0 14px;letter-spacing:-.3px}
.sec-head p{color:var(--muted);font-size:1.08rem}

.grid{display:grid;gap:22px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.grid-3,.grid-4{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}}
.services-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:22px}
.services-grid .card{flex:1 1 320px;max-width:360px}

.card{
  background:var(--navy-surface);border:1px solid var(--navy-line);border-radius:14px;
  padding:32px 26px;transition:.2s ease;
}
.card:hover{border-color:var(--orange);transform:translateY(-4px)}
.card .ico{
  width:54px;height:54px;border-radius:12px;background:rgba(255,122,0,.12);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;
}
.card .ico svg{width:28px;height:28px;stroke:var(--orange)}
.card h3{font-size:1.3rem;font-weight:700;margin-bottom:10px}
.card p{color:var(--muted);font-size:.99rem}
.card .std{display:inline-block;margin-top:14px;font-size:.76rem;color:var(--orange);
  font-weight:700;letter-spacing:.5px;background:rgba(255,122,0,.1);padding:4px 10px;border-radius:5px}
.card a.card-link{color:var(--orange);font-weight:700;font-size:.92rem;display:inline-flex;align-items:center;gap:6px;margin-top:16px}
.card a.card-link:hover{gap:9px}

.why .card{text-align:left}
.why .card .ico{width:46px;height:46px}

/* ---------- Anchor sub-nav cards (fire equipment page) ---------- */
.subnav-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:10px}
@media(max-width:520px){.subnav-grid{grid-template-columns:1fr}}
/* When 5+ fire sub-services are live (any combination of the hidden ones enabled), force a clean 3-column grid instead of auto-wrap */
.subnav-grid:has(.subnav-card:nth-child(5)){grid-template-columns:repeat(3,1fr)}
@media(max-width:900px){.subnav-grid:has(.subnav-card:nth-child(5)){grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.subnav-grid:has(.subnav-card:nth-child(5)){grid-template-columns:1fr}}
.subnav-card{
  background:var(--navy-surface);border:1px solid var(--navy-line);border-radius:12px;
  padding:22px 18px;text-align:center;transition:.18s ease;cursor:pointer;display:block;
}
.subnav-card:hover{border-color:var(--orange);transform:translateY(-3px);background:#101d42}
.subnav-card .ico{width:44px;height:44px;margin:0 auto 12px;border-radius:10px;background:rgba(255,122,0,.12);
  display:flex;align-items:center;justify-content:center}
.subnav-card .ico svg{width:22px;height:22px;stroke:var(--orange)}
.subnav-card span{font-weight:700;font-size:.96rem;display:block}
.subnav-card small{color:var(--muted);font-size:.78rem;display:block;margin-top:4px}

/* ---------- Sub sections (fire equipment detail blocks) ---------- */
.subsection{padding:64px 0;border-top:1px solid var(--navy-line);scroll-margin-top:90px}
.subsection:nth-of-type(even){background:#0A1330}
.subsection-inner{display:grid;grid-template-columns:auto 1fr;gap:28px;align-items:flex-start}
@media(max-width:700px){.subsection-inner{grid-template-columns:1fr}}
.subsection .ico-lg{width:64px;height:64px;border-radius:14px;background:rgba(255,122,0,.12);
  display:flex;align-items:center;justify-content:center;flex-shrink:0}
.subsection .ico-lg svg{width:32px;height:32px;stroke:var(--orange)}
.subsection h3{font-size:1.7rem;font-weight:800;margin-bottom:8px}
.subsection .interval-row{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 18px}
.interval-pill{background:rgba(255,122,0,.1);border:1px solid rgba(255,122,0,.3);color:var(--orange);
  font-weight:700;font-size:.82rem;padding:6px 13px;border-radius:20px}
.subsection p{color:var(--muted);font-size:1rem;max-width:640px}
.subsection ul{margin:14px 0 0 20px;color:var(--muted);font-size:.98rem}
.subsection ul li{margin-bottom:6px}

/* ---------- Defect / "what we look out for" boxes ---------- */
.defect-box{background:var(--navy-surface);border:1px solid var(--navy-line);border-radius:16px;padding:36px}
.defect-box .sec-head{margin-bottom:30px}
.defect-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
@media(max-width:640px){.defect-list{grid-template-columns:1fr}}
.defect-item{display:flex;gap:12px;align-items:flex-start;background:rgba(255,255,255,.02);
  border:1px solid var(--navy-line);border-radius:10px;padding:16px 18px}
.defect-item .warn{color:var(--orange);font-size:1.1rem;line-height:1;flex-shrink:0;margin-top:2px}
.defect-item strong{display:block;font-size:.98rem;margin-bottom:3px}
.defect-item span{color:var(--muted);font-size:.9rem}
.defect-note{margin-top:26px;padding:18px 20px;border-radius:10px;background:rgba(255,122,0,.08);
  border:1px solid rgba(255,122,0,.25);color:#e9d9c4;font-size:.95rem}
.defect-note strong{color:var(--orange)}

/* ---------- Image placeholder ---------- */
.img-placeholder{
  background:var(--navy-surface);border:1px dashed #33436f;border-radius:14px;
  display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;
  color:var(--muted);font-size:.85rem;text-align:center;padding:40px 20px;min-height:220px;
}
.img-placeholder svg{width:34px;height:34px;stroke:#4b5c88}

/* ---------- Illustrations (stand-ins until real job photos) ---------- */
.illus{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--navy-line)}

/* ---------- CTA band ---------- */
.ctaband{background:linear-gradient(135deg,var(--navy) 0%,#06224f 100%);text-align:center;
  padding:70px 24px;border-radius:0}
.ctaband h2{font-size:2.3rem;font-weight:800;margin-bottom:12px}
.ctaband p{color:#cdd9f2;font-size:1.12rem;margin-bottom:30px;max-width:560px;margin-left:auto;margin-right:auto}

/* ---------- Contact form ---------- */
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:flex-start}
@media(max-width:860px){.contact-grid{grid-template-columns:1fr}}
.form-card{background:var(--navy-surface);border:1px solid var(--navy-line);border-radius:16px;padding:34px}
.field{margin-bottom:18px}
.field label{display:block;font-size:.88rem;font-weight:700;margin-bottom:7px;color:#dbe1f0}
.field input,.field select,.field textarea{
  width:100%;background:#0A1330;border:1px solid var(--navy-line);border-radius:8px;
  padding:12px 14px;color:var(--white);font-family:inherit;font-size:.96rem;transition:.15s ease;
}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--orange)}
.field textarea{resize:vertical;min-height:100px}
.info-card{background:var(--navy-surface);border:1px solid var(--navy-line);border-radius:16px;padding:30px}
.info-row{display:flex;gap:14px;align-items:flex-start;margin-bottom:22px}
.info-row:last-child{margin-bottom:0}
.info-row .ico{width:40px;height:40px;flex-shrink:0;border-radius:9px;background:rgba(255,122,0,.12);
  display:flex;align-items:center;justify-content:center}
.info-row .ico svg{width:20px;height:20px;stroke:var(--orange)}
.info-row strong{display:block;font-size:.98rem;margin-bottom:2px}
.info-row span,.info-row a{color:var(--muted);font-size:.93rem}
.info-row a:hover{color:var(--orange)}

/* ---------- Footer ---------- */
footer{background:#060A14;border-top:1px solid var(--navy-line);padding:54px 0 30px}
.foot-grid{display:flex;flex-wrap:wrap;justify-content:space-between;gap:30px}
.foot-brand{max-width:340px}
.foot-brand .brand{margin-bottom:14px}
.foot-brand p{color:var(--muted);font-size:.95rem}
.foot-col h4{font-size:.8rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--orange);margin-bottom:14px}
.foot-col a,.foot-col p{display:block;color:#c4cde1;font-size:.96rem;margin-bottom:9px}
.foot-col a:hover{color:var(--orange)}
.foot-bottom{border-top:1px solid var(--navy-line);margin-top:40px;padding-top:22px;
  text-align:center;color:#7e89a4;font-size:.85rem}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition-duration:.01ms !important;animation-duration:.01ms !important}
}
