/* ===== B&A Cleaning Services — styles ===== */
:root {
  --blue-1: #E9F6FE;
  --blue-2: #CFE9F9;
  --blue-3: #5BC2F2;
  --blue-4: #3BA9E0;
  --blue-5: #1A6FB5;
  --blue-6: #0C4B82;

  --green-1: #F1F8E0;
  --green-2: #C7E66E;
  --green-3: #9DD53A;
  --green-4: #6FB81F;
  --green-5: #4F8C0E;

  --ink-1: #0E1B2A;
  --ink-2: #2A3B4F;
  --ink-3: #5A6B80;
  --ink-4: #9AA8BB;

  --bg: #FBFDFE;
  --bg-soft: #F2F8FC;
  --card: #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(26,111,181,.06), 0 1px 2px rgba(26,111,181,.04);
  --shadow-md: 0 8px 24px rgba(26,111,181,.10), 0 2px 6px rgba(26,111,181,.05);
  --shadow-lg: 0 30px 70px -20px rgba(26,111,181,.25), 0 12px 30px -10px rgba(26,111,181,.15);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  --max: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 28px); max-width: var(--max);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(26,111,181,.08);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  z-index: 100;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(26,111,181,.10);
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-bna {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--blue-5);
  letter-spacing: -0.02em;
}
.brand-bna .amp { color: var(--green-4); font-weight: 600; }
.brand-tag {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--blue-1); color: var(--blue-5); }
.nav-links a.nav-cta {
  background: var(--blue-5); color: white; font-weight: 600;
  padding: 10px 18px; margin-left: 6px;
}
.nav-links a.nav-cta:hover { background: var(--blue-6); color: white; }
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 5px;
  padding: 0;
}
.nav-burger span { display: block; height: 2px; background: var(--ink-1); border-radius: 2px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  cursor: pointer; border: none; transition: transform .15s, box-shadow .2s, background .2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue-5); color: white;
  box-shadow: 0 8px 22px -8px rgba(26,111,181,.6);
}
.btn-primary:hover { background: var(--blue-6); transform: translateY(-1px); box-shadow: 0 14px 32px -10px rgba(26,111,181,.7); }
.btn-ghost {
  background: rgba(26,111,181,.06); color: var(--blue-5);
}
.btn-ghost:hover { background: rgba(26,111,181,.12); }
.btn-light {
  background: white; color: var(--blue-5);
}
.btn-light:hover { background: var(--blue-1); }
.btn-lg { padding: 16px 26px; font-size: 16px; width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 120px 24px 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #F4FAFE 0%, #FBFDFE 70%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
}
.hero-blob-a { width: 480px; height: 480px; background: radial-gradient(circle, #5BC2F2, transparent 70%); top: -120px; left: -120px; }
.hero-blob-b { width: 540px; height: 540px; background: radial-gradient(circle, #9DD53A, transparent 70%); top: 40px; right: -180px; opacity: .35; }
.hero-blob-c { width: 380px; height: 380px; background: radial-gradient(circle, #1A6FB5, transparent 70%); bottom: -160px; left: 30%; opacity: .15; }

.bubbles { position: absolute; inset: 0; overflow: hidden; }
.bubbles span {
  position: absolute; bottom: -40px; left: var(--x, 50%);
  width: var(--s, 14px); height: var(--s, 14px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(91,194,242,.5));
  border: 1px solid rgba(91,194,242,.3);
  animation: bubble var(--d, 18s) linear infinite;
  opacity: .5;
}
@keyframes bubble {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: .7; }
  50% { transform: translateY(-50vh) translateX(30px); }
  90% { opacity: .5; }
  100% { transform: translateY(-110vh) translateX(-20px); opacity: 0; }
}

.hero-inner {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
  padding-top: 40px;
}
.hero-copy { z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: white; box-shadow: var(--shadow-sm);
  color: var(--blue-5); font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.eyebrow svg { color: var(--green-4); }

.hero h1 {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 700;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal; position: relative;
  background: linear-gradient(120deg, var(--blue-4), var(--blue-5));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px;
  background: var(--green-3); opacity: .35; border-radius: 8px; z-index: -1;
}

/* ===== Spotless: shine + sweeping brush ===== */
.shine-word {
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding-right: 4px;
}
.shine-letters {
  position: relative;
  background: linear-gradient(
    100deg,
    var(--blue-4) 0%,
    var(--blue-5) 30%,
    #a8d8f0 45%,
    #c8eafc 50%,
    var(--blue-5) 60%,
    var(--blue-4) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shine-sweep 8s ease-in-out infinite;
}
@keyframes shine-sweep {
  0%   { background-position: 120% 0; }
  45%  { background-position: -20% 0; }
  100% { background-position: -20% 0; }
}
.shine-glint {
  display: none;
  position: absolute;
  top: -22%;
  left: 88%;
  width: 22px; height: 22px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 45%),
    conic-gradient(from 45deg,
      transparent 0deg, rgba(255,255,255,.95) 22deg, transparent 44deg,
      transparent 90deg, rgba(255,255,255,.95) 112deg, transparent 134deg,
      transparent 180deg, rgba(255,255,255,.95) 202deg, transparent 224deg,
      transparent 270deg, rgba(255,255,255,.95) 292deg, transparent 314deg,
      transparent 360deg);
  filter: drop-shadow(0 0 6px rgba(255,255,255,.9)) drop-shadow(0 0 14px rgba(91,194,242,.95));
  animation: glint 8s ease-in-out infinite;
  opacity: 0;
}
@keyframes glint {
  0%,  44% { opacity: 0; transform: scale(0) rotate(0deg); }
  52%      { opacity: 1; transform: scale(1.9) rotate(10deg); }
  60%      { opacity: 1; transform: scale(1.3) rotate(25deg); }
  70%, 100% { opacity: 0; transform: scale(0) rotate(45deg); }
}

/* Sweeping brush — rides along the top of the word, bristles down, polishes letter by letter */
.shine-brush {
  position: absolute;
  top: -18%;
  left: 0;
  width: 0.6em;
  height: 0.6em;
  pointer-events: none;
  transform-origin: 50% 100%;
  animation: brush-sweep 12s linear infinite;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(26,111,181,.25));
}
.shine-brush svg {
  width: 100%; height: 100%; display: block;
  /* SVG already has handle on top, bristles on bottom — no flip needed */
  animation: brush-wiggle 0.55s ease-in-out infinite;
  transform-origin: 50% 0%;
}
/* Discrete dwell-and-sweep pattern across 8 letters of "spotless" */
@keyframes brush-sweep {
  /* fade in */
  0%    { left: -8%;  opacity: 0; }
  3%    { left: -8%;  opacity: 1; }
  /* dwell on each letter ~9% of cycle, with quick scrub between */
  6%    { left: 2%; }   /* s */
  14%   { left: 2%; }
  17%   { left: 14%; }  /* p */
  25%   { left: 14%; }
  28%   { left: 26%; }  /* o */
  36%   { left: 26%; }
  39%   { left: 38%; }  /* t */
  47%   { left: 38%; }
  50%   { left: 50%; }  /* l */
  58%   { left: 50%; }
  61%   { left: 62%; }  /* e */
  69%   { left: 62%; }
  72%   { left: 74%; }  /* s */
  80%   { left: 74%; }
  83%   { left: 86%; }  /* s */
  91%   { left: 86%; }
  94%   { left: 100%; opacity: 1; }
  97%   { left: 110%; opacity: 0; }
  100%  { left: 110%; opacity: 0; }
}
/* Wiggle: small back-and-forth scrub motion while brush sits on a letter */
@keyframes brush-wiggle {
  0%, 100% { transform: rotate(-7deg) translateX(-1px); }
  50%      { transform: rotate(7deg)  translateX(1px); }
}

.lede {
  font-size: 18px; color: var(--ink-3); max-width: 540px;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 480px; padding-top: 28px;
  border-top: 1px solid rgba(26,111,181,.12);
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px; color: var(--blue-5); font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-stats span { font-size: 13px; color: var(--ink-3); }

/* HERO ART */
.hero-art {
  position: relative; aspect-ratio: 1/1; max-width: 560px; margin: 0 auto;
}
.hero-card {
  position: relative; width: 100%; height: 100%;
  background: white; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(91,194,242,.12), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(157,213,58,.10), transparent 50%);
}
.hero-svg { width: 100%; height: 100%; }

.sparkles g { animation: spark 2.4s ease-in-out infinite; transform-origin: center; }
.sparkles .s2 { animation-delay: .4s; }
.sparkles .s3 { animation-delay: .9s; }
.sparkles .s4 { animation-delay: 1.4s; }
.sparkles .s5 { animation-delay: 1.8s; }
@keyframes spark {
  0%, 100% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1); opacity: 1; }
}

.bottle-spray { animation: tilt 4s ease-in-out infinite; transform-origin: 150px 380px; }
@keyframes tilt {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}
.spray circle { animation: spray-out 1.6s ease-out infinite; transform-origin: 220px 210px; }
.spray circle:nth-child(2) { animation-delay: .2s; }
.spray circle:nth-child(3) { animation-delay: .4s; }
.spray circle:nth-child(4) { animation-delay: .6s; }
.spray circle:nth-child(5) { animation-delay: .8s; }
@keyframes spray-out {
  0% { transform: translateX(-30px) translateY(0); opacity: 1; }
  100% { transform: translateX(40px) translateY(-10px); opacity: 0; }
}

.bucket-bubbles circle { animation: bub 2.4s ease-in-out infinite; }
.bucket-bubbles circle:nth-child(2) { animation-delay: .4s; }
.bucket-bubbles circle:nth-child(3) { animation-delay: .8s; }
.bucket-bubbles circle:nth-child(4) { animation-delay: 1.2s; }
@keyframes bub {
  0%, 100% { transform: translateY(0); opacity: .9; }
  50% { transform: translateY(-6px); opacity: 1; }
}

.broom { animation: sweep 2.8s ease-in-out infinite; transform-origin: 374px 160px; }
@keyframes sweep {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(8deg); }
}
.dust circle { animation: dust 2.8s ease-in-out infinite; }
.dust circle:nth-child(2) { animation-delay: .3s; }
.dust circle:nth-child(3) { animation-delay: .6s; }
@keyframes dust {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: .8; transform: translateY(-4px); }
}

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: white; box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
}
.chip-a { top: 8%; left: -6%; animation: float 5s ease-in-out infinite; }
.chip-b { top: 50%; right: -8%; animation: float 5.5s ease-in-out -1s infinite; }
.chip-c { bottom: 6%; left: 4%; animation: float 6s ease-in-out -2s infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.trust-strip {
  max-width: var(--max); margin: 80px auto 0;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center;
  font-size: 13px; color: var(--ink-3);
  padding: 20px; border-top: 1px dashed rgba(26,111,181,.18);
}
.trust-strip strong { color: var(--blue-5); font-weight: 600; }
.trust-strip em { color: var(--green-4); font-style: normal; }

/* ===== Section base ===== */
.section { padding: 100px 24px; max-width: var(--max); margin: 0 auto; }
.section-head { max-width: 740px; margin-bottom: 56px; }
.section-head-row {
  display: flex; align-items: end; justify-content: space-between; gap: 40px;
  max-width: 100%;
}
.section-head-row p { max-width: 360px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--blue-5);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 16px;
}
.kicker i {
  display: inline-block; width: 24px; height: 2px; background: var(--green-3); border-radius: 2px;
}
.kicker-light { color: white; }
.kicker-light i { background: var(--green-3); }
.section-head h2 {
  font-size: clamp(34px, 4vw, 56px);
  margin-bottom: 16px;
}
.hl {
  background: linear-gradient(120deg, var(--blue-4), var(--blue-5));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head p { color: var(--ink-3); font-size: 18px; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.service-card {
  background: var(--card); border-radius: var(--r-md);
  padding: 28px 24px 24px;
  border: 1px solid rgba(26,111,181,.08);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,111,181,.18);
}
.service-feat {
  grid-column: span 2; grid-row: span 2;
  background: linear-gradient(160deg, var(--blue-1), white);
  border-color: rgba(26,111,181,.12);
  padding: 36px;
}

/* Clean icon style: single-color outline in a soft tile */
.svc-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-1);
  color: var(--blue-5);
  border-radius: 14px;
  position: relative; overflow: hidden;
  flex-shrink: 0;
  transition: background .25s, color .25s, transform .25s;
}
.svc-icon-lg { width: 64px; height: 64px; border-radius: 18px; }
.svc-icon svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.svc-icon-lg svg { width: 32px; height: 32px; }
.service-card:hover .svc-icon {
  background: var(--blue-5);
  color: white;
  transform: scale(1.05);
}
/* shimmer that crosses the icon tile on hover */
.svc-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.7) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .8s ease;
}
.service-card:hover .svc-shine { transform: translateX(120%); }
.svc-icon-light { background: rgba(255,255,255,.18); color: white; }

.service-feat .service-art {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 4px;
}
.service-art {
  margin: 0;
}
.service-body h3 {
  font-size: 21px; margin-bottom: 8px; color: var(--ink-1);
}
.service-feat .service-body h3 { font-size: 30px; }
.service-body p { color: var(--ink-3); font-size: 14.5px; margin: 0; line-height: 1.55; }
.service-feat .service-body p { font-size: 16px; }
.service-tags {
  list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px;
}
.service-tags li {
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: white; border: 1px solid rgba(26,111,181,.15);
  color: var(--blue-5); font-weight: 500;
}

.service-cta-card {
  background: linear-gradient(160deg, var(--blue-5), var(--blue-6));
  color: white; border: none;
  display: flex;
}
.service-cta-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-cta-inner {
  display: flex; flex-direction: column; gap: 14px; height: 100%;
}
.service-cta-card h3 { color: white; font-size: 21px; }
.service-cta-card p { color: rgba(255,255,255,.85); font-size: 14px; flex: 1; }
.service-cta-card .btn { align-self: flex-start; margin-top: auto; }

/* ===== BEFORE/AFTER ===== */
.ba {
  background: linear-gradient(180deg, white 0%, var(--blue-1) 100%);
  max-width: 100%; padding: 100px 24px;
}
.ba .section-head { max-width: var(--max); margin-left: auto; margin-right: auto; }
.ba-stage {
  max-width: var(--max); margin: 0 auto;
}
.ba-slider {
  position: relative;
  width: 100%; aspect-ratio: 16/9;
  border-radius: var(--r-lg); overflow: hidden;
  background: #222; cursor: ew-resize;
  user-select: none;
  box-shadow: var(--shadow-lg);
}
.ba-slider .ba-img-after,
.ba-slider .ba-img-before {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.ba-slider .ba-img-before {
  clip-path: inset(0 50% 0 0);
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; background: white; transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0,0,0,.4);
}
.ba-handle::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 56px; height: 56px;
  background: white; border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
}
.ba-handle::after {
  content: '⇋';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px; color: var(--blue-5); font-weight: 700;
  pointer-events: none;
}
.ba-label {
  position: absolute; padding: 6px 14px; border-radius: 999px;
  background: rgba(0,0,0,.6); color: white;
  font-size: 12px; font-weight: 600; backdrop-filter: blur(8px);
  pointer-events: none;
}
.ba-label-before { top: 18px; left: 18px; background: rgba(255,255,255,.9); color: var(--ink-1); }
.ba-label-after { top: 18px; right: 18px; background: rgba(26,111,181,.9); color: white; }
.ba-caption {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  padding: 8px 16px; border-radius: 999px;
  background: rgba(0,0,0,.55); color: white; font-size: 13px; backdrop-filter: blur(8px);
  pointer-events: none;
}

.ba-thumbs {
  display: flex; gap: 12px; margin-top: 24px;
  flex-wrap: wrap;
}
.ba-thumb {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  background: white; border: 2px solid transparent; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: all .2s;
  box-shadow: var(--shadow-sm);
}
.ba-thumb-img {
  width: 36px; height: 36px; border-radius: 50%;
  background-size: cover; background-position: center;
}
.ba-thumb:hover { transform: translateY(-2px); }
.ba-thumb.active {
  border-color: var(--blue-5);
  background: var(--blue-1);
  color: var(--blue-5);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.g {
  position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g:hover img { transform: scale(1.05); }
.g figcaption {
  position: absolute; bottom: 12px; left: 12px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(0,0,0,.55); color: white; font-size: 12px;
  backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .25s;
}
.g:hover figcaption { opacity: 1; }
.g1 { grid-column: span 2; grid-row: span 2; }
.g2 { grid-column: span 1; grid-row: span 1; }
.g3 { grid-column: span 1; grid-row: span 2; }
.g4 { grid-column: span 1; grid-row: span 1; }
.g5 { grid-column: span 1; grid-row: span 1; }
.g6 { grid-column: span 2; grid-row: span 1; }

/* ===== PROCESS ===== */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative;
}
.process-grid::before {
  content: ''; position: absolute; top: 60px; left: 5%; right: 5%; height: 2px;
  background: repeating-linear-gradient(to right, var(--blue-3) 0, var(--blue-3) 6px, transparent 6px, transparent 14px);
  z-index: 0;
}
.step {
  position: relative; z-index: 1;
  background: white; padding: 32px 24px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,111,181,.08);
  text-align: left;
}
.step-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--blue-5);
  background: var(--blue-1); display: inline-block;
  padding: 4px 12px; border-radius: 999px;
  margin-bottom: 20px;
}
.step-icon { color: var(--blue-5); margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-3); font-size: 14px; margin: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: linear-gradient(180deg, var(--bg) 0%, white 100%); max-width: 100%; padding: 100px 24px; }
.testimonials .section-head { max-width: var(--max); margin: 0 auto 56px; }
.t-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.t-card {
  margin: 0;
  background: white; border-radius: var(--r-md);
  padding: 28px;
  border: 1px solid rgba(26,111,181,.08);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
}
.t-feature {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--blue-5), var(--blue-6));
  color: white; border: none;
}
.t-feature .stars { color: var(--green-3); }
.stars { color: var(--green-4); letter-spacing: 2px; font-size: 14px; }
.t-card p { font-size: 16px; line-height: 1.5; margin: 0; flex: 1; }
.t-feature p { font-size: 22px; line-height: 1.4; font-weight: 500; }
.t-card footer { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 16px;
  font-family: 'Bricolage Grotesque', sans-serif;
}
.t-card footer strong { display: block; font-size: 14px; }
.t-card footer span { font-size: 12px; opacity: .7; }

/* ===== CONTACT ===== */
.contact {
  max-width: 100%; padding: 100px 24px;
  background: url('/assets/contact-info.jpg') center center / cover no-repeat;
  position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(8, 47, 85, 0.90);
  pointer-events: none;
}
.contact-wrap {
  position: relative; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.contact-wrap-single {
  grid-template-columns: 1fr !important;
  text-align: center;
  max-width: 1080px;
}
.contact-wrap-single .contact-left { display: flex; flex-direction: column; align-items: center; }
.contact-wrap-single .kicker,
.contact-wrap-single h2,
.contact-wrap-single .contact-lede { text-align: center; }
.contact-wrap-single .contact-lede { max-width: 620px; margin-left: auto; margin-right: auto; }
.contact-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
  margin-top: 8px;
  text-align: left;
}
.contact-cards-grid .cc {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  background: rgba(255,255,255,.06);
}
.contact-cards-grid .cc:not(.cc-static):hover { transform: translateY(-3px); }
.contact-cards-grid .cc strong { font-size: 15px; }
.contact-cards-grid .cc span { font-size: 13.5px; line-height: 1.45; }
@media (max-width: 900px) {
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
}
.contact-left { color: white; padding-top: 30px; }
.contact-left h2 { color: white; font-size: clamp(34px, 4vw, 52px); margin-bottom: 20px; }
.contact-left .hl {
  background: linear-gradient(120deg, var(--green-2), var(--green-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact-lede { color: rgba(255,255,255,.8); font-size: 17px; margin-bottom: 32px; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.cc {
  display: flex; align-items: center; gap: 16px;
  padding: 18px; border-radius: var(--r-md);
  background: rgba(255,255,255,.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  color: white; transition: background .2s, transform .15s;
}
.cc:not(.cc-static):hover { background: rgba(255,255,255,.14); transform: translateX(4px); }
.cc-ic {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cc strong { display: block; font-size: 15px; font-weight: 600; }
.cc span { color: rgba(255,255,255,.75); font-size: 13px; }

.contact-form {
  background: white; border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.contact-form h3 {
  font-size: 26px; margin-bottom: 6px;
}
.form-sub { color: var(--ink-3); font-size: 14px; margin: 0 0 24px; }

.field {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px;
  border: none; padding: 0;
}
.field > span, .field legend {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  padding: 0;
}
.field em { color: var(--ink-4); font-style: normal; font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid rgba(26,111,181,.15);
  border-radius: var(--r-sm);
  font-family: inherit; font-size: 15px; color: var(--ink-1);
  background: var(--bg-soft);
  transition: border .15s, background .15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-5);
  background: white;
  box-shadow: 0 0 0 4px rgba(26,111,181,.1);
}
.field textarea { resize: vertical; min-height: 80px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row .field { margin-bottom: 0; }

.chip-options {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.chip-options label {
  cursor: pointer;
}
.chip-options input { display: none; }
.chip-options span {
  display: inline-block;
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-soft);
  border: 1.5px solid rgba(26,111,181,.12);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: all .15s;
}
.chip-options label:hover span { border-color: var(--blue-3); }
.chip-options input:checked + span {
  background: var(--blue-5); border-color: var(--blue-5); color: white;
}

.form-fine { font-size: 12px; color: var(--ink-4); text-align: center; margin: 12px 0 0; }

.form-success {
  position: absolute; inset: 0;
  background: white; border-radius: var(--r-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 36px; text-align: center;
  animation: fadeIn .4s;
}
.success-burst {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-3), var(--green-4));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 12px 30px -8px rgba(157,213,58,.5);
  animation: pop .5s cubic-bezier(.2,1.4,.5,1);
}
@keyframes pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.form-success h4 { font-size: 24px; margin-bottom: 8px; }
.form-success p { color: var(--ink-3); max-width: 360px; margin: 0; }

/* ===== FOOTER ===== */
.footer {
  background: #061B30; color: rgba(255,255,255,.7);
  padding: 60px 24px 24px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.2fr; gap: 48px;
}
.footer-brand .brand-mark {
  width: 44px; height: 44px;
}
.footer-brand .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand p { font-size: 14px; max-width: 280px; margin: 16px 0 0; color: rgba(255,255,255,.7); }
.footer h5 {
  color: white; font-size: 13px; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 16px; font-family: 'Inter', sans-serif;
}
.footer a, .footer-loc {
  display: block; padding: 4px 0; font-size: 14px; color: rgba(255,255,255,.7);
  transition: color .15s;
}
.footer a:hover { color: var(--green-3); }
.footer .brand-bna { color: white; }
.footer .brand-bna .amp { color: var(--green-3); }
.footer .brand-tag { color: rgba(255,255,255,.6); }

.footer-bar {
  max-width: var(--max); margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-feat { grid-column: span 2; grid-row: span 1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g1, .g6 { grid-column: span 2; }
  .g3 { grid-row: span 1; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .t-grid { grid-template-columns: 1fr; }
  .t-feature { grid-column: span 1; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 70px 20px; }
  .hero { padding: 100px 20px 40px; }
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .service-feat { grid-column: span 1; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g1, .g6 { grid-column: span 1; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar { flex-direction: column; gap: 8px; text-align: center; }
  .ba-slider { aspect-ratio: 4/3; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .hero-stats b { font-size: 24px; }
  .nav { width: calc(100% - 16px); padding: 10px 14px; }
  .brand-tag { display: none; }
}


/* ============================================================
   TWEAKS — energy + rhythm hooks (mood overrides existing vars)
   ============================================================ */
:root {
  --energy-speed: 1;
  --energy-bubbles: 1;
  --energy-lift: 2;
  --energy-shine: 1;
  --rhythm-section: 100px;
  --rhythm-gap: 18px;
  --rhythm-radius: 20px;
  --rhythm-leading: 1.55;
}

/* Body inherits leading from rhythm */
body { line-height: var(--rhythm-leading); }

/* Sections breathe by rhythm */
.section { padding-top: var(--rhythm-section); padding-bottom: var(--rhythm-section); }
.hero { padding-top: calc(var(--rhythm-section) + 20px); padding-bottom: calc(var(--rhythm-section) - 40px); }
.services-grid { gap: var(--rhythm-gap); }
.service-card { border-radius: var(--rhythm-radius); }

/* Hover lift scales with energy (1–3px multiplier) */
.service-card:hover { transform: translateY(calc(-2px * var(--energy-lift))); }

/* Animation speed driven by energy */
.bottle-spray, .broom, .bucket-bubbles circle, .sparkles g, .dust circle, .spray circle {
  animation-duration: calc(var(--anim-base, 2.4s) * var(--energy-speed)) !important;
}
.shine-letters { animation-duration: calc(8s * var(--energy-speed)); }
.shine-brush { animation-duration: calc(12s * var(--energy-speed)); }
.shine-glint { animation-duration: calc(8s * var(--energy-speed)); }

/* Floating bubbles particle field opacity tracks energy */
.bubbles, .bubble-field, .hero-bubbles { opacity: var(--energy-bubbles); }
.chip { opacity: calc(0.6 + 0.4 * var(--energy-bubbles)); }

/* Shine intensity */
.shine-letters { filter: brightness(calc(1 + var(--energy-shine) * 0.05)); }

/* Calm mode: kill the broom + glint entirely for stillness */
html[data-energy="calm"] .shine-brush,
html[data-energy="calm"] .shine-glint,
html[data-energy="calm"] .sparkles,
html[data-energy="calm"] .bucket-bubbles,
html[data-energy="calm"] .dust {
  animation: none !important;
  opacity: 0 !important;
}
html[data-energy="calm"] .shine-letters {
  animation: none !important;
  background: var(--blue-5) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* Lively mode: pump the floating chips and bubbles */
html[data-energy="lively"] .chip { animation-duration: 3s !important; }

/* Midnight (dark) mood adjustments */
html[data-mood="midnight"] body { background: var(--bg); color: var(--ink-1); }
html[data-mood="midnight"] .nav { background: rgba(20,30,46,.75); border-color: rgba(143,195,242,.10); }
html[data-mood="midnight"] .nav-links a { color: var(--ink-2); }
html[data-mood="midnight"] .nav-links a:hover { background: rgba(143,195,242,.10); color: var(--blue-5); }
html[data-mood="midnight"] .brand-mark { background: #FFFFFF; }
html[data-mood="midnight"] .service-card { background: var(--card); border-color: rgba(143,195,242,.08); }
html[data-mood="midnight"] .service-feat { background: linear-gradient(160deg, rgba(143,195,242,.08), var(--card)); }
html[data-mood="midnight"] .svc-icon { background: rgba(143,195,242,.12); color: var(--blue-5); }
html[data-mood="midnight"] .service-tags li { background: rgba(143,195,242,.08); border-color: rgba(143,195,242,.18); color: var(--blue-5); }
html[data-mood="midnight"] .chip { background: var(--card); color: var(--ink-1); }
html[data-mood="midnight"] .hero-card { background: var(--card); }
html[data-mood="midnight"] .trust-strip { color: var(--ink-3); border-color: rgba(143,195,242,.18); }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
#tweaks-panel {
  position: fixed; right: 18px; bottom: 18px;
  z-index: 9999;
  font-family: 'Inter', system-ui, sans-serif;
  pointer-events: none;
}
#tweaks-panel .tw-card {
  width: 320px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(15,30,50,.10);
  border-radius: 18px;
  box-shadow: 0 20px 60px -20px rgba(15,30,50,.35), 0 4px 12px -4px rgba(15,30,50,.10);
  padding: 16px 16px 18px;
  pointer-events: auto;
  opacity: 0; transform: translateY(12px) scale(.98);
  transition: opacity .22s ease, transform .22s cubic-bezier(.2,.7,.3,1.2);
  color: #0E2433;
}
#tweaks-panel.is-open .tw-card { opacity: 1; transform: translateY(0) scale(1); }

#tweaks-panel .tw-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
#tweaks-panel .tw-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  color: #0E2433;
}
#tweaks-panel .tw-close {
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(15,30,50,.06); border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: #3B4A57; transition: background .15s;
}
#tweaks-panel .tw-close:hover { background: rgba(15,30,50,.12); }

#tweaks-panel .tw-section { margin-bottom: 14px; }
#tweaks-panel .tw-section:last-child { margin-bottom: 0; }

#tweaks-panel .tw-label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
#tweaks-panel .tw-label > span:first-child {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: #3B4A57;
}
#tweaks-panel .tw-hint {
  font-size: 11px; color: #6A7785; font-style: italic;
}

/* Mood swatches */
#tweaks-panel .tw-swatches {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
}
#tweaks-panel .tw-swatch {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px 6px;
  border-radius: 10px; border: 1.5px solid transparent;
  background: rgba(15,30,50,.03);
  cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
#tweaks-panel .tw-swatch:hover { background: rgba(15,30,50,.06); transform: translateY(-1px); }
#tweaks-panel .tw-swatch.is-active {
  border-color: #1A6FB5; background: rgba(26,111,181,.08);
}
#tweaks-panel .tw-swatch-chip {
  display: inline-flex; gap: 0;
  width: 32px; height: 14px; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(15,30,50,.08);
}
#tweaks-panel .tw-swatch-chip span { flex: 1; }
#tweaks-panel .tw-swatch-label {
  font-size: 9.5px; font-weight: 600; color: #3B4A57; text-align: center; line-height: 1.1;
}

/* Slider */
#tweaks-panel .tw-slider-wrap { padding: 0 2px; }
#tweaks-panel .tw-slider {
  width: 100%; height: 4px; border-radius: 999px;
  -webkit-appearance: none; appearance: none;
  background: linear-gradient(to right, #CEEAF8, #1A6FB5);
  outline: none; cursor: pointer;
}
#tweaks-panel .tw-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: white; border: 2px solid #1A6FB5;
  cursor: pointer; box-shadow: 0 2px 6px rgba(15,30,50,.2);
  transition: transform .12s;
}
#tweaks-panel .tw-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
#tweaks-panel .tw-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: white; border: 2px solid #1A6FB5;
  cursor: pointer; box-shadow: 0 2px 6px rgba(15,30,50,.2);
}
#tweaks-panel .tw-slider-poles {
  display: flex; justify-content: space-between;
  font-size: 10.5px; color: #6A7785; margin-top: 6px;
  font-weight: 500;
}

/* Segmented (rhythm) */
#tweaks-panel .tw-segs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  background: rgba(15,30,50,.05); border-radius: 10px; padding: 3px;
}
#tweaks-panel .tw-seg {
  border: none; background: transparent; cursor: pointer;
  padding: 7px 8px; border-radius: 8px;
  font-size: 12px; font-weight: 600; color: #3B4A57;
  font-family: inherit; transition: background .15s, color .15s;
}
#tweaks-panel .tw-seg:hover { color: #1A6FB5; }
#tweaks-panel .tw-seg.is-active {
  background: white; color: #1A6FB5;
  box-shadow: 0 1px 3px rgba(15,30,50,.1);
}

/* Dark mood adjusts panel too */
html[data-mood="midnight"] #tweaks-panel .tw-card {
  background: rgba(20,30,46,.92); color: #EAF1FA;
  border-color: rgba(143,195,242,.18);
}
html[data-mood="midnight"] #tweaks-panel .tw-title { color: #EAF1FA; }
html[data-mood="midnight"] #tweaks-panel .tw-label > span:first-child { color: #B7C5D6; }
html[data-mood="midnight"] #tweaks-panel .tw-hint { color: #7E8EA3; }
html[data-mood="midnight"] #tweaks-panel .tw-swatch { background: rgba(143,195,242,.06); }
html[data-mood="midnight"] .tw-swatch-label { color: #B7C5D6; }
html[data-mood="midnight"] #tweaks-panel .tw-segs { background: rgba(143,195,242,.08); }
html[data-mood="midnight"] #tweaks-panel .tw-seg { color: #B7C5D6; }
html[data-mood="midnight"] #tweaks-panel .tw-seg.is-active { background: #1A2436; color: #8FC3F2; }
html[data-mood="midnight"] #tweaks-panel .tw-close { background: rgba(143,195,242,.10); color: #B7C5D6; }

@media (max-width: 600px) {
  #tweaks-panel { right: 8px; bottom: 8px; left: 8px; }
  #tweaks-panel .tw-card { width: auto; }
}
