/* ─────────────────────────────────────────
   ZION FIRE SAFETY — Global Styles
   Palette: Clean, light, modern
   ───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400;1,600&display=swap');

:root {
  /* Colours */
  --white:       #FFFFFF;
  --off-white:   #F8F6F3;
  --light-grey:  #F1EEE9;
  --mid-grey:    #E2DDD6;
  --steel:       #9A9490;
  --ink:         #1C1A18;
  --ink-soft:    #3D3A36;
  --ink-muted:   #6B6762;

  --brand:       #D94F2B;        /* warm ember red */
  --brand-deep:  #B83C1E;
  --brand-light: #F06844;
  --brand-pale:  #FDEEE9;
  --brand-tint:  #FAF1EE;

  --accent:      #2B6CB0;        /* trust blue — for links / badges */
  --accent-pale: #EBF4FF;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);

  --radius:      10px;
  --radius-lg:   18px;
  --radius-pill: 999px;

  --transition:  all 0.25s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body {
  font-family: 'Sora', sans-serif;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display:block; max-width:100%; }
a  { color:inherit; text-decoration:none; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { line-height:1.15; font-weight:700; }
.display {
  font-family:'Lora',serif;
  font-weight:600;
  line-height:1.1;
}
.eyebrow {
  font-size:.72rem; font-weight:600; letter-spacing:.18em;
  text-transform:uppercase; color:var(--brand);
  display:flex; align-items:center; gap:.6rem;
}
.eyebrow::before { content:''; width:24px; height:2px; background:var(--brand); flex-shrink:0; }

/* ── NAV ── */
.site-nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--mid-grey);
  transition: var(--transition);
}
.nav-inner {
  max-width:1200px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:.9rem 2rem;
}
.nav-logo {
  display:flex; align-items:center; gap:.6rem;
}
.nav-logo .logo-icon {
  width:36px; height:36px;
  background:var(--brand);
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.nav-logo .logo-icon svg { width:20px; height:20px; color:#fff; }
.nav-logo .logo-text {
  font-size:.95rem; font-weight:700; line-height:1.2;
  color:var(--ink);
}
.nav-logo .logo-text span { color:var(--brand); }
.nav-logo .logo-sub { font-size:.62rem; font-weight:400; color:var(--steel); letter-spacing:.04em; }

.nav-links {
  display:flex; align-items:center; gap:.25rem; list-style:none;
}
.nav-links a {
  font-size:.82rem; font-weight:500; color:var(--ink-muted);
  padding:.5rem .9rem; border-radius:var(--radius);
  transition: var(--transition);
  position:relative;
}
.nav-links a:hover, .nav-links a.active { color:var(--brand); background:var(--brand-tint); }

.nav-cta {
  background:var(--brand) !important; color:#fff !important;
  padding:.55rem 1.3rem !important; border-radius:var(--radius) !important;
  font-weight:600 !important; font-size:.82rem !important;
  box-shadow: 0 2px 8px rgba(217,79,43,.25);
}
.nav-cta:hover { background:var(--brand-deep) !important; transform:translateY(-1px); box-shadow: 0 4px 14px rgba(217,79,43,.3) !important; }

.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:.3rem; }
.hamburger span { display:block; width:22px; height:2px; background:var(--ink); border-radius:2px; transition: var(--transition); }
.mobile-nav {
  display:none; position:fixed; top:64px; left:0; right:0; z-index:199;
  background:#fff; border-bottom:1px solid var(--mid-grey);
  padding:1rem 2rem 1.5rem; flex-direction:column; gap:.3rem;
  box-shadow:var(--shadow-lg);
}
.mobile-nav a { font-size:.9rem; font-weight:500; color:var(--ink); padding:.6rem .8rem; border-radius:var(--radius); }
.mobile-nav a:hover { background:var(--brand-tint); color:var(--brand); }
.mobile-nav .m-cta { background:var(--brand); color:#fff !important; text-align:center; margin-top:.5rem; }

/* ── BUTTONS ── */
.btn {
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:'Sora',sans-serif; font-weight:600; font-size:.85rem;
  padding:.75rem 1.6rem; border-radius:var(--radius);
  cursor:pointer; border:none; transition: var(--transition);
  letter-spacing:.01em;
}
.btn-primary { background:var(--brand); color:#fff; box-shadow:0 2px 8px rgba(217,79,43,.25); }
.btn-primary:hover { background:var(--brand-deep); transform:translateY(-2px); box-shadow:0 6px 18px rgba(217,79,43,.3); }
.btn-outline { background:transparent; color:var(--brand); border:1.5px solid var(--brand); }
.btn-outline:hover { background:var(--brand-tint); }
.btn-white { background:#fff; color:var(--ink); box-shadow:var(--shadow-md); }
.btn-white:hover { transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.btn svg { width:16px; height:16px; flex-shrink:0; }

/* ── SECTION LAYOUT ── */
.section { padding:5rem 2rem; }
.section-sm { padding:3.5rem 2rem; }
.container { max-width:1200px; margin:0 auto; }
.container-sm { max-width:880px; margin:0 auto; }

/* ── BADGES ── */
.badge {
  display:inline-flex; align-items:center; gap:.4rem;
  font-size:.72rem; font-weight:600; letter-spacing:.06em;
  padding:.3rem .75rem; border-radius:var(--radius-pill);
}
.badge-red { background:var(--brand-pale); color:var(--brand); }
.badge-blue { background:var(--accent-pale); color:var(--accent); }
.badge-grey { background:var(--light-grey); color:var(--ink-muted); }

/* ── CARDS ── */
.card {
  background:#fff; border-radius:var(--radius-lg);
  border:1px solid var(--mid-grey);
  overflow:hidden; transition: var(--transition);
}
.card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--brand-light); }

/* ── IMAGE BLOCKS ── */
.img-cover {
  width:100%; height:100%; object-fit:cover;
}
.img-placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:1rem;
  font-size:.82rem; color:var(--steel);
}

/* ── STATS ROW ── */
.stats-row { display:flex; gap:0; }
.stat-box {
  flex:1; padding:2rem 1.5rem; text-align:center;
  border-right:1px solid var(--mid-grey);
}
.stat-box:last-child { border-right:none; }
.stat-num {
  font-family:'Lora',serif; font-size:2.6rem; font-weight:600;
  color:var(--brand); line-height:1;
  margin-bottom:.4rem;
}
.stat-label { font-size:.75rem; font-weight:500; color:var(--ink-muted); letter-spacing:.04em; }

/* ── DIVIDER ── */
.divider { height:1px; background:var(--mid-grey); }

/* ── FOOTER ── */
.site-footer {
  background:var(--ink); color:rgba(255,255,255,.75);
  padding:4rem 2rem 2rem;
}
.footer-grid {
  max-width:1200px; margin:0 auto;
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:3rem; padding-bottom:3rem; border-bottom:1px solid rgba(255,255,255,.1);
}
.footer-logo-wrap .logo-text { color:#fff; font-size:1rem; }
.footer-logo-wrap .logo-sub { color:rgba(255,255,255,.4); }
.footer-logo-wrap p { font-size:.82rem; line-height:1.7; color:rgba(255,255,255,.5); margin-top:1rem; max-width:280px; }
.footer-col h4 { font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.4); margin-bottom:1.2rem; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:.6rem; }
.footer-col li a { font-size:.83rem; color:rgba(255,255,255,.6); transition: var(--transition); }
.footer-col li a:hover { color:#fff; }
.footer-col .contact-line { display:flex; align-items:flex-start; gap:.6rem; font-size:.82rem; color:rgba(255,255,255,.6); margin-bottom:.7rem; }
.footer-col .contact-line svg { width:14px; height:14px; flex-shrink:0; margin-top:.15rem; color:var(--brand); }
.footer-bottom {
  max-width:1200px; margin:.5rem auto 0;
  display:flex; justify-content:space-between; align-items:center;
  padding-top:1.5rem;
  font-size:.75rem; color:rgba(255,255,255,.3);
  flex-wrap:wrap; gap:1rem;
}
.footer-bottom a { color:rgba(255,255,255,.4); }
.footer-bottom a:hover { color:#fff; }

/* ── SCROLL REVEAL ── */
.reveal { opacity:0; transform:translateY(22px); transition:opacity .65s ease, transform .65s ease; }
.reveal.up { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:.1s; }
.reveal-delay-2 { transition-delay:.2s; }
.reveal-delay-3 { transition-delay:.3s; }
.reveal-delay-4 { transition-delay:.4s; }

/* ── PAGE HERO ── */
.page-hero {
  padding:9rem 2rem 5rem;
  background:var(--off-white);
  position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; top:-80px; right:-80px;
  width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle, var(--brand-pale) 0%, transparent 70%);
  pointer-events:none;
}

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .stats-row { flex-wrap:wrap; }
  .stat-box { flex:1 1 40%; border-right:none; border-bottom:1px solid var(--mid-grey); }
  .stat-box:last-child { border-bottom:none; }
  .section { padding:3.5rem 1.25rem; }
  .footer-grid { grid-template-columns:1fr; gap:2rem; }
  .footer-bottom { flex-direction:column; text-align:center; }
}
@media (max-width:480px) {
  .stat-box { flex:1 1 100%; }
  .btn { font-size:.8rem; padding:.65rem 1.3rem; }
}
