/* ==========================================================================
   Coffs Coast Water Tank Cleaning — Modern Responsive Stylesheet
   Brand Palette derived from existing site & business logo
   ========================================================================== */

:root {
  /* Core Brand Colours */
  --brand-blue: #0262ae;
  --brand-blue-dark: #014b87;
  --brand-blue-light: #e6f2fc;
  --brand-navy: #0a2d57;
  --brand-navy-deep: #071e3b;
  --brand-cyan: #1e95d6;
  --brand-green: #2e8540;
  --brand-green-light: #eaf6ed;

  /* Neutrals & Surfaces */
  --surface-white: #ffffff;
  --surface-tint: #f3f7ff;
  --surface-subtle: #fbfcff;
  --border-soft: #d9e6f7;
  --border-strong: #bfd1ff;

  /* Typography */
  --text-heading: #1c2838;
  --text-body: #47515c;
  --text-muted: #64707d;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #cfe2f7;

  /* Font Families */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(10, 45, 87, 0.06);
  --shadow-md: 0 10px 28px rgba(10, 45, 87, 0.09);
  --shadow-lg: 0 18px 44px rgba(10, 45, 87, 0.14);

  /* Layout */
  --container-max: 1180px;
  --header-height: 98px;
  --transition: 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--surface-white);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-blue-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--brand-cyan);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.22;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: -0.015em;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin-top: 0;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--brand-navy);
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* Container & Section Spacing */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.25rem 0;
}

.section--tint {
  background-color: var(--surface-tint);
}

.section--subtle {
  background-color: var(--surface-subtle);
}

.section--dark {
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, var(--brand-navy) 55%, var(--brand-blue-dark) 100%);
  color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--text-on-dark);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
}

.eyebrow--green {
  color: var(--brand-green);
  background: var(--brand-green-light);
}

.eyebrow--on-dark {
  color: #e2f1ff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  margin-bottom: 0.85rem;
}

.section-lead {
  font-size: 1.075rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section--dark .section-lead {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background-color: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(2, 98, 174, 0.28);
}

.btn--primary:hover {
  background-color: var(--brand-blue-dark);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(2, 98, 174, 0.36);
}

.btn--call-white {
  background-color: #ffffff;
  color: var(--brand-navy);
  box-shadow: 0 10px 26px rgba(7, 30, 59, 0.25);
}

.btn--call-white:hover {
  background-color: #f0f7ff;
  color: var(--brand-blue-dark);
  box-shadow: 0 14px 32px rgba(7, 30, 59, 0.32);
}

.btn--outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
}

.btn--outline {
  background-color: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn--outline:hover {
  background-color: var(--brand-blue);
  color: #ffffff;
}

.btn--lg {
  font-size: 1.075rem;
  padding: 1.1rem 1.9rem;
}

.btn--sm {
  font-size: 0.9rem;
  padding: 0.7rem 1.2rem;
}

.phone-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ==========================================================================
   Top Utility Bar & Sticky Header
   ========================================================================== */

.top-bar {
  background-color: var(--brand-navy-deep);
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar__info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar__item svg {
  width: 14px;
  height: 14px;
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.top-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
  flex-shrink: 0;
}

.top-bar__link {
  color: #ffffff;
  font-weight: 600;
}

.top-bar__link:hover {
  color: #93d5ff;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(10, 45, 87, 0.09);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-height);
  padding: 0.55rem 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 78px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-heading);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  transition: background-color var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-blue);
  background-color: var(--brand-blue-light);
}

/* Desktop Services Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
}

.nav-dropdown__trigger .nav-link {
  padding-right: 0.45rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--text-heading);
  padding: 0.6rem 0.65rem 0.6rem 0.25rem;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.nav-dropdown__toggle svg {
  width: 15px;
  height: 15px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown__trigger .nav-link,
.nav-dropdown:hover .nav-dropdown__toggle,
.nav-dropdown.is-open .nav-dropdown__trigger .nav-link,
.nav-dropdown.is-open .nav-dropdown__toggle,
.nav-dropdown__toggle.is-active {
  color: var(--brand-blue);
  background-color: var(--brand-blue-light);
}

.nav-dropdown:hover .nav-dropdown__toggle svg,
.nav-dropdown.is-open .nav-dropdown__toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 285px;
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

/* Invisible hover bridge so cursor can move into menu smoothly */
.nav-dropdown__menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__item {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.72rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  transition: background-color var(--transition), color var(--transition);
}

.nav-dropdown__item strong {
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-heading);
}

.nav-dropdown__item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-dropdown__item:hover,
.nav-dropdown__item.is-active {
  background-color: var(--surface-tint);
}

.nav-dropdown__item:hover strong,
.nav-dropdown__item.is-active strong {
  color: var(--brand-blue);
}

.mobile-nav__sublinks {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border-soft);
  margin: 0.15rem 0 0.35rem 0.65rem;
}

.mobile-nav__links .nav-link--sub {
  font-size: 0.96rem;
  padding: 0.62rem 0.85rem;
  color: var(--text-body);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: var(--brand-blue);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.78rem 1.35rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(2, 98, 174, 0.28);
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.header-call-btn:hover {
  background-color: var(--brand-blue-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(2, 98, 174, 0.35);
}

.header-call-btn svg {
  width: 18px;
  height: 18px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-white);
  color: var(--brand-navy);
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}

.menu-toggle:hover {
  background-color: var(--surface-tint);
  border-color: var(--brand-blue);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile Navigation Drawer */
.mobile-nav {
  display: none;
  background-color: var(--surface-white);
  border-top: 1px solid var(--border-soft);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.mobile-nav__links .nav-link {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
}

.mobile-nav__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

.mobile-nav__meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   Hero Section (Home)
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(30, 149, 214, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 12% 85%, rgba(46, 133, 64, 0.18) 0%, transparent 42%),
    linear-gradient(135deg, #071e3b 0%, #0b3566 52%, #0262ae 100%);
  color: #ffffff;
  padding: 4.5rem 0 5.5rem;
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 54px;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3.25rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #eaf5ff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.35rem;
  backdrop-filter: blur(6px);
}

.hero__title {
  color: #ffffff;
  font-size: clamp(1.95rem, 3vw, 2.48rem);
  font-weight: 800;
  line-height: 1.16;
  margin-bottom: 1.25rem;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: #d9ecff;
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}

.hero__call-note {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: #c8e2fc;
}

.hero__call-note span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__call-note svg {
  width: 17px;
  height: 17px;
  color: #6ee7b7;
  flex-shrink: 0;
}

/* Hero Visual Card */
.hero__media {
  position: relative;
}

.hero__image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(4, 18, 38, 0.42);
  border: 3px solid rgba(255, 255, 255, 0.2);
  background: var(--brand-navy);
}

.hero__image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__floating-card {
  position: absolute;
  bottom: 1.1rem;
  left: 1.1rem;
  right: 1.1rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-heading);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.hero__floating-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--brand-navy);
  margin-bottom: 0.15rem;
}

.hero__floating-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

.hero__floating-pill {
  background: var(--brand-green-light);
  color: var(--brand-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Page Sub-Hero (Services & Contact) */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #071e3b 0%, #0b3566 55%, #0262ae 100%);
  color: #ffffff;
  padding: 3.75rem 0 4.5rem;
  overflow: hidden;
}

.page-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.page-hero__content {
  max-width: 720px;
}

.page-hero__title {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.95rem);
  margin-bottom: 0.9rem;
}

.page-hero__lead {
  color: #d9ecff;
  font-size: 1.12rem;
  margin-bottom: 1.5rem;
}

.page-hero__anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.anchor-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color var(--transition), transform var(--transition);
}

.anchor-pill:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Breadcrumb Trail in Sub-Page Hero */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: #b9d7f5;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #e4f2ff;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   24-Hour Written & Photo Report Spotlight (Homepage Differentiator)
   ========================================================================== */

.report-spotlight {
  background: linear-gradient(135deg, #071e3b 0%, #0b3566 55%, #0262ae 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.report-spotlight h2 {
  color: #ffffff;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  margin-bottom: 0.85rem;
}

.report-spotlight__lead {
  color: #d9ecff;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.report-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.25rem;
}

.report-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: #eef6ff;
  font-weight: 500;
}

.report-features svg {
  width: 19px;
  height: 19px;
  color: #6ee7b7;
  flex-shrink: 0;
  margin-top: 2px;
}

.report-preview-card {
  background: #ffffff;
  color: var(--text-heading);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 20px 44px rgba(4, 18, 38, 0.35);
}

.report-preview-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.95rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
}

.report-preview-card__badge {
  background: var(--brand-green-light);
  color: var(--brand-green);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.report-preview-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--brand-navy);
}

.report-preview-card__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.report-preview-card__thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.report-preview-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-preview-card__thumb span {
  position: absolute;
  bottom: 0.35rem;
  left: 0.35rem;
  background: rgba(7, 30, 59, 0.85);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.report-preview-card__rows {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
}

.report-preview-card__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  background: var(--surface-tint);
  border-radius: 6px;
}

.report-preview-card__rows strong {
  color: var(--brand-green);
  font-family: var(--font-heading);
  font-size: 0.82rem;
}

/* Services Hub 3-Column Overview Grid */
.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.hub-card {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.hub-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-tint);
}

.hub-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hub-card:hover .hub-card__media img {
  transform: scale(1.04);
}

.hub-card__media--contain {
  background: #ffffff;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-soft);
}

.hub-card__media--contain img {
  object-fit: contain;
}

.hub-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 1.25rem;
}

.hub-card__body h2 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

/* Audience Badges Grid (QAP Page) */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.audience-item {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--brand-navy);
  box-shadow: var(--shadow-sm);
}

.audience-item svg {
  width: 20px;
  height: 20px;
  color: var(--brand-blue);
  flex-shrink: 0;
}

/* ==========================================================================
   Trust Bar / Key Benefits Strip
   ========================================================================== */

.trust-strip {
  margin-top: -2.2rem;
  position: relative;
  z-index: 5;
  padding-bottom: 1rem;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.trust-card {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  box-shadow: var(--shadow-md);
}

.trust-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-card__icon--green {
  background: var(--brand-green-light);
  color: var(--brand-green);
}

.trust-card__icon svg {
  width: 22px;
  height: 22px;
}

.trust-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
}

.trust-card__text {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* ==========================================================================
   Process Steps Grid
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.process-card {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.process-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-tint);
}

.process-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.process-card:hover .process-card__media img {
  transform: scale(1.04);
}

.process-card__step {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--brand-navy);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.78rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.process-card__body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.process-card__title {
  font-size: 1.28rem;
  margin-bottom: 0.65rem;
}

/* ==========================================================================
   Inline Water Tank Size Calculator
   ========================================================================== */

.tank-calc {
  margin-top: 2.75rem;
  background: var(--surface-white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.tank-calc__header {
  background: var(--surface-tint);
  border-bottom: 1px solid var(--border-soft);
  padding: 1.85rem 2.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.tank-calc__header h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin-bottom: 0.45rem;
}

.tank-calc__header p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0;
}

.tank-calc__units {
  display: inline-flex;
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 0.25rem;
  gap: 0.2rem;
}

.unit-btn {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.unit-btn:hover {
  color: var(--brand-blue);
}

.unit-btn.is-active {
  background: var(--brand-blue);
  color: #ffffff;
}

.tank-calc__body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 2.25rem;
  padding: 2.25rem;
  align-items: start;
}

.calc-step-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  margin-bottom: 0.7rem;
  display: block;
}

.tank-styles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.65rem;
}

.tank-style-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1rem 0.75rem;
  background: var(--surface-subtle);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--text-heading);
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.tank-style-btn svg {
  width: 44px;
  height: 36px;
  color: var(--brand-navy);
}

.tank-style-btn strong {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
}

.tank-style-btn span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.25;
}

.tank-style-btn:hover {
  border-color: var(--brand-blue);
  background: var(--surface-tint);
  transform: translateY(-1px);
}

.tank-style-btn.is-active {
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
  box-shadow: 0 6px 16px rgba(2, 98, 174, 0.14);
}

.tank-style-btn.is-active svg,
.tank-style-btn.is-active strong {
  color: var(--brand-blue-dark);
}

.calc-round-mode {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.calc-round-mode__label {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 500;
}

.calc-mode-pill {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  background: var(--surface-white);
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition);
}

.calc-mode-pill.is-active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #ffffff;
}

.calc-inputs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.calc-field.is-hidden {
  display: none;
}

.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input-wrap .form-control {
  padding-right: 3.1rem;
}

.calc-input-unit {
  position: absolute;
  right: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  pointer-events: none;
}

.calc-warning {
  margin-top: 0.85rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.88rem;
  display: none;
}

.calc-warning.is-visible {
  display: block;
}

.calc-tip {
  margin-top: 1.15rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.calc-tip svg {
  width: 17px;
  height: 17px;
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Result Card */
.tank-calc__result {
  background: linear-gradient(155deg, var(--brand-navy-deep) 0%, var(--brand-navy) 55%, var(--brand-blue-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  box-shadow: var(--shadow-md);
}

.tank-calc__result-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93d5ff;
}

.tank-calc__litres {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.tank-calc__per-tank {
  font-size: 0.88rem;
  color: #bfe4ff;
  min-height: 1.25em;
}

.tank-calc__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.tank-calc__metric {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
}

.tank-calc__metric span {
  display: block;
  font-size: 0.75rem;
  color: #cfe2f7;
  margin-bottom: 0.15rem;
}

.tank-calc__metric strong {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: #ffffff;
}

.tank-calc__note {
  font-size: 0.86rem;
  color: #d9ecff;
  line-height: 1.5;
  margin: 0;
}

.tank-calc__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.tank-calc__actions .btn {
  width: 100%;
}

/* Inline helper banner for linking to calculator from other pages */
.calc-link-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  background: var(--surface-tint);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin-bottom: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.calc-link-banner a {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-blue);
  white-space: nowrap;
}

/* Hydrogen Peroxide Feature Callout */
.h2o2-callout {
  margin-top: 2.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #f3f9ff 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 2.25rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.h2o2-callout__list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.2rem;
}

.h2o2-callout__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-heading);
}

.h2o2-callout__list svg {
  width: 19px;
  height: 19px;
  color: var(--brand-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.h2o2-callout__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.h2o2-callout__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ==========================================================================
   Interactive Before & After Comparison Slider
   ========================================================================== */

.before-after-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--surface-white);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background: #102030;
}

.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider__before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.ba-slider__before-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.ba-slider__label {
  position: absolute;
  top: 1rem;
  z-index: 4;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.ba-slider__label--before {
  left: 1rem;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
}

.ba-slider__label--after {
  right: 1rem;
  background: rgba(46, 133, 64, 0.92);
  color: #ffffff;
}

.ba-slider__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #ffffff;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
}

.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand-blue);
  border: 3px solid var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  z-index: 6;
  cursor: ew-resize;
}

.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 7;
  margin: 0;
}

.ba-hint {
  margin-top: 0.8rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 1rem;
}

.checklist svg {
  width: 20px;
  height: 20px;
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Other Services Cards
   ========================================================================== */

.services-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.85rem;
}

.service-card {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.service-card__media {
  position: relative;
  min-height: 230px;
  background: var(--surface-tint);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__media--contain {
  background: #ffffff;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-soft);
}

.service-card__media--contain img {
  object-fit: contain;
  max-height: 200px;
}

.service-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.service-card__title {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-blue);
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Service Areas Strip
   ========================================================================== */

.areas-box {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.25rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface-tint);
  border: 1px solid var(--border-soft);
  color: var(--brand-navy);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
}

.area-tag svg {
  width: 15px;
  height: 15px;
  color: var(--brand-blue);
}

/* ==========================================================================
   Reviews Section (Trustindex Widget + Fallback)
   ========================================================================== */

.reviews-shell {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  min-height: 220px;
}

.reviews-fallback {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--text-muted);
}

.reviews-stars {
  color: #f59e0b;
  font-size: 1.4rem;
  letter-spacing: 0.15rem;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.is-open {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
}

.faq-question:hover {
  color: var(--brand-blue);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-tint);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  background: var(--brand-blue);
  color: #ffffff;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer__inner {
  overflow: hidden;
}

.faq-answer__inner p {
  padding: 0 1.5rem 1.4rem;
  color: var(--text-body);
  margin: 0;
}

/* ==========================================================================
   Our Work Gallery & Lightbox
   ========================================================================== */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  background: var(--surface-white);
  color: var(--text-heading);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.filter-btn.is-active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--brand-navy);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 0;
  padding: 0;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 30, 59, 0.85) 0%, rgba(7, 30, 59, 0.1) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 0.9rem 1rem;
  opacity: 0.92;
  transition: opacity var(--transition);
}

.gallery-item__caption {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(7, 20, 38, 0.92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__dialog {
  position: relative;
  max-width: 920px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox__img {
  max-height: 76vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox__caption {
  color: #eaf4ff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
}

.lightbox__nav--prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   Services Detail Page Layout
   ========================================================================== */

.detail-section {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: start;
}

.detail-grid--reverse .detail-media {
  order: -1;
}

.detail-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
  background: var(--surface-white);
}

.detail-media img {
  width: 100%;
  object-fit: cover;
}

.detail-media--padded {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-media--padded img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
}

.sub-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.sub-card {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.sub-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.sub-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.65rem;
}

/* ==========================================================================
   Contact Page Layout & Form
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-card-primary {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
}

.contact-card-primary h2 {
  color: #ffffff;
  font-size: 1.65rem;
  margin-bottom: 0.6rem;
}

.contact-card-primary p {
  color: #d8ecff;
}

.phone-giant {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0.75rem 0 1.25rem;
}

.phone-giant:hover {
  color: #bfe4ff;
}

.contact-info-list {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.contact-info-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--surface-tint);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-info-item__value {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-heading);
}

/* Contact Form */
.form-card {
  background: var(--surface-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
}

.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-heading);
  background: var(--surface-subtle);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.82rem 0.95rem;
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  background: var(--surface-white);
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(2, 98, 174, 0.12);
  outline: none;
}

.form-control.is-invalid {
  border-color: #dc2626;
}

.form-error {
  font-size: 0.82rem;
  color: #dc2626;
  min-height: 1.1em;
}

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  display: none;
  font-size: 0.95rem;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background: var(--brand-green-light);
  border: 1px solid #a7f3d0;
  color: #14532d;
}

.form-status--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ==========================================================================
   Pre-Footer CTA Band & Footer
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 15%, rgba(30, 149, 214, 0.35) 0%, transparent 45%),
    linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: #ffffff;
  padding: 4.5rem 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band__content {
  max-width: 640px;
}

.cta-band__title {
  color: #ffffff;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  margin-bottom: 0.65rem;
}

.cta-band__text {
  color: #d9ecff;
  font-size: 1.08rem;
  margin: 0;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.site-footer {
  background-color: var(--brand-navy-deep);
  color: var(--text-on-dark-muted);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo-badge {
  display: inline-block;
  background: #ffffff;
  padding: 0.65rem 1.05rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.15rem;
}

.footer-logo-badge img {
  height: 60px;
  width: auto;
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text-on-dark-muted);
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.75rem;
  white-space: nowrap;
}

.footer-phone svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--brand-cyan);
}

.footer-phone:hover {
  color: #93d5ff;
}

.instagram-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.32);
}

.instagram-badge svg {
  width: 20px;
  height: 20px;
}

.contact-info-item__icon--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.25);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.45rem 1rem 0.45rem 0.45rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: none;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

.footer-social__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-social__text strong {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-social__text span {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}

.footer-social:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #9cb7d4;
}

/* ==========================================================================
   Persistent Mobile / Tablet Sticky Call Bar
   ========================================================================== */

.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-soft);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(10, 45, 87, 0.14);
}

.mobile-call-bar__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0.65rem;
  max-width: 560px;
  margin: 0 auto;
}

.mobile-call-bar .btn {
  width: 100%;
  padding: 0.88rem 1rem;
  font-size: 0.95rem;
}

/* Copy Phone Toast */
.copy-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2500;
  background: var(--brand-navy);
  color: #ffffff;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Scroll Reveal Animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Tablet Layout (<= 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .section {
    padding: 4.25rem 0;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__title {
    font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  }

  .hero__media {
    max-width: 620px;
  }

  .trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .h2o2-callout {
    grid-template-columns: 1fr;
  }

  .tank-calc__body {
    grid-template-columns: 1fr;
  }

  .before-after-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-cards {
    grid-template-columns: 1fr;
  }

  .areas-box {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .detail-grid--reverse .detail-media {
    order: 0;
  }

  .sub-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .report-spotlight {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .services-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Tablet & Mobile Header Breakpoint (<= 880px)
   ========================================================================== */

@media (max-width: 880px) {
  .top-bar {
    display: none;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-logo img {
    height: 62px;
  }

  .header-call-btn span.hide-xs {
    display: inline;
  }

  .mobile-call-bar {
    display: block;
  }

  body {
    padding-bottom: 76px;
  }
}

/* ==========================================================================
   Mobile Layout (<= 640px)
   ========================================================================== */

@media (max-width: 640px) {
  .container {
    padding: 0 1.1rem;
  }

  .section {
    padding: 3.35rem 0;
  }

  .site-header__inner {
    min-height: 76px;
    gap: 0.65rem;
  }

  .site-logo img {
    height: 55px;
  }

  .header-call-btn {
    padding: 0.62rem 0.95rem;
    font-size: 0.88rem;
  }

  .hero {
    padding: 2.75rem 0 4rem;
  }

  .hero__title {
    font-size: clamp(1.12rem, 5.1vw, 1.85rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__floating-card {
    position: static;
    border-radius: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .trust-strip {
    margin-top: -1.5rem;
  }

  .trust-strip__grid,
  .process-grid,
  .sub-cards,
  .services-hub-grid,
  .audience-grid,
  .report-features,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .report-spotlight {
    padding: 1.5rem;
  }

  .h2o2-callout {
    padding: 1.5rem;
  }

  .tank-calc__header,
  .tank-calc__body {
    padding: 1.35rem;
  }

  .tank-styles-grid {
    grid-template-columns: 1fr;
  }

  .tank-style-btn {
    flex-direction: row;
    text-align: left;
    padding: 0.8rem 1rem;
    gap: 0.85rem;
  }

  .tank-style-btn > div {
    display: flex;
    flex-direction: column;
  }

  .calc-inputs-grid {
    grid-template-columns: 1fr;
  }

  .h2o2-callout__list {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card__media {
    min-height: 200px;
  }

  .service-card__media--contain {
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .form-card,
  .contact-card-primary,
  .reviews-shell {
    padding: 1.5rem;
  }

  .cta-band {
    padding: 3.25rem 0;
  }

  .cta-band__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band__actions .btn {
    width: 100%;
  }

  .lightbox__nav--prev {
    left: 0.5rem;
  }

  .lightbox__nav--next {
    right: 0.5rem;
  }
}
