/* Operation Restoration — landing page
   Brand: blue #2B70B8 (water) + red #E1251B (fire), Gotham → Montserrat substitute. */

:root {
  --blue: #2B70B8;
  --blue-dark: #1f5a96;
  --blue-tint: #eaf2fa;
  --red: #e1251b;
  --red-dark: #b81c14;
  --ink: #161616;
  --gray: #5b6066;
  --line: #e3e6ea;
  --light: #f5f7f9;
  --white: #ffffff;
  --shadow: 0 8px 28px rgba(22, 22, 22, 0.10);
  --radius: 10px;
  --wrap: 1180px;
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
h2.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); text-align: center; }
.section-sub { text-align: center; color: var(--gray); max-width: 640px; margin: 14px auto 0; font-size: 1.05rem; }

section { padding: 72px 0; }
.eyebrow { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.02rem; padding: 14px 26px;
  border-radius: var(--radius); transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  border: 2px solid transparent; cursor: pointer; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(225, 37, 27, 0.35); }
.btn-red:hover { background: var(--red-dark); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(43, 112, 184, 0.35); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- emergency top bar ---------- */
.topbar {
  background: var(--ink); color: #fff; font-size: 0.86rem; font-weight: 600;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 14px; }
.topbar .pulse { color: #ffb3ae; }
.topbar a { font-weight: 700; }
.topbar .topbar-right { display: flex; gap: 22px; align-items: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line); transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 18px; }
.brand { display: flex; align-items: center; }
.brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a.navlink { font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.nav a.navlink:hover { color: var(--blue); }
.header-call { display: flex; align-items: center; gap: 16px; }
.header-call .phone-lg { font-weight: 800; font-size: 1.15rem; color: var(--ink); white-space: nowrap; }
.header-call .phone-lg small { display: block; font-size: 0.68rem; font-weight: 600; color: var(--gray); letter-spacing: .08em; text-transform: uppercase; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .25s; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; padding: 0;
  background: linear-gradient(120deg, rgba(15,32,52,.92) 0%, rgba(31,90,150,.82) 100%), url("assets/water-fans.jpg") center/cover no-repeat;
}
.hero .wrap { padding-top: 92px; padding-bottom: 92px; }
.hero-grid { max-width: 760px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.hero h1 .accent { color: #ffd0cc; }
.hero p.lead { font-size: 1.18rem; margin-top: 18px; color: #e7eef6; max-width: 560px; }
.hero .hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.hero .hero-cta .btn { width: 80%; justify-content: center; }
.hero .hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; font-size: 0.95rem; }
.hero .hero-meta div { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.hero .hero-meta .dot { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }

/* ---------- insurance strip ---------- */
.insurers { background: var(--light); padding: 40px 0; }
.insurers p.lead-line { text-align: center; font-weight: 700; color: var(--gray); margin-bottom: 24px; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.insurer-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 38px; }
.insurer-logos img { height: 46px; width: auto; opacity: .72; filter: grayscale(100%); transition: .2s; }
.insurer-logos img:hover { opacity: 1; filter: none; }

/* ---------- about / overview ---------- */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.overview-grid img { border-radius: 14px; box-shadow: var(--shadow); }
.overview-grid h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: 10px; }
.overview-grid p { color: var(--gray); margin-top: 16px; }
.overview-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.overview-cta .btn { width: 50%; justify-content: center; }

/* ---------- features ---------- */
.features { background: var(--blue); color: #fff; }
.features h2.section-title { color: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 46px; }
.feature {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 26px;
}
.feature h3 { margin-top: 0; font-size: 1.18rem; }
.feature p { margin-top: 8px; color: #dbe7f3; font-size: 0.96rem; }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; }
.step { text-align: center; position: relative; }
.step .num {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; font-size: 1.5rem; font-weight: 800;
  border: 2px solid var(--blue);
}
.step h3 { font-size: 1.12rem; }
.step p { color: var(--gray); font-size: 0.94rem; margin-top: 8px; }

/* ---------- services grid ---------- */
.services { background: var(--light); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 22px; transition: .2s; border-top: 4px solid var(--blue);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card.fire { border-top-color: var(--red); }
.service-card h3 { margin-top: 0; font-size: 1.1rem; }
.service-card p { color: var(--gray); font-size: 0.92rem; margin-top: 8px; }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; box-shadow: var(--shadow); }
.testi .stars { color: #f5a623; font-size: 1.05rem; letter-spacing: 2px; }
.testi p { margin-top: 12px; color: #2c2c2c; font-style: italic; }
.testi .who { margin-top: 16px; font-weight: 700; }
.testi .who small { display: block; color: var(--gray); font-weight: 600; font-style: normal; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; text-align: center;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.cta-band p { margin-top: 12px; font-size: 1.1rem; color: #ffe5e3; }
.cta-band .btn { margin-top: 26px; }
.cta-band .btn-white { background: #fff; color: var(--red); }
.cta-band .btn-white:hover { background: #fff5f4; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c8ccd2; padding: 64px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.footer-brand img { height: 70px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 280px; }
.footer-loc { margin-bottom: 16px; }
.footer-loc strong { color: #fff; display: block; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-weight: 700; }
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: #8b919a; }

/* ---------- floating mobile call ---------- */
.fab-call {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  justify-content: center; gap: 10px;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .overview-grid { grid-template-columns: 1fr; }
  .feature-grid, .process-grid, .service-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav, .header-call .phone-lg { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; padding: 18px 22px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
}
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .feature-grid, .process-grid, .service-grid, .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .topbar-right { display: none; }
  .topbar .wrap { justify-content: center; }
  .header-call .btn { display: none; }
  .fab-call { display: flex; }
  body { padding-bottom: 76px; }

  /* hero: full-width, centered CTAs on mobile */
  .hero { text-align: center; }
  .hero-grid { margin-left: auto; margin-right: auto; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-meta { justify-content: center; }

  /* about CTA: full-width, centered on mobile */
  .overview-cta { flex-direction: column; align-items: stretch; }
  .overview-cta .btn { width: 100%; justify-content: center; }
  .overview-cta .phone-lg { text-align: center; width: 100%; }
}
