/* ═══════════════════════════════════════════════════════
   CASPIAN PLUMBING — Design System
   Colours: Navy · White · Light Blue · Grey
   Font: Inter (Google Fonts)
═══════════════════════════════════════════════════════ */

/* ── Reset & Tokens ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Navy scale */
  --navy-950: #040c1a;
  --navy-900: #060f24;
  --navy-800: #0c1f3f;
  --navy-700: #112d58;
  --navy-600: #163a6e;
  --navy-500: #1e4d8c;

  /* Blue accent scale */
  --blue-600: #1558a0;
  --blue-500: #1d6fb8;
  --blue-400: #3589d4;
  --blue-300: #60aee8;
  --blue-200: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  /* Neutral */
  --white:    #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;

  /* Semantic */
  --cta:      #1d6fb8;
  --cta-dark: #1558a0;
  --success:  #059669;
  --emergency:#dc2626;

  /* Type */
  --font: 'Inter', 'Segoe UI', Arial, sans-serif;

  /* Radius */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 4px rgba(6,15,36,.07);
  --shadow:    0 2px 16px rgba(6,15,36,.09);
  --shadow-md: 0 4px 28px rgba(6,15,36,.12);
  --shadow-lg: 0 8px 48px rgba(6,15,36,.16);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-700);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }

/* ── Utility ─────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 5.5rem 1.5rem; }

.section-eyebrow {
  display: block;
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: .55rem;
}
.section-eyebrow.left { text-align: left; }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--navy-800);
  text-align: center;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-bottom: .65rem;
}
.section-title.left { text-align: left; }

.section-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.section-sub.left { text-align: left; margin: 0 0 2rem; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.85rem;
  border-radius: var(--r);
  font-weight: 700;
  font-size: .97rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
  letter-spacing: -.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .95rem 2.2rem; font-size: 1.05rem; }

/* Primary CTA */
.btn-cta {
  background: var(--cta);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(29,111,184,.38);
}
.btn-cta:hover { background: var(--cta-dark); box-shadow: 0 6px 22px rgba(29,111,184,.5); }

/* White outlined (for dark backgrounds) */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* Navy outlined (for light backgrounds) */
.btn-outline-navy {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-700);
}
.btn-outline-navy:hover { background: var(--navy-800); color: var(--white); }

/* White solid */
.btn-white { background: var(--white); color: var(--cta); font-weight: 700; }
.btn-white:hover { background: var(--blue-50); box-shadow: var(--shadow-md); }

/* Full width */
.btn-full { width: 100%; justify-content: center; }

/* ── Navbar ──────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6,15,36,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand { display: flex; align-items: center; gap: .8rem; }
.nav-logo-svg { flex-shrink: 0; }

.nav-brand-text { line-height: 1.15; }
.nav-logo-img { height: 52px; width: auto; display: block; filter: brightness(0) invert(1); }
.nav-company  { display: block; font-size: 1.45rem; font-weight: 900; color: var(--white); letter-spacing: .02em; }
.nav-tagline  { display: block; font-size: .72rem; color: var(--white); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links a {
  color: #8fafc8;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); border-bottom-color: var(--blue-400); }

.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-phone {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-300);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.nav-phone:hover { color: var(--white); }

.btn-nav {
  background: var(--cta);
  color: var(--white);
  padding: .5rem 1.3rem;
  font-size: .88rem;
  font-weight: 700;
  border-radius: var(--r);
  border: none;
  box-shadow: 0 3px 10px rgba(29,111,184,.4);
  transition: background .2s, transform .15s;
}
.btn-nav:hover { background: var(--cta-dark); transform: translateY(-1px); }


.footer-logo-img {
  height: 70px;
  width: auto;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
  background: var(--white);
  padding: .5rem 1rem;
}

/* Mobile hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .4rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, #102040 100%);
  color: var(--white);
  padding: 7rem 2rem 6rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Subtle diagonal line texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,.018) 40px,
    rgba(255,255,255,.018) 41px
  );
  pointer-events: none;
}

/* Large faint circle graphic */
.hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(96,174,232,.08);
  top: 50%; right: -220px;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-300);
  background: rgba(96,174,232,.12);
  border: 1px solid rgba(96,174,232,.25);
  border-radius: 999px;
  padding: .35rem 1rem;
  margin-bottom: 1.4rem;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-300);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #8ab0cc;
  max-width: 620px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}

.hero-slogan {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--blue-300);
  opacity: .85;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: #8ab0cc;
  font-weight: 500;
}
.hero-trust-item svg { color: var(--blue-300); flex-shrink: 0; }

/* ── Trust Strip ─────────────────────────────────────── */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 2.75rem 1.5rem;
  box-shadow: 0 2px 12px rgba(6,15,36,.05);
}

.trust-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .75rem 2rem;
  text-align: center;
  flex: 1;
  min-width: 140px;
  border-right: 1px solid var(--gray-200);
  transition: background .2s;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--blue-50); }

.trust-item-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
  flex-shrink: 0;
}
.trust-item-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.3;
}

/* ── Services ────────────────────────────────────────── */
.services-section { background: var(--gray-50); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  transition: transform .45s cubic-bezier(.34,1.56,.64,1),
              box-shadow .35s ease,
              border-color .25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 48px rgba(4,16,34,.14);
  border-color: var(--blue-300);
}
/* Photo wrapper — gives us a stable clipping box for the zoom */
.service-card-photo-wrap {
  width: calc(100% + 3rem);
  margin: -1.75rem -1.5rem 1.5rem;
  height: 185px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
/* Gradient fade so the photo blends into the card body */
.service-card-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  background: linear-gradient(transparent, rgba(255,255,255,.95));
  pointer-events: none;
  z-index: 1;
}
.service-card-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
/* Photo zooms when card is hovered */
.service-card:hover .service-card-photo-wrap img { transform: scale(1.08); }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--blue-500);
  opacity: 0;
  transition: opacity .2s;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
  margin-bottom: 1rem;
  flex-shrink: 0;
  transition: background .2s;
}
.service-card:hover .service-icon { background: var(--blue-100); }

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: .4rem;
}
.service-card p {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: .75rem;
}

.service-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.service-card-list li {
  font-size: .8rem;
  color: var(--gray-500);
  padding-left: 1.1rem;
  position: relative;
}
.service-card-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--blue-400);
  font-weight: 700;
}

.service-emergency {
  border-color: #fee2e2;
}
.service-emergency .service-icon {
  background: #fff0f0;
  color: var(--emergency);
}
.service-emergency h3 { color: var(--emergency); }
.service-emergency::before { background: var(--emergency); }

/* ── About ───────────────────────────────────────────── */
.about-section { background: var(--white); }
.about-photo {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--r-xl);
  margin-bottom: 1.5rem;
}
.about-logo-wrap {
  width: 100%;
  height: 230px;
  background: var(--white);
  border-radius: var(--r-xl);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.about-logo-display {
  width: 100%;
  max-width: 380px;
  height: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); font-weight: 800; color: var(--navy-800); margin-bottom: 1.1rem; letter-spacing: -.02em; line-height: 1.2; }
.about-text p  { color: var(--gray-600); line-height: 1.75; margin-bottom: 1rem; }
.about-text p:last-of-type { margin-bottom: 1.75rem; }

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cred-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow .2s;
}
.cred-card:hover { box-shadow: var(--shadow); }

.cred-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-500);
  flex-shrink: 0;
}
.cred-card h3  { font-size: .95rem; font-weight: 700; color: var(--navy-800); margin-bottom: .2rem; }
.cred-card p   { font-size: .85rem; color: var(--gray-500); }

/* ── Why Choose ──────────────────────────────────────── */
.why-section { background: var(--blue-50); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow .2s, transform .2s;
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.why-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-700);
  flex-shrink: 0;
}
.why-card h3 { font-size: .97rem; font-weight: 700; color: var(--navy-800); margin-bottom: .3rem; }
.why-card p  { font-size: .87rem; color: var(--gray-500); line-height: 1.6; }

/* ── Service Areas ───────────────────────────────────── */
.areas-section {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  text-align: center;
}
.areas-section .section-eyebrow { color: var(--blue-300); }
.areas-section .section-title   { color: var(--white); }
.areas-section .section-sub     { color: #7a9ab8; }

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.area-chip {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .5rem 1.2rem;
  font-size: .88rem;
  font-weight: 600;
  color: #c0d8f0;
  transition: background .2s, border-color .2s;
}
.area-chip:hover { background: rgba(96,174,232,.15); border-color: rgba(96,174,232,.4); }
.area-chip.featured {
  background: rgba(29,111,184,.3);
  border-color: rgba(96,174,232,.5);
  color: var(--white);
}

/* ── Testimonials ────────────────────────────────────── */
.testimonials-section { background: var(--gray-50); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.t-stars { color: #f59e0b; font-size: .95rem; letter-spacing: .04em; }
.t-quote {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.t-author { display: flex; align-items: center; gap: .75rem; margin-top: .25rem; }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.t-name   { font-size: .92rem; font-weight: 700; color: var(--navy-800); }
.t-loc    { font-size: .78rem; color: var(--gray-400); }

/* ── CTA Banner ──────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 50%, #1a4a82 100%);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}
.cta-banner p {
  color: #7a9ab8;
  font-size: 1.08rem;
  max-width: 520px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}
.cta-banner-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Contact Section ─────────────────────────────────── */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h2 { font-size: 1.7rem; font-weight: 800; color: var(--navy-800); margin-bottom: .5rem; letter-spacing: -.02em; }
.contact-info > p { color: var(--gray-500); margin-bottom: 1.75rem; }

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--r);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  margin-bottom: .9rem;
  transition: box-shadow .2s;
}
.contact-block:hover { box-shadow: var(--shadow); }
.contact-block.urgent { background: #fff5f5; border-color: #fecaca; }

.cb-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-500);
  flex-shrink: 0;
}
.contact-block.urgent .cb-icon { background: #fff0f0; color: var(--emergency); }

.cb-label  { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); margin-bottom: .15rem; }
.cb-value  { font-size: 1rem; font-weight: 700; color: var(--navy-800); }
.cb-value a:hover { color: var(--blue-500); }
.cb-note   { font-size: .82rem; color: var(--gray-400); margin-top: .1rem; }

/* ── Quote Form ──────────────────────────────────────── */
.quote-form-wrap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
}
.quote-form-wrap h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: .4rem;
}
.quote-form-wrap > p { font-size: .9rem; color: var(--gray-500); margin-bottom: 1.75rem; }

.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .83rem; font-weight: 600; color: var(--gray-700); }
.field input,
.field select,
.field textarea {
  padding: .72rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r-sm);
  font-size: .95rem;
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(29,111,184,.1);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-success {
  display: none;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--r);
  padding: .9rem 1.1rem;
  color: #15803d;
  font-weight: 600;
  font-size: .95rem;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--navy-950);
  color: #5a7a9a;
  padding: 4rem 2rem 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1140px;
  margin: 0 auto 3rem;
}

.footer-brand { display: flex; align-items: flex-start; gap: .8rem; }
.footer-brand-info strong { display: block; color: var(--white); font-size: 1.05rem; margin-bottom: .3rem; }
.footer-brand-info p { font-size: .87rem; color: #3a5a7a; line-height: 1.65; max-width: 240px; }

.footer-col h4 {
  color: #8fafc8;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { font-size: .87rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col p { font-size: .87rem; line-height: 1.9; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid #0e1e36;
  font-size: .8rem;
  flex-wrap: wrap;
}
.footer-cert {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(29,111,184,.2);
  border: 1px solid rgba(96,174,232,.2);
  border-radius: 999px;
  padding: .3rem .85rem;
  font-size: .75rem;
  color: var(--blue-300);
  font-weight: 600;
}

/* ── Our Work Section ────────────────────────────────── */
.work-section { background: var(--gray-50); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.work-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy-800);
  cursor: pointer;
}
.work-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}
.work-item:hover img { transform: scale(1.05); opacity: .82; }
.work-item.work-tall { grid-row: span 2; }
.work-item.work-tall img { height: 100%; min-height: 538px; object-position: center; }
.work-item.work-wide { grid-column: span 2; }
.work-item.work-wide img { height: 260px; }
.work-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(3,11,26,.84));
  color: var(--white);
  font-size: .83rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 2rem 1rem .85rem;
  pointer-events: none;
}
.work-tag {
  display: inline-block;
  background: rgba(96,174,232,.22);
  border: 1px solid rgba(96,174,232,.3);
  color: #90cff0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .18rem .55rem;
  border-radius: 4px;
  margin-bottom: .35rem;
}
@media(max-width:768px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-item.work-tall { grid-row: span 1; }
  .work-item.work-tall img { height: 220px; min-height: unset; }
  .work-item.work-wide { grid-column: span 1; }
  .work-item.work-wide img { height: 220px; }
}
@media(max-width:520px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ── Page Heroes (inner pages) ───────────────────────── */
.page-hero {
  background: var(--navy-950);
  color: var(--white);
  text-align: center;
  padding: 11rem 2rem 10rem;
  position: relative;
  overflow: hidden;
}
/* Photo background layer */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(3,11,26,.82) 0%, rgba(6,20,48,.76) 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(255,255,255,.012) 40px, rgba(255,255,255,.012) 41px
  );
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--blue-500);
  filter: blur(140px);
  opacity: .10;
  top: -200px; right: -150px;
  z-index: 1;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .section-eyebrow { color: var(--blue-300); }
.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: .7rem;
}
.page-hero p { color: rgba(255,255,255,.72); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: #4a6a8a;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.breadcrumb a:hover { color: var(--blue-300); }
.breadcrumb-sep { color: #2a4a6a; }

/* ── Services Page ───────────────────────────────────── */
.services-page-section { background: var(--white); }
.services-page-section:nth-child(even) { background: var(--gray-50); }

.service-list-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.service-list-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-200); }

.slc-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-500);
  flex-shrink: 0;
}
.slc-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-800); margin-bottom: .45rem; }
.slc-body p  { font-size: .92rem; color: var(--gray-500); line-height: 1.65; }

/* ── Gallery Page ────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform .2s, box-shadow .2s;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

.gallery-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--gray-100), var(--blue-50));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--gray-400);
}
.gallery-placeholder svg { opacity: .4; }
.gallery-placeholder span { font-size: .82rem; font-weight: 600; }

.gallery-caption {
  padding: .85rem 1rem;
  background: var(--white);
}
.gallery-caption h4 { font-size: .9rem; font-weight: 700; color: var(--navy-800); margin-bottom: .2rem; }
.gallery-caption p  { font-size: .8rem; color: var(--gray-400); }

/* ── Announce Bar ────────────────────────────────────── */
.announce-bar {
  background: var(--navy-950);
  color: #7a9ab8;
  text-align: center;
  padding: .55rem 1rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .025em;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  flex-wrap: wrap;
}
.announce-dot { color: var(--blue-400); opacity: .55; }
.announce-bar a { color: var(--blue-300); text-decoration: none; }
.announce-bar a:hover { text-decoration: underline; }

/* ── Hero Form Card ──────────────────────────────────── */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 3.5rem;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.hero-text { text-align: left; }
.hero-text .hero-cta  { justify-content: flex-start; }
.hero-text .hero-trust { justify-content: flex-start; }

.hero-form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
  flex-shrink: 0;
}
.hero-form-card h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: .25rem;
  text-align: center;
}
.hero-form-card .hfc-sub {
  font-size: .78rem;
  color: var(--gray-400);
  text-align: center;
  margin-bottom: 1.25rem;
}
.hfc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-bottom: .65rem;
}
.hfc-field { display: flex; flex-direction: column; gap: .28rem; }
.hfc-field.full { grid-column: 1 / -1; }
.hfc-field label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hfc-field input,
.hfc-field select,
.hfc-field textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r);
  padding: .58rem .8rem;
  font-size: .88rem;
  font-family: var(--font);
  color: var(--navy-800);
  background: var(--gray-50);
  transition: border-color .15s, background .15s;
  width: 100%;
}
.hfc-field input:focus,
.hfc-field select:focus,
.hfc-field textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  background: var(--white);
}
.hfc-field textarea { resize: vertical; min-height: 72px; }
.hfc-submit {
  width: 100%;
  margin-top: .75rem;
  background: var(--blue-500);
  color: var(--white);
  border: none;
  border-radius: var(--r);
  padding: .85rem;
  font-size: .97rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background .2s, transform .1s;
  letter-spacing: .01em;
}
.hfc-submit:hover { background: var(--blue-600); }
.hfc-submit:active { transform: scale(.98); }
.hfc-note {
  font-size: .7rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: .65rem;
  line-height: 1.55;
}
.hfc-success {
  display: none;
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  border-radius: var(--r);
  padding: 1rem;
  text-align: center;
  color: #065f46;
  font-size: .88rem;
  font-weight: 600;
  margin-top: .75rem;
}

/* ── Availability Band ───────────────────────────────── */
.avail-band {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
  padding: 3rem 2rem;
  color: var(--white);
}
.avail-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.avail-inner h3 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: .4rem;
  color: var(--white);
  letter-spacing: -.02em;
}
.avail-inner p {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  max-width: 560px;
  line-height: 1.65;
}

/* ── Google-style Reviews ────────────────────────────── */
/* ── YouTube Shorts showcase ─────────────────────────────── */
.shorts-showcase {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
  margin: 2.5rem auto 2.5rem;
  max-width: 860px;
}
.shorts-video-wrap {
  display: flex;
  justify-content: center;
}
.shorts-card {
  position: relative;
  width: 280px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: 0 20px 60px rgba(4,16,34,.28), 0 4px 16px rgba(4,16,34,.14);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
  aspect-ratio: 9/16;
}
.shorts-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 28px 70px rgba(4,16,34,.35); }
.shorts-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .3s;
}
.shorts-card:hover .shorts-thumb { opacity: .85; }
.shorts-card iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.shorts-play-btn {
  position: absolute; inset: 0;
  margin: auto;
  width: 64px; height: 64px;
  background: rgba(6,15,36,.75);
  border: 2.5px solid rgba(255,255,255,.55);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s;
  backdrop-filter: blur(6px);
}
.shorts-play-btn:hover { background: var(--blue-500); transform: scale(1.12); border-color: var(--blue-400); }
.shorts-chip {
  position: absolute; bottom: .9rem; left: 50%;
  transform: translateX(-50%);
  background: rgba(6,15,36,.75);
  color: rgba(255,255,255,.88);
  font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .28rem .75rem; border-radius: 20px;
  display: flex; align-items: center; gap: .35rem;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.shorts-text { display: flex; flex-direction: column; gap: .75rem; }
.shorts-quote {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.65;
  font-style: italic;
  border-left: 3px solid var(--blue-400);
  padding-left: 1rem;
  margin: 0;
}
.shorts-sub {
  font-size: .92rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}
@media(max-width: 760px) {
  .shorts-showcase { grid-template-columns: 1fr; gap: 2rem; }
  .shorts-card { width: 240px; }
}

.g-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.g-review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: box-shadow .2s, transform .2s;
}
.g-review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.g-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.g-review-author {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.g-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.g-author-name { font-size: .9rem; font-weight: 700; color: var(--navy-800); }
.g-author-loc  { font-size: .75rem; color: var(--gray-400); margin-top: .08rem; }
.g-stars { color: #f59e0b; font-size: 1rem; letter-spacing: .05em; }
.g-quote {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
}
.g-source {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding-top: .75rem;
  border-top: 1px solid var(--gray-100);
  font-size: .75rem;
  color: var(--gray-400);
  font-weight: 500;
}
.g-reviews-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: .88rem;
  color: var(--gray-400);
}
.g-reviews-footer strong { color: var(--navy-800); }

/* ── Service Category Photos (services page) ────────── */
.service-category-photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--r-xl);
  margin-bottom: 1.4rem;
  display: block;
}

/* ── Animations ──────────────────────────────────────── */
/* Honour reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up, .anim-hero, .anim-slide-down, .anim-nav-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-scene *, .hero-scene { animation: none !important; }
}

/* Base hidden states */
.anim-fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1),
              transform .65s cubic-bezier(.22,1,.36,1);
}
.anim-hero {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1),
              transform .6s cubic-bezier(.22,1,.36,1);
}
.anim-slide-down {
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity .45s ease, transform .45s cubic-bezier(.22,1,.36,1);
}
.anim-nav-in {
  opacity: 0;
  transition: opacity .5s ease .15s;
}

/* Triggered / in-view state */
.anim-fade-up.anim-in,
.anim-hero.anim-in,
.anim-slide-down.anim-in,
.anim-nav-in.anim-in {
  opacity: 1;
  transform: none;
}

/* Stagger delay utilities */
.anim-d1 { transition-delay: .07s; }
.anim-d2 { transition-delay: .14s; }
.anim-d3 { transition-delay: .21s; }
.anim-d4 { transition-delay: .28s; }
.anim-d5 { transition-delay: .35s; }
.anim-d6 { transition-delay: .42s; }
.anim-d7 { transition-delay: .49s; }
.anim-d8 { transition-delay: .56s; }

/* Navbar scroll shadow */
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(4,16,34,.18);
}

/* ── Hero Scene SVG ─────────────────────────────────── */
.hero-scene {
  position: absolute;
  top: 0; left: 0; right: 0;
  width: 100%;
  height: 100%;
  /* Cap the height so a tall (mobile) hero doesn't stretch the
     scene vertically and push the puddle/mascot off-screen.
     Anchored to the top, behind the headline. */
  max-height: 620px;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
}
/* ── Faucet drip scene ──────────────────────────────────
   All transform/opacity only — GPU-friendly, no big filters.
   Honour reduced-motion + the offscreen-pause class below. */

/* SVG transforms need their own box as the origin reference */
.hero-drip, .hero-giant, .hero-ripple, .hero-ripple-giant,
.hero-valve, .hero-mascot-startle, .hero-mascot-bob,
.hero-mascot-eyes, .fleck {
  transform-box: fill-box;
}

/* Steady drips falling from the spout into the puddle */
.hero-drip { transform-origin: 50% 100%; animation: heroDrip 1.9s cubic-bezier(.55,0,.95,.45) infinite; }
.hero-drip.d2 { animation-delay: -.95s; }
@keyframes heroDrip {
  0%   { transform: translateY(0)     scaleY(1);                opacity: 0;   }
  7%   {                                                        opacity: .95; }
  68%  { transform: translateY(170px) scaleY(1);               opacity: .95; }
  80%  { transform: translateY(186px) scaleY(.4) scaleX(1.6);  opacity: .85; }
  90%  { transform: translateY(186px) scaleY(.15) scaleX(2);   opacity: 0;   }
  100% { transform: translateY(186px) scaleY(.15);             opacity: 0;   }
}

/* Ripple rings expand right as a drop lands */
.hero-ripple { transform-origin: center; opacity: 0; animation: heroRipple 1.9s ease-out infinite; }
.hero-ripple.r2 { animation-delay: -.95s; }
@keyframes heroRipple {
  0%, 70% { transform: scale(.25); opacity: 0;   }
  76%     { transform: scale(.35); opacity: .55; }
  100%    { transform: scale(1.25); opacity: 0;  }
}

/* Valve knob gives a slow, lazy quarter-turn */
.hero-valve { transform-origin: 912px 96px; animation: heroValve 9s ease-in-out infinite; }
@keyframes heroValve {
  0%, 100% { transform: rotate(0deg);  }
  45%      { transform: rotate(-22deg);}
  55%      { transform: rotate(-22deg);}
}

/* ── Comedic giant drop (every 8s) ─────────────────────── */
.hero-giant { transform-origin: 50% 100%; opacity: 0; animation: heroGiant 8s cubic-bezier(.5,0,.9,.4) infinite; }
@keyframes heroGiant {
  0%, 52% { transform: translateY(0) scaleY(1) scaleX(1);        opacity: 0;   }
  56%     { transform: translateY(0) scaleY(1.25) scaleX(.85);   opacity: .95; } /* bulges, hangs on */
  62%     { transform: translateY(6px) scaleY(1.3) scaleX(.8);   opacity: .95; }
  84%     { transform: translateY(160px) scaleY(1.35) scaleX(.8);opacity: .95; } /* stretches as it plummets */
  91%     { transform: translateY(176px) scaleY(.35) scaleX(2.1);opacity: .9;  } /* SPLAT */
  97%     { transform: translateY(176px) scaleY(.12) scaleX(2.6);opacity: 0;   }
  100%    { transform: translateY(176px) scaleY(.12);            opacity: 0;   }
}
.hero-ripple-giant { transform-origin: center; opacity: 0; animation: heroRippleGiant 8s ease-out infinite; }
@keyframes heroRippleGiant {
  0%, 88% { transform: scale(.2);  opacity: 0;   }
  91%     { transform: scale(.3);  opacity: .7;  }
  100%    { transform: scale(2);   opacity: 0;   }
}

/* Splash flecks burst up and out on the giant impact */
.fleck { transform-origin: center; opacity: 0; animation: heroFleck 8s ease-out infinite; }
.fleck.f1 { --fx: -38px; --fy: -34px; }
.fleck.f2 { --fx: -16px; --fy: -48px; }
.fleck.f3 { --fx:  18px; --fy: -46px; }
.fleck.f4 { --fx:  40px; --fy: -30px; }
@keyframes heroFleck {
  0%, 89% { transform: translate(0,0) scale(.4); opacity: 0;  }
  92%     { transform: translate(0,0) scale(1);  opacity: .9; }
  100%    { transform: translate(var(--fx), var(--fy)) scale(.3); opacity: 0; }
}

/* ── Mascot ────────────────────────────────────────────── */
/* Gentle idle bob */
.hero-mascot-bob { transform-origin: center; animation: heroBob 3s ease-in-out infinite; }
@keyframes heroBob {
  0%, 100% { transform: translateY(0);    }
  50%      { transform: translateY(-5px); }
}
/* Blink every few seconds */
.hero-mascot-eyes { transform-origin: center; animation: heroBlink 4.4s ease-in-out infinite; }
@keyframes heroBlink {
  0%, 91%, 100% { transform: scaleY(1);  }
  94%           { transform: scaleY(.1); }
}
/* Startled double-hop, timed to the giant splash */
.hero-mascot-startle { transform-origin: 50% 100%; animation: heroStartle 8s ease-out infinite; }
@keyframes heroStartle {
  0%, 88%  { transform: translateY(0)     rotate(0deg);   }
  91%      { transform: translateY(-24px) rotate(-7deg);  }
  94%      { transform: translateY(-4px)  rotate(3deg);   }
  96%      { transform: translateY(-13px) rotate(-3deg);  }
  100%     { transform: translateY(0)     rotate(0deg);   }
}

/* ── Scroll / Entrance Animations ───────────────────────── */

/* Base hidden state for fade-up elements */
.anim-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.22,1,.36,1),
              transform .6s cubic-bezier(.22,1,.36,1);
}
.anim-fade-up.anim-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay helpers */
.anim-d1 { transition-delay: .08s; }
.anim-d2 { transition-delay: .16s; }
.anim-d3 { transition-delay: .24s; }
.anim-d4 { transition-delay: .32s; }
.anim-d5 { transition-delay: .40s; }
.anim-d6 { transition-delay: .48s; }
.anim-d7 { transition-delay: .56s; }
.anim-d8 { transition-delay: .64s; }

/* Hero elements slide up from slightly lower on load */
.anim-hero {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1),
              transform .65s cubic-bezier(.22,1,.36,1);
}
.anim-hero.anim-in {
  opacity: 1;
  transform: translateY(0);
}

/* Announce bar slides down from above */
.anim-slide-down {
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.anim-slide-down.anim-in {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar fades in */
.anim-nav-in {
  opacity: 0;
  transition: opacity .5s ease .1s;
}
.anim-nav-in.anim-in {
  opacity: 1;
}

.s1  { --td:2.2s; --dl:0s;    }
.s2  { --td:3.1s; --dl:.45s;  }
.s3  { --td:2.7s; --dl:.9s;   }
.s4  { --td:3.4s; --dl:1.35s; }
.s5  { --td:2.5s; --dl:.2s;   }
.s6  { --td:3.0s; --dl:.95s;  }
.s7  { --td:2.8s; --dl:1.6s;  }
.s8  { --td:2.3s; --dl:.6s;   }
.s9  { --td:3.2s; --dl:1.1s;  }
.s10 { --td:2.6s; --dl:.35s;  }
.s11 { --td:3.5s; --dl:1.8s;  }
.s12 { --td:2.4s; --dl:.75s;  }
@keyframes hsTwinkle {
  0%, 100% { opacity: 0;   transform: scale(.5); }
  50%       { opacity: .95; transform: scale(1);  }
}

/* ── Keyframes ───────────────────────────────────────── */

/* Service icon bounces when you hover the card */
@keyframes iconBounce {
  0%       { transform: translateY(0)   rotate(0deg);   }
  30%      { transform: translateY(-7px) rotate(-6deg);  }
  55%      { transform: translateY(-4px) rotate(4deg);   }
  75%      { transform: translateY(-6px) rotate(-2deg);  }
  100%     { transform: translateY(0)   rotate(0deg);   }
}
.service-card:hover .service-icon {
  animation: iconBounce .55s cubic-bezier(.36,.07,.19,.97) both;
}

/* Reno card icon bounce */
.reno-card:hover .reno-card-icon {
  animation: iconBounce .5s cubic-bezier(.36,.07,.19,.97) both;
}

/* CTA button gentle pulse */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(29,111,184,.45); }
  50%      { box-shadow: 0 0 0 10px rgba(29,111,184,0);   }
}
.btn-cta {
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.btn-cta:hover { animation: none; }

/* Hero eyebrow — no animation */
.hero-eyebrow { animation: none; }

/* Trust strip items — shimmer sweep */
@keyframes shimmerSweep {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
.trust-item:hover .trust-item-icon {
  background: linear-gradient(90deg,
    var(--blue-100) 25%, var(--blue-50) 50%, var(--blue-100) 75%);
  background-size: 200% auto;
  animation: shimmerSweep .7s linear;
}

/* Why-card lift — spring feel */
.why-card {
  transition: transform .4s cubic-bezier(.34,1.56,.64,1),
              box-shadow .3s ease;
}
.why-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(4,16,34,.12);
}

/* Review card tilt on hover */
.g-review-card {
  transition: transform .4s cubic-bezier(.34,1.56,.64,1),
              box-shadow .3s ease;
}
.g-review-card:hover {
  transform: translateY(-6px) rotate(.4deg);
  box-shadow: 0 16px 36px rgba(4,16,34,.1);
}

/* Ripple effect on all buttons */
.btn, .btn-nav, .hfc-submit {
  position: relative;
  overflow: hidden;
}
.btn::after, .btn-nav::after, .hfc-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,.35) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform .5s ease, opacity .4s ease;
  border-radius: inherit;
}
.btn:active::after, .btn-nav:active::after, .hfc-submit:active::after {
  transform: scale(2.5);
  opacity: 1;
  transition: transform 0s, opacity 0s;
}

/* Credential card pop */
.cred-card {
  transition: transform .35s cubic-bezier(.34,1.56,.64,1),
              box-shadow .25s ease,
              border-color .2s;
}
.cred-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(4,16,34,.09);
  border-color: var(--blue-200);
}

/* Scroll progress bar at top of page */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-500));
  z-index: 9999;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Red Seal Badge in hero ─────────────────────────── */
.hero-sub-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: .1rem;
}
.red-seal-badge-img {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.red-seal-badge-img:hover { transform: scale(1.08) rotate(6deg); }
.hero-sub-row .hero-sub { margin: 0; }

/* ── Values Grid (Promise to You / Core Values) ─────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.value-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  border-top: 3px solid var(--blue-400);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1),
              box-shadow .3s ease,
              border-top-color .25s ease;
}
.value-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(4,16,34,.10);
  border-top-color: var(--blue-500);
}
.value-item h3 { font-size: 1rem; font-weight: 700; color: var(--navy-800); margin-bottom: .4rem; }
.value-item p  { font-size: .88rem; color: var(--gray-500); line-height: 1.65; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 340px; gap: 2.5rem; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
  .about-grid   { grid-template-columns: 1fr; }
  .service-list-card { flex-direction: column; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--navy-900);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    gap: .25rem;
  }
  .nav-links.open a { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 1rem; }
  .nav-phone { display: none; }
  .btn-nav   { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 4.5rem 1.5rem 4rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-text { text-align: left; }
  .hero-form-card { max-width: 480px; }
  .avail-inner { flex-direction: column; text-align: center; }
  .avail-inner p { max-width: 100%; }
  .reno-spotlight-grid { grid-template-columns: 1fr !important; }

  .trust-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .trust-item:last-child { border-bottom: none; }
  .trust-grid { flex-direction: column; }

  .section { padding: 3.5rem 1.25rem; }

  .cta-banner-actions { flex-direction: column; align-items: center; }
  .cta-banner { padding: 3.5rem 1.5rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .trust-grid   { gap: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hfc-grid { grid-template-columns: 1fr; }
  .g-reviews-grid { grid-template-columns: 1fr; }
}

/* ── Mobile performance ─────────────────────────────────
   The new faucet-drip scene is all lightweight transform/
   opacity animation, so it runs fine on phones. We just drop
   the heavy blur filters (big blur glow + navbar backdrop)
   which are the expensive part on phone GPUs. */
@media (max-width: 768px) {
  .hero::after, .page-hero::after { display: none; }
  .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6,15,36,.99); }
  .anim-fade-up { transition-duration: .45s; }

  /* Disable all entrance animations on mobile */
  .anim-fade-up,
  .anim-hero,
  .anim-slide-down,
  .anim-nav-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Pause the hero scene while it's scrolled out of view —
   no point animating what nobody can see. */
.hero-anim-paused .hero-scene,
.hero-anim-paused .hero-scene * { animation-play-state: paused !important; }
