/*
Theme Name: W3 All Hazards Consulting
Theme URI: https://w3allhazardsconsulting.com
Author: Hermes
Description: Custom conversion-focused WordPress theme for W3 All Hazards Consulting.
Version: 1.0.0
Text Domain: w3-all-hazards
*/

:root {
  --navy: #0b1f33;
  --navy-2: #102f4b;
  --blue: #0f6aa8;
  --gold: #d9a441;
  --red: #b7382d;
  --ink: #142333;
  --muted: #5f6f7d;
  --line: #d9e2ea;
  --soft: #f3f7fa;
  --white: #fff;
  --shadow: 0 18px 50px rgba(11, 31, 51, .12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: .75rem 1rem;
  z-index: 20;
}
.skip-link:focus { left: .75rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(217,226,234,.85);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-weight: 900;
}
.brand span:last-child { line-height: 1.1; }
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--navy);
  font-size: .95rem;
}
.nav a { text-decoration: none; font-weight: 650; }
.nav a:hover { color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .78rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--gold);
  color: #211500;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(217,164,65,.22);
}
.btn.secondary {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(255,255,255,.45);
  box-shadow: none;
}
.btn.outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
  box-shadow: none;
}
.hero {
  background:
    linear-gradient(110deg, rgba(11,31,51,.96), rgba(15,106,168,.85)),
    radial-gradient(circle at 85% 20%, rgba(217,164,65,.45), transparent 28%);
  color: var(--white);
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 610px;
  padding: 5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .78fr);
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 .9rem;
  color: #ffe1a3;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 850;
  font-size: .8rem;
}
h1, h2, h3 { color: inherit; line-height: 1.08; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 5.6rem); max-width: 920px; }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3.4vw, 3.5rem); }
h3 { margin: 0 0 .65rem; font-size: 1.22rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.87); max-width: 780px; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 2.2rem;
}
.proof {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: .9rem;
  background: rgba(255,255,255,.08);
}
.proof strong { display: block; font-size: 1.35rem; color: var(--white); }
.proof span { color: rgba(255,255,255,.78); font-size: .9rem; }
.ops-card {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ops-card img { display: block; width: 100%; }
.section {
  padding: 5rem 1.25rem;
}
.section.alt { background: var(--soft); }
.wrap { max-width: 1180px; margin: 0 auto; }
.section-head {
  max-width: 820px;
  margin-bottom: 2rem;
}
.section-head p { color: var(--muted); font-size: 1.08rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(11,31,51,.05);
}
.card p, .split p, .content p, .content li { color: var(--muted); }
.kicker {
  display: inline-block;
  margin-bottom: .75rem;
  color: var(--blue);
  font-weight: 850;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.split {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 2rem;
  align-items: start;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  padding: .65rem 0 .65rem 1.9rem;
  position: relative;
  border-bottom: 1px solid rgba(217,226,234,.7);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 1.25rem;
}
.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--white);
}
label { display: block; font-weight: 750; margin: .8rem 0 .25rem; color: var(--navy); }
input, textarea, select {
  width: 100%;
  border: 1px solid #b9c8d6;
  border-radius: 6px;
  padding: .8rem;
  font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
.w3-field-check {
  position: absolute;
  left: -10000px;
  height: 1px;
  overflow: hidden;
}
button.btn { cursor: pointer; width: 100%; margin-top: 1rem; }
.site-footer {
  background: #071522;
  color: rgba(255,255,255,.75);
  padding: 3rem 1.25rem 2rem;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 2rem;
}
.site-footer a { color: var(--white); text-decoration: none; }
.fine-print { max-width: 1180px; margin: 2rem auto 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; font-size: .9rem; }
.page-hero {
  background: linear-gradient(115deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 5rem 1.25rem 3rem;
}
.page-hero .wrap { max-width: 980px; }
.content { max-width: 980px; margin: 0 auto; }
.content h2 { color: var(--navy); margin-top: 2rem; }
.content h3 { color: var(--navy); margin-top: 1.4rem; }
.content a { color: var(--blue); font-weight: 750; }
.sticky-call {
  display: none;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 11;
}
@media (max-width: 880px) {
  .nav { display: none; }
  .hero-inner, .split, .grid, .grid.two, .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; padding-top: 3.5rem; }
  .proof-row { grid-template-columns: 1fr; }
  .cta-band .wrap { display: block; }
  .sticky-call { display: block; }
  .section { padding: 3.5rem 1rem; }
}
