/* =========================================================
   FlowPro Plumbing - "Hydro" design system
   Water-inspired: aqua + deep navy + teal, wave dividers,
   floating pill nav, droplet icons, organic rounded shapes.
   Intentionally distinct from the Summit HVAC template.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* -- Root tokens ------------------------------------------- */
:root {
  --navy:      #062a3f;
  --navy-2:    #0a3d5c;
  --navy-3:    #0e4a6e;
  --aqua:      #06b6d4;
  --aqua-dark: #0891b2;
  --aqua-deep: #0e7490;
  --teal:      #14b8a6;
  --sky:       #38bdf8;
  --wash:      #f1fbfe;
  --wash-2:    #dff4fb;
  --wash-3:    #cfeef8;
  --ink:       #13293a;
  --ink-soft:  #4c6473;
  --line:      #d3ebf3;
  --white:     #ffffff;

  --pill: 999px;
  --r-sm: 14px;
  --r:    22px;
  --r-lg: 32px;

  --ring:   0 0 0 1px rgba(6,182,212,.14);
  --sh-sm:  0 2px 10px rgba(8,60,90,.06);
  --sh:     0 10px 30px rgba(8,60,90,.10);
  --sh-lg:  0 22px 55px rgba(8,60,90,.16);
  --sh-aqua:0 14px 34px rgba(6,182,212,.32);

  --space:  clamp(4.5rem, 9vw, 8rem);
}

/* -- Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, .font-display { font-family: 'Sora', system-ui, sans-serif; letter-spacing: -.02em; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--wash); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--aqua), var(--teal)); border-radius: 999px; border: 2px solid var(--wash); }

::selection { background: var(--aqua); color: #fff; }

/* -- Layout ------------------------------------------------ */
.container { max-width: 1220px; margin: 0 auto; padding: 0 1.35rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px){ .container { padding: 0 2.5rem; } }
.section { padding: var(--space) 0; position: relative; }
.section-sm { padding: 3.25rem 0; position: relative; }

.bg-wash { background: var(--wash); }
.bg-wash-2 { background: linear-gradient(180deg, var(--wash) 0%, var(--wash-2) 100%); }
.bg-navy { background: var(--navy); }

/* -- Typography helpers ------------------------------------ */
.aqua-text {
  background: linear-gradient(100deg, var(--aqua) 0%, var(--teal) 60%, var(--sky) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Sora', sans-serif; font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--aqua-deep);
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--aqua), var(--teal));
}
.eyebrow.on-dark { color: var(--sky); }
.eyebrow.center { justify-content: center; }
.h-xl { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; line-height: 1.04; }
.h-lg { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; line-height: 1.12; }
.h-md { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 700; line-height: 1.2; }
.lead { font-size: clamp(1.03rem, 1.5vw, 1.18rem); color: var(--ink-soft); line-height: 1.75; }
.muted { color: var(--ink-soft); }

/* -- Buttons - pill + gradient + water glow --------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 1rem 1.75rem; border-radius: var(--pill); border: none; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease, color .2s ease;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(120deg, var(--aqua) 0%, var(--aqua-deep) 100%); color: #fff; box-shadow: var(--sh-aqua); }
.btn-primary:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 20px 44px rgba(6,182,212,.45); }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(6,42,63,.3); }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--aqua-deep); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--aqua); color: var(--aqua-dark); background: var(--wash); transform: translateY(-3px); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 10px 26px rgba(0,0,0,.16); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.btn-outline { background: rgba(255,255,255,.06); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-3px); }
.btn-lg { padding: 1.15rem 2.2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* -- Floating pill navbar --------------------------------- */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: .9rem 0; transition: padding .3s ease; }
.nav-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 66px; padding: 0 .8rem 0 1.15rem; border-radius: var(--pill);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border: 1px solid transparent;
}
#navbar.transparent .nav-pill { background: rgba(6,42,63,.28); border-color: rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
#navbar.scrolled { padding: .55rem 0; }
#navbar.scrolled .nav-pill,
#navbar.always-white .nav-pill { background: rgba(255,255,255,.9); border-color: var(--line); box-shadow: 0 12px 34px rgba(8,60,90,.14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--aqua) 0%, var(--teal) 100%);
  box-shadow: 0 8px 18px rgba(6,182,212,.4);
}
.brand-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.06rem; line-height: 1; color: #fff; }
.brand-tag { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
#navbar.scrolled .brand-name, #navbar.always-white .brand-name { color: var(--navy); }
#navbar.scrolled .brand-tag,  #navbar.always-white .brand-tag  { color: var(--aqua-deep); }

.nav-links { display: none; align-items: center; gap: .15rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  font-family: 'Sora', sans-serif; font-size: .9rem; font-weight: 500;
  padding: .5rem .95rem; border-radius: var(--pill); transition: all .2s ease; position: relative;
}
#navbar.transparent .nav-link { color: rgba(255,255,255,.88); }
#navbar.transparent .nav-link:hover { color: #fff; background: rgba(255,255,255,.14); }
#navbar.scrolled .nav-link, #navbar.always-white .nav-link { color: var(--ink); }
#navbar.scrolled .nav-link:hover, #navbar.always-white .nav-link:hover { color: var(--aqua-deep); background: var(--wash); }
.nav-link.active { color: #fff; background: linear-gradient(120deg, var(--aqua), var(--aqua-deep)); box-shadow: 0 6px 16px rgba(6,182,212,.35); }
#navbar.scrolled .nav-link.active, #navbar.always-white .nav-link.active { color: #fff; }

.nav-cta { display: none; align-items: center; gap: .7rem; }
@media (min-width: 1024px) { .nav-cta { display: flex; } }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-family: 'Sora',sans-serif; font-weight: 600; font-size: .88rem; padding: .4rem .6rem; }
#navbar.transparent .nav-phone { color: #fff; }
#navbar.scrolled .nav-phone, #navbar.always-white .nav-phone { color: var(--navy); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; position: relative; }
.live-dot::after { content:''; position:absolute; inset:-4px; border-radius:50%; background:#34d399; opacity:.5; animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%,100% { transform: scale(2.2); opacity: 0; } }

.hamburger { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; }
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span { width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: all .3s ease; }
#navbar.transparent .hamburger { color: #fff; }
#navbar.scrolled .hamburger, #navbar.always-white .hamburger { color: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-menu {
  display: none; flex-direction: column; gap: .2rem;
  margin: .5rem 1.35rem 0; padding: .9rem; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg);
}
#mobile-menu.open { display: flex; }
.mobile-nav-link { font-family: 'Sora',sans-serif; font-weight: 600; font-size: .95rem; color: var(--ink); padding: .8rem 1rem; border-radius: var(--r-sm); transition: all .15s ease; }
.mobile-nav-link:hover, .mobile-nav-link.active { background: var(--wash); color: var(--aqua-deep); }

/* -- Wave dividers ---------------------------------------- */
.wave { display: block; width: 100%; height: auto; line-height: 0; position: relative; }
.wave svg { display: block; width: 100%; height: 100%; }
.wave-flip svg { transform: scaleY(-1); }

/* -- Hero ------------------------------------------------- */
.hero {
  position: relative; padding: 9.5rem 0 3rem; overflow: hidden;
  background: radial-gradient(120% 130% at 85% 5%, var(--navy-3) 0%, var(--navy) 55%, #041d2c 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(56,189,248,.35);
  color: #bff0fb; font-family: 'Sora',sans-serif; font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; padding: .45rem 1rem; border-radius: var(--pill); backdrop-filter: blur(6px);
}
.hero h1 { color: #fff; margin-bottom: 1.35rem; }
.hero p.lead { color: rgba(233,248,253,.8); max-width: 540px; }

/* organic blob-masked hero image */
.hero-visual { position: relative; }
.blob {
  position: relative; overflow: hidden; box-shadow: var(--sh-lg);
  border-radius: 46% 54% 58% 42% / 42% 44% 56% 58%;
  animation: morph 14s ease-in-out infinite;
  border: 6px solid rgba(255,255,255,.1);
}
.blob img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1.05; }
@keyframes morph {
  0%,100% { border-radius: 46% 54% 58% 42% / 42% 44% 56% 58%; }
  50%     { border-radius: 56% 44% 42% 58% / 54% 58% 42% 46%; }
}
.float-chip {
  position: absolute; display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.96); border-radius: var(--r-sm); padding: .7rem .9rem;
  box-shadow: var(--sh-lg); border: 1px solid rgba(255,255,255,.6);
}
.float-chip.tl { top: 8%; left: -6%; animation: bobA 5s ease-in-out infinite; }
.float-chip.br { bottom: 10%; right: -4%; animation: bobB 6s ease-in-out infinite; }
@keyframes bobA { 50% { transform: translateY(-12px); } }
@keyframes bobB { 50% { transform: translateY(10px); } }
.chip-ico { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: linear-gradient(135deg, var(--aqua), var(--teal)); }
.chip-ico svg { width: 19px; height: 19px; color: #fff; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem 2.5rem; margin-top: 2.75rem; }
.hero-stat .n { font-family: 'Sora',sans-serif; font-weight: 800; font-size: 1.9rem; color: #fff; line-height: 1; }
.hero-stat .l { font-size: .78rem; color: rgba(191,240,251,.65); text-transform: uppercase; letter-spacing: .08em; margin-top: .35rem; }

/* -- Droplet icon (signature) ----------------------------- */
.drop {
  width: 56px; height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50% 50% 50% 12px;
  background: linear-gradient(135deg, var(--wash-2), var(--wash-3));
  color: var(--aqua-deep); transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s ease, color .35s ease;
}
.drop svg { width: 26px; height: 26px; }
.drop.solid { background: linear-gradient(135deg, var(--aqua), var(--teal)); color: #fff; box-shadow: var(--sh-aqua); }
.drop.sm { width: 44px; height: 44px; border-radius: 50% 50% 50% 10px; }
.drop.sm svg { width: 20px; height: 20px; }

/* -- Pills / tags ----------------------------------------- */
.tag { display: inline-flex; align-items: center; gap: .35rem; font-family:'Sora',sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .3rem .75rem; border-radius: var(--pill); }
.tag-aqua { background: var(--wash-2); color: var(--aqua-deep); }
.tag-navy { background: var(--navy); color: #fff; }
.tag-teal { background: rgba(20,184,166,.14); color: #0f766e; }

/* -- Service cards (droplet on top, no image needed) ------- */
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 2rem 1.75rem; box-shadow: var(--sh-sm); transition: all .35s cubic-bezier(.2,.8,.2,1);
  position: relative; overflow: hidden;
}
.svc-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background: linear-gradient(90deg,var(--aqua),var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover .drop { transform: translateY(-4px) rotate(-6deg); background: linear-gradient(135deg, var(--aqua), var(--teal)); color: #fff; }
.svc-card h3 { font-size: 1.16rem; margin: 1.15rem 0 .5rem; }
.svc-card p { color: var(--ink-soft); font-size: .92rem; }
.svc-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-family:'Sora',sans-serif; font-weight: 600; font-size: .86rem; color: var(--aqua-deep); }
.svc-link svg { width: 15px; height: 15px; transition: transform .25s ease; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

/* Image service card (services page) */
.svc-photo-card { background:#fff; border:1px solid var(--line); border-radius: var(--r); overflow:hidden; box-shadow: var(--sh-sm); transition: all .35s ease; }
.svc-photo-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.svc-photo-wrap { position: relative; overflow: hidden; height: 210px; }
.svc-photo-wrap img { width:100%; height:100%; object-fit: cover; transition: transform .6s ease; }
.svc-photo-card:hover .svc-photo-wrap img { transform: scale(1.08); }
.svc-photo-wrap::after { content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(6,42,63,.55), transparent 60%); }
.svc-photo-badge { position:absolute; left:1rem; bottom:1rem; z-index:2; }

/* -- Generic feature / reason card ------------------------ */
.feature { background:#fff; border:1px solid var(--line); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--sh-sm); transition: all .3s ease; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: rgba(6,182,212,.4); }
.feature h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature p { font-size: .88rem; color: var(--ink-soft); }

/* -- Split layouts ---------------------------------------- */
.split { display: grid; grid-template-columns: 1fr; gap: 2.75rem; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split-wide { display:grid; grid-template-columns:1fr; gap:2.75rem; align-items:center; }
@media (min-width: 992px){ .split-wide { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }

/* framed image with aqua offset */
.framed { position: relative; }
.framed > img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-lg); position: relative; z-index: 2; }
.framed::before { content:''; position:absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--aqua), var(--teal)); opacity: .16; z-index: 1; }

/* -- Checklist -------------------------------------------- */
.checks { list-style: none; display: grid; gap: .85rem; }
.checks li { display: flex; align-items: flex-start; gap: .7rem; font-size: .95rem; color: var(--ink); }
.checks li .ck { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg,var(--aqua),var(--teal)); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.checks li .ck svg { width: 13px; height: 13px; color: #fff; }

/* -- Comparison (water heater) ---------------------------- */
.compare { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-card { border-radius: var(--r-lg); padding: 2.25rem; position: relative; overflow: hidden; }
.compare-card.tank { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.compare-card.tankless { background: linear-gradient(150deg, var(--navy-2), var(--navy)); color: #fff; box-shadow: var(--sh-lg); }
.compare-card h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.compare-row { display: flex; align-items: center; gap: .6rem; padding: .7rem 0; border-bottom: 1px dashed rgba(120,150,170,.25); font-size: .9rem; }
.compare-card.tankless .compare-row { border-color: rgba(255,255,255,.14); }
.compare-row svg { width: 18px; height: 18px; flex-shrink: 0; }
.best-badge { position: absolute; top: 1.25rem; right: 1.25rem; }

/* -- Process steps (drain cleaning) ----------------------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.25rem; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px){ .steps { grid-template-columns: repeat(4,1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 2.5rem 1.5rem 1.6rem; box-shadow: var(--sh-sm); transition: all .3s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.step-num {
  position: absolute; top: -22px; left: 1.5rem; width: 46px; height: 46px; border-radius: 50% 50% 50% 12px;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-deep)); color: #fff;
  font-family: 'Sora',sans-serif; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-aqua);
}
.step h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .86rem; color: var(--ink-soft); }
.step-line { display: none; }

/* -- Maintenance plans ------------------------------------ */
.plans { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3,1fr); } }
.plan { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 2.25rem 2rem; box-shadow: var(--sh-sm); transition: all .35s ease; display:flex; flex-direction:column; }
.plan:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.plan.featured { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color:#fff; border-color: transparent; box-shadow: var(--sh-lg); position: relative; }
.plan.featured .muted, .plan.featured .plan-price small { color: rgba(233,248,253,.7) !important; }
.plan-price { font-family:'Sora',sans-serif; font-weight:800; font-size: 2.4rem; line-height:1; margin: .6rem 0 1.25rem; }
.plan-price small { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.plan-feat { list-style:none; display:grid; gap:.7rem; margin: 1rem 0 1.75rem; }
.plan-feat li { display:flex; gap:.6rem; align-items:flex-start; font-size:.9rem; }
.plan-feat li svg { width:17px; height:17px; flex-shrink:0; margin-top:2px; color: var(--teal); }
.plan.featured .plan-feat li svg { color: var(--sky); }
.plan .btn { margin-top: auto; }

/* -- Testimonials ----------------------------------------- */
.quote-feature {
  background: linear-gradient(150deg, var(--navy-2), var(--navy)); color:#fff;
  border-radius: var(--r-lg); padding: 2.75rem; position: relative; overflow: hidden; box-shadow: var(--sh-lg);
}
.quote-feature .qmark { position:absolute; top:1.5rem; right:2rem; font-family:'Sora',sans-serif; font-size:7rem; line-height:1; color: rgba(56,189,248,.18); }
.quote-card { background:#fff; border:1px solid var(--line); border-radius: var(--r); padding: 1.75rem; box-shadow: var(--sh-sm); transition: all .3s ease; }
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: rgba(6,182,212,.4); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: #f5a524; color: #f5a524; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family:'Sora',sans-serif; font-weight: 700; font-size: .9rem; color: #fff; flex-shrink: 0; }

/* -- Projects / before-after ------------------------------ */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.filter-btn {
  font-family:'Sora',sans-serif; font-weight: 600; font-size: .85rem; padding: .6rem 1.35rem;
  border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer;
  transition: all .25s ease;
}
.filter-btn:hover { border-color: var(--aqua); color: var(--aqua-deep); }
.filter-btn.active { background: linear-gradient(120deg,var(--aqua),var(--aqua-deep)); color:#fff; border-color: transparent; box-shadow: var(--sh-aqua); }

.project-card { background:#fff; border:1px solid var(--line); border-radius: var(--r); overflow:hidden; box-shadow: var(--sh-sm); transition: all .35s ease; }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }

/* before/after slider */
.ba { position: relative; overflow: hidden; border-radius: var(--r); user-select: none; box-shadow: var(--sh); }
.ba img { display:block; width:100%; height:100%; object-fit: cover; pointer-events: none; }
.ba-after { position:absolute; inset:0; }
.ba-before { position:absolute; inset:0; width:50%; overflow:hidden; border-right: 3px solid #fff; }
.ba-before img { width: 200%; max-width: none; height: 100%; }
.ba-handle { position:absolute; top:0; bottom:0; left:50%; width:44px; transform: translateX(-50%); cursor: ew-resize; display:flex; align-items:center; justify-content:center; z-index:3; }
.ba-handle::before { content:''; position:absolute; top:0; bottom:0; width:3px; background:#fff; box-shadow:0 0 0 1px rgba(6,42,63,.1); }
.ba-knob { width:44px; height:44px; border-radius:50%; background:#fff; box-shadow: var(--sh); display:flex; align-items:center; justify-content:center; color: var(--aqua-deep); position: relative; z-index:2; }
.ba-knob svg { width: 22px; height: 22px; }
.ba-label { position:absolute; bottom:.75rem; z-index:2; font-family:'Sora',sans-serif; font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#fff; background: rgba(6,42,63,.65); padding:.25rem .7rem; border-radius: var(--pill); backdrop-filter: blur(4px); }
.ba-label.l { left:.75rem; } .ba-label.r { right:.75rem; }

/* -- FAQ accordion ---------------------------------------- */
.acc { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: all .25s ease; }
.acc.open { border-color: var(--aqua); box-shadow: var(--sh); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.6rem; background: none; border: none; cursor: pointer; text-align: left; }
.acc-q { font-family:'Sora',sans-serif; font-weight: 600; font-size: 1rem; color: var(--navy); }
.acc-ico { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--wash-2); display: flex; align-items: center; justify-content: center; transition: all .3s ease; }
.acc-ico svg { width: 15px; height: 15px; color: var(--aqua-deep); transition: transform .3s ease; }
.acc.open .acc-ico { background: linear-gradient(135deg,var(--aqua),var(--aqua-deep)); }
.acc.open .acc-ico svg { color: #fff; transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.acc-body.open { max-height: 400px; }
.acc-body-inner { padding: 0 1.6rem 1.4rem; color: var(--ink-soft); font-size: .94rem; line-height: 1.75; }

/* -- Forms ------------------------------------------------ */
.field { width: 100%; padding: .9rem 1.15rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-family: 'Manrope', sans-serif; font-size: .95rem; color: var(--ink); background: var(--wash); transition: all .2s ease; outline: none; }
.field:focus { border-color: var(--aqua); background: #fff; box-shadow: 0 0 0 4px rgba(6,182,212,.14); }
.field::placeholder { color: #93aeba; }
.flabel { display: block; font-family:'Sora',sans-serif; font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }

/* -- Service-area chips ----------------------------------- */
.area-chip { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); padding: .7rem 1.1rem; box-shadow: var(--sh-sm); transition: all .25s ease; cursor: default; }
.area-chip:hover { border-color: var(--aqua); background: var(--wash); transform: translateY(-3px); }
.area-chip svg { width: 16px; height: 16px; color: var(--aqua-deep); flex-shrink: 0; }
.area-chip span { font-family:'Sora',sans-serif; font-weight: 600; font-size: .88rem; }

/* map */
.map-shell { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); border: 6px solid #fff; min-height: 340px; background: linear-gradient(150deg, var(--wash-2), var(--wash-3)); }
.map-pin { position: absolute; transform: translate(-50%,-50%); }
.map-pin .pin-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--aqua); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(6,42,63,.3); position: relative; }
.map-pin .pin-dot::after { content:''; position:absolute; inset:-8px; border-radius:50%; background: var(--aqua); opacity:.35; animation: ping 2s ease-out infinite; }
.map-label { position:absolute; top:1rem; left:1rem; background:#fff; border-radius: var(--r-sm); padding:.6rem .9rem; box-shadow: var(--sh); font-family:'Sora',sans-serif; }

/* -- Emergency strip + floating button -------------------- */
.emergency-strip { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--aqua-deep) 130%); position: relative; overflow: hidden; }
.emergency-strip::before { content:''; position:absolute; right:-4%; top:-40%; width:340px; height:340px; border-radius:50%; background: rgba(56,189,248,.12); }
.emergency-strip::after { content:''; position:absolute; left:8%; bottom:-60%; width:260px; height:260px; border-radius:50%; background: rgba(20,184,166,.12); }
.pulse-ico { position: relative; width: 56px; height: 56px; border-radius: 50%; background: #06b6d4; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.pulse-ico svg { width: 27px; height: 27px; color:#fff; }
.pulse-ico::after { content:''; position:absolute; inset:0; border-radius:50%; box-shadow:0 0 0 0 rgba(6,182,212,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(6,182,212,0); } 100% { box-shadow: 0 0 0 0 rgba(6,182,212,0); } }

.fab-call { position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 900; display: inline-flex; align-items: center; gap: .55rem; padding: .95rem 1.3rem; border-radius: var(--pill); background: linear-gradient(120deg, var(--aqua), var(--aqua-deep)); color: #fff; font-family:'Sora',sans-serif; font-weight: 700; font-size: .9rem; box-shadow: var(--sh-aqua); transition: transform .25s ease, box-shadow .25s ease; }
.fab-call:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 44px rgba(6,182,212,.5); }
.fab-call svg { width: 18px; height: 18px; }
.fab-call .fab-txt { display: none; }
@media (min-width: 480px) { .fab-call .fab-txt { display: inline; } }

/* -- Page hero (inner pages) ------------------------------ */
.page-hero { position: relative; padding: 10rem 0 5rem; overflow: hidden; background: radial-gradient(120% 140% at 80% 0%, var(--navy-3) 0%, var(--navy) 60%, #041d2c 100%); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(233,248,253,.78); }
.crumb { display: inline-flex; align-items: center; gap: .5rem; color: rgba(191,240,251,.7); font-size: .85rem; font-family:'Sora',sans-serif; }
.crumb a:hover { color: #fff; }

/* -- Stat ribbon ------------------------------------------ */
.stat-ribbon { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
@media (min-width: 768px){ .stat-ribbon { grid-template-columns: repeat(4,1fr); } }
.stat-cell { background: #fff; padding: 2rem 1.25rem; text-align: center; }
.stat-cell .n { font-family:'Sora',sans-serif; font-weight: 800; font-size: 2.1rem; color: var(--navy); line-height: 1; }
.stat-cell .l { font-size: .8rem; color: var(--ink-soft); margin-top: .4rem; text-transform: uppercase; letter-spacing: .06em; }

/* -- Footer ----------------------------------------------- */
.footer { background: var(--navy); color: rgba(233,248,253,.8); position: relative; }
.footer-heading { font-family:'Sora',sans-serif; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(191,240,251,.55); margin-bottom: 1.15rem; }
.footer-link { color: rgba(233,248,253,.7); font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; transition: all .2s ease; }
.footer-link:hover { color: var(--sky); transform: translateX(3px); }
.footer-link svg { width: 15px; height: 15px; color: var(--aqua); }
.social { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: rgba(233,248,253,.75); transition: all .25s ease; }
.social:hover { background: linear-gradient(135deg,var(--aqua),var(--teal)); color: #fff; transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; }

/* -- Grids ------------------------------------------------ */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px){ .grid-4 { grid-template-columns: repeat(4,1fr); } }

/* -- Scroll reveal ---------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal-right.visible { opacity: 1; transform: none; }
.delay-100 { transition-delay: .1s !important; }
.delay-200 { transition-delay: .2s !important; }
.delay-300 { transition-delay: .3s !important; }
.delay-400 { transition-delay: .4s !important; }
.counter { font-variant-numeric: tabular-nums; }

/* -- Utilities -------------------------------------------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.maxw-xl { max-width: 640px; }
.maxw-2xl { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media print { #navbar, .fab-call, .emergency-strip { display: none; } }
