/* ============================================================================
   GLOBAL FIRE SYSTEMS — Critical Infrastructure Fire Protection
   Houston, TX. Industrial / authoritative / technical.
   Brand: forest green + olive accent + burnt-ember urgency.
   Structural scale (shadows, radii, spacing) borrowed from Global Gate DS.
   ========================================================================== */

:root {
  /* ----- BRAND CORE ----- */
  --forest:      #2d5016;   /* primary dark forest green — logo, headings, dark sections */
  --forest-deep: #1c330d;   /* darker forest — hero base, footer */
  --forest-ink:  #11210a;   /* near-black green — deepest backgrounds */
  --olive:       #4a7c2f;   /* accent olive green — links, highlights, icons */
  --olive-soft:  #6b9e4a;   /* lighter olive for on-dark accents */
  --ember:       #b03a2e;   /* burnt-orange/red — urgency, emergency, CTA sparingly */
  --ember-dark:  #8f2c22;   /* pressed ember */

  /* ----- NEUTRALS ----- */
  --ink:    #1c2417;   /* darkest text */
  --text:   #3a4433;   /* body text */
  --text-2: #5b6651;   /* secondary text */
  --muted:  #828c78;   /* tertiary / captions */
  --line:   #e2e6dc;   /* borders / dividers */
  --line-2: #eef1ea;   /* hairline dividers */
  --paper:  #ffffff;
  --mist:   #f4f6f1;   /* light gray-green section bg */
  --mist-2: #eaeee3;   /* slightly deeper mist */

  /* on-dark text */
  --on-dark:    #f3f6ee;
  --on-dark-2:  #c3cdb6;
  --on-dark-3:  #8ca078;

  /* ----- ELEVATION ----- */
  --shadow-card:  0 8px 24px 0 rgba(40,55,25,0.10);
  --shadow-soft:  0 8px 16px 0 rgba(20,30,10,0.06);
  --shadow-lift:  0 18px 40px 0 rgba(28,51,13,0.16);
  --shadow-ember: 0 10px 24px 0 rgba(176,58,46,0.28);

  /* ----- RADII ----- */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 999px;

  /* ----- SPACING (4px base) ----- */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;

  --gutter: clamp(20px, 5vw, 48px);
  --maxw: 1240px;

  /* ----- TYPE ----- */
  --serif: "Spectral", "Georgia", "Times New Roman", serif;
  --sans:  "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ============================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; border-radius: 2px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  margin: 0 0 var(--s4);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--ember);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--olive-soft); }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--mist { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: var(--s12); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-head p { margin-top: var(--s5); color: var(--text-2); font-size: 1.075rem; }

/* ============================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  padding: 14px 26px; border-radius: var(--r-xs); border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--forest); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--olive); box-shadow: var(--shadow-card); }
.btn--ember { background: var(--ember); color: #fff; box-shadow: var(--shadow-ember); }
.btn--ember:hover { background: var(--ember-dark); }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--line); }
.btn--outline:hover { border-color: var(--forest); background: var(--paper); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* ============================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(40,55,25,0.07); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: var(--s6); height: 76px; }
.brand { display: flex; align-items: center; gap: var(--s3); flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand__logo { height: 67px; width: auto; display: block; }
.footer .brand__logo { height: 52px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--forest); letter-spacing: -0.01em; }
.brand__tag { font-family: var(--sans); font-weight: 600; font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: clamp(22px, 2.4vw, 40px); margin-left: var(--s8); flex-wrap: nowrap; }
.nav__links a {
  font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--text);
  position: relative; padding: 6px 0; transition: color .18s ease; white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--olive); transition: width .22s ease;
}
.nav__links a:hover { color: var(--forest); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--forest); }

.nav__right { display: flex; align-items: center; gap: var(--s5); margin-left: auto; }
.nav__phone { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 700; font-size: 15px; color: var(--forest); white-space: nowrap; line-height: 1.2; }
.nav__phone svg { width: 17px; height: 17px; color: var(--ember); flex-shrink: 0; }
.nav__phone span.label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

.nav__toggle {
  display: none; background: none; border: none; padding: 8px;
  color: var(--forest);
}
.nav__toggle svg { width: 28px; height: 28px; }

/* mobile drawer */
.nav__drawer {
  display: none;
  position: fixed; inset: 76px 0 auto 0; z-index: 99;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: var(--s5) var(--gutter) var(--s8);
  flex-direction: column; gap: var(--s2);
}
.nav__drawer.open { display: flex; }
.nav__drawer a:not(.btn):not(.nav__phone) { font-weight: 600; font-size: 17px; color: var(--text); padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.nav__drawer .btn { margin-top: var(--s4); color: #fff; }
.nav__drawer .nav__phone { margin-top: var(--s5); color: var(--forest); }

/* ============================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(74,124,47,0.28) 0%, transparent 55%),
    radial-gradient(90% 120% at 0% 110%, rgba(176,58,46,0.16) 0%, transparent 50%),
    linear-gradient(160deg, var(--forest-deep) 0%, var(--forest-ink) 100%);
  color: var(--on-dark);
}
.hero__texture {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 60% 0%, #000 30%, transparent 80%);
}
.hero__hazard {
  position: absolute; right: -6%; top: -10%; width: 60%; height: 130%;
  opacity: 0.06; pointer-events: none;
  background: repeating-linear-gradient(135deg, var(--ember) 0 22px, transparent 22px 64px);
  mask-image: radial-gradient(70% 70% at 80% 30%, #000, transparent 75%);
}

/* Detection radar sweep — security motif, very subtle */
.hero__sweep {
  position: absolute; top: 50%; left: 72%; width: 1100px; height: 1100px;
  transform: translate(-50%, -50%); pointer-events: none; z-index: 1;
  border-radius: 50%; opacity: 0.5;
  background: conic-gradient(from 0deg,
    rgba(107,158,74,0.16) 0deg,
    rgba(107,158,74,0.05) 26deg,
    transparent 60deg,
    transparent 360deg);
  mask-image: radial-gradient(closest-side, #000 30%, rgba(0,0,0,0.5) 62%, transparent 78%);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, rgba(0,0,0,0.5) 62%, transparent 78%);
  animation: hero-sweep 14s linear infinite;
}
.hero__sweep::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 28%, rgba(107,158,74,0.07) 28.4%, transparent 29%) ,
    radial-gradient(circle, transparent 0 46%, rgba(107,158,74,0.06) 46.4%, transparent 47%),
    radial-gradient(circle, transparent 0 64%, rgba(107,158,74,0.05) 64.4%, transparent 65%);
}
@keyframes hero-sweep { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Rising embers — fire motif, faint drifting sparks */
.hero__embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero__embers span {
  position: absolute; bottom: -16px; width: 3px; height: 3px; border-radius: 50%;
  background: var(--ember); opacity: 0; filter: blur(0.4px);
  box-shadow: 0 0 6px 1px rgba(176,58,46,0.6);
  animation: ember-rise linear infinite;
}
.hero__embers span:nth-child(1)  { left: 8%;  animation-duration: 11s; animation-delay: 0s;   }
.hero__embers span:nth-child(2)  { left: 16%; animation-duration: 14s; animation-delay: 3s;   width: 2px; height: 2px; }
.hero__embers span:nth-child(3)  { left: 24%; animation-duration: 9s;  animation-delay: 1.5s; }
.hero__embers span:nth-child(4)  { left: 33%; animation-duration: 13s; animation-delay: 5s;   width: 2px; height: 2px; }
.hero__embers span:nth-child(5)  { left: 41%; animation-duration: 10s; animation-delay: 2s;   }
.hero__embers span:nth-child(6)  { left: 49%; animation-duration: 15s; animation-delay: 6.5s; width: 2px; height: 2px; }
.hero__embers span:nth-child(7)  { left: 57%; animation-duration: 12s; animation-delay: 0.8s; }
.hero__embers span:nth-child(8)  { left: 64%; animation-duration: 9.5s;animation-delay: 4s;   width: 2px; height: 2px; }
.hero__embers span:nth-child(9)  { left: 72%; animation-duration: 13.5s;animation-delay: 7s;  }
.hero__embers span:nth-child(10) { left: 80%; animation-duration: 11.5s;animation-delay: 2.6s;width: 2px; height: 2px; }
.hero__embers span:nth-child(11) { left: 88%; animation-duration: 10.5s;animation-delay: 5.5s;}
.hero__embers span:nth-child(12) { left: 94%; animation-duration: 14.5s;animation-delay: 1.2s;width: 2px; height: 2px; }
@keyframes ember-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.5; }
  50%  { transform: translateY(-46vh) translateX(10px); opacity: 0.32; }
  90%  { opacity: 0.12; }
  100% { transform: translateY(-88vh) translateX(-6px); opacity: 0; }
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(72px, 11vw, 132px); max-width: 880px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: 13px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--on-dark-2);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px; border-radius: var(--r-pill); margin-bottom: var(--s8);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(176,58,46,0.25); }
.hero h1 {
  color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.05; letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero h1 .accent { color: var(--olive-soft); }
.hero__sub { margin-top: var(--s8); font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--on-dark-2); max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s10); }
.hero__badges {
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s10); margin-top: var(--s12);
  padding-top: var(--s8); border-top: 1px solid rgba(255,255,255,0.12);
}
.trust { display: inline-flex; align-items: center; gap: var(--s3); font-size: 15px; font-weight: 600; color: var(--on-dark); }
.trust svg { width: 20px; height: 20px; color: var(--olive-soft); flex-shrink: 0; }

/* ============================================================================
   INTRO / WHO WE ARE
   ========================================================================== */
.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.intro__copy .lead { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-family: var(--serif); color: var(--ink); line-height: 1.4; font-weight: 500; }
.intro__copy p.body { margin-top: var(--s5); color: var(--text-2); font-size: 1.05rem; }
.intro__copy .btn { margin-top: var(--s8); }
.stat-cards { display: grid; gap: var(--s5); }
.stat-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s8); box-shadow: var(--shadow-card);
  display: grid; grid-template-columns: auto 1fr; gap: var(--s5); align-items: center;
}
.stat-card__ico {
  width: 54px; height: 54px; border-radius: var(--r-md); flex-shrink: 0;
  display: grid; place-items: center; background: var(--mist); color: var(--forest);
}
.stat-card__ico svg { width: 26px; height: 26px; }
.stat-card__num { font-family: var(--serif); font-weight: 700; font-size: 2rem; color: var(--forest); line-height: 1; }
.stat-card__label { font-size: 0.98rem; color: var(--text-2); margin-top: 4px; font-weight: 600; }

/* ============================================================================
   WHAT WE PROTECT — grid of feature cards
   ========================================================================== */
.protect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.pcard {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s10) var(--s8) var(--s8); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--forest), var(--olive));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.pcard:hover::before { transform: scaleX(1); }
.pcard__ico {
  width: 58px; height: 58px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--mist); color: var(--forest); margin-bottom: var(--s6);
  transition: background .22s ease, color .22s ease;
}
.pcard:hover .pcard__ico { background: var(--forest); color: #fff; }
.pcard__ico svg { width: 28px; height: 28px; }
.pcard h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pcard__abbr { color: var(--olive); font-weight: 700; }
.pcard p { color: var(--text-2); font-size: 1rem; margin-top: var(--s3); }

/* ============================================================================
   SHOWCASE / CUTAWAY
   ========================================================================== */
.showcase { background: linear-gradient(170deg, var(--forest-deep) 0%, var(--forest-ink) 100%); color: var(--on-dark); position: relative; overflow: hidden; }
.showcase::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(100% 100% at 0% 0%, #000, transparent 70%);
}
.showcase__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.showcase .section-title { color: #fff; }
.showcase__intro p { color: var(--on-dark-2); margin-top: var(--s5); font-size: 1.08rem; }
.showcase__intro p strong { color: var(--olive-soft); font-weight: 700; }
.showcase__chips { list-style: none; margin: var(--s8) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s3); }
.showcase__chips li {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: 14px; font-weight: 600; color: var(--on-dark);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  padding: 9px 15px; border-radius: var(--r-pill);
}
.showcase__chips svg { width: 17px; height: 17px; color: var(--ember); }
.showcase__figure { margin: 0; background: var(--paper); border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow-lift); border: 1px solid rgba(255,255,255,0.1); }
.showcase__figure img { width: 100%; height: auto; border-radius: var(--r-sm); }
.showcase__figure figcaption { margin-top: var(--s4); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-2); text-align: center; }

/* ============================================================================
   SERVICES — horizontal cards
   ========================================================================== */
.services { display: grid; gap: var(--s5); }
.svc {
  display: grid; grid-template-columns: 72px 1fr auto; gap: var(--s8); align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s8) var(--s10); box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc:hover { transform: translateX(6px); box-shadow: var(--shadow-card); border-color: var(--olive); }
.svc__ico {
  width: 72px; height: 72px; border-radius: var(--r-md); flex-shrink: 0;
  display: grid; place-items: center; background: var(--mist); color: var(--forest);
  transition: background .2s ease, color .2s ease;
}
.svc:hover .svc__ico { background: var(--forest); color: #fff; }
.svc__ico svg { width: 32px; height: 32px; }
.svc__body h3 { font-size: 1.35rem; }
.svc__body p { color: var(--text-2); margin-top: 6px; font-size: 1.02rem; max-width: 70ch; }
.svc__num { font-family: var(--serif); font-weight: 700; font-size: 2.8rem; color: var(--mist-2); line-height: 1; letter-spacing: 0.01em; }

/* ============================================================================
   ADVANTAGE — dark green section
   ========================================================================== */
.advantage { background: linear-gradient(165deg, var(--forest) 0%, var(--forest-deep) 100%); color: var(--on-dark); position: relative; overflow: hidden; }
.advantage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(100% 100% at 100% 0%, #000, transparent 70%);
}
.advantage .section-title { color: #fff; }
.advantage .section-head p { color: var(--on-dark-2); }
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s10) var(--s12); position: relative; z-index: 2; }
.adv {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s6); align-items: start;
  padding-top: var(--s6); border-top: 1px solid rgba(255,255,255,0.14);
}
.adv__ico { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: var(--olive-soft); flex-shrink: 0; }
.adv__ico svg { width: 26px; height: 26px; }
.adv h3 { color: #fff; font-size: 1.3rem; }
.adv p { color: var(--on-dark-2); margin-top: var(--s3); font-size: 1.02rem; }

/* ============================================================================
   INDUSTRIES — icon cards row
   ========================================================================== */
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s5); }
.ind {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s4);
  padding: var(--s8) var(--s4); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ind:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--olive); }
.ind__ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--forest); }
.ind__ico svg { width: 27px; height: 27px; }
.ind span { font-weight: 700; font-size: 0.95rem; color: var(--ink); line-height: 1.3; }

/* ============================================================================
   EMERGENCY BANNER
   ========================================================================== */
.emergency { background: linear-gradient(120deg, var(--ember) 0%, var(--ember-dark) 100%); color: #fff; position: relative; overflow: hidden; }
.emergency__stripes { position: absolute; inset: 0; opacity: 0.12; background: repeating-linear-gradient(135deg, #000 0 18px, transparent 18px 46px); pointer-events: none; }
.emergency__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: var(--s10); flex-wrap: wrap; padding-block: clamp(40px, 6vw, 64px); }
.emergency__left { display: flex; align-items: center; gap: var(--s8); }
.emergency__pulse { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.15); flex-shrink: 0; }
.emergency__pulse svg { width: 32px; height: 32px; }
.emergency__label { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.82); }
.emergency h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 4px; }
.emergency__phone { display: flex; align-items: center; gap: var(--s5); }
.emergency__num { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; white-space: nowrap; }
.emergency .btn--white { background: #fff; color: var(--ember); }
.emergency .btn--white:hover { background: var(--forest-ink); color: #fff; }

@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5);} 70% { box-shadow: 0 0 0 18px rgba(255,255,255,0);} 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0);} }
.emergency__pulse { animation: pulse-ring 2.4s ease-out infinite; }

/* ============================================================================
   CONTACT
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__info .lead { font-size: 1.1rem; color: var(--text-2); margin-top: var(--s5); margin-bottom: var(--s8); }
.cinfo { display: grid; gap: var(--s5); }
.cinfo__row { display: grid; grid-template-columns: auto 1fr; gap: var(--s5); align-items: center; padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.cinfo__ico { width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--forest); color: #fff; flex-shrink: 0; }
.cinfo__ico svg { width: 22px; height: 22px; }
.cinfo__k { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cinfo__v { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.cinfo__v a:hover { color: var(--olive); }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.field { display: flex; flex-direction: column; gap: var(--s2); }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--sans); font-weight: 700; font-size: 13px; color: var(--ink); letter-spacing: 0.02em; }
.field label .req { color: var(--ember); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink); line-height: 1.4;
  background: var(--mist); border: 1.5px solid var(--line); border-radius: var(--r-xs);
  padding: 13px 15px; width: 100%; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  height: 50px; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235b6651' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input { height: 50px; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { color: var(--ink); }
.field select:invalid { color: var(--muted); }
.field select option { color: var(--ink); }
.field select option[value=""] { color: var(--muted); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); background: #fff; box-shadow: 0 0 0 3px rgba(74,124,47,0.12); }
.field.error input, .field.error select, .field.error textarea { border-color: var(--ember); background: #fdf4f3; }
.field__err { font-size: 12.5px; color: var(--ember); font-weight: 600; min-height: 0; display: none; }
.field.error .field__err { display: block; }
.form-card .btn { margin-top: var(--s3); }
.form-note { font-size: 13px; color: var(--muted); margin-top: var(--s4); }
.form-success {
  display: none; align-items: center; gap: var(--s4);
  background: #eef6e7; border: 1.5px solid var(--olive); color: var(--forest);
  border-radius: var(--r-md); padding: var(--s6); font-weight: 600;
}
.form-success.show { display: flex; }
.form-success svg { width: 26px; height: 26px; color: var(--olive); flex-shrink: 0; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--forest-ink); color: var(--on-dark-2); padding-top: clamp(56px, 8vw, 88px); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); padding-bottom: var(--s16); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .brand__name { color: #fff; }
.footer__brand { display: inline-flex; }
.footer .brand__tag { color: var(--on-dark-3); }
.footer__about { margin-top: var(--s6); max-width: 38ch; color: var(--on-dark-3); font-size: 0.98rem; }
.footer__tagline { margin-top: var(--s6); font-family: var(--serif); font-size: 1.15rem; color: var(--olive-soft); max-width: 30ch; line-height: 1.4; }
.footer__col h4 { color: #fff; font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--s6); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.footer__col a, .footer__col li { color: var(--on-dark-2); font-size: 0.98rem; transition: color .18s ease; }
.footer__col a:hover { color: var(--olive-soft); }
.footer__col .cline { display: flex; align-items: center; gap: var(--s3); }
.footer__col .cline svg { width: 16px; height: 16px; color: var(--olive-soft); flex-shrink: 0; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; padding-block: var(--s8); color: var(--on-dark-3); font-size: 14px; }
.footer__bottom .socials { display: flex; gap: var(--s3); }
.footer__bottom .socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); display: grid; place-items: center; color: var(--on-dark-2); }
.footer__bottom .socials a:hover { border-color: var(--olive-soft); color: var(--olive-soft); }
.footer__bottom .socials svg { width: 18px; height: 18px; }

/* ============================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .emergency__pulse { animation: none; } .hero__sweep, .hero__embers span { animation: none; } .hero__embers { display: none; } html { scroll-behavior: auto; } }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .protect-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .nav__links, .nav__right .nav__phone, .nav__right .btn { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 860px) {
  .intro__grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .contact__grid { grid-template-columns: 1fr; }
  .showcase__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s10); }
  .footer__brandcol { grid-column: 1 / -1; }
  .svc { grid-template-columns: 56px 1fr; gap: var(--s5); padding: var(--s6) var(--s6); }
  .svc__ico { width: 56px; height: 56px; }
  .svc__ico svg { width: 26px; height: 26px; }
  .svc__num { display: none; }
  .emergency__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .protect-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .emergency__left { flex-direction: row; }
  .hero__badges { gap: var(--s4); }
}
