/* ==========================================================================
   Long Island Flood & Water Damage Cleanup — design system
   Ink navy / marine blue / hazard rust, gauge & wave motifs, no stock photos
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  --ink: #0B1F33;
  --marine: #1B4965;
  --marine-light: #2E6180;
  --tide: #E7EDF0;
  --tide-deep: #CCD9DF;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --rust: #C1440E;
  --rust-dark: #9B360A;
  --amber: #E8A23C;
  --line: rgba(11,31,51,0.14);
  --text: #16283A;
  --text-soft: #4A5D6E;
  --radius: 3px;
  --measure: 66ch;
  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.02;
  margin: 0 0 0.4em;
  letter-spacing: 0.002em;
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
p { margin: 0 0 1em; max-width: var(--measure); color: var(--text-soft); }
p.lede { font-size: 1.18rem; color: var(--text); max-width: 58ch; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--rust);
  letter-spacing: 0.04em;
  margin: 0 0 0.6em;
  display: block;
}
.measure { max-width: var(--measure); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--rust); color: var(--white); }
.btn-primary:hover { background: var(--rust-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--tide);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: var(--amber); text-decoration: none; }
.topbar .placeholder { color: #8AA0B0; font-style: italic; }

/* ---------- header / nav ---------- */
header.site-header {
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand small {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.62rem;
  color: var(--amber);
  letter-spacing: 0.08em;
}
nav.primary-nav { display: flex; gap: 26px; align-items: center; }
nav.primary-nav a {
  color: var(--tide);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
nav.primary-nav a:hover { color: var(--amber); }
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-phone {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.86rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-phone span { color: var(--amber); white-space: nowrap; }
@media (max-width: 1180px) {
  .nav-phone span { display: none; }
}
@media (max-width: 880px) {
  nav.primary-nav { display: none; }
}

/* ---------- gauge / wave motifs (svg) ---------- */
.gauge-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--rust);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.gauge-rule::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--rust);
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(rgba(11,31,51,0.72), rgba(11,31,51,0.8)), url('/images/hero-crew-2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { color: var(--white); margin-bottom: 0.3em; }
.hero .rust-word { color: var(--amber); }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 30px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #B7C6D2;
}
.hero-badges b { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 0.85rem; color: #93A6B5; max-width: 46ch; }
.hero-gauge-wrap { display: none; }
.hero-photo { display: none; }

/* ---------- section shells ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-alt { background: var(--tide); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-ink p { color: #AEC0CD; }
.section-head { max-width: 640px; margin-bottom: 40px; }

/* ---------- strip stats ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip > div {
  padding: 22px 20px;
  border-left: 1px solid var(--line);
}
.strip > div:first-child { border-left: none; }
.strip .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--rust);
  display: block;
  line-height: 1;
}
.strip .label {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 4px;
}
@media (max-width: 760px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip > div:nth-child(3) { border-left: none; }
}

/* ---------- cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; margin-bottom: 12px; }
.card a.card-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--rust);
  text-decoration: none;
  font-weight: 500;
}
.card a.card-link:hover { text-decoration: underline; }
.card .icon { margin-bottom: 14px; }

/* service tile with rust top border */
.service-tile {
  border-top: 3px solid var(--rust);
  background: var(--white);
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--rust);
}

/* ---------- numbered steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step {
  padding: 26px 22px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step:first-child { border-left: none; }
.step .step-num {
  font-family: var(--font-mono);
  color: var(--rust);
  font-size: 0.8rem;
  margin-bottom: 10px;
  display: block;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none !important; }
}

/* ---------- table ---------- */
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 20px 0 8px;
}
table.data th, table.data td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
table.data th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  text-transform: uppercase;
  font-weight: 500;
}
table.data td.num { font-family: var(--font-mono); color: var(--ink); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.faq-item p { font-size: 0.95rem; margin-bottom: 0; }

/* ---------- callout box ---------- */
.callout {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 24px 0;
}
.callout.warn { border-left-color: var(--amber); }
.callout p { margin: 0; font-size: 0.94rem; }
.callout ul { margin: 8px 0 0; padding-left: 20px; }
.callout li { font-size: 0.94rem; color: var(--text-soft); margin-bottom: 6px; }

/* ---------- breadcrumb ---------- */
.crumb {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-soft);
  padding: 16px 0 0;
}
.crumb a { color: var(--marine); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--rust);
  color: var(--white);
  padding: 52px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.86); }
.cta-band-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--ink); }
.cta-band .btn-primary:hover { background: #061320; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 46px 0 54px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4vw, 3.1rem); }
.page-hero p.lede { color: #B7C6D2; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  border: 1px solid rgba(255,255,255,0.3);
  color: #D8E3EA;
  padding: 5px 10px;
  border-radius: 20px;
}

/* ---------- risk badge ---------- */
.risk {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 500;
}
.risk-critical { background: #FBE2D6; color: var(--rust-dark); }
.risk-high { background: #FBEBCF; color: #8A5A0A; }
.risk-elevated { background: #E7EDF0; color: var(--marine); }

/* ---------- footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: #9BAFBE;
  padding: 56px 0 24px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #9BAFBE; text-decoration: none; font-size: 0.88rem; }
.footer-grid a:hover { color: var(--amber); }
.footer-brand { color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; display: block; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal a { color: #9BAFBE; text-decoration: none; margin-right: 16px; }
.badge-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(232,162,60,0.12);
  color: var(--amber);
  border: 1px dashed rgba(232,162,60,0.5);
  padding: 2px 8px;
  border-radius: 3px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- misc ---------- */
.divider-wave { height: 44px; }
.list-check { list-style: none; padding: 0; margin: 18px 0; }
.list-check li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: var(--rust);
}
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .cols-2 { grid-template-columns: 1fr; } }

.note-placeholder {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--rust);
}
