﻿:root {
  --primary-deep: #102a43;
  --primary: #1677d2;
  --primary-soft: #1677d2;
  --accent: #43d9d0;
  --bg: #f4f8fb;
  --panel: #ffffff;
  --ink: #102a43;
  --muted: #526477;
  --line: rgba(16, 42, 67, 0.12);
  --success: #148c66;
  --warning: #f0b04e;
  --error: #d74847;
  --shadow: 0 18px 42px rgba(16, 42, 67, 0.1);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-26px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(26px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatPanel {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes imageReveal {
  from {
    clip-path: inset(0 0 100% 0 round 30px);
    opacity: 0.2;
    transform: scale(1.06);
  }

  to {
    clip-path: inset(0 0 0 0 round 30px);
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bannerReveal {
  from {
    clip-path: inset(0 0 100% 0);
    opacity: 0.2;
    transform: scale(1.06);
  }

  to {
    clip-path: inset(0);
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes headerSlide {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.section {
  padding: 100px 0;
}

.section-small {
  padding: 64px 0;
}

.bg-soft {
  background: #edf4f8;
}

.bg-dark {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
}

.text-muted {
  color: var(--muted);
}

.text-light {
  color: rgba(255, 255, 255, 0.85);
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(2.1rem, 3vw, 3.5rem);
}

h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
}

p {
  /* margin: 0 0 1rem; */
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  max-width: 640px;
}

.page-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition), background var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(-18px);
}

.site-header.is-ready {
  animation: headerSlide 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.94);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 0.2s;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #d5f9ff, var(--primary-soft));
  color: #fff;
  box-shadow: 0 14px 26px rgba(19, 124, 170, 0.24);
}

.brand-name {
  font-size: 1.12rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav .nav-link {
  opacity: 0;
  animation: fadeUp 0.55s ease forwards;
}

.main-nav .nav-link:nth-child(1) {
  animation-delay: 0.25s;
}

.main-nav .nav-link:nth-child(2) {
  animation-delay: 0.33s;
}

.main-nav .nav-link:nth-child(3) {
  animation-delay: 0.41s;
}

.main-nav .nav-link:nth-child(4) {
  animation-delay: 0.49s;
}

.main-nav .nav-link:nth-child(5) {
  animation-delay: 0.57s;
}

.main-nav .nav-link:nth-child(6) {
  animation-delay: 0.65s;
}

.main-nav .nav-link:nth-child(7) {
  animation-delay: 0.73s;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  font-weight: 600;
  color: var(--muted);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary-soft);
  transition: width var(--transition);
  margin: 0 auto;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions>* {
  opacity: 0;
  animation: fadeUp 0.55s ease forwards;
}

.header-actions .icon-button:nth-of-type(1) {
  animation-delay: 0.28s;
}

.header-actions .icon-button:nth-of-type(2) {
  animation-delay: 0.36s;
}

.header-actions .header-cta {
  animation-delay: 0.44s;
}

.icon-button,
.menu-toggle,
.slider-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.icon-button:hover,
.menu-toggle:hover,
.slider-btn:hover {
  transform: translateY(-2px);
  background: rgba(18, 38, 52, 0.04);
}

.header-cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.94rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.05rem 1.8rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-soft));
  color: #fff;
  box-shadow: 0 18px 32px rgba(16, 76, 105, 0.22);
}

.btn-secondary {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

.btn-white {
  background: #fff;
  color: var(--ink);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 34px;
  padding: 54px 0 30px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-soft);
}

.hero-copy {
  font-size: 1.09rem;
  max-width: 620px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-trust strong {
  color: var(--ink);
}

.mini-badge {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(26, 122, 163, 0.12);
  color: var(--primary-soft);
}

.hero-image-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 26, 0.1), rgba(8, 17, 26, 0.22));
  z-index: 1;
}

.hero-image-frame img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.hero-floating {
  position: absolute;
  right: -18px;
  bottom: 28px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 38, 52, 0.05);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  animation: floatPanel 6s ease-in-out infinite;
}

.metric {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(26, 122, 163, 0.12);
  color: var(--primary-soft);
}

.metric strong {
  display: block;
  font-size: 1.2rem;
}

.hero-animate {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.hero-layout h1.hero-animate {
  display: block;
  transform: translateY(28px);
}

.hero-image-frame.hero-animate {
  animation-name: imageReveal;
  transform: scale(1.06);
}

.hero-floating.hero-animate {
  animation-name: fadeUp, floatPanel;
  animation-duration: 0.8s, 6s;
  animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 0.7s);
  animation-fill-mode: both, both;
}

.feature-strip {
  background: var(--primary-deep);
  color: #fff;
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 0;
}

.feature-stat {
  text-align: center;
}

.feature-stat strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 4px;
}

.feature-stat span {
  color: rgba(255, 255, 255, 0.72);
}

.editorial-block {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.editorial-list {
  display: grid;
  gap: 18px;
}

.editorial-list-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.editorial-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(26, 122, 163, 0.12);
  color: var(--primary-soft);
  font-weight: 800;
}

.card,
.product-card,
.service-card,
.info-card,
.testimonial-card,
.form-wrap,
.faq-item,
.timeline-content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.feature-showcase {
  background: transparent;
}

.feature-header {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
}

.feature-grid {
  align-items: stretch;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-soft), var(--accent));
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 119, 210, 0.2);
  box-shadow: 0 22px 40px rgba(16, 42, 67, 0.12);
}

.feature-card .service-icon {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  font-size: 1.6rem;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(22, 119, 210, 0.08);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  margin: 0;
}

.approach-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 30px;
  align-items: stretch;
  background: transparent;
}

.approach-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.approach-points {
  display: grid;
  gap: 18px;
}

.approach-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 42, 67, 0.08);
  box-shadow: none;
}

.approach-step {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-soft));
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
}

.approach-point h3 {
  margin-bottom: 8px;
}

.approach-point p {
  margin: 0;
}

.before-recommend {
  padding-block: 76px;
  background: #f3f8fb;
}

.before-recommend-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.before-recommend-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.before-recommend-copy h2 {
  margin-bottom: 18px;
  max-width: 600px;
}

.before-recommend-copy p {
  max-width: 560px;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}

.before-recommend-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.before-recommend-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  min-height: 128px;
  padding: 20px;
  border: 1px solid rgba(16, 42, 67, .09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 42, 67, .05);
}

.before-recommend-icon,
.before-recommend-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.before-recommend-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(22, 119, 210, .1);
  color: var(--primary-deep);
  font-size: 1rem;
}

.before-recommend-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-soft));
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 12px 24px rgba(22, 119, 210, 0.25);
}

.before-recommend-text {
  color: var(--ink);
  display: grid;
  gap: 7px;
  min-width: 0;
}

.before-recommend-text strong {
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.before-recommend-text span {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .before-recommend-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .before-recommend {
    padding-block: 56px;
  }
}

@media (max-width: 560px) {
  .before-recommend {
    padding-block: 44px;
  }

  .before-recommend-list {
    grid-template-columns: 1fr;
  }

  .before-recommend-item {
    min-height: 0;
    padding: 16px;
  }
}

.product-grid,
.service-grid,
.testimonial-grid {
  display: grid;
  gap: 22px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.service-card {
  padding: 20px;
}

.product-image {
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 18px;
}

.product-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26, 122, 163, 0.1);
  color: var(--primary-soft);
  font-size: 0.74rem;
  font-weight: 700;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(26, 122, 163, 0.12);
  color: var(--primary-soft);
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list i {
  color: var(--success);
  margin-top: 4px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(18, 38, 52, 0.12);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
}

.timeline-step {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-soft));
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
}

.timeline-content {
  padding: 18px 20px;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 42px 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(9, 25, 38, 0.97), rgba(26, 122, 163, 0.92));
  box-shadow: 0 24px 40px rgba(15, 45, 65, 0.15);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/bg img.jpg") center/cover no-repeat;
  opacity: 0.18;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-banner h2,
.cta-banner p {
  color: #fff;
}

.testimonial-card {
  padding: 22px;
}

.stars {
  color: #f2b337;
  letter-spacing: 0.12em;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #d5f9ff, var(--primary-soft));
  color: #fff;
  font-weight: 800;
}

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.contact-grid>* {
  min-width: 0;
}

.info-card {
  padding: 24px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-item>div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.info-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(26, 122, 163, 0.12);
  color: var(--primary-soft);
}

.form-wrap {
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.form-control {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(18, 38, 52, 0.12);
  background: #f7fafc;
  color: var(--ink);
  padding: 0.8rem 1rem;
}

.form-control:focus {
  outline: none;
  border-color: rgba(26, 122, 163, 0.7);
  box-shadow: 0 0 0 4px rgba(26, 122, 163, 0.1);
}

.form-control[aria-invalid="true"] {
  border-color: var(--error);
  background: rgba(215, 73, 71, 0.04);
}

.field-error {
  display: none;
  color: var(--error);
  font-size: 0.78rem;
  font-weight: 700;
}

.field-error.visible {
  display: block;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(20, 140, 102, 0.2);
  background: rgba(20, 140, 102, 0.08);
  color: var(--success);
  font-weight: 700;
}

.form-success.visible {
  display: block;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  color: var(--ink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer-inner {
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  max-height: 220px;
}

.page-hero {
  position: relative;
  padding: 82px 0 76px;
  background: linear-gradient(90deg, rgba(7, 28, 45, 0.8), rgba(18, 122, 163, 0.52)), url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: #fff;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 28px;
  align-items: end;
}

.page-hero .page-label,
.page-hero h1,
.page-hero p,
.page-hero li {
  color: #fff;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  padding: 18px 20px;
  backdrop-filter: blur(8px);
}

.page-hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.page-hero-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.special-page {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 48px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
}

.special-page>.img-cover {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.special-page>.hero-inner-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(6, 24, 36, 0.88), rgba(13, 61, 88, 0.7));
}

.special-page .special-card {
  width: min(100%, 760px);
  padding: clamp(24px, 6vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(10, 36, 51, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.special-page .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.15rem;
}

.special-page .text-white {
  color: #fff;
}

.special-page .text-primary {
  color: var(--accent);
}

.special-page .d-flex {
  display: flex;
  gap: 12px;
}

.special-page .justify-center {
  justify-content: center;
}

.special-page .flex-wrap {
  flex-wrap: wrap;
}

.special-page .gap-1 {
  gap: 12px;
}

.special-page .font-bold {
  font-weight: 800;
}

.special-page .mb-1 {
  margin-bottom: 12px;
}

.special-page .mb-2 {
  margin-bottom: 20px;
}

.special-page .mb-3 {
  margin-bottom: 28px;
}

.special-page .btn-outline-white {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.special-page .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .9fr 1.1fr;
  gap: 28px;
  padding-bottom: 32px;
}

.footer-column h3 {
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-column p {
  color: rgba(255, 255, 255, 0.74);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  z-index: 2000;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: grid;
  place-items: center;
  gap: 18px;
}

.loader-logo {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #d5f9ff, var(--primary-soft));
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 18px 32px rgba(16, 76, 105, 0.2);
}

.loader-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid rgba(26, 122, 163, 0.12);
  border-top-color: var(--primary-soft);
  animation: spin 1.1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.countdown-stream {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.countdown-box {
  display: grid;
  justify-items: center;
  min-width: 84px;
}

.countdown-box strong {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.countdown-box span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 1100px) {

  .hero-layout,
  .editorial-block,
  .page-hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1150px) {
  .main-nav {
    position: fixed;
    inset: 84px 0 0;
    display: flex;
    width: 100%;
    height: calc(100vh - 84px);
    height: calc(100dvh - 84px);
    flex-direction: column;
    align-items: stretch;
    padding: 28px 20px 60px;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 1000;
  }

  .main-nav.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 840px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .product-grid,
  .service-grid,
  .testimonial-grid,
  .feature-strip-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .nav-shell {
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button,
  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .section {
    padding: 80px 0;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .product-grid,
  .service-grid,
  .testimonial-grid,
  .feature-strip-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-frame img {
    height: 500px;
  }

  .cta-banner {
    padding: 28px 20px;
  }

  .page-hero {
    padding: 64px 0 56px;
  }

  .page-hero-card,
  .card,
  .product-card,
  .service-card,
  .form-wrap {
    padding: 20px;
  }

  .footer-links,
  .footer-column p {
    overflow-wrap: anywhere;
  }

  .special-page {
    padding: 24px 0;
  }

  .special-page .special-card {
    padding: 24px 20px;
  }

  .special-page .d-flex .btn {
    flex: 1 1 100%;
  }
}

html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .nav-shell,
html[dir="rtl"] .header-actions,
html[dir="rtl"] .btn-row,
html[dir="rtl"] .hero-trust,
html[dir="rtl"] .breadcrumbs,
html[dir="rtl"] .faq-question,
html[dir="rtl"] .cta-content,
html[dir="rtl"] .footer-bottom {
  direction: rtl;
}

html[dir="rtl"] .product-grid,
html[dir="rtl"] .service-grid,
html[dir="rtl"] .testimonial-grid,
html[dir="rtl"] .feature-strip-grid,
html[dir="rtl"] .form-grid,
html[dir="rtl"] .grid-2,
html[dir="rtl"] .grid-3,
html[dir="rtl"] .grid-4 {
  direction: rtl;
}

html[dir="rtl"] .check-list li,
html[dir="rtl"] .info-item,
html[dir="rtl"] .page-hero-card li {
  direction: rtl;
}

html[dir="rtl"] .faq-question {
  text-align: right;
}

body {
  font-size: 16px;
}

::selection {
  color: var(--primary-deep);
  background: rgba(67, 217, 208, 0.42);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
}

.brand-mark {
  background: var(--primary);
  box-shadow: none;
}

.btn-primary {
  background: var(--primary);
  box-shadow: 0 12px 26px rgba(22, 119, 210, 0.2);
}

.btn-primary:hover {
  background: #0d64b6;
}

.btn-secondary {
  background: #fff;
}

.page-label,
.hero-eyebrow {
  color: #0d64b6;
}

.section {
  padding-block: clamp(64px, 8vw, 104px);
}

.section-small {
  padding-block: clamp(42px, 6vw, 68px);
}

.card,
.product-card,
.service-card,
.info-card,
.testimonial-card,
.form-wrap,
.faq-item,
.timeline-content {
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.06);
}

.card,
.product-card,
.service-card,
.home-system,
.product-image img,
.editorial-block img,
.hero-image-frame img,
.why-image img {
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.card:hover,
.product-card:hover,
.service-card:hover {
  transform: translateY(-4px);
}

.hero-image-frame {
  border-radius: 28px;
}

.hero-image-frame img {
  height: min(660px, 62vw);
}

.hero-floating {
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
}

.service-icon,
.metric-icon,
.mini-badge,
.editorial-number,
.info-icon {
  background: rgba(67, 217, 208, 0.17);
  color: #087d80;
}

.page-hero {
  background-color: var(--primary-deep);
}

.page-hero-inner {
  min-height: 330px;
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}

.page-hero-card {
  background: rgba(16, 42, 67, 0.5);
}

.breadcrumbs {
  flex-wrap: wrap;
}

.form-control {
  background: #fff;
  border-color: var(--line);
}

.form-note,
.sample-disclosure {
  margin-top: 14px;
  font-size: 0.88rem;
}

.sample-disclosure {
  text-align: center;
}

.testimonial-card .quote-mark {
  color: var(--primary);
  font-size: 2.8rem;
  line-height: 1;
}

.testimonial-card .avatar {
  display: block;
  flex: 0 0 44px;
  background: #e5f8f6;
  color: var(--primary-deep);
  object-fit: cover;
}

.home-systems {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: repeat(2, 130px);
  gap: 18px;
}

.home-system {
  position: relative;
  min-height: 130px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--primary-deep);
}

.home-system-featured {
  grid-row: span 2;
}

.home-system img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.84;
}

.home-system::after {
  content: "";
  position: absolute;
  inset: 25% 0 0;
  background: linear-gradient(transparent, rgba(9, 30, 49, 0.86));
}

.home-system>span {
  position: absolute;
  z-index: 1;
  inset: auto 20px 18px;
  display: grid;
  gap: 2px;
  color: #fff;
}

.home-system small {
  color: rgba(255, 255, 255, .8);
  font-size: .78rem;
}

.home-system strong {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
}

.home-system>span i {
  position: absolute;
  right: 0;
  bottom: 6px;
  color: var(--accent);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 24px 20px;
  border-top: 2px solid var(--accent);
  background: #f4f8fb;
}

.process-step>span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
}

.process-step h3 {
  font-size: 1.1rem;
}

.process-step p {
  margin-bottom: 0;
}

.why-image {
  position: relative;
  margin: 0;
  min-height: 400px;
  overflow: hidden;
  border-radius: 24px;
}

.why-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

body[data-page="home"] .why-image {
  width: min(100%, 480px);
  height: 400px;
  min-height: 0;
  justify-self: center;
}

body[data-page="home"] .why-image img {
  height: 100%;
  min-height: 0;
}

.why-image figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--primary-deep);
  background: rgba(255, 255, 255, .94);
  font-weight: 700;
}

.services-showcase {
  background: var(--primary-deep);
}

.services-showcase h2,
.services-showcase .page-label {
  color: #fff;
}

.services-showcase .service-card {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .08);
}

.services-showcase .service-card h3,
.services-showcase .service-card p {
  color: #fff;
}

.service-showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.service-showcase-heading h2 {
  max-width: 620px;
}

.service-showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
}

.service-feature {
  position: relative;
  display: block;
  height: 300px;
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #0b2033;
}

.service-feature img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  opacity: .82;
}

.service-feature::after {
  content: "";
  position: absolute;
  inset: 20% 0 0;
  background: linear-gradient(transparent, rgba(9, 30, 49, .86));
}

.service-feature>span {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  color: #fff;
}

.service-feature small {
  color: rgba(255, 255, 255, .8);
}

.service-feature strong {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.service-list {
  display: grid;
  align-content: stretch;
  gap: 12px;
}

.service-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  font-weight: 700;
}

.service-list a>i:first-child {
  color: var(--accent);
}

.service-list a>i:last-child {
  margin-left: auto;
  color: rgba(255, 255, 255, .65);
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 34px;
}

.booking-intro {
  position: sticky;
  top: 110px;
}

.booking-photo {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 22px;
}

.booking-photo img {
  width: 100%;
  max-height: 370px;
  object-fit: cover;
}

.testing-faq {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 34px;
}

.water-concerns .editorial-list-item {
  border-color: var(--line);
}

body[data-page="home"] .water-concerns + .btn {
  margin-top: 16px;
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 300ms ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-item[data-origin="left"] {
  transform: translateX(-24px);
}

.reveal-item[data-origin="left"].is-visible {
  transform: translateX(0);
}

.reveal-item[data-origin="right"] {
  transform: translateX(24px);
}

.reveal-item[data-origin="right"].is-visible {
  transform: translateX(0);
}

.reveal-item[data-origin="scale"] {
  transform: scale(0.92);
}

.reveal-item[data-origin="scale"].is-visible {
  transform: scale(1);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.cta-banner {
  background: linear-gradient(120deg, #102a43, #1677d2);
}

.cta-banner::before {
  opacity: .12;
}

.site-footer {
  background: #0b2033;
}

.footer-links a:hover,
.footer-column a:hover {
  color: var(--accent);
}

.faq-item.active {
  border-color: rgba(22, 119, 210, .32);
}

.faq-question[aria-expanded="true"] {
  color: var(--primary);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

html[dir="rtl"] .back-to-top {
  right: auto;
  left: 20px;
}

body[data-page="about"] .page-hero {
  background-image: linear-gradient(90deg, rgba(16, 42, 67, .82), rgba(16, 42, 67, .25)), url("../images/about bg (2).jpg");
}

body[data-page="contact"] .page-hero {
  background-image: linear-gradient(90deg, rgba(16, 42, 67, .86), rgba(16, 42, 67, .24)), url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1600&q=85");
}


body[data-page="products"] .page-hero {
  background-image: linear-gradient(90deg, rgba(16, 42, 67, .84), rgba(16, 42, 67, .2)), url("../images/img 7.jpg");
}
body[data-page="service-details"] .page-hero {
  background-image: linear-gradient(90deg, rgba(16, 42, 67, .86), rgba(16, 42, 67, .24)), url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1600&q=85");
}

body[data-page="services"] .page-hero {
  background-image: linear-gradient(90deg, rgba(16, 42, 67, .84), rgba(16, 42, 67, .22)), url("https://images.unsplash.com/photo-1581092921461-eab62e97a780?auto=format&fit=crop&w=1600&q=85");
}

body[data-page="water-testing"] .page-hero {
  background-image: linear-gradient(90deg, rgba(16, 42, 67, .86), rgba(16, 42, 67, .24)), url("../images/document.jpg");
}

body[data-page="products"] .product-care-section {
  background: #eaf7f6;
}

body[data-page="products"] .product-care-section .grid-2 {
  align-items: center;
}

body[data-page="contact"] .booking-section,
body[data-page="water-testing"] .booking-section {
  background: #eaf7f6;
}

body[data-page="water-testing"] .booking-layout {
  align-items: center;
}

body[data-page="water-testing"] .form-wrap {
  padding: 28px 26px;
  border: 1px solid rgba(16, 42, 67, 0.06);
  background: rgba(9, 30, 49, 0.88);
  box-shadow: 0 16px 34px rgba(10, 30, 49, 0.12);
}

body[data-page="water-testing"] .form-wrap h3,
body[data-page="water-testing"] .form-label,
body[data-page="water-testing"] .form-note,
body[data-page="water-testing"] .form-wrap .form-success {
  color: #fff;
}

body[data-page="water-testing"] .form-grid {
  gap: 18px 22px;
  align-items: end;
}

body[data-page="water-testing"] .form-group {
  min-width: 0;
}

body[data-page="water-testing"] .form-control {
  min-height: 58px;
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f9ff;
  padding: 0.9rem 1rem;
}

body[data-page="water-testing"] .form-control::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

body[data-page="water-testing"] input[type="date"].form-control {
  color-scheme: dark;
}

body[data-page="water-testing"] input[type="date"].form-control::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.25);
  opacity: 0.9;
  cursor: pointer;
}

body[data-page="water-testing"] .form-wrap button[type="submit"] {
  width: fit-content;
  margin-top: 18px;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

body[data-page="water-testing"] .form-note {
  margin-top: 16px;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1150px) {
  .main-nav {
    position: fixed;
    inset: 84px 16px auto 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
    z-index: 1100;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero-layout,
  .editorial-block,
  .page-hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .hero-layout {
    padding-block: 38px;
  }

  .hero-image-frame img {
    height: clamp(320px, 66vw, 500px);
  }

  .hero-floating {
    right: 12px;
    bottom: 12px;
  }

  .home-systems {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 150px);
  }

  .home-system-featured {
    grid-row: auto;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-inner {
    gap: 20px;
  }

  .page-hero-inner {
    min-height: 0;
  }

  .booking-layout,
  .testing-faq,
  .service-showcase-grid {
    grid-template-columns: 1fr;
  }

  .booking-intro {
    position: static;
  }

  .service-showcase-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-page="home"] .why-image {
    width: min(100%, 460px);
    height: 360px;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    min-height: 72px;
  }

  .main-nav {
    inset-block-start: 72px;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
  }

  .hero-layout {
    gap: 24px;
    padding-block: 34px 26px;
  }

  .hero-trust {
    align-items: flex-start;
    font-size: .9rem;
  }

  .hero-floating {
    padding: 12px;
  }

  .hero-floating .metric-icon {
    flex: 0 0 38px;
  }

  .home-systems,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .home-system,
  .home-system-featured {
    min-height: 170px;
  }

  .process-step {
    padding: 18px;
  }

  .page-hero {
    padding-block: 52px 44px;
  }

  .page-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .service-feature,
  .service-feature img {
    height: 240px;
    min-height: 0;
  }

  .service-list a {
    padding: 15px;
  }

  body[data-page="home"] .why-image {
    width: 100%;
    height: 300px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }

  html[dir="rtl"] .back-to-top {
    right: auto;
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  [data-reveal],
  [data-reveal].is-revealed {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Page-specific editorial compositions keep the original content while breaking up repeated card grids. */
.reveal-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms ease, transform 480ms ease;
  transition-delay: calc(var(--reveal-index, 0) * 55ms);
}

[data-reveal].is-revealed .reveal-item {
  opacity: 1;
  transform: none;
}

.reveal-item img {
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1);
}

figure:hover img,
.home-system:hover img,
.product-image:hover img,
.hero-image-frame:hover img {
  transform: scale(1.035);
}

.bg-soft {
  background-color: #edf5f7;
}

/* About: image-led values, horizontal principles, and an editorial dark checklist. */
body[data-page="about"] main>section:nth-of-type(3) {
  color: #fff;
  background: var(--primary-deep);
}

body[data-page="about"] main>section:nth-of-type(3) h2 {
  color: #fff;
}

body[data-page="about"] main>section:nth-of-type(3) .page-label {
  color: var(--accent);
}

body[data-page="about"] main>section:nth-of-type(3) .grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="about"] main>section:nth-of-type(3) .card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background-color: #102a43;
  background-size: cover;
  background-position: center;
}

body[data-page="about"] main>section:nth-of-type(3) .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 42, 67, .05), rgba(8, 27, 45, .9));
}

body[data-page="about"] main>section:nth-of-type(3) .card:nth-child(1) {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=900&q=85");
}

body[data-page="about"] main>section:nth-of-type(3) .card:nth-child(2) {
  background-image: url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=900&q=85");
}

body[data-page="about"] main>section:nth-of-type(3) .card:nth-child(3) {
  background-image: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=900&q=85");
}

body[data-page="about"] main>section:nth-of-type(3) .card>* {
  position: relative;
  z-index: 1;
}

body[data-page="about"] main>section:nth-of-type(3) .service-icon {
  color: var(--accent);
  background: rgba(255, 255, 255, .14);
}

body[data-page="about"] main>section:nth-of-type(5) .grid-3 {
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: principle;
}

body[data-page="about"] main>section:nth-of-type(5) .card {
  display: grid;
  grid-template-columns: 54px minmax(150px, .55fr) 1fr;
  align-items: center;
  gap: 22px;
  padding: 22px 0 !important;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="about"] main>section:nth-of-type(5) .card::before {
  counter-increment: principle;
  content: "0" counter(principle);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
}

body[data-page="about"] main>section:nth-of-type(5) .card .service-icon {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 8px;
}

body[data-page="about"] main>section:nth-of-type(5) .card h3 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

body[data-page="about"] main>section:nth-of-type(5) .card p {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: 0;
}

body[data-page="about"] main>section:nth-of-type(6) {
  color: #fff;
  background: linear-gradient(90deg, rgba(16, 42, 67, .95) 0%, rgba(16, 42, 67, .87) 62%, rgba(16, 42, 67, .5) 100%), url("../images/atam.jpg") center/cover;
}

body[data-page="about"] main>section:nth-of-type(6) h2,
body[data-page="about"] main>section:nth-of-type(6) h3,
body[data-page="about"] main>section:nth-of-type(6) p,
body[data-page="about"] main>section:nth-of-type(6) .page-label {
  color: #fff;
}

body[data-page="about"] main>section:nth-of-type(6) .card {
  padding: 12px 0 !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="about"] main>section:nth-of-type(6) .check-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

body[data-page="about"] main>section:nth-of-type(6) .check-list i {
  color: var(--accent);
}

body[data-page="about"] .about-experience {
  padding-block: 48px;
}

body[data-page="about"] .about-experience .text-center {
  margin-bottom: 20px !important;
}

body[data-page="about"] .about-experience .grid-3 {
  gap: 12px;
}

body[data-page="about"] .about-experience .card {
  padding: 16px 20px !important;
}

body[data-page="about"] .about-experience .service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px !important;
}

body[data-page="about"] .about-experience .card h3 {
  margin-bottom: 8px;
}

body[data-page="about"] .about-experience .card p {
  margin: 0;
}

body[data-page="about"] main>section:nth-of-type(7) .grid-3 {
  position: relative;
  gap: 0;
}

body[data-page="about"] main>section:nth-of-type(7) .grid-3::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 12%;
  left: 12%;
  /* border-top: 1px solid rgba(22, 119, 210, .35); */
}

body[data-page="about"] main>section:nth-of-type(7) .card {
  position: relative;
  padding: 22px 24px !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

@media (max-width: 560px) {
  body[data-page="about"] .about-experience {
    padding-block: 36px;
  }

  body[data-page="about"] .about-experience .card {
    padding: 14px 16px !important;
  }
}

/* Products: one large sizing feature, product imagery, and a borderless ownership guide. */
body[data-page="products"] main>section:nth-of-type(3) .grid-3 {
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: repeat(2, minmax(145px, auto));
  gap: 12px;
}

body[data-page="products"] main>section:nth-of-type(3) .grid-3>.card:first-child {
  grid-row: span 2;
  min-height: 320px;
  justify-content: end;
  color: #fff;
  background: linear-gradient(180deg, rgb(40 66 92 / 64%), rgb(1 1 2 / 81%)), url("../images/sink.jpg") center/cover;
}

body[data-page="products"] main>section:nth-of-type(3) .grid-3>.card:first-child h3,
body[data-page="products"] main>section:nth-of-type(3) .grid-3>.card:first-child p {
  color: #fff;
}

body[data-page="products"] main>section:nth-of-type(3) .grid-3>.card:not(:first-child) {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  column-gap: 14px;
  padding: 20px !important;
  border: 0;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
}

body[data-page="products"] main>section:nth-of-type(3) .grid-3>.card:not(:first-child) .service-icon {
  grid-row: span 2;
}

body[data-page="products"] main>section:nth-of-type(6) .grid-3 {
  grid-template-columns: 1fr;
  gap: 0;
}

body[data-page="products"] main>section:nth-of-type(6) .card {
  display: grid;
  grid-template-columns: 64px minmax(180px, .6fr) 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 0 !important;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="products"] main>section:nth-of-type(6) .service-icon {
  margin: 0;
}

body[data-page="products"] main>section:nth-of-type(6) .card p {
  margin: 0;
}

body[data-page="products"] main>section:nth-of-type(7) .container.grid-2 {
  align-items: center;
  padding: clamp(24px, 5vw, 60px);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(90deg, rgba(16, 42, 67, .96), rgba(16, 42, 67, .72)), url("../images/purifier.jpg") center/cover;
}

body[data-page="products"] main>section:nth-of-type(7) h2,
body[data-page="products"] main>section:nth-of-type(7) h3,
body[data-page="products"] main>section:nth-of-type(7) p,
body[data-page="products"] main>section:nth-of-type(7) .page-label {
  color: #fff;
}

body[data-page="products"] main>section:nth-of-type(7) .card {
  padding: 10px 0 !important;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="products"] main>section:nth-of-type(7) .check-list i {
  color: var(--accent);
}

body[data-page="products"] .product-card {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
  background: transparent;
}

body[data-page="products"] .product-card> :not(.product-image) {
  margin-inline: 20px;
}

body[data-page="products"] .product-card>h3 {
  margin-top: 18px;
}

body[data-page="products"] .product-image {
  border-radius: 3px;
}

body[data-page="products"] .product-image img {
  height: 290px;
}

/* Services: numbered route, editorial service commitments, and a contrasting source-water section. */
body[data-page="services"] main>section:nth-of-type(3) .grid-4 {
  position: relative;
  gap: 0;
}

body[data-page="services"] main>section:nth-of-type(3) .grid-4::before {
  content: "";
  position: absolute;
  top: 45px;
  right: 10%;
  left: 10%;
  border-top: 1px solid rgba(67, 217, 208, .55);
}

body[data-page="services"] main>section:nth-of-type(3) .card {
  position: relative;
  z-index: 1;
  min-height: 220px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="services"] main>section:nth-of-type(3) .service-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 9px var(--bg);
}

.service-commitments {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
}

.service-commitments-intro h2 {
  max-width: 430px;
}

.service-commitments-intro p {
  max-width: 430px;
  margin-bottom: 24px;
}

.service-commitment-list {
  border-top: 1px solid var(--line);
}

.service-commitment {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.service-commitment-number {
  padding-top: 3px;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.service-commitment h3 {
  margin-bottom: 7px;
}

.service-commitment p {
  max-width: 560px;
  margin: 0;
}

body[data-page="services"] main>section:nth-of-type(6) {
  color: #fff;
  background: linear-gradient(90deg, rgba(16, 42, 67, .95), rgba(16, 42, 67, .74)), url("https://images.unsplash.com/photo-1548839140-29a749e1cf4d?auto=format&fit=crop&w=1600&q=85") center/cover;
}

body[data-page="services"] main>section:nth-of-type(6) h2,
body[data-page="services"] main>section:nth-of-type(6) h3,
body[data-page="services"] main>section:nth-of-type(6) p,
body[data-page="services"] main>section:nth-of-type(6) .page-label {
  color: #fff;
}

body[data-page="services"] main>section:nth-of-type(6) .card {
  padding: 10px 0 !important;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="services"] main>section:nth-of-type(6) .check-list i {
  color: var(--accent);
}

body[data-page="services"] main>section:nth-of-type(7) .grid-3 {
  grid-template-columns: 1fr;
  gap: 0;
}

body[data-page="services"] main>section:nth-of-type(7) .card {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: 18px 0 !important;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="services"] main>section:nth-of-type(7) .card h3 {
  grid-column: 1;
  margin: 0;
}

body[data-page="services"] main>section:nth-of-type(7) .card p {
  grid-column: 2;
  margin: 0;
}

/* Service detail: connecting installation stages and photographic preparation panels. */
body[data-page="service-details"] main>section:nth-of-type(3) .grid-4 {
  position: relative;
  gap: 0;
}

body[data-page="service-details"] main>section:nth-of-type(3) .grid-4::before {
  content: "";
  position: absolute;
  top: 45px;
  right: 10%;
  left: 10%;
  border-top: 1px solid rgba(22, 119, 210, .35);
}

body[data-page="service-details"] main>section:nth-of-type(3) .card {
  position: relative;
  z-index: 1;
  min-height: 220px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="service-details"] main>section:nth-of-type(3) .service-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 9px var(--bg);
}

body[data-page="service-details"] main>section:nth-of-type(4) .grid-3 {
  grid-template-columns: 1.2fr .9fr .9fr;
}

body[data-page="service-details"] main>section:nth-of-type(4) .card {
  padding: 28px !important;
  border: 0;
  border-top: 3px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
  background: #edf5f7;
}

body[data-page="service-details"] main>section:nth-of-type(5) {
  color: #fff;
  background: linear-gradient(90deg, rgba(16, 42, 67, .96) 0%, rgba(16, 42, 67, .91) 58%, rgba(16, 42, 67, .55) 100%), url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=1700&q=85") center/cover;
}

body[data-page="service-details"] main>section:nth-of-type(5) h2,
body[data-page="service-details"] main>section:nth-of-type(5) .page-label,
body[data-page="service-details"] main>section:nth-of-type(5) p {
  color: #fff;
}

body[data-page="service-details"] main>section:nth-of-type(5) .card {
  padding: 10px 0 !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="service-details"] main>section:nth-of-type(5) .check-list li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

body[data-page="service-details"] main>section:nth-of-type(5) .check-list i {
  color: var(--accent);
}

body[data-page="service-details"] main>section:nth-of-type(6) .grid-3 {
  grid-template-columns: 1fr;
  gap: 0;
}

body[data-page="service-details"] main>section:nth-of-type(6) .card {
  display: grid;
  grid-template-columns: 48px 250px 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 0 !important;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="service-details"] main>section:nth-of-type(6) .card::before {
  content: "✓";
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 800;
}

body[data-page="service-details"] main>section:nth-of-type(6) .card p {
  margin: 0;
}

/* Water testing: actual field imagery, a tall benefit rail, and result interpretation. */
body[data-page="water-testing"] main>section:nth-of-type(2) {
  background: #e8f5f5;
}

body[data-page="water-testing"] main>section:nth-of-type(2) .grid-2 {
  align-items: center;
}

body[data-page="water-testing"] main>section:nth-of-type(2) .grid-2>div:first-child {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 32px;
  color: #fff;
  background: linear-gradient(180deg, rgba(16, 42, 67, .03), rgba(16, 42, 67, .86)), url("../images/testing.jpg") center/cover;
}

body[data-page="water-testing"] main>section:nth-of-type(2) .grid-2>div:first-child h2,
body[data-page="water-testing"] main>section:nth-of-type(2) .grid-2>div:first-child .page-label {
  color: #fff;
}

body[data-page="water-testing"] main>section:nth-of-type(2) .grid-2>div:last-child {
  padding: 10px 0 10px 24px;
  /* border-left: 2px solid var(--accent); */
}

.testing-benefit-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 5vw, 52px);
}
  
.testing-benefit-photo {
  position: relative;
  width: min(100%, 430px);
  height: 420px;
  max-height: 420px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--primary-deep);
  border-radius: 22px;
  align-self: center;
}
  
.testing-benefit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testing-benefit-photo::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(16, 42, 67, .8));
}

.testing-benefit-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
}

.testing-benefit-list {
  display: grid;
  align-content: center;
}

.testing-benefit-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.testing-benefit-list article:first-child {
  border-top: 1px solid var(--line);
}

.testing-benefit-list h3 {
  margin-bottom: 7px;
}

.testing-benefit-list p {
  margin: 0;
}

.testing-findings {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(220px, .65fr) minmax(0, 1fr);
  align-items: center;
  gap: 26px;
}

.testing-findings-photo {
  height: 360px;
  margin: 0;
  overflow: hidden;
}

.testing-findings-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testing-findings>.card {
  padding: 10px 0 !important;
  border: 0;
  /* border-left: 2px solid var(--accent); */
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="water-testing"] main>section:nth-of-type(4) .grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--line);
}

body[data-page="water-testing"] main>section:nth-of-type(4) .card {
  padding: 24px !important;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="water-testing"] main>section:nth-of-type(4) .card:last-child {
  border-right: 0;
}

/* Contact: dark contact directory, photo-backed answers, and a clear reply path. */
body[data-page="contact"] main>section:nth-of-type(2) .info-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(16, 42, 67, .94), rgba(16, 42, 67, .78)), url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1000&q=85") center/cover;
}

body[data-page="contact"] main>section:nth-of-type(2) .info-card h3,
body[data-page="contact"] main>section:nth-of-type(2) .info-card a,
body[data-page="contact"] main>section:nth-of-type(2) .info-card strong {
  color: #fff;
}

body[data-page="contact"] main>section:nth-of-type(2) .info-icon {
  color: var(--accent);
  background: rgba(255, 255, 255, .12);
}

body[data-page="contact"] main>section:nth-of-type(3) {
  background: linear-gradient(90deg, rgba(16, 42, 67, .94), rgba(16, 42, 67, .76)), url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=85") center/cover;
}

body[data-page="contact"] main>section:nth-of-type(3) h2,
body[data-page="contact"] main>section:nth-of-type(3) .page-label {
  color: #fff;
}

body[data-page="contact"] main>section:nth-of-type(3) .faq-item {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="contact"] main>section:nth-of-type(3) .faq-question,
body[data-page="contact"] main>section:nth-of-type(3) .faq-answer-inner {
  color: #fff;
}

body[data-page="contact"] main>section:nth-of-type(4) .grid-3 {
  position: relative;
  gap: 0;
}

body[data-page="contact"] main>section:nth-of-type(4) .card {
  padding: 22px !important;
  border: 0;
  border-top: 2px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
  background: #edf5f7;
}

body[data-page="contact"] main>section:nth-of-type(6) {
  color: #fff;
  background: linear-gradient(90deg, rgba(16, 42, 67, .96), rgba(16, 42, 67, .82)), url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=1600&q=85") center/cover;
}

body[data-page="contact"] main>section:nth-of-type(6) h2,
body[data-page="contact"] main>section:nth-of-type(6) .page-label,
body[data-page="contact"] main>section:nth-of-type(6) p {
  color: #fff;
}

body[data-page="contact"] main>section:nth-of-type(6) .card {
  padding: 12px 0 !important;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="contact"] main>section:nth-of-type(6) .check-list i {
  color: var(--accent);
}

body[data-page="contact"] main>section:nth-of-type(7) .grid-3 {
  grid-template-columns: 1fr 1fr 1.2fr;
}

body[data-page="contact"] main>section:nth-of-type(7) .card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  border: 0;
  border-radius: 2px;
  color: #fff;
  background: linear-gradient(180deg, rgba(16, 42, 67, .06), rgba(16, 42, 67, .9)), url("https://images.unsplash.com/photo-1556911220-bff31c812dba?auto=format&fit=crop&w=900&q=85") center/cover;
}

body[data-page="contact"] main>section:nth-of-type(7) .card:nth-child(2) {
  background-image: linear-gradient(180deg, rgba(16, 42, 67, .06), rgba(16, 42, 67, .9)), url("https://images.unsplash.com/photo-1548839140-29a749e1cf4d?auto=format&fit=crop&w=900&q=85");
}

body[data-page="contact"] main>section:nth-of-type(7) .card:nth-child(3) {
  background-image: linear-gradient(180deg, rgba(16, 42, 67, .06), rgba(16, 42, 67, .9)), url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=900&q=85");
}

body[data-page="contact"] main>section:nth-of-type(7) .card>* {
  color: #fff;
}

body[data-page="contact"] main>section:nth-of-type(7) .service-icon {
  color: var(--accent);
  background: rgba(255, 255, 255, .14);
}

/* Reviews: editorial feedback, borderless quality principles, and human-scale imagery. */

/* Maintenance: contrasting service choices, compact symptom rows, and a visual care journal. */
body[data-page="maintenance"] main>section:nth-of-type(2) .service-grid {
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 12px;
}

body[data-page="maintenance"] main>section:nth-of-type(2) .service-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 0;
  border-radius: 2px;
  color: #fff;
  background: linear-gradient(180deg, rgba(16, 42, 67, .05), rgba(16, 42, 67, .9)), url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=900&q=85") center/cover;
}

body[data-page="maintenance"] main>section:nth-of-type(2) .service-card:nth-child(2) {
  background-image: linear-gradient(180deg, rgba(16, 42, 67, .05), rgba(16, 42, 67, .9)), url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=900&q=85");
}

body[data-page="maintenance"] main>section:nth-of-type(2) .service-card:nth-child(3) {
  background-image: linear-gradient(180deg, rgba(16, 42, 67, .05), rgba(16, 42, 67, .9)), url("https://images.unsplash.com/photo-1556911220-bff31c812dba?auto=format&fit=crop&w=900&q=85");
}

body[data-page="maintenance"] main>section:nth-of-type(2) .service-card h3,
body[data-page="maintenance"] main>section:nth-of-type(2) .service-card p {
  color: #fff;
}

body[data-page="maintenance"] main>section:nth-of-type(2) .service-icon {
  color: var(--accent);
  background: rgba(255, 255, 255, .14);
}

body[data-page="maintenance"] main>section:nth-of-type(3) {
  color: #fff;
  background: linear-gradient(90deg, rgba(16, 42, 67, .96), rgba(16, 42, 67, .77)), url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1650&q=85") center/cover;
}

body[data-page="maintenance"] main>section:nth-of-type(3) h2,
body[data-page="maintenance"] main>section:nth-of-type(3) h3,
body[data-page="maintenance"] main>section:nth-of-type(3) p,
body[data-page="maintenance"] main>section:nth-of-type(3) .page-label {
  color: #fff;
}

body[data-page="maintenance"] main>section:nth-of-type(3) .card {
  padding: 14px 0 !important;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="maintenance"] main>section:nth-of-type(3) .check-list i {
  color: var(--accent);
}

body[data-page="maintenance"] main>section:nth-of-type(5) .grid-3 {
  grid-template-columns: 1fr;
  gap: 0;
}

body[data-page="maintenance"] main>section:nth-of-type(5) .card {
  display: grid;
  grid-template-columns: 64px minmax(190px, .7fr) 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 0 !important;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="maintenance"] main>section:nth-of-type(5) .service-icon {
  grid-row: span 2;
  margin: 0;
}

body[data-page="maintenance"] main>section:nth-of-type(5) .card p {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
}

body[data-page="maintenance"] main>section:nth-of-type(6) {
  color: #fff;
  background: linear-gradient(100deg, rgba(16, 42, 67, .96), rgba(16, 42, 67, .8)), url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=1600&q=85") center/cover;
}

body[data-page="maintenance"] main>section:nth-of-type(6) h2,
body[data-page="maintenance"] main>section:nth-of-type(6) p,
body[data-page="maintenance"] main>section:nth-of-type(6) .page-label {
  color: #fff;
}

body[data-page="maintenance"] main>section:nth-of-type(6) .card {
  padding: 12px 0 !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="maintenance"] main>section:nth-of-type(6) .check-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

body[data-page="maintenance"] main>section:nth-of-type(6) .check-list i {
  color: var(--accent);
}

body[data-page="maintenance"] main>section:nth-of-type(7) .grid-3 {
  grid-template-columns: 1.2fr .9fr .9fr;
}

body[data-page="maintenance"] main>section:nth-of-type(7) .card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(16, 42, 67, .04), rgba(16, 42, 67, .9)), url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=900&q=85") center/cover;
}

body[data-page="maintenance"] main>section:nth-of-type(7) .card:nth-child(2) {
  background-image: linear-gradient(180deg, rgba(16, 42, 67, .04), rgba(16, 42, 67, .9)), url("https://images.unsplash.com/photo-1556911220-bff31c812dba?auto=format&fit=crop&w=900&q=85");
}

body[data-page="maintenance"] main>section:nth-of-type(7) .card:nth-child(3) {
  background-image: linear-gradient(180deg, rgba(16, 42, 67, .04), rgba(16, 42, 67, .9)), url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=900&q=85");
}

body[data-page="maintenance"] main>section:nth-of-type(7) .card>* {
  color: #fff;
}

body[data-page="maintenance"] main>section:nth-of-type(7) .service-icon {
  color: var(--accent);
  background: rgba(255, 255, 255, .14);
}

/* Responsive treatments retain each editorial composition on compact viewports. */
@media (max-width: 840px) {
  body[data-page="products"] main>section:nth-of-type(3) .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page="products"] main>section:nth-of-type(3) .grid-3>.card:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 240px;
  }

  body[data-page="products"] main>section:nth-of-type(6) .card,
  body[data-page="services"] main>section:nth-of-type(7) .card,
  body[data-page="maintenance"] main>section:nth-of-type(2) .service-grid,
  body[data-page="maintenance"] main>section:nth-of-type(7) .grid-3,
  body[data-page="contact"] main>section:nth-of-type(7) .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="maintenance"] main>section:nth-of-type(2) .service-card:first-child {
    grid-column: 1 / -1;
  }

  .service-commitments {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .testing-benefit-layout {
    grid-template-columns: .8fr 1.2fr;
  }

  .testing-findings {
    grid-template-columns: 1fr 1fr;
  }

  .testing-findings> :first-child {
    grid-column: 1 / -1;
  }

  .testing-findings-photo {
    height: 300px;
  }

  body[data-page="water-testing"] main>section:nth-of-type(4) .grid-3 {
    grid-template-columns: 1fr;
  }

  body[data-page="water-testing"] main>section:nth-of-type(4) .card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {

  body[data-page="about"] main>section:nth-of-type(3) .grid-3,
  body[data-page="maintenance"] main>section:nth-of-type(2) .service-grid,
  body[data-page="maintenance"] main>section:nth-of-type(7) .grid-3,
  body[data-page="contact"] main>section:nth-of-type(7) .grid-3 {
    grid-template-columns: 1fr;
  }

  body[data-page="maintenance"] main>section:nth-of-type(2) .service-card:first-child {
    grid-column: auto;
  }

  body[data-page="about"] main>section:nth-of-type(5) .card,
  body[data-page="products"] main>section:nth-of-type(6) .card,
  body[data-page="maintenance"] main>section:nth-of-type(5) .card {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

  body[data-page="about"] main>section:nth-of-type(5) .card .service-icon {
    grid-column: 1;
    grid-row: 1;
    width: 42px;
    height: 42px;
  }

  body[data-page="about"] main>section:nth-of-type(5) .card::before {
    grid-column: 1;
    grid-row: 2;
  }

  body[data-page="about"] main>section:nth-of-type(5) .card h3 {
    grid-column: 2;
    grid-row: 1;
  }

  body[data-page="about"] main>section:nth-of-type(5) .card p,
  body[data-page="products"] main>section:nth-of-type(6) .card p,
  body[data-page="maintenance"] main>section:nth-of-type(5) .card p {
    grid-column: 2;
    grid-row: 2;
  }

  body[data-page="services"] main>section:nth-of-type(7) .card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 6px;
  }

  body[data-page="services"] main>section:nth-of-type(7) .card h3,
  body[data-page="services"] main>section:nth-of-type(7) .card p {
    grid-column: 1;
  }

  body[data-page="services"] main>section:nth-of-type(7) .card p {
    grid-row: auto;
  }

  body[data-page="service-details"] main>section:nth-of-type(6) .card {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

  body[data-page="service-details"] main>section:nth-of-type(6) .card h3 {
    grid-column: 2;
    grid-row: 1;
  }

  body[data-page="service-details"] main>section:nth-of-type(6) .card p {
    grid-column: 2;
    grid-row: 2;
  }

  body[data-page="about"] main>section:nth-of-type(5) .card::before {
    grid-row: 1;
    grid-column: 1;
    align-self: end;
  }

  body[data-page="about"] main>section:nth-of-type(5) .card .service-icon {
    visibility: hidden;
  }

  body[data-page="products"] main>section:nth-of-type(3) .grid-3 {
    grid-template-columns: 1fr;
  }

  body[data-page="products"] main>section:nth-of-type(3) .grid-3>.card:first-child {
    grid-column: auto;
  }

  body[data-page="service-details"] main>section:nth-of-type(4) .grid-3 {
    grid-template-columns: 1fr;
  }

  .testing-benefit-layout,
  .testing-findings {
    grid-template-columns: 1fr;
  }

  .testing-benefit-photo,
  .testing-benefit-photo img {
    min-height: 280px;
    max-height: 360px;
  }

  .testing-findings> :first-child {
    grid-column: auto;
  }

  .testing-findings-photo {
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .reveal-item,
  .reveal-item img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Homepage hero uses its existing photo as a full-bleed banner background. */
body[data-page="home"] .hero-layout {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: min(700px, calc(100svh - 84px));
  margin: 0;
  padding: 76px max(32px, calc((100% - var(--container)) / 2));
  overflow: hidden;
}

body[data-page="home"] .hero-layout>div:first-child {
  position: relative;
  z-index: 2;
  width: min(700px, 100%);
}

body[data-page="home"] .hero-layout>div:first-child h1,
body[data-page="home"] .hero-layout .hero-copy,
body[data-page="home"] .hero-layout .hero-trust strong {
  color: #fff;
}

body[data-page="home"] .hero-layout .hero-eyebrow {
  color: #8be7e0;
}

body[data-page="home"] .hero-layout .hero-trust .mini-badge {
  color: var(--primary-deep);
  background: rgba(255, 255, 255, .9);
}

body[data-page="home"] .hero-layout .hero-image-frame {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 0;
  box-shadow: none;
}

body[data-page="home"] .hero-layout .hero-image-frame::before {
  background: linear-gradient(90deg, rgba(8, 25, 42, .88) 0%, rgba(8, 25, 42, .7) 45%, rgba(8, 25, 42, .2) 100%);
}

body[data-page="home"] .hero-layout .hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

body[data-page="home"] .hero-layout .hero-image-frame.hero-animate {
  animation-name: bannerReveal;
}

body[data-page="home"] .hero-layout .hero-floating {
  right: max(32px, calc((100% - var(--container)) / 2));
  bottom: 28px;
}

@media (max-width: 840px) {
  body[data-page="home"] .hero-layout {
    min-height: min(720px, calc(100svh - 72px));
    padding: 64px 24px 112px;
  }

  body[data-page="home"] .hero-layout .hero-image-frame img {
    object-position: 58% center;
  }

  body[data-page="home"] .hero-layout .hero-floating {
    right: 24px;
    bottom: 20px;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .hero-layout {
    min-height: 650px;
    padding: 56px 20px 116px;
  }

  body[data-page="home"] .hero-layout .hero-image-frame::before {
    background: linear-gradient(90deg, rgba(8, 25, 42, .82), rgba(8, 25, 42, .45));
  }

  body[data-page="home"] .hero-layout .hero-floating {
    right: 20px;
    bottom: 18px;
  }
}

body[data-page="home-2"] {
  --h2-ink: #17364c;
  --h2-muted: #607486;
  --h2-teal: #187f83;
  --h2-sand: #f1f4ee;
  background: #fff;
}

body.dark-mode[data-page="home-2"] {
  background: var(--bg);
}

body[data-page="home-2"] .h2-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(720px, calc(100vh - 84px));
  min-height: min(720px, calc(100svh - 84px));
  padding-block: 76px;
  overflow: hidden;
  background-color: #0b2033;
  background-image:
    linear-gradient(90deg, rgba(7, 24, 39, .94) 0%, rgba(7, 24, 39, .84) 38%, rgba(7, 24, 39, .32) 72%, rgba(7, 24, 39, .12) 100%),
    url("../images/reapiring.jpg");
  background-position: center, center 43%;
  background-size: cover;
  background-repeat: no-repeat;
}

body[data-page="home-2"] .h2-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100%;
}

body[data-page="home-2"] .h2-hero-copy {
  max-width: 650px;
  padding-block: 25px;
}

body[data-page="home-2"] .h2-hero .hero-eyebrow {
  margin-bottom: 20px;
  color: #60d2c9;
  letter-spacing: .13em;
}

body[data-page="home-2"] .h2-hero h1 {
  max-width: 720px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  line-height: 1.01;
  letter-spacing: -.065em;
}

body[data-page="home-2"] .h2-hero .hero-copy {
  max-width: 570px;
  color: rgba(255, 255, 255, .78);
  font-size: 1.1rem;
}

body[data-page="home-2"] .h2-hero .btn-row {
  margin-top: 30px;
}

body[data-page="home-2"] .h2-hero .btn-primary {
  background: var(--h2-teal);
  box-shadow: 0 12px 26px rgba(24, 127, 131, .2);
}

body[data-page="home-2"] .h2-hero .btn-primary:hover {
  background: #12696d;
}

body[data-page="home-2"] .h2-hero .btn-secondary {
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  backdrop-filter: blur(8px);
}

body[data-page="home-2"] .h2-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: rgba(255, 255, 255, .76);
  font-size: .9rem;
}

body[data-page="home-2"] .h2-hero-note i {
  color: #60d2c9;
  font-size: 1.05rem;
}

body[data-page="home-2"] .h2-hero-index {
  position: absolute;
  right: 0;
  bottom: 4px;
  color: rgba(255, 255, 255, .7);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
}

body[data-page="home-2"] .h2-promise-band {
  padding: 27px 0;
  color: #fff;
  background: #12364b;
}

body[data-page="home-2"] .h2-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

body[data-page="home-2"] .h2-promise-item {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 74px;
  padding-inline: 18px;
  border-right: 1px solid rgba(255, 255, 255, .15);
}

body[data-page="home-2"] .h2-promise-item:last-child {
  border-right: 0;
}

body[data-page="home-2"] .h2-promise-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 50%;
  color: #9ce5d9;
  background: rgba(255, 255, 255, .09);
  font-size: 1.05rem;
}

body[data-page="home-2"] .h2-promise-item strong {
  color: #fff;
  font-size: .94rem;
}

body[data-page="home-2"] .h2-promise-item p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, .67);
  font-size: .79rem;
  line-height: 1.5;
}

body[data-page="home-2"] .h2-assessment-layout,
body[data-page="home-2"] .h2-solutions-layout,
body[data-page="home-2"] .h2-care-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 112px);
}

body[data-page="home-2"] .h2-assessment-photo {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px 150px 4px 4px;
  background: #e9f3f1;
}

body[data-page="home-2"] .h2-assessment-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

body[data-page="home-2"] .h2-assessment-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 15px 18px;
  border-radius: 6px;
  color: var(--h2-ink);
  background: rgba(255, 255, 255, .94);
  font-size: .9rem;
  font-weight: 700;
}

body[data-page="home-2"] .h2-assessment-photo figcaption i {
  margin-right: 8px;
  color: var(--h2-teal);
}

body[data-page="home-2"] .h2-assessment-copy h2,
body[data-page="home-2"] .h2-solutions-copy h2,
body[data-page="home-2"] .h2-care-copy h2 {
  color: var(--h2-ink);
}

body[data-page="home-2"] .h2-assessment-copy .lead,
body[data-page="home-2"] .h2-solutions-copy .lead,
body[data-page="home-2"] .h2-care-copy .lead {
  color: var(--h2-muted);
}

body[data-page="home-2"] .h2-assessment-points {
  margin: 28px 0 24px;
}

body[data-page="home-2"] .h2-assessment-points>div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(23, 54, 76, .12);
}

body[data-page="home-2"] .h2-assessment-points>div>span {
  color: var(--h2-teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

body[data-page="home-2"] .h2-assessment-points p {
  margin: 0;
  color: var(--h2-muted);
  font-size: .91rem;
}

body[data-page="home-2"] .h2-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--h2-teal);
  font-weight: 800;
  font-size: .91rem;
}

body[data-page="home-2"] .h2-text-link i,
body[data-page="home-2"] .h2-roadmap-footer a i {
  transition: transform .25s ease;
}

body[data-page="home-2"] .h2-text-link:hover i,
body[data-page="home-2"] .h2-roadmap-footer a:hover i {
  transform: translateX(4px);
}

body[data-page="home-2"] .h2-concerns {
  overflow: hidden;
  background: var(--h2-sand);
}

body[data-page="home-2"] .h2-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 42px;
}

body[data-page="home-2"] .h2-section-heading h2 {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--h2-ink);
}

body[data-page="home-2"] .h2-section-heading>p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--h2-muted);
  font-size: .9rem;
}

body[data-page="home-2"] .h2-concern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

body[data-page="home-2"] .h2-concern {
  min-height: 290px;
  padding: 30px 28px;
  border-top: 2px solid rgba(23, 54, 76, .18);
  background: rgba(255, 255, 255, .54);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

body[data-page="home-2"] .h2-concern:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 18px 38px rgba(18, 46, 61, .08);
}

body[data-page="home-2"] .h2-concern-featured {
  color: #fff;
  border-color: #53c7b7;
  background: #12364b;
}

body[data-page="home-2"] .h2-concern-featured:hover {
  background: #17445b;
}

body[data-page="home-2"] .h2-concern-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--h2-teal);
  background: rgba(24, 127, 131, .1);
  font-size: 1.1rem;
}

body[data-page="home-2"] .h2-concern-featured .h2-concern-icon {
  color: #9ce5d9;
  background: rgba(255, 255, 255, .1);
}

body[data-page="home-2"] .h2-concern-number {
  display: block;
  margin-bottom: 10px;
  color: #778994;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .15em;
}

body[data-page="home-2"] .h2-concern-featured .h2-concern-number {
  color: #9ce5d9;
}

body[data-page="home-2"] .h2-concern h3 {
  margin-bottom: 10px;
  color: var(--h2-ink);
  font-size: 1.35rem;
}

body[data-page="home-2"] .h2-concern p {
  margin: 0;
  color: var(--h2-muted);
  font-size: .9rem;
}

body[data-page="home-2"] .h2-concern-featured h3 {
  color: #fff;
}

body[data-page="home-2"] .h2-concern-featured p {
  color: rgba(255, 255, 255, .74);
}

body[data-page="home-2"] .h2-solutions-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

body[data-page="home-2"] .h2-solutions-copy {
  max-width: 590px;
}

body[data-page="home-2"] .h2-solution-list {
  margin: 28px 0;
  border-top: 1px solid rgba(23, 54, 76, .14);
}

body[data-page="home-2"] .h2-solution-option {
  display: grid;
  grid-template-columns: 46px 1fr 22px;
  align-items: center;
  gap: 14px;
  padding: 17px 5px;
  border-bottom: 1px solid rgba(23, 54, 76, .14);
  transition: padding .25s ease, background .25s ease;
}

body[data-page="home-2"] .h2-solution-option:hover {
  padding-inline: 12px;
  background: rgba(24, 127, 131, .045);
}

body[data-page="home-2"] .h2-solution-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--h2-teal);
  background: rgba(24, 127, 131, .1);
}

body[data-page="home-2"] .h2-solution-option small,
body[data-page="home-2"] .h2-solution-option strong,
body[data-page="home-2"] .h2-solution-option em {
  display: block;
}

body[data-page="home-2"] .h2-solution-option small {
  color: var(--h2-teal);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .13em;
}

body[data-page="home-2"] .h2-solution-option strong {
  margin: 2px 0;
  color: var(--h2-ink);
  font-size: 1rem;
}

body[data-page="home-2"] .h2-solution-option em {
  color: var(--h2-muted);
  font-size: .77rem;
  font-style: normal;
}

body[data-page="home-2"] .h2-solution-arrow {
  color: #718691;
  font-size: .8rem;
}

body[data-page="home-2"] .h2-solutions-copy>.btn-secondary {
  border-color: rgba(23, 54, 76, .2);
}

body[data-page="home-2"] .h2-solutions-photo {
  position: relative;
  align-self: stretch;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: #e9f0ec;
}

body[data-page="home-2"] .h2-solutions-photo img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  transition: transform .6s ease;
}

body[data-page="home-2"] .h2-solutions-photo:hover img {
  transform: scale(1.035);
}

body[data-page="home-2"] .h2-solutions-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 5px;
  padding: 21px 24px;
  color: #fff;
  background: rgba(18, 54, 75, .9);
}

body[data-page="home-2"] .h2-solutions-photo figcaption span {
  color: #9ce5d9;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
}

body[data-page="home-2"] .h2-solutions-photo figcaption strong {
  max-width: 380px;
  font-size: 1.08rem;
  line-height: 1.4;
}

body[data-page="home-2"] .h2-roadmap-section {
  color: #fff;
  background: #12364b;
}

body[data-page="home-2"] .h2-roadmap-heading {
  max-width: 700px;
  margin-bottom: 52px;
}

body[data-page="home-2"] .h2-roadmap-heading .page-label {
  color: #9ce5d9;
}

body[data-page="home-2"] .h2-roadmap-heading h2 {
  color: #fff;
}

body[data-page="home-2"] .h2-roadmap-heading p {
  max-width: 500px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .68);
}

body[data-page="home-2"] .h2-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

body[data-page="home-2"] .h2-roadmap-step {
  position: relative;
}

body[data-page="home-2"] .h2-roadmap-number {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(156, 229, 217, .62);
  border-radius: 50%;
  color: #9ce5d9;
  font-weight: 800;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

body[data-page="home-2"] .h2-roadmap-step:hover .h2-roadmap-number {
  color: #12364b;
  background: #9ce5d9;
  transform: scale(1.06);
}

body[data-page="home-2"] .h2-roadmap-line {
  position: absolute;
  top: 29px;
  right: -27px;
  left: 72px;
  height: 1px;
  background: rgba(156, 229, 217, .3);
}

body[data-page="home-2"] .h2-roadmap-step:last-child .h2-roadmap-line {
  display: none;
}

body[data-page="home-2"] .h2-roadmap-step h3 {
  margin-bottom: 9px;
  color: #fff;
  font-size: 1.2rem;
}

body[data-page="home-2"] .h2-roadmap-step p {
  max-width: 235px;
  margin: 0;
  color: rgba(255, 255, 255, .69);
  font-size: .87rem;
}

body[data-page="home-2"] .h2-roadmap-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

body[data-page="home-2"] .h2-roadmap-footer span {
  color: rgba(255, 255, 255, .64);
  font-size: .78rem;
}

body[data-page="home-2"] .h2-roadmap-footer span i {
  margin-right: 7px;
  color: #9ce5d9;
}

body[data-page="home-2"] .h2-roadmap-footer a {
  color: #9ce5d9;
  font-size: .85rem;
  font-weight: 800;
  white-space: nowrap;
}

body[data-page="home-2"] .h2-care {
  background: #f4f7f3;
}

body[data-page="home-2"] .h2-care-layout {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

body[data-page="home-2"] .h2-care-photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #dce8e4;
}

body[data-page="home-2"] .h2-care-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

body[data-page="home-2"] .h2-care-stamp {
  position: absolute;
  right: -1px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  color: #fff;
  background: var(--h2-teal);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
}

body[data-page="home-2"] .h2-care-stamp i {
  font-size: 1.25rem;
}

body[data-page="home-2"] .h2-care-list {
  display: grid;
  gap: 15px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

body[data-page="home-2"] .h2-care-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--h2-muted);
  font-size: .89rem;
}

body[data-page="home-2"] .h2-care-list i {
  color: var(--h2-teal);
  margin-top: 5px;
}

body[data-page="home-2"] .h2-final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 116px) 0;
  color: #fff;
  background: linear-gradient(90deg, rgba(12, 42, 57, .95), rgba(12, 42, 57, .77)), url("../images/kitchen sink.jpg") center 56%/cover;
}

body[data-page="home-2"] .h2-final-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  align-items: center;
  gap: 60px;
}

body[data-page="home-2"] .h2-final-inner .page-label {
  color: #9ce5d9;
}

body[data-page="home-2"] .h2-final-inner h2 {
  max-width: 700px;
  color: #fff;
}

body[data-page="home-2"] .h2-final-inner p {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .77);
}

body[data-page="home-2"] .h2-final-actions {
  display: grid;
  justify-items: start;
  gap: 15px;
}

body[data-page="home-2"] .h2-final-actions .btn-primary {
  background: #fff;
  color: #12364b;
  box-shadow: none;
}

body[data-page="home-2"] .h2-final-actions .btn-primary:hover {
  background: #dff3ef;
}

body[data-page="home-2"] .h2-final-link {
  color: rgba(255, 255, 255, .83);
  font-size: .86rem;
  font-weight: 700;
}

body[data-page="home-2"] .h2-final-link:hover {
  color: #9ce5d9;
}

body.dark-mode[data-page="home-2"] .h2-assessment-copy h2,
body.dark-mode[data-page="home-2"] .h2-solutions-copy h2,
body.dark-mode[data-page="home-2"] .h2-care-copy h2,
body.dark-mode[data-page="home-2"] .h2-concern h3,
body.dark-mode[data-page="home-2"] .h2-solution-option strong {
  color: var(--ink);
}

body.dark-mode[data-page="home-2"] .h2-concerns,
body.dark-mode[data-page="home-2"] .h2-care {
  background: #102638;
}

body.dark-mode[data-page="home-2"] .h2-concern {
  background: rgba(255, 255, 255, .035);
}

body.dark-mode[data-page="home-2"] .h2-concern-featured {
  background: #12364b;
}

body.dark-mode[data-page="home-2"] .h2-assessment-points>div,
body.dark-mode[data-page="home-2"] .h2-solution-list,
body.dark-mode[data-page="home-2"] .h2-solution-option {
  border-color: rgba(255, 255, 255, .13);
}

body.dark-mode[data-page="home-2"] .h2-hero .btn-secondary {
  background: var(--panel);
  color: var(--ink);
}

@media (max-width: 1000px) {
  body[data-page="home-2"] .h2-hero {
    min-height: 590px;
    background-position: center, 58% center;
  }

  body[data-page="home-2"] .h2-assessment-layout,
  body[data-page="home-2"] .h2-solutions-layout,
  body[data-page="home-2"] .h2-care-layout {
    gap: 40px;
  }
}

@media (max-width: 1150px) {
  body[data-page="home-2"] .main-nav {
    width: auto;
  }
}

@media (max-width: 840px) {
  body[data-page="home-2"] .h2-hero {
    min-height: 570px;
    padding-block: 56px;
    background-image:
      linear-gradient(90deg, rgba(7, 24, 39, .91), rgba(7, 24, 39, .63)),
      url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=1400&q=85");
  }

  body[data-page="home-2"] .h2-hero-copy {
    max-width: 690px;
  }

  body[data-page="home-2"] .h2-hero-index {
    right: 0;
    bottom: 12px;
  }

  body[data-page="home-2"] .h2-promise-grid {
    gap: 8px;
  }

  body[data-page="home-2"] .h2-promise-item {
    padding-inline: 8px;
  }

  body[data-page="home-2"] .h2-assessment-layout,
  body[data-page="home-2"] .h2-solutions-layout,
  body[data-page="home-2"] .h2-care-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="home-2"] .h2-assessment-photo,
  body[data-page="home-2"] .h2-assessment-photo img {
    min-height: 430px;
    height: 430px;
  }

  body[data-page="home-2"] .h2-assessment-photo {
    width: min(100%, 620px);
  }

  body[data-page="home-2"] .h2-solutions-photo,
  body[data-page="home-2"] .h2-solutions-photo img {
    min-height: 440px;
    height: 440px;
  }

  body[data-page="home-2"] .h2-solutions-photo {
    grid-row: 1;
  }

  body[data-page="home-2"] .h2-care-photo,
  body[data-page="home-2"] .h2-care-photo img {
    min-height: 430px;
    height: 430px;
  }

  body[data-page="home-2"] .h2-roadmap {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }

  body[data-page="home-2"] .h2-roadmap-step:nth-child(2) .h2-roadmap-line {
    display: none;
  }

  body[data-page="home-2"] .h2-final-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  body[data-page="home-2"] .h2-hero {
    min-height: 570px;
    padding: 44px 0;
  }

  body[data-page="home-2"] .h2-hero h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  body[data-page="home-2"] .h2-hero .btn-row {
    align-items: stretch;
    flex-direction: column;
  }

  body[data-page="home-2"] .h2-hero .btn-row .btn {
    width: 100%;
  }

  body[data-page="home-2"] .h2-promise-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body[data-page="home-2"] .h2-promise-item {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  body[data-page="home-2"] .h2-promise-item:last-child {
    border-bottom: 0;
  }

  body[data-page="home-2"] .h2-assessment-layout,
  body[data-page="home-2"] .h2-solutions-layout,
  body[data-page="home-2"] .h2-care-layout {
    gap: 28px;
  }

  body[data-page="home-2"] .h2-assessment-photo,
  body[data-page="home-2"] .h2-assessment-photo img {
    min-height: 330px;
    height: 330px;
  }

  body[data-page="home-2"] .h2-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  body[data-page="home-2"] .h2-concern-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home-2"] .h2-concern {
    min-height: 0;
    padding: 24px;
  }

  body[data-page="home-2"] .h2-concern-icon {
    margin-bottom: 16px;
  }

  body[data-page="home-2"] .h2-solutions-photo,
  body[data-page="home-2"] .h2-solutions-photo img {
    min-height: 330px;
    height: 330px;
  }

  body[data-page="home-2"] .h2-roadmap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body[data-page="home-2"] .h2-roadmap-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: start;
    column-gap: 16px;
  }

  body[data-page="home-2"] .h2-roadmap-number {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }

  body[data-page="home-2"] .h2-roadmap-step h3 {
    margin: 2px 0 7px;
  }

  body[data-page="home-2"] .h2-roadmap-step p {
    grid-column: 2;
  }

  body[data-page="home-2"] .h2-roadmap-line {
    top: 62px;
    right: auto;
    bottom: -20px;
    left: 28px;
    width: 1px;
    height: auto;
  }

  body[data-page="home-2"] .h2-roadmap-step:nth-child(2) .h2-roadmap-line {
    display: block;
  }

  body[data-page="home-2"] .h2-roadmap-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 32px;
  }

  body[data-page="home-2"] .h2-care-photo,
  body[data-page="home-2"] .h2-care-photo img {
    min-height: 340px;
    height: 340px;
  }

  body[data-page="home-2"] .h2-final-inner {
    gap: 24px;
  }

  body[data-page="home-2"] .home2-reveal[data-origin="left"],
  body[data-page="home-2"] .home2-reveal[data-origin="right"] {
    transform: translateY(16px);
  }

  body[data-page="home-2"] .home2-reveal[data-origin="left"].is-visible,
  body[data-page="home-2"] .home2-reveal[data-origin="right"].is-visible {
    transform: translateY(0);
  }
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-inline: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-dropdown-toggle i {
  font-size: 0.68em;
  transition: transform 220ms ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  inset-block-start: calc(100% + 12px);
  inset-inline-start: 0;
  z-index: 1200;
  min-width: 172px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible,
.nav-dropdown-link.active {
  color: var(--ink);
  background: var(--primary-soft);
  outline: none;
}

@media (max-width: 1150px) {
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    min-height: 42px;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-block-start: 4px;
    padding: 0;
    padding-inline-start: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: translateY(-4px);
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    padding-block: 4px;
  }
}

body.dark-mode .nav-dropdown-menu {
  background: #152b3e;
}

body.dark-mode .nav-dropdown-link:hover,
body.dark-mode .nav-dropdown-link:focus-visible,
body.dark-mode .nav-dropdown-link.active {
  color: #f7fbff;
  background: rgba(89, 201, 232, 0.16);
}

@media (max-width: 1150px) {
  body.dark-mode .nav-dropdown-menu {
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown-toggle i,
  .nav-dropdown-menu,
  .nav-dropdown-link {
    transition: none;
  }
}

body[data-page="contact"] .contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  padding-block: 48px;
  overflow: hidden;
  color: #fff;
  background-color: #102a43;
  background-image:
    linear-gradient(90deg, rgba(7, 27, 44, .94) 0%, rgba(7, 27, 44, .82) 45%, rgba(7, 27, 44, .3) 100%),
    url("../images/Screenshot\ 2026-10-12\ 135624.jpg");
  background-position: center, center 55%;
  background-size: cover;
}

body[data-page="contact"] .contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
}

body[data-page="contact"] .contact-hero .breadcrumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
}

body[data-page="contact"] .contact-hero .breadcrumbs a {
  color: #fff;
}

body[data-page="contact"] .contact-hero-kicker,
body[data-page="contact"] .contact-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #67ddd3;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
}

body[data-page="contact"] .contact-hero h1 {
  max-width: 900px;
  margin: 12px 0;
  color: #fff;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  letter-spacing: -.055em;
  line-height: 1.04;
}

body[data-page="contact"] .contact-hero p {
  max-width: 600px;
  color: rgba(255, 255, 255, .8);
  font-size: 1.08rem;
  line-height: 1.75;
}

body[data-page="contact"] .contact-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}

body[data-page="contact"] .contact-hero .btn-primary {
  background: #168d8b;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

body[data-page="contact"] .contact-hero .btn-primary:hover {
  background: #117572;
}

body[data-page="contact"] .contact-hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
}

body[data-page="contact"] .contact-hero-phone i {
  color: #67ddd3;
}

body[data-page="contact"] .contact-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .82);
  font-size: .84rem;
}

body[data-page="contact"] .contact-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body[data-page="contact"] .contact-hero-points i {
  color: #67ddd3;
}

body[data-page="contact"] .contact-main {
  padding-block: 72px;
  background: #f3f8fa;
}

body[data-page="contact"] .contact-redesign-grid {
  grid-template-columns: minmax(270px, .82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: 24px;
}

body[data-page="contact"] .contact-details-panel,
body[data-page="contact"] .contact-form-panel {
  padding: clamp(24px, 3.5vw, 42px);
  border-radius: 22px;
}

body[data-page="contact"] .contact-details-panel {
  color: #fff;
  background: #102a43;
  border-color: rgba(255, 255, 255, .12);
}

body[data-page="contact"] .contact-details-panel h2,
body[data-page="contact"] .contact-form-panel h2 {
  margin: 12px 0;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  letter-spacing: -.04em;
}

body[data-page="contact"] .contact-details-panel h2,
body[data-page="contact"] .contact-details-panel p,
body[data-page="contact"] .contact-details-panel strong,
body[data-page="contact"] .contact-details-panel a {
  color: #fff;
}

body[data-page="contact"] .contact-details-panel>p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}

body[data-page="contact"] .contact-details-panel .info-list {
  gap: 22px;
}

body[data-page="contact"] .contact-details-panel .info-item {
  align-items: center;
}

body[data-page="contact"] .contact-details-panel .info-icon {
  flex: 0 0 46px;
  color: #70e0d7;
  background: rgba(103, 221, 211, .13);
}

body[data-page="contact"] .contact-details-panel .text-muted {
  color: rgba(255, 255, 255, .66);
}

body[data-page="contact"] .contact-form-panel {
  border-color: rgba(16, 42, 67, .08);
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 42, 67, .1);
}

body[data-page="contact"] .contact-form-panel h2 {
  color: var(--ink);
}

body[data-page="contact"] .contact-form-intro {
  margin-bottom: 26px;
  color: var(--muted);
}

body[data-page="contact"] .contact-form-panel .form-grid {
  gap: 17px 18px;
}

body[data-page="contact"] .contact-form-panel .form-control {
  border-radius: 10px;
  background: #f7fafb;
}

body[data-page="contact"] .contact-form-panel button[type="submit"] {
  margin-top: 22px !important;
}

body.dark-mode[data-page="contact"] .contact-main {
  background: var(--bg);
}

body.dark-mode[data-page="contact"] .contact-form-panel {
  background: var(--panel);
}

body.dark-mode[data-page="contact"] .contact-form-panel h2,
body.dark-mode[data-page="contact"] .contact-form-panel .form-label {
  color: var(--ink);
}

body.dark-mode[data-page="contact"] .contact-form-intro {
  color: var(--muted);
}

@media (max-width: 840px) {
  body[data-page="contact"] .contact-hero {
    padding-block: 40px;
    background-position: center, 58% center;
  }

  body[data-page="contact"] .contact-redesign-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body[data-page="contact"] .contact-hero {
    padding-block: 24px;
  }

  body[data-page="contact"] .contact-hero .breadcrumbs {
    margin-bottom: 16px;
  }

  body[data-page="contact"] .contact-hero h1 {
    font-size: 2.2rem;
    margin-block: 8px;
  }

  body[data-page="contact"] .contact-hero p {
    margin-block: 10px;
    font-size: .95rem;
  }

  body[data-page="contact"] .contact-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
  }

  body[data-page="contact"] .contact-hero-points {
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    font-size: .8rem;
  }

  body[data-page="contact"] .contact-main {
    padding-block: 42px;
  }

  body[data-page="contact"] .contact-details-panel,
  body[data-page="contact"] .contact-form-panel {
    padding: 24px 20px;
  }
}

/* Maintenance and contact page redesigns. */
body[data-page="maintenance"] .maintenance-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

body[data-page="maintenance"] .maintenance-section-heading h2 {
  max-width: 620px;
  margin-bottom: 0;
}

body[data-page="maintenance"] .maintenance-section-heading>p {
  max-width: 410px;
  margin: 0 0 3px;
  color: var(--muted);
}

body[data-page="maintenance"] .maintenance-care-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body[data-page="maintenance"] .maintenance-option {
  min-height: 260px;
  padding: 24px 28px 26px 0;
}

body[data-page="maintenance"] .maintenance-option+.maintenance-option {
  padding-inline-start: 28px;
  border-inline-start: 1px solid var(--line);
}

body[data-page="maintenance"] .maintenance-option-number {
  display: block;
  margin-bottom: 26px;
  color: var(--primary);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .12em;
}

body[data-page="maintenance"] .maintenance-option .service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--primary);
  background: rgba(22, 119, 210, .1);
}

body[data-page="maintenance"] .maintenance-option h3 {
  margin-bottom: 8px;
}

body[data-page="maintenance"] .maintenance-option p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
}

body[data-page="maintenance"] main>section.maintenance-diagnostic {
  color: var(--ink);
  background: #edf4f8;
}

body[data-page="maintenance"] main>section.maintenance-diagnostic h2,
body[data-page="maintenance"] main>section.maintenance-diagnostic h3,
body[data-page="maintenance"] main>section.maintenance-diagnostic p,
body[data-page="maintenance"] main>section.maintenance-diagnostic .page-label {
  color: var(--ink);
}

body[data-page="maintenance"] .maintenance-diagnostic-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
}

body[data-page="maintenance"] .maintenance-diagnostic-intro p {
  max-width: 420px;
  color: var(--muted);
}

body[data-page="maintenance"] .maintenance-diagnostic-intro .text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 700;
}

body[data-page="maintenance"] .maintenance-signals article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

body[data-page="maintenance"] .maintenance-signals article:first-child {
  border-top: 1px solid var(--line);
}

body[data-page="maintenance"] .maintenance-signals article>span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(22, 119, 210, .1);
}

body[data-page="maintenance"] .maintenance-signals h3 {
  margin-bottom: 5px;
}

body[data-page="maintenance"] .maintenance-signals p {
  margin: 0;
  color: var(--muted);
}

body[data-page="maintenance"] .maintenance-inspection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

body[data-page="maintenance"] .maintenance-inspection-grid article {
  padding: 24px 26px 0 0;
}

body[data-page="maintenance"] .maintenance-inspection-grid article+article {
  padding-inline-start: 26px;
  border-inline-start: 1px solid var(--line);
}

body[data-page="maintenance"] .maintenance-inspection-grid article>span {
  display: block;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 800;
}

body[data-page="maintenance"] .maintenance-inspection-grid h3 {
  margin-bottom: 7px;
}

body[data-page="maintenance"] .maintenance-inspection-grid p {
  margin: 0;
  color: var(--muted);
}

body[data-page="maintenance"] .maintenance-faq {
  color: var(--ink);
  background: #edf4f8;
}

body[data-page="maintenance"] .maintenance-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(32px, 7vw, 90px);
}

body[data-page="maintenance"] .maintenance-faq-layout>div:first-child p {
  color: var(--muted);
}

body[data-page="maintenance"] main>section.maintenance-cta-section {
  background: var(--bg);
}

body[data-page="contact"] .contact-details-panel,
body[data-page="contact"] .contact-form-panel {
  min-width: 0;
}

body[data-page="contact"] .contact-redesign-grid {
  display: grid;
}

body[data-page="contact"] .contact-details-panel .contact-panel-kicker,
body[data-page="contact"] .contact-form-panel .contact-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}

body[data-page="contact"] .contact-details-panel .contact-panel-kicker {
  color: #70e0d7;
}

body[data-page="contact"] .contact-details-panel .info-item>div {
  min-width: 0;
  overflow-wrap: anywhere;
}

body[data-page="contact"] .contact-details-panel .info-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-page="contact"] .contact-service-area {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  line-height: 1.6;
}

body[data-page="contact"] .contact-service-area i {
  padding-top: 4px;
  color: #70e0d7;
}

body[data-page="contact"] .contact-location {
  background: #edf4f8;
}

body[data-page="contact"] .contact-location-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

body[data-page="contact"] .contact-location-heading h2 {
  margin-bottom: 0;
}

body[data-page="contact"] .contact-location-heading .text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 5px;
  color: var(--primary);
  font-weight: 700;
}

body[data-page="contact"] .contact-location-layout {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: 24px;
}

body[data-page="contact"] .contact-location-address {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

body[data-page="contact"] .contact-location-address .info-icon {
  flex: 0 0 46px;
  color: var(--primary);
  background: rgba(22, 119, 210, .1);
}

body[data-page="contact"] .contact-location-address h3 {
  margin-bottom: 10px;
}

body[data-page="contact"] .contact-location-address address {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
  line-height: 1.7;
}

body[data-page="contact"] .contact-location-address p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

body[data-page="contact"] .contact-map {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

body[data-page="contact"] .contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

body[data-page="contact"] .contact-form-panel {
  border: 1px solid rgba(16, 42, 67, .08);
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 42, 67, .1);
}

body[data-page="contact"] .contact-form-panel h2 {
  margin: 10px 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

body[data-page="contact"] .contact-form-intro {
  margin-bottom: 25px;
  color: var(--muted);
}

body[data-page="contact"] .contact-form-panel .form-grid {
  gap: 16px;
}

body[data-page="contact"] .contact-form-panel .form-control {
  border-radius: 10px;
  background: #f7fafb;
}

body[data-page="contact"] .contact-form-panel button[type="submit"] {
  margin-top: 20px;
}

body[data-page="contact"] .contact-faq {
  background: #edf4f8;
}

body[data-page="contact"] .contact-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(32px, 7vw, 90px);
}

body[data-page="contact"] .contact-faq-layout>div:first-child p {
  color: var(--muted);
}

body[data-page="contact"] .contact-test-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

body[data-page="contact"] .contact-test-link p {
  margin: 0;
  color: var(--muted);
}

body[data-page="contact"] .contact-test-link .text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
}

body[data-page="contact"] .contact-next-steps {
  padding-block: 82px;
}

body[data-page="contact"] main>section.contact-next-steps {
  color: var(--ink);
  background: var(--bg);
}

body[data-page="contact"] main>section.contact-next-steps h2,
body[data-page="contact"] main>section.contact-next-steps .page-label {
  color: var(--ink);
}

body[data-page="contact"] .contact-section-heading {
  max-width: 650px;
  margin-bottom: 28px;
}

body[data-page="contact"] .contact-section-heading h2 {
  margin-bottom: 0;
}

body[data-page="contact"] .contact-next-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

body[data-page="contact"] .contact-next-step-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 22px 22px 0 0;
}

body[data-page="contact"] .contact-next-step-list article+article {
  padding-inline-start: 22px;
  border-inline-start: 1px solid var(--line);
}

body[data-page="contact"] .contact-next-step-list article>span {
  color: var(--primary);
  font-size: .8rem;
  font-weight: 800;
}

body[data-page="contact"] .contact-next-step-list h3 {
  margin-bottom: 7px;
}

body[data-page="contact"] .contact-next-step-list p {
  margin: 0;
  color: var(--muted);
}

body.dark-mode[data-page="contact"] .contact-form-panel {
  border-color: var(--line);
  background: var(--panel);
}

body.dark-mode[data-page="contact"] .contact-form-panel h2,
body.dark-mode[data-page="contact"] .contact-form-panel .form-label {
  color: var(--ink);
}

body.dark-mode[data-page="contact"] .contact-form-panel .form-control {
  background: var(--bg);
}

body.dark-mode[data-page="maintenance"] main>section.maintenance-diagnostic,
body.dark-mode[data-page="maintenance"] .maintenance-faq,
body.dark-mode[data-page="contact"] .contact-faq {
  background: var(--panel);
}

body.dark-mode[data-page="contact"] .contact-location {
  background: var(--bg);
}

@media (max-width: 840px) {
  body[data-page="maintenance"] .maintenance-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  body[data-page="maintenance"] .maintenance-diagnostic-layout,
  body[data-page="maintenance"] .maintenance-faq-layout,
  body[data-page="contact"] .contact-faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body[data-page="contact"] .contact-location-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="contact"] .contact-next-step-list {
    grid-template-columns: 1fr;
  }

  body[data-page="contact"] .contact-next-step-list article {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  body[data-page="contact"] .contact-next-step-list article+article {
    padding-inline-start: 0;
    border-inline-start: 0;
  }
}

@media (max-width: 560px) {
  body[data-page="maintenance"] .maintenance-care-options,
  body[data-page="maintenance"] .maintenance-inspection-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="maintenance"] .maintenance-option {
    min-height: 0;
    padding: 22px 0;
  }

  body[data-page="maintenance"] .maintenance-option+.maintenance-option {
    padding-inline-start: 0;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  body[data-page="maintenance"] .maintenance-option-number {
    margin-bottom: 14px;
  }

  body[data-page="maintenance"] .maintenance-inspection-grid article,
  body[data-page="maintenance"] .maintenance-inspection-grid article+article {
    padding: 18px 0;
    border-inline-start: 0;
    border-bottom: 1px solid var(--line);
  }

  body[data-page="maintenance"] .maintenance-inspection-grid article>span {
    margin-bottom: 12px;
  }

  body[data-page="contact"] .contact-next-steps {
    padding-block: 56px;
  }

  body[data-page="contact"] .contact-test-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  body[data-page="contact"] .contact-location-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  body[data-page="contact"] .contact-location-address {
    padding: 22px 18px;
  }

  body[data-page="contact"] .contact-map,
  body[data-page="contact"] .contact-map iframe {
    min-height: 260px;
  }
}