:root {
  --ink: #11181d;
  --muted: #63717a;
  --line: #d9e0e4;
  --paper: #f4f7f8;
  --white: #ffffff;
  --charcoal: #0b1419;
  --charcoal-2: #142128;
  --amber: #f4b63f;
  --amber-2: #ffd071;
  --blue: #20546b;
  --green: #2f6f57;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand strong { letter-spacing: 0; }
h1 {
  max-width: 790px;
  margin-bottom: 24px;
  color: white;
  font-size: clamp(3rem, 6.7vw, 6.4rem);
  line-height: .96;
  font-weight: 800;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.2vw, 4.15rem);
  line-height: 1.04;
  font-weight: 800;
}
h3 { margin-bottom: 12px; font-size: 1.18rem; line-height: 1.22; }
p { color: var(--muted); }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { width: 30px; height: 2px; content: ""; background: var(--amber); }
.eyebrow.light { color: #dce9ee; }
.eyebrow span { color: var(--amber-2); }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--charcoal);
  background: var(--amber);
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--amber-2); }
.button svg { width: 18px; height: 18px; }
.button-large { min-height: 56px; padding-inline: 24px; }
.button-secondary { color: white; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.08); }
.button-secondary:hover { background: rgba(255,255,255,.16); }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  min-height: 88px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--amber);
  color: var(--amber);
  font-size: .72rem;
  font-weight: 800;
}
.brand span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 1rem; }
.brand small { margin-top: 6px; font-size: .58rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.nav { display: flex; justify-content: center; gap: 30px; font-size: .91rem; font-weight: 700; }
.nav a { color: rgba(255,255,255,.88); }
.nav a:hover { color: white; }
.header-call { min-height: 42px; padding-inline: 16px; }
.icon-button { display: none; width: 42px; height: 42px; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }

.hero {
  position: relative;
  display: flex;
  min-height: 780px;
  height: min(900px, 94vh);
  align-items: center;
  overflow: hidden;
  background: var(--charcoal) url("assets/makesafe-hero.png") center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,15,19,.96) 0%, rgba(7,15,19,.78) 45%, rgba(7,15,19,.2) 72%),
    linear-gradient(0deg, rgba(7,15,19,.45), rgba(7,15,19,.08));
}
.hero-content { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin: 72px auto 0; }
.urgent-line {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 10px 15px;
  border: 1px solid rgba(244,182,63,.42);
  border-left: 4px solid var(--amber);
  color: var(--amber-2);
  background: rgba(244,182,63,.12);
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
}
.hero-lead { max-width: 640px; margin-bottom: 34px; color: #d8e1e5; font-size: 1.13rem; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-proof { display: flex; margin-top: 54px; gap: 26px; flex-wrap: wrap; color: #dce6ea; font-size: .9rem; font-weight: 700; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; color: var(--amber); }

.notice-bar { color: white; background: var(--blue); }
.notice-bar .section-shell {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 18px;
}
.notice-bar span { color: #dce9ee; }
.notice-call {
  margin-left: auto;
  padding: 0;
  border: 0;
  color: var(--amber-2);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.intro {
  display: grid;
  padding-block: 108px 58px;
  grid-template-columns: 1.08fr .92fr;
  gap: 80px;
  align-items: end;
}
.intro p:last-child { max-width: 540px; margin-bottom: 6px; font-size: 1.08rem; }
.services {
  display: grid;
  padding-bottom: 112px;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.services article {
  min-height: 265px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services svg { width: 32px; height: 32px; margin-bottom: 44px; color: var(--blue); }
.services p { margin-bottom: 0; font-size: .92rem; }
.service-outro {
  margin-top: -66px;
  margin-bottom: 108px;
  padding: 28px 32px;
  border-left: 4px solid var(--amber);
  color: var(--ink);
  background: var(--paper);
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.35;
}

.response { padding-block: 112px; color: white; background: var(--charcoal-2); }
.response-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.response h2 { max-width: 500px; }
.timeline article {
  display: grid;
  padding: 28px 0;
  grid-template-columns: 58px 1fr;
  border-top: 1px solid rgba(255,255,255,.18);
}
.timeline article:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.timeline span { color: var(--amber); font-size: .75rem; font-weight: 800; }
.timeline h3 { color: white; }
.timeline p { margin-bottom: 0; color: #bdcbd1; }

.confidence {
  display: grid;
  padding-block: 46px;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.metric { padding: 18px 24px; border-right: 1px solid var(--line); }
.metric:first-child { border-left: 1px solid var(--line); }
.metric strong { display: block; margin-bottom: 6px; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1; }
.metric span { color: var(--muted); font-size: .9rem; }

.coverage {
  display: grid;
  padding-block: 112px;
  grid-template-columns: .92fr 1.08fr;
  gap: 90px;
  align-items: center;
}
.coverage-copy p:last-child { max-width: 560px; margin-top: 24px; margin-bottom: 0; font-size: 1.05rem; }
.coverage-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.coverage-list div {
  display: flex;
  min-height: 118px;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 800;
}
.coverage-list svg { width: 30px; min-width: 30px; color: var(--green); }

.seo-services {
  padding-block: 0 112px;
}
.seo-services h2 {
  max-width: 900px;
  margin-bottom: 42px;
  font-size: clamp(2rem, 3.5vw, 3.3rem);
}
.keyword-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.keyword-groups article {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.keyword-groups h3 { color: var(--blue); }
.keyword-groups p { margin-bottom: 0; font-size: .92rem; }

.quote-section { padding-block: 112px; color: white; background: var(--charcoal); }
.quote-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 86px; align-items: start; }
.quote-grid h2 { margin-bottom: 24px; }
.quote-grid p { color: #bdcbd1; }
.contact-cards { display: grid; margin-top: 40px; gap: 14px; }
.contact-cards a,
.contact-button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  color: white;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.contact-cards svg { width: 42px; height: 42px; padding: 10px; color: var(--amber); border: 1px solid rgba(255,255,255,.18); }
.contact-cards span { display: flex; flex-direction: column; }
.contact-cards small { color: #94a6ae; font-weight: 600; }
.quote-form { padding: 34px; color: var(--ink); background: white; border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; margin-bottom: 18px; color: #26343b; font-size: .82rem; font-weight: 800; }
input, textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #cdd6da;
  border-radius: 5px;
  color: var(--ink);
  background: white;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32,84,107,.12); }
textarea { resize: vertical; }
.submit-button { width: 100%; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #b9dfcd;
  border-radius: 5px;
  color: #184331;
  background: #effaf4;
  font-weight: 700;
}
.form-success.show { display: block; }

.call-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
}
.call-modal.open { display: grid; }
.call-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 13, .74);
  backdrop-filter: blur(4px);
}
.call-modal-panel {
  position: relative;
  display: grid;
  width: min(560px, 100%);
  min-height: 270px;
  place-items: center;
  padding: 52px 28px 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  color: white;
  background: linear-gradient(160deg, #101b21, #20313a);
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
  text-align: center;
}
.call-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  color: white;
}
.call-modal-panel p {
  margin-bottom: 14px;
  color: #dce9ee;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.call-modal-number {
  display: block;
  color: var(--amber-2);
  font-size: clamp(2rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.call-modal-panel span {
  margin-top: 20px;
  color: #dce9ee;
  font-weight: 800;
}

footer { color: white; background: #081014; }
.footer-main {
  display: grid;
  min-height: 166px;
  grid-template-columns: 1fr 1fr auto;
  gap: 42px;
  align-items: center;
}
.footer-main p { max-width: 430px; margin: 0; color: #9baab1; }
.footer-links { display: flex; gap: 22px; color: #d3dde2; font-size: .9rem; font-weight: 700; }
.footer-bottom {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  color: #7c8b92;
  border-top: 1px solid #1d2a30;
  font-size: .78rem;
}

@media (max-width: 940px) {
  .site-header { min-height: 76px; grid-template-columns: auto 1fr auto; gap: 12px; padding-inline: 24px; }
  .menu-toggle { display: grid; grid-column: 3; grid-row: 1; place-items: center; }
  .header-call { display: none; }
  .nav {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 22px;
    flex-direction: column;
    gap: 16px;
    color: var(--ink);
    background: white;
    box-shadow: 0 18px 38px rgba(0,0,0,.2);
  }
  .nav.open { display: flex; }
  .nav a { color: var(--ink); }
  .intro, .response-grid, .coverage, .quote-grid { grid-template-columns: 1fr; gap: 44px; }
  .services { grid-template-columns: 1fr 1fr 1fr; }
  .confidence { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; padding-block: 40px; }
  .footer-links { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .section-shell, .hero-content { width: min(100% - 32px, 1180px); }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  .brand strong { font-size: .92rem; }
  .brand small { font-size: .52rem; }
  .hero { min-height: 720px; height: 92vh; background-position: 67% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(7,15,19,.96), rgba(7,15,19,.66)); }
  .hero-content { margin-top: 54px; }
  .urgent-line { display: flex; width: fit-content; max-width: 100%; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; margin-top: 36px; gap: 12px; }
  .notice-bar .section-shell { padding-block: 16px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .notice-call { margin-left: 0; }
  .intro { padding-block: 78px 44px; }
  .services { grid-template-columns: 1fr; padding-bottom: 76px; }
  .services article { min-height: 220px; }
  .services svg { margin-bottom: 36px; }
  .service-outro { margin-top: -42px; margin-bottom: 76px; padding: 24px; }
  .call-modal-number { font-size: clamp(1.85rem, 10vw, 3.2rem); }
  .response, .coverage, .quote-section { padding-block: 78px; }
  .confidence { grid-template-columns: 1fr; padding-block: 28px; }
  .metric, .metric:first-child { border-right: 1px solid var(--line); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .coverage-list { grid-template-columns: 1fr; }
  .seo-services { padding-block: 0 78px; }
  .keyword-groups { grid-template-columns: 1fr; }
  .quote-form { padding: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { grid-column: auto; flex-wrap: wrap; }
  .footer-bottom { padding-block: 18px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
}

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