/* Everflow Plumbing legacy domain — one-page bridge site */
:root {
  --navy: #0c1e3c;
  --navy-mid: #152a52;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --cta: #f59e0b;
  --cta-hover: #d97706;
  --text: #1e293b;
  --muted: #64748b;
  --surface: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(12, 30, 60, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

header.hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 55%, #0f2847 100%);
  color: #f1f5f9;
  padding: 2.5rem 1.25rem 3.5rem;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: #cbd5e1;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 2px;
}

.btn-primary {
  background: var(--cta);
  color: #0f172a;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: var(--cta-hover);
  color: #0f172a;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #e2e8f0;
  border: 2px solid rgba(226, 232, 240, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

main {
  max-width: 960px;
  margin: -2rem auto 0;
  padding: 0 1.25rem 3rem;
  position: relative;
}

.notice-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.notice-card p {
  margin: 0 0 1rem;
}

.notice-card p:last-child {
  margin-bottom: 0;
}

.notice-card strong {
  color: var(--navy);
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 65ch;
}

.services-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.service-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  color: var(--navy-mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-block h2::before {
  content: "";
  width: 4px;
  height: 1.25rem;
  background: var(--accent);
  border-radius: 2px;
}

.service-block ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
}

.service-block li {
  margin-bottom: 0.35rem;
}

.service-block li:last-child {
  margin-bottom: 0;
}

.trust-strip {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  font-size: 0.9375rem;
  color: var(--muted);
}

.trust-strip li {
  position: relative;
}

.trust-strip li:not(:last-child)::after {
  content: "·";
  margin-left: 1.5rem;
  color: var(--border);
}

@media (max-width: 639px) {
  .trust-strip li:not(:last-child)::after {
    display: none;
  }
}

footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.9375rem;
}

footer a {
  color: #e2e8f0;
}

footer a:hover {
  color: #fff;
}

footer p {
  margin: 0.35rem 0;
}

.footer-brand {
  color: #f1f5f9;
  font-weight: 600;
}
