/* ============================================
   NSM HydroWash — Hybrid Commercial & Residential
   ============================================ */

:root {
  --blue: #0057FF;
  --blue-dark: #0040CC;
  --blue-light: #E8F0FF;
  --dark: #0A0E1A;
  --dark2: #111827;
  --dark3: #1F2937;
  --gray: #6B7280;
  --gray-light: #F3F4F6;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --accent: #00C2FF;
  --green: #10B981;
  --font: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-primary-inv {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary-inv:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-nav {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  transition: background 0.2s;
}
.btn-nav:hover { background: var(--blue-dark); }

/* ============ NAV ============ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,14,26,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { height: 38px; width: auto; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu li a {
  display: block;
  padding: 16px 24px;
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.open { display: flex; }

/* ============ HERO ============ */
#top {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0A0E1A 0%, #001A4D 50%, #0A1628 100%);
  overflow: hidden;
}
#top::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at 60% 40%, rgba(0,87,255,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(0,194,255,0.10) 0%, transparent 50%);
  animation: bgPulse 8s ease-in-out infinite alternate;
}
@keyframes bgPulse { 0% { opacity: 0.7; } 100% { opacity: 1; } }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23g)"/></svg>');
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 24px 80px;
  z-index: 1;
}
.hero-tag {
  display: inline-block;
  background: rgba(0,194,255,0.15);
  color: var(--accent);
  border: 1px solid rgba(0,194,255,0.3);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-content h1 span { color: var(--accent); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-sub strong { color: var(--white); }
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============ TRUST BAR ============ */
#trust-bar { background: var(--blue); padding: 28px 24px; }
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 40px;
  gap: 4px;
}
.trust-num { font-size: 2rem; font-weight: 900; color: var(--white); line-height: 1; }
.trust-label { font-size: 0.78rem; color: rgba(255,255,255,0.8); font-weight: 600; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; }
.trust-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.2); }

/* ============ SECTION SHARED ============ */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 96px 24px; }

.section-label {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--blue-light);
  border-radius: 100px;
}

.section-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--dark);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 680px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ============ COMMERCIAL (DARK) ============ */
#commercial { background: var(--dark); }
#commercial .section-label { background: rgba(0,194,255,0.15); color: var(--accent); }
#commercial h2 { color: var(--white); }
#commercial .section-sub { color: rgba(255,255,255,0.65); }

.commercial-highlight {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, rgba(0,87,255,0.12), rgba(0,194,255,0.06));
  border: 1px solid rgba(0,194,255,0.18);
  border-radius: var(--radius);
  padding: 48px;
  margin-bottom: 56px;
}
.highlight-text h3 { font-size: 1.7rem; font-weight: 800; color: var(--white); margin-bottom: 16px; letter-spacing: -0.5px; }
.highlight-text p { color: rgba(255,255,255,0.72); margin-bottom: 16px; line-height: 1.7; font-size: 1.02rem; }
.highlight-text p:last-of-type { margin-bottom: 28px; }
.highlight-text strong { color: var(--accent); }

.jib-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(0,194,255,0.25);
  border-radius: var(--radius);
  padding: 32px 40px;
  text-align: center;
  color: var(--white);
  white-space: nowrap;
}
.jib-icon { font-size: 2.8rem; }
.jib-badge span { font-size: 0.82rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.jib-badge strong { font-size: 1.4rem; font-weight: 900; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, background 0.2s;
}
.service-card:hover { border-color: rgba(0,194,255,0.3); background: rgba(0,194,255,0.05); }
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.service-card p { color: rgba(255,255,255,0.58); font-size: 0.93rem; line-height: 1.65; }

.commercial-cta {
  text-align: center;
  background: var(--blue);
  border-radius: var(--radius);
  padding: 60px 40px;
}
.commercial-cta h3 { font-size: 1.9rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.commercial-cta p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 1.02rem; }

/* ============ RESIDENTIAL (LIGHT) ============ */
#residential { background: var(--gray-light); }
#residential .res-label { background: #E8F5E8; color: #1a7a2e; }

.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.res-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.res-icon { font-size: 2rem; margin-bottom: 16px; }
.res-card h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.res-card p { color: var(--gray); font-size: 0.93rem; line-height: 1.65; }

.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.area-tags span {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

/* ============ REVIEWS ============ */
#reviews { background: var(--white); }
#reviews .rev-label { background: #FFF8E8; color: #a07000; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 4px solid var(--blue);
}
.stars { color: #F59E0B; font-size: 1.2rem; margin-bottom: 16px; }
.review-card p { color: var(--dark); font-size: 0.93rem; line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.reviewer { font-weight: 700; color: var(--blue); font-size: 0.88rem; }

/* ============ CONTACT ============ */
#contact { background: var(--dark2); }
#contact .contact-label { background: rgba(0,194,255,0.15); color: var(--accent); }
#contact h2 { color: var(--white); }
#contact .section-sub { color: rgba(255,255,255,0.65); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.form-group.full { }
.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 0.97rem;
  font-family: var(--font);
  color: var(--dark);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit { width: 100%; font-size: 1.05rem; padding: 16px; margin-top: 4px; }
.form-note { font-size: 0.82rem; color: var(--gray); text-align: center; margin-top: 12px; }
.form-note a { color: var(--blue); }

.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.contact-card h3 { color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.ci-icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-item strong {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.contact-item a, .contact-item span { color: var(--white); font-weight: 600; font-size: 0.93rem; }
.contact-item a:hover { color: var(--accent); }

.why-us {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 28px;
}
.why-us h4 { color: var(--white); font-weight: 700; margin-bottom: 14px; }
.why-us ul { display: flex; flex-direction: column; gap: 10px; }
.why-us li { color: rgba(255,255,255,0.9); font-size: 0.88rem; font-weight: 500; }

/* ============ SEO CONTENT ============ */
#seo-content { background: var(--gray-light); }
#seo-content .section-inner { padding: 48px 24px; }
.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.seo-block h3 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.seo-block p { font-size: 0.83rem; color: var(--gray); line-height: 1.65; }

/* ============ FOOTER ============ */
footer { background: var(--dark); padding: 52px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo {
  height: 36px; width: auto;
  filter: brightness(0) invert(1); opacity: 0.7;
  margin-bottom: 28px; display: block;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-cols strong { display: block; color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.footer-cols p { font-size: 0.83rem; color: rgba(255,255,255,0.5); margin-bottom: 5px; }
.footer-cols a { color: rgba(255,255,255,0.5); }
.footer-cols a:hover { color: var(--white); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.28); }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .commercial-highlight { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .trust-divider { display: none; }
  .trust-item { padding: 12px 20px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas a { text-align: center; }
  .trust-item { width: 50%; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-content { padding: 110px 20px 60px; }
}

/* ============ RESULTS / BEFORE & AFTER ============ */
#results { background: var(--dark); }
#results .res-label { background: rgba(0,194,255,0.15); color: var(--accent); }
#results h2 { color: var(--white); }
#results .section-sub { color: rgba(255,255,255,0.65); }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.ba-card {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.ba-placeholder {
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(0,194,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.ba-placeholder:hover {
  border-color: rgba(0,194,255,0.5);
  background: rgba(0,194,255,0.06);
}

.ba-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}
.ba-icon { font-size: 2.5rem; opacity: 0.5; }
.ba-placeholder-inner strong {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  font-weight: 700;
}
.ba-placeholder-inner span {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  font-style: italic;
}

.ba-cta {
  background: rgba(255,193,7,0.10);
  border: 1px dashed rgba(255,193,7,0.4);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.ba-cta p {
  color: rgba(255,220,80,0.9);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}
.ba-cta strong { color: #FFD700; }
