/* Niagara Exterior Wash — clean, modern, blue-forward */

:root {
  --navy-900: #07203f;
  --navy-800: #0d2c5a;
  --navy-700: #143a73;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --cyan-100: #cffafe;
  --accent-500: #f59e0b;
  --slate-900: #0b1220;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --bg: #f3f8ff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(7, 32, 63, 0.06);
  --shadow-md: 0 10px 30px rgba(7, 32, 63, 0.12);
  --shadow-lg: 0 22px 60px rgba(6, 182, 212, 0.22);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--navy-800); }

h1, h2, h3 { color: var(--navy-900); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--slate-700); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--navy-900); color: white; padding: .5rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(15, 42, 82, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (min-width: 540px) { .header-inner { padding: 0.85rem 1.5rem; gap: 1rem; } }
.wordmark { display: flex; align-items: center; gap: 0.65rem; color: var(--navy-900); }
.wordmark-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--cyan-400) 0%, var(--blue-600) 55%, var(--navy-800) 100%);
  color: white;
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}
.wordmark-text { display: flex; flex-direction: column; line-height: 1.05; font-weight: 700; }
.wordmark-text span:first-child { font-size: 0.78rem; color: var(--slate-500); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.wordmark-text span:last-child { font-size: 1.05rem; color: var(--navy-900); letter-spacing: -0.01em; }

.primary-nav { display: none; gap: 1.75rem; }
.primary-nav a {
  color: var(--slate-700); font-weight: 500; font-size: 0.95rem;
  position: relative;
}
.primary-nav a:hover { color: var(--navy-900); }
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--blue-500);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.primary-nav a:hover::after { transform: scaleX(1); }

/* Mobile menu */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(7, 32, 63, 0.12);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 9px;
  transition: background .2s ease, border-color .2s ease;
}
.nav-toggle:hover { background: rgba(34, 211, 238, 0.08); border-color: rgba(6, 182, 212, 0.35); }
.nav-toggle-bar {
  display: block; height: 2px; width: 100%;
  background: var(--navy-900); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.site-header.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 820px) {
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 819.98px) {
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: flex; flex-direction: column; gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(7, 32, 63, 0.08);
    box-shadow: 0 12px 24px rgba(7, 32, 63, 0.08);
    padding: 0.5rem 1rem 1rem;
    max-height: 0; overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .25s ease, opacity .2s ease, padding .25s ease;
  }
  .site-header.nav-open .primary-nav {
    max-height: 80vh; opacity: 1; pointer-events: auto;
  }
  .primary-nav a {
    padding: 0.85rem 0.4rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(7, 32, 63, 0.06);
  }
  .primary-nav a:last-child { border-bottom: none; }
  .primary-nav a::after { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan-500) 0%, var(--blue-600) 60%, var(--navy-800) 100%);
  color: white;
  box-shadow: 0 8px 22px rgba(6, 182, 212, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(6, 182, 212, 0.42);
  color: white;
}
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(15, 42, 82, 0.2);
}
.btn-ghost:hover { background: var(--white); border-color: var(--navy-900); color: var(--navy-900); }
.header-cta { display: none; }
@media (min-width: 540px) { .header-cta { display: inline-flex; } }

.header-actions { display: flex; align-items: center; gap: 0.85rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-100), var(--blue-100));
  border: 1px solid rgba(6, 182, 212, 0.25);
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.header-phone svg { width: 16px; height: 16px; color: var(--cyan-500); }
.header-phone span { display: none; }
.header-phone:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(6, 182, 212, 0.25); color: var(--navy-900); }
@media (min-width: 720px) { .header-phone span { display: inline; } }

/* Hero */
.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(34, 211, 238, 0.28), transparent 60%),
    radial-gradient(900px 540px at -10% 25%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(700px 400px at 60% 110%, rgba(6, 182, 212, 0.14), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 42, 82, 0.12), transparent);
}
.hero-inner { max-width: 820px; }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-700);
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(90deg, var(--cyan-100) 0%, var(--blue-100) 100%);
  border-radius: 999px;
}
.eyebrow-light { background: rgba(34, 211, 238, 0.16); color: var(--cyan-300); }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--slate-700);
  max-width: 640px;
  margin-top: 1rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-trust {
  list-style: none; padding: 0; margin: 3rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  border-top: 1px solid rgba(15, 42, 82, 0.08);
  padding-top: 1.5rem;
  max-width: 640px;
}
.hero-trust li { color: var(--slate-700); font-size: 0.95rem; }
.hero-trust strong { display: block; font-size: 1.6rem; color: var(--navy-900); font-weight: 800; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: white; border-top: 1px solid rgba(15, 42, 82, 0.06); border-bottom: 1px solid rgba(15, 42, 82, 0.06); }
.section-dark {
  background:
    radial-gradient(900px 500px at 110% -10%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(37, 99, 235, 0.22), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #cfe1ff;
}
.section-dark h2 { color: white; }
.section-dark p { color: #b9cef0; }
.section-dark .section-sub { color: #b9cef0; }

.section-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .section-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; }
}
.section-head .eyebrow { margin-bottom: 0.75rem; }
.section-head.center { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-sub { color: var(--slate-500); font-size: 1rem; margin-top: 0.5rem; }

/* Services */
.services-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: white;
  border: 1px solid rgba(15, 42, 82, 0.08);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(6, 182, 212, 0.18);
  border-color: rgba(6, 182, 212, 0.45);
}
.service-icon {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-100), var(--blue-100));
  color: var(--blue-700);
  margin-bottom: 1rem;
  box-shadow: inset 0 0 0 1px rgba(6, 182, 212, 0.18);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { margin-bottom: 0.4rem; }
.service-card p { font-size: 0.95rem; color: var(--slate-700); margin-bottom: 0; }

/* Service area */
.area-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.area-grid li {
  background: white;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 42, 82, 0.08);
  font-weight: 500;
  color: var(--navy-900);
  display: flex; align-items: center; gap: 0.55rem;
}
.area-grid li::before {
  content: ''; width: 9px; height: 9px;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-600));
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: white;
  border: 1px solid rgba(15, 42, 82, 0.08);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: rgba(6, 182, 212, 0.45); box-shadow: 0 10px 26px rgba(6, 182, 212, 0.14); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cyan-500);
  transition: transform .2s ease;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin: 0;
  padding: 0 1.3rem 1.2rem;
  color: var(--slate-700);
  font-size: 0.97rem;
}

/* Contact */
.contact-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}
@media (min-width: 620px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.contact-card {
  display: flex; flex-direction: column; gap: 0.3rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius-md);
  color: white;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  min-width: 0;
}
.contact-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-2px);
  color: white;
}
.contact-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #9ec1ee; }
.contact-value { font-size: 1.15rem; font-weight: 700; color: white; overflow-wrap: anywhere; }
.contact-card[href^="tel:"] .contact-value { white-space: nowrap; }
.contact-meta { font-size: 0.88rem; color: #b9cef0; }

/* Footer */
.site-footer {
  background: var(--slate-100);
  border-top: 1px solid rgba(15, 42, 82, 0.08);
  padding: 2rem 0;
}
.footer-inner {
  display: flex; flex-direction: column; gap: 1rem;
  align-items: flex-start; justify-content: space-between;
}
@media (min-width: 720px) { .footer-inner { flex-direction: row; align-items: center; } }
.footer-brand { display: flex; align-items: center; gap: 0.85rem; }
.footer-name { margin: 0; font-weight: 700; color: var(--navy-900); }
.footer-meta { margin: 0; font-size: 0.88rem; color: var(--slate-500); }
.footer-copy { margin: 0; font-size: 0.88rem; color: var(--slate-500); }
