/* ==========================================================================
   Galvanized Fire Services Pty Ltd — galfire.com.au
   Legal entity per ABR: GALVANIZED FIRE SERVICES PTY LTD, ABN 39 690 863 122.
   Note BOTH spellings are registered business names ("Galvanized" 13 Sep 2025,
   "Galvanised" 19 Sep 2025) — but only the -ized form is the Pty Ltd entity, so
   anything carrying "Pty Ltd" must use it.
   Single-page site. No external dependencies: no CDN, no web fonts, no
   analytics. That is what lets the vhost run a strict Content-Security-Policy.
   ========================================================================== */

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

:root {
  --ink:      #14171c;
  --ink-2:    #1d222a;
  --body:     #40464f;
  --muted:    #737a85;
  --rule:     #e2e4e8;
  --paper:    #ffffff;
  --paper-2:  #f6f7f9;
  --flame:    #e03127;
  --flame-dk: #b3241c;
  --maxw:     1120px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1.1em; }
a { color: var(--flame-dk); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* -------------------------------------------------------------- masthead */
.masthead { background: var(--ink); border-bottom: 3px solid var(--flame); }
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand svg { flex: none; }
.brand-name {
  color: #fff; font-weight: 700; font-size: 1.05rem;
  letter-spacing: .13em; text-transform: uppercase; line-height: 1.25;
}
.brand-name span {
  display: block; font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; color: #9aa2ae;
}
.mast-contact { font-size: .93rem; color: #c3c9d2; }
.mast-contact a { color: #fff; text-decoration: none; font-weight: 600; }
.mast-contact a:hover { color: var(--flame); }

/* ------------------------------------------------------------------ hero */
.hero {
  background:
    radial-gradient(1100px 460px at 78% -8%, rgba(224,49,39,.22), transparent 62%),
    linear-gradient(178deg, var(--ink-2) 0%, var(--ink) 100%);
  color: #dfe3e9;
  padding: 84px 0 78px;
}
.eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase; color: var(--flame);
  border: 1px solid rgba(224,49,39,.45); border-radius: 999px;
  padding: 6px 15px; margin-bottom: 26px;
}
.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  max-width: 17ch; margin-bottom: .38em;
}
.hero .lede {
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
  color: #b9c0cb; max-width: 60ch; margin-bottom: 2em;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 4px;
  font-weight: 650; font-size: 1rem; text-decoration: none;
  transition: background-color .16s ease, transform .16s ease, border-color .16s ease;
}
.btn-primary { background: var(--flame); color: #fff; }
.btn-primary:hover { background: var(--flame-dk); transform: translateY(-1px); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.32); }
.btn-ghost:hover { border-color: #fff; transform: translateY(-1px); }

/* --------------------------------------------------------------- section */
section { padding: 76px 0; }
.section-alt {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
.section-head .kicker {
  font-size: .75rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--flame); margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section-head.tight { margin-bottom: 24px; }

/* -------------------------------------------------------------- services */
.grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 8px;
  padding: 30px 28px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.card:hover {
  border-color: #c9ccd2; transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20,23,28,.07);
}
.card .ico {
  width: 42px; height: 42px; border-radius: 8px; margin-bottom: 18px;
  background: rgba(224,49,39,.09);
  display: flex; align-items: center; justify-content: center;
}
.card h3 { font-size: 1.13rem; margin-bottom: .45em; }
.card p { font-size: .96rem; color: var(--body); margin-bottom: 0; }

/* -------------------------------------------------------------- coverage */
.coverage-layout { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) {
  .coverage-layout { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.region-list {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; padding: 0; margin: 0;
}
.region-list li {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 999px;
  padding: 8px 17px; font-size: .93rem; font-weight: 550; color: var(--ink);
}
.no-gap { margin-bottom: 0; }

/* -------------------------------------------------------------- approach */
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 30px; }
.points li { padding-left: 46px; position: relative; }
.points li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(224,49,39,.1);
  border: 1px solid rgba(224,49,39,.32);
}
.points li::after {
  content: ""; position: absolute; left: 10px; top: 13px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--flame);
}
.points h3 { font-size: 1.08rem; margin-bottom: .3em; }
.points p { font-size: .97rem; margin-bottom: 0; color: var(--body); }

/* --------------------------------------------------------------- contact */
.contact {
  background: linear-gradient(178deg, var(--ink-2), var(--ink));
  color: #cfd5dd; text-align: center;
}
.contact h2 { color: #fff; font-size: clamp(1.7rem, 3.8vw, 2.4rem); }
.contact p {
  max-width: 56ch; margin-left: auto; margin-right: auto; color: #aeb6c1;
}
.email-big {
  display: inline-block; margin: 26px 0 8px;
  font-size: clamp(1.15rem, 3.2vw, 1.65rem); font-weight: 700;
  color: #fff; text-decoration: none;
  border-bottom: 2px solid var(--flame); padding-bottom: 5px;
  word-break: break-word;
}
.email-big:hover { color: var(--flame); }

/* ---------------------------------------------------------------- footer */
footer { background: #0d1014; color: #7d848f; font-size: .87rem; padding: 30px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #a8b0bb; text-decoration: none; }
footer a:hover { color: #fff; }

/* ----------------------------------------------------------------- 404 */
.notfound { text-align: center; padding: 110px 0 120px; }
.notfound h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.notfound p { color: var(--muted); max-width: 46ch; margin-left: auto; margin-right: auto; }

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero { padding: 60px 0 56px; }
  .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
