/* ==========================================================================
   Visual refresh (2026-10-13): brighter, more practical "established cleaning
   company" look. Loaded last on every page. Removing this file's enqueue in
   functions.php restores the previous design exactly.
   ========================================================================== */
:root {
  --rf-ink: #0e1a2b;
  --rf-text: #4a5868;
  --rf-line: #e0e6ee;
  --rf-soft: #f4f7fa;
  --rf-navy: #0b1d30;
  --rf-radius: 12px;
}

/* ---------- Typography: clear hierarchy, no extreme tracking ---------- */
main h1:not(#hero-title) { font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; font-size: clamp(40px, 5vw, 68px); }
main h2 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.section-heading h2, main section > h2, main section > div > h2, .quote-cta h2, .service-area-section h2 { font-size: clamp(30px, 3.1vw, 46px); }
main h3 { letter-spacing: -0.01em; }
main .eyebrow:not(.hero-eyebrow) { letter-spacing: 0.12em; font-weight: 700; }

/* ---------- Buttons: solid blue primary, white/outline secondary, gentle corners ---------- */
.button { border-radius: 8px; box-shadow: none; }
.button:hover { transform: none; }

/* ---------- Cards: real photo on top, then title, short description, "View service →" ----------
   !important is used here deliberately: older section-specific rules (dark overlay cards) are more specific. */
main .visual-card {
  display: flex !important; flex-direction: column !important; height: auto !important; min-height: 0 !important; overflow: hidden;
  background: #fff !important; color: var(--rf-ink) !important; border: 1px solid var(--rf-line) !important; border-radius: var(--rf-radius) !important;
  box-shadow: 0 1px 2px rgba(14, 26, 43, 0.04); isolation: auto !important; transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
main .visual-card:hover { border-color: #c9d4e1 !important; box-shadow: 0 10px 26px -18px rgba(14, 26, 43, 0.35); }
main .visual-card .visual-card-media {
  position: relative !important; inset: auto !important; z-index: auto !important; height: auto !important;
  aspect-ratio: 4 / 3 !important; flex: none !important; border-radius: 0 !important; background: #e9edf2 !important;
}
main .visual-card .visual-card-media::before, main .visual-card .visual-card-media::after, main .visual-card::before, main .visual-card::after { display: none !important; content: none !important; }
main .visual-card .visual-card-media img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover; transform: none !important; filter: none !important; opacity: 1 !important; }
main .visual-card .visual-card-content {
  position: static !important; inset: auto !important; flex: 1 1 auto !important; margin: 0 !important; display: flex; flex-direction: column; gap: 8px;
  padding: 20px 22px 22px !important; background: none !important; color: var(--rf-ink) !important;
}
main .visual-card .visual-card-content h3 { margin: 0 !important; font-size: 20px !important; font-weight: 700 !important; letter-spacing: -0.01em !important; line-height: 1.25 !important; color: var(--rf-ink) !important; }
main .visual-card .visual-card-content p { margin: 0 !important; font-size: 15px !important; line-height: 1.55 !important; color: var(--rf-text) !important; }
main .visual-card .card-link {
  margin-top: auto !important; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; color: var(--brand) !important; border: 0 !important; justify-content: flex-start !important;
}
main .visual-card .circle-arrow {
  width: auto !important; height: auto !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: inherit !important;
  font-size: inherit !important; line-height: 1; display: inline !important; transform: none; transition: transform 0.2s ease;
}
main .visual-card:hover .circle-arrow { transform: translateX(3px); }
main .visual-card .visual-card-content::before, main .visual-card .visual-card-content::after, main .visual-card h3::before, main .visual-card h3::after { display: none !important; content: none !important; }
main .visual-card .neutral-mark { color: #8a97a6; }
main .visual-card .image-placeholder { display: none; }
.visual-grid { gap: 22px; }

/* ---------- Homepage header: same clean white bar as the rest of the site ---------- */
body.home .site-header {
  color: var(--rf-ink); background: rgba(255, 255, 255, 0.97); border: 0; border-bottom: 1px solid var(--rf-line);
  box-shadow: 0 1px 0 rgba(14, 26, 43, 0.02); -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.home .site-header.compact { background: #fff; }
body.home .site-header { margin: 0; top: 0; border-radius: 0; }
body.home .site-header .brand-sub, body.home .site-header .menu-toggle { color: var(--rf-ink); }
@media (min-width: 1051px) {
  body.home .navigation > a, body.home .nav-item > a, body.home .nav-chevron, body.home .header-phone { color: var(--rf-ink); }
  body.home .navigation > a:hover, body.home .nav-item > a:hover { border-color: var(--brand); }
  body.home .navigation > a:first-child::after { background: var(--brand); }
}

/* ---------- Homepage hero: same real photo, no glass, glows or neon ---------- */
.hero.hero--photo h1 { letter-spacing: -0.03em; text-shadow: none; font-size: clamp(54px, 5.8vw, 108px); }
.hero.hero--photo h1 em { color: #2f8cff; }
.hero-brand p { letter-spacing: 0.16em; }
.hero-brand-rule { background: rgba(255, 255, 255, 0.45); height: 1px; }
.hero.hero--photo .hero-statement { text-shadow: none; }
.hero.hero--photo .hero-statement strong, .hero-statement-rule { color: #5aa2ff; }
.hero-statement-rule { background: #5aa2ff; }
.hero.hero--photo .hero-actions .button { border-radius: 8px; min-height: 56px; padding: 0 26px; font-size: 16px; }
.hero.hero--photo .hero-primary { box-shadow: none; }
.hero.hero--photo .hero-primary:hover { background: #0047d6; transform: none; box-shadow: none; }
.hero.hero--photo .hero-call { background: #fff; color: var(--rf-ink); border-color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero.hero--photo .hero-call:hover { background: #eef3f9; border-color: #eef3f9; transform: none; }
.hero.hero--photo .hero-call svg { color: var(--brand); }
.hero.hero--photo .hero-eyebrow { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 8px; --eyebrow-ls: 0.12em; }
.hero-eyebrow-dot { box-shadow: none; background: #5aa2ff; }

/* Google Reviews card: plain white card with real review data. */
.hero-reviews {
  color: var(--rf-ink); background: #fff; border: 1px solid var(--rf-line); border-radius: 14px;
  box-shadow: 0 24px 50px -30px rgba(2, 16, 35, 0.55); -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hero-reviews-head h2 { color: var(--rf-ink); font-weight: 700; }
.hero-reviews-head p, .hero-reviews-count { color: var(--rf-text); }
.hero-reviews-rating { color: var(--rf-ink); }
.hero-review { background: var(--rf-soft); border-color: var(--rf-line); border-radius: 10px; }
.hero-review h3 { color: var(--rf-ink); }
.hero-review time, .hero-reviews-status { color: #6b7a8b; }
.hero-review-text { color: #3a4757; }
.hero-review-avatar { background: var(--brand); }
.hero-reviews-arrow { color: var(--rf-ink); border-color: #cfd8e3; background: #fff; }
.hero-reviews-arrow:hover { background: var(--rf-soft); border-color: #aebbd0; }
.hero-reviews-all { color: var(--brand); border: 1.5px solid var(--brand); border-radius: 8px; }
.hero-reviews-all:hover { background: #eef4ff; border-color: var(--brand); }

/* ---------- Homepage sections: bright by default, one navy contrast band ---------- */
.section.intro { background: #fff; color: var(--rf-ink); }
.section.intro h2, .section.intro .lead { color: var(--rf-ink); }
.section.intro p, .section.intro .intro-copy p:not(.lead) { color: var(--rf-text) !important; }
.section.intro .eyebrow { color: var(--brand); }
.section.intro .text-link { color: var(--rf-ink); border-color: var(--rf-ink); }
.section.intro img { border-radius: var(--rf-radius); box-shadow: none; }

.section.industry-section { background: var(--rf-soft); }
.section.home-services { background: #fff; color: var(--rf-ink); }
.section.home-services h2 { color: var(--rf-ink); }
.section.home-services .section-heading p { color: var(--rf-text); }
.section.home-services .eyebrow { color: var(--brand); }
.section.home-services .text-link { color: var(--rf-ink); border-color: var(--rf-ink); }

.section.standards { background: var(--rf-soft); }

.section.work-showcase { background: #fff; color: var(--rf-ink); }
.section.work-showcase h2, .section.work-showcase .ba-card figcaption, .section.work-showcase figcaption { color: var(--rf-ink); }
.section.work-showcase .section-heading p { color: var(--rf-text); }
.section.work-showcase .eyebrow { color: var(--brand); }
.section.work-showcase .text-link { color: var(--rf-ink); border-color: var(--rf-ink); }
.section.work-showcase .ba { border-radius: var(--rf-radius); box-shadow: none; }

.service-area-section { background: var(--rf-soft); color: var(--rf-ink); border-top: 1px solid var(--rf-line); }
.service-area-section h2 { color: var(--rf-ink); }
.service-area-section .eyebrow { color: var(--brand); }
.service-area-section .text-link { color: var(--brand); border-color: var(--brand); }

.quote-cta { background: #fff; border-top: 1px solid var(--rf-line); border-bottom: 1px solid var(--rf-line); }

.section.quote-section--cinematic { background: var(--rf-soft); color: var(--rf-ink); }
.section.quote-section--cinematic h2, .section.quote-section--cinematic .quote-intro h2 { color: var(--rf-ink); }
.section.quote-section--cinematic p, .section.quote-section--cinematic .quote-intro p { color: var(--rf-text); }
.section.quote-section--cinematic .eyebrow { color: var(--brand); }
.section.quote-section--cinematic a:not(.button) { color: var(--brand); }
.section.quote-section--cinematic form, .section.quote-section--cinematic .quote-form { border: 1px solid var(--rf-line); box-shadow: 0 18px 40px -30px rgba(14, 26, 43, 0.4); }

.footer { background: var(--rf-navy); }

/* ---------- Trust bar (confirmed facts only) ---------- */
.trust-bar { background: #fff; border-bottom: 1px solid var(--rf-line); }
.trust-bar ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; margin: 0 auto; padding: 0 5.5%; list-style: none; }
.trust-bar li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 12px; font-size: 15px; font-weight: 600; color: var(--rf-ink); text-align: left; }
.trust-bar li + li { border-left: 1px solid var(--rf-line); }
.trust-bar svg { width: 20px; height: 20px; flex: none; color: var(--brand); }
.trust-bar .trust-stars { color: #d98c0b; letter-spacing: 1px; font-size: 15px; }
@media (max-width: 900px) {
  .trust-bar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px; }
  .trust-bar li { justify-content: flex-start; padding: 14px 8px; font-size: 14px; }
  .trust-bar li:nth-child(3) { border-left: 0; }
  .trust-bar li:nth-child(n+3) { border-top: 1px solid var(--rf-line); }
}

/* ---------- Mobile: simpler, practical ---------- */
@media (max-width: 600px) {
  main h1:not(#hero-title) { font-size: clamp(34px, 9.5vw, 44px); }
  .section-heading h2, main section > h2, main section > div > h2, .quote-cta h2, .service-area-section h2 { font-size: clamp(26px, 7.4vw, 32px); }
  .hero.hero--photo h1 { font-size: clamp(42px, 12vw, 54px); }
  .hero.hero--photo .hero-actions .button { min-height: 54px; }
  .hero-reviews { border-radius: 12px; box-shadow: 0 16px 30px -24px rgba(2, 16, 35, 0.6); }
  main .visual-card .visual-card-content { padding: 18px 18px 20px; }
  .visual-grid { gap: 16px; }
}

/* ==========================================================================
   Mobile homepage hero (≤600px): photographic, lighter, uncluttered.
   ========================================================================== */
.hero-trust-line, .mobile-services-line { display: none; }
@media (max-width: 600px) {
  :root { --header-h: 60px; }
  .site-header, .site-header.compact { height: 60px; }
  .site-header .brand img { width: 38px; height: 38px; }

  .hero.hero--photo { min-height: min(86svh, 760px); padding-bottom: 28px; }
  .hero.hero--photo::after {
    background: linear-gradient(180deg, rgba(4, 20, 38, 0.66) 0%, rgba(4, 20, 38, 0.55) 45%, rgba(4, 20, 38, 0.32) 75%, rgba(4, 20, 38, 0.42) 100%);
  }
  .hero-poster { object-position: 54% 50%; filter: brightness(1.05); }
  .hero-layout { padding: 22px 0 0; gap: 0; align-items: start; align-content: start; }
  .hero-reviews, .hero.hero--photo .hero-eyebrow { display: none; }

  .hero-brand { margin-bottom: 16px; font-size: 10.5px; gap: 1.1em; }
  .hero-brand-rule { display: none; }
  .hero.hero--photo h1 { font-size: clamp(38px, 10.6vw, 46px); line-height: 1; letter-spacing: -0.025em; }
  .hero.hero--photo .hero-statement { font-size: 19px; margin-top: 14px; }

  .hero.hero--photo .hero-actions { margin-top: 24px; gap: 10px; }
  .hero.hero--photo .hero-actions .button { min-height: 0; height: 58px; padding: 0 22px; font-size: 16px; }
  .hero.hero--photo .hero-actions .hero-call {
    height: 52px; justify-content: center; gap: 10px; background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.85);
  }
  .hero.hero--photo .hero-call svg { color: #fff; width: 18px; height: 18px; }

  .hero-trust-line { display: block; margin-top: 16px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; }
  .hero-trust-stars { color: #ffc23d; letter-spacing: 1px; }

  .mobile-services-line {
    display: block; margin: 0; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--rf-line);
    font-size: 12px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.7; text-transform: uppercase; color: var(--rf-ink); text-align: center;
  }
  .mobile-services-line .msl-line { display: block; white-space: nowrap; }
  .mobile-services-line .msl-sep { color: var(--brand); margin: 0 6px; }

  /* WhatsApp: smaller, and clear of the sticky bar when it is showing */
  .whatsapp-float { width: 48px; height: 48px; right: 14px; bottom: 74px; transition: bottom 0.25s ease; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  body.home:not(.mcta-on) .whatsapp-float { bottom: 18px; }

  /* Homepage sticky Call / Quote bar: hidden on load (no flash), slides up once the hero buttons have
     scrolled away (site.js adds .mcta-on). Other pages keep the bar visible as before. */
  body.home .mobile-conversion { transform: translateY(110%); transition: transform 0.25s ease; }
  body.home.mcta-on .mobile-conversion { transform: none; }
}
