/* ===========================================================
   Cenla SoftWash — Site Stylesheet
   Fast, modern, mobile-first. No framework dependencies.
   =========================================================== */

/* ------- Reset + base ------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0076a8; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: #0f2847; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); margin-bottom: 0.75em; }
h3 { font-size: 1.3rem; margin-bottom: 0.5em; }
p { margin-bottom: 1em; }
ul, ol { margin-bottom: 1em; padding-left: 1.4em; }
li { margin-bottom: 0.4em; }

/* ------- Layout ------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4rem 0; }
section.tight { padding: 2.5rem 0; }
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ------- Header / Nav ------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e9ef;
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0; gap: 1rem;
}
.brand {
  font-weight: 800; color: #0f2847; font-size: 1.15rem;
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none !important;
}
.brand-mark {
  display: inline-block; width: 32px; height: 32px; border-radius: 6px;
  background: linear-gradient(135deg, #00b4d8 0%, #0f2847 100%);
}
.nav-links { display: none; gap: 1.5rem; align-items: center; list-style: none; padding: 0; margin: 0; }
.nav-links a { color: #1a1a1a; font-weight: 500; }
.nav-links a.active { color: #0076a8; border-bottom: 2px solid #0076a8; padding-bottom: 2px; }
.nav-cta { display: none; }
@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}
.nav-toggle { display: inline-flex; background: none; border: 0; padding: 0.4rem; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; stroke: #0f2847; }
@media (min-width: 860px) { .nav-toggle { display: none; } }
.nav-mobile {
  display: none; flex-direction: column; gap: 0.25rem;
  border-top: 1px solid #e6e9ef; padding: 0.75rem 0 1rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 0.6rem 0; color: #1a1a1a; font-weight: 500; }
.nav-mobile .btn { margin-top: 0.5rem; }

/* ------- Buttons ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 8px;
  font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
  text-decoration: none !important;
}
.btn-primary { background: #ff6b35; color: #ffffff; }
.btn-primary:hover { background: #e85c28; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,107,53,0.25); }
.btn-secondary { background: #0f2847; color: #ffffff; }
.btn-secondary:hover { background: #1a3862; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #0f2847; border-color: #0f2847; }
.btn-outline:hover { background: #0f2847; color: #ffffff; }
.btn-block { display: flex; width: 100%; }

/* ------- Hero ------- */
.hero {
  position: relative; color: #ffffff; overflow: hidden;
  background: linear-gradient(135deg, #0f2847 0%, #163557 50%, #0076a8 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("images/01-roof-soft-wash-action-shot.jpg");
  background-size: cover; background-position: center;
  opacity: 0.25; z-index: 0;
}
.hero .container { position: relative; z-index: 1; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero h1 { color: #ffffff; margin-bottom: 1rem; }
.hero-lede { font-size: clamp(1.1rem, 2.4vw, 1.35rem); opacity: 0.95; max-width: 620px; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-trust {
  margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  font-size: 0.95rem; opacity: 0.92;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust svg { flex: 0 0 auto; width: 20px; height: 20px; }

/* ------- Sections ------- */
.section-muted { background: #f5f7fb; }
.section-dark { background: #0f2847; color: #f0f4fa; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #ffffff; }
.section-dark a { color: #7ad8ff; }
.eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: #0076a8; margin-bottom: 0.5rem;
}
.section-dark .eyebrow { color: #7ad8ff; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-header p { color: #4a5468; font-size: 1.1rem; }
.section-dark .section-header p { color: #c4d2e6; }

/* ------- Service cards ------- */
.service-card {
  background: #ffffff; border: 1px solid #e6e9ef; border-radius: 12px;
  padding: 1.75rem; transition: transform 0.15s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,40,71,0.12); }
.service-card .icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: linear-gradient(135deg, #00b4d8 0%, #0076a8 100%);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.service-card .icon svg { width: 28px; height: 28px; stroke: #ffffff; fill: none; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: #4a5468; margin-bottom: 1rem; }
.service-card a { font-weight: 600; }

/* ------- Feature / image + text row ------- */
.feature-row { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .feature-row { grid-template-columns: 1fr 1fr; } }
.feature-row.reverse { direction: ltr; }
@media (min-width: 860px) { .feature-row.reverse > :first-child { order: 2; } }
.feature-row img { border-radius: 12px; box-shadow: 0 10px 30px rgba(15,40,71,0.18); }

/* ------- Before/After slider ------- */
.ba-wrap { margin: 2rem 0; }
.ba-caption { font-size: 0.95rem; color: #4a5468; margin-top: 0.75rem; text-align: center; }
.section-dark .ba-caption { color: #c4d2e6; }
.ba-slider {
  position: relative; width: 100%; aspect-ratio: 3 / 2;
  border-radius: 12px; overflow: hidden; user-select: none;
  box-shadow: 0 10px 30px rgba(15,40,71,0.18);
  background: #0f2847;
  touch-action: none;
}
.ba-slider img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
  background: #ffffff; box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
  transform: translateX(-50%); pointer-events: none;
}
.ba-handle::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: #ffffff; box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.ba-handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #0f2847; font-weight: 900; font-size: 1.1rem; z-index: 2;
}
.ba-label {
  position: absolute; top: 14px; padding: 4px 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  border-radius: 4px; text-transform: uppercase; z-index: 3;
  background: rgba(15,40,71,0.88); color: #ffffff;
}
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; background: rgba(255,107,53,0.94); }

/* ------- Gallery ------- */
.gallery-filter {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  margin-bottom: 2rem;
}
.gallery-filter button {
  padding: 0.55rem 1.1rem; border-radius: 999px; border: 1.5px solid #cfd6e3;
  background: #ffffff; color: #0f2847; font-weight: 600; cursor: pointer;
  font-size: 0.92rem; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.gallery-filter button:hover { border-color: #0076a8; color: #0076a8; }
.gallery-filter button.active { background: #0f2847; color: #ffffff; border-color: #0f2847; }
.gallery-grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
.gallery-item[hidden] { display: none; }
.gallery-standalone {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,40,71,0.18); background: #0f2847;
}
.gallery-standalone img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ------- Testimonials ------- */
.testimonial {
  background: #ffffff; padding: 1.75rem; border-radius: 12px;
  border: 1px solid #e6e9ef;
  box-shadow: 0 4px 14px rgba(15,40,71,0.05);
}
.testimonial .stars { color: #f4a825; font-size: 1.05rem; margin-bottom: 0.5rem; letter-spacing: 0.08em; }
.testimonial blockquote { font-size: 1.05rem; color: #1a1a1a; margin: 0 0 0.9rem; font-style: italic; }
.testimonial cite { font-style: normal; font-weight: 700; color: #0f2847; }
.testimonial cite span { display: block; font-weight: 500; color: #4a5468; font-size: 0.9rem; }

/* ------- FAQ ------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid #e6e9ef; border-radius: 10px; margin-bottom: 0.75rem;
  background: #ffffff; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.4rem;
  font-weight: 700; color: #0f2847; display: flex; justify-content: space-between; align-items: center;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; font-weight: 400; color: #0076a8;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.2rem; color: #333; }

/* ------- CTA banner ------- */
.cta-banner {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8f5e 100%);
  color: #ffffff; border-radius: 16px; padding: 2.5rem;
  text-align: center;
}
.cta-banner h2 { color: #ffffff; }
.cta-banner p { font-size: 1.1rem; opacity: 0.95; }
.cta-banner .btn-outline { color: #ffffff; border-color: #ffffff; }
.cta-banner .btn-outline:hover { background: #ffffff; color: #ff6b35; }

/* ------- Footer ------- */
.site-footer {
  background: #0a1d35; color: #c4d2e6; padding: 3.5rem 0 1.5rem;
  font-size: 0.95rem;
}
.site-footer h4 { color: #ffffff; font-size: 1rem; margin-bottom: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer a { color: #c4d2e6; }
.site-footer a:hover { color: #ffffff; }
.footer-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  padding-bottom: 2rem; border-bottom: 1px solid #1e375c;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: 0.75rem; }
.footer-copy { text-align: center; padding-top: 1.5rem; color: #8aa0be; font-size: 0.85rem; }
.footer-list { list-style: none; padding: 0; }
.footer-list li { margin-bottom: 0.5rem; }

/* ------- Sticky mobile call bar ------- */
.mobile-call {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: #ff6b35; color: #ffffff; text-align: center;
  padding: 0.95rem; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.2);
  text-decoration: none !important;
}
.mobile-call:hover { background: #e85c28; color: #ffffff; }
@media (max-width: 720px) { .mobile-call { display: block; } body { padding-bottom: 62px; } }

/* ------- Utility ------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
.muted { color: #4a5468; }
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: inline; } }

/* ------- Print ------- */
@media print {
  .site-header, .site-footer, .mobile-call, .hero::before { display: none; }
  section { padding: 1.5rem 0; }
}
