/* ═══════════════════════════════════════════════
   BURNS FIRE PROTECTION SYSTEMS — Global Styles
   ═══════════════════════════════════════════════ */

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

:root {
  --red:      #C0272D;
  --red-dark: #8B1A1E;
  --red-glow: #E03030;
  --charcoal: #1A1A1A;
  --steel:    #2C2C2C;
  --ash:      #3D3D3D;
  --silver:   #9AA0A6;
  --light:    #F2F0ED;
  --white:    #FFFFFF;
  --gold:     #C9993A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--charcoal);
  color: var(--light);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 88px;
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192,39,45,0.3);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 68px; width: auto; display: block; max-width: 340px; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 500;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--silver); text-decoration: none; transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 10px 22px !important; border-bottom: none !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: all 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--red); padding: 18px 48px;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); white-space: nowrap;
}
.trust-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.3); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: 88px;
  background: linear-gradient(160deg, #111 0%, #1a1a1a 60%, #0f0f0f 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(192,39,45,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,39,45,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 72px 48px 64px;
}
.page-hero-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 88px); line-height: 0.95;
  letter-spacing: 0.02em; color: var(--white);
}
.page-hero-title span { color: var(--red); }
.page-hero-sub {
  font-size: 17px; font-weight: 300; color: var(--silver);
  line-height: 1.7; max-width: 560px; margin-top: 20px;
}
.page-hero-sub strong { color: var(--light); font-weight: 600; }
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-top: 32px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--silver);
}
.page-hero-breadcrumb a { color: var(--red); text-decoration: none; }
.page-hero-breadcrumb a:hover { color: var(--red-glow); }

/* ── SECTIONS ── */
section { padding: 96px 48px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px); line-height: 1;
  letter-spacing: 0.02em; color: var(--white); margin-bottom: 20px;
}
.section-intro { font-size: 16px; font-weight: 300; color: var(--silver); line-height: 1.7; max-width: 560px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--red); color: var(--white);
  padding: 16px 36px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--white);
  padding: 15px 36px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.25); cursor: pointer;
  transition: border-color 0.2s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-secondary:hover { border-color: var(--white); }
.btn-white {
  background: var(--white); color: var(--red-dark);
  padding: 16px 36px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-white:hover { background: var(--light); transform: translateY(-1px); }

/* ── CTA BANNER ── */
.cta-section {
  background: var(--red-dark); padding: 80px 48px;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: 'BFPS'; position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif; font-size: 280px;
  color: rgba(0,0,0,0.15); line-height: 1; user-select: none; pointer-events: none;
}
.cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px; flex-wrap: wrap; position: relative; z-index: 1;
}
.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px); line-height: 1;
  color: var(--white); letter-spacing: 0.02em;
}
.cta-sub { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.75); margin-top: 10px; max-width: 500px; }
.cta-phones { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-toll { font-size: 13px; color: rgba(255,255,255,0.65); font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.08em; }

/* ── FOOTER ── */
footer { background: #0D0D0D; padding: 64px 48px 32px; border-top: 1px solid rgba(192,39,45,0.25); }
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-logo img { height: 80px; width: auto; display: block; max-width: 400px; margin-bottom: 16px; }
.footer-logo p { font-size: 14px; font-weight: 300; color: var(--silver); line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--silver); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { font-size: 14px; color: var(--silver); margin-bottom: 12px; line-height: 1.5; }
.footer-contact-item strong { color: var(--light); display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 12px; color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: var(--red); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.4); } }
.fade-up   { animation: fadeUp 0.6s 0.0s ease both; }
.fade-up-1 { animation: fadeUp 0.6s 0.1s ease both; }
.fade-up-2 { animation: fadeUp 0.6s 0.2s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.3s ease both; }
.fade-up-4 { animation: fadeUp 0.6s 0.4s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 88px; left: 0; right: 0;
    background: rgba(18,18,18,0.98); backdrop-filter: blur(12px);
    flex-direction: column; gap: 0; align-items: stretch;
    border-bottom: 1px solid rgba(192,39,45,0.3); z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links a { display: block; padding: 16px 24px; font-size: 15px; }
  .nav-links .nav-cta { margin: 16px 24px 16px; padding: 14px 24px !important; text-align: center; display: block; }
  section { padding: 64px 24px; }
  .page-hero-content { padding: 56px 24px 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .trust-bar { gap: 20px; padding: 18px 24px; }
  .trust-divider { display: none; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}
