:root {
  --bg: #f4f0e8;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #fffdf9;
  --ink: #0c2440;
  --ink-soft: #61707f;
  --navy: #0b2746;
  --orange: #f47a20;
  --orange-soft: #ffb273;
  --line: rgba(12, 36, 64, 0.09);
  --shadow: 0 24px 56px rgba(7, 26, 48, 0.13);
  --shadow-hover: 0 32px 68px rgba(7, 26, 48, 0.18);
  --radius-lg: 30px;
  --radius-md: 22px;
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(244, 122, 32, 0.06), transparent 22%),
    linear-gradient(180deg, #f8f4ec 0%, #ece7dd 100%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.button,
.brand-mark,
.nav-links a,
.photo-card,
.info-pill,
.service-card,
.sector-item,
.process-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 22px 0 44px;
  background:
    linear-gradient(90deg, rgba(7, 26, 48, 0.94) 0%, rgba(7, 26, 48, 0.84) 34%, rgba(7, 26, 48, 0.44) 63%, rgba(7, 26, 48, 0.16) 100%),
    url("./assets/hero-water-pressure.png") center/cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(7, 26, 48, 0.28));
}

.site-nav,
.hero-content,
.section,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: rotate(-4deg) scale(1.04);
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 18px;
  background:
    url("./assets/water-pressure-logo.svg") center/78% no-repeat,
    radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(145deg, #123b67 0%, #0a233f 68%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.brand span {
  display: flex;
  flex-direction: column;
  color: #fff;
  line-height: 1.05;
}

.brand strong,
.hero h1,
.hero h2,
.section h2,
.service-card h3,
.sector-item h3,
.process-card h3,
.info-pill strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.brand strong {
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 12px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
  background: rgba(244, 122, 32, 0.2);
  transform: translateY(-1px);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 122px);
  padding: 64px 0 26px;
}

.hero-copy {
  max-width: 700px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.hero h2,
.section h2 {
  margin: 0;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 6.4rem);
  line-height: 0.92;
}

.hero h2 {
  margin-top: 18px;
  max-width: 12ch;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 0.98;
}

.lead,
.text-panel p,
.section-heading p,
.service-card p,
.sector-item p,
.process-card p,
.site-footer p,
.info-pill span {
  line-height: 1.72;
}

.hero .lead {
  max-width: 56ch;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, #ff9540 100%);
  box-shadow: 0 14px 30px rgba(244, 122, 32, 0.24);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.button-dark {
  gap: 10px;
  color: #fff;
  background: linear-gradient(180deg, #133b67 0%, #0a233f 100%);
  box-shadow: 0 14px 28px rgba(10, 35, 63, 0.22);
}

.button-dark:hover,
.button-dark:focus-visible {
  box-shadow: 0 18px 34px rgba(10, 35, 63, 0.3);
}

.apple-badge {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-metrics strong {
  display: block;
  font-size: 1.5rem;
  color: #fff;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.section {
  padding: 96px 0;
}

.section h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.96;
  color: var(--navy);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 36px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: 0.98fr 1.02fr;
}

.text-panel p,
.section-heading p,
.service-card p,
.sector-item p,
.process-card p,
.site-footer p,
.info-pill span {
  color: var(--ink-soft);
}

.text-panel p {
  margin: 18px 0 0;
}

.photo-card,
.info-pill,
.service-card,
.sector-item,
.process-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.photo-card {
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface-strong);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card:hover,
.info-pill:hover,
.service-card:hover,
.sector-item:hover,
.process-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.info-pills {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.info-pill {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: var(--surface);
}

.info-pill strong,
.service-card h3,
.sector-item h3,
.process-card h3 {
  display: block;
  color: var(--navy);
}

.info-pill strong {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.small-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(145deg, #123b67 0%, #0a233f 100%);
}

.small-icon svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  stroke-width: 2.3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto;
}

.centered {
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.app-layout {
  align-items: stretch;
}

.app-visual {
  display: flex;
}

.app-photo {
  width: 100%;
  min-height: 620px;
  background:
    radial-gradient(circle at top left, rgba(244, 122, 32, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdfa 0%, #f4eee5 100%);
}

.app-card {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.app-card-head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.app-icon-image {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(10, 35, 63, 0.18);
}

.app-card-head strong,
.contact-card h3 {
  display: block;
  color: var(--navy);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.app-card-head strong {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.app-card-head span {
  color: var(--ink-soft);
  line-height: 1.68;
}

.service-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
}

.service-card-top {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.service-card h3,
.sector-item h3,
.process-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.photo-stack {
  position: relative;
  min-height: 560px;
}

.sectors-layout {
  align-items: start;
}

.sectors-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 4.4vw, 3.55rem);
}

.sectors-copy p {
  max-width: 60ch;
}

.sectors-stack {
  display: grid;
  gap: 18px;
  min-height: auto;
}

.sectors-photo-primary {
  min-height: 390px;
}

.sectors-photo-secondary {
  min-height: 220px;
}

.sector-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.sector-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 18px 18px 16px;
  border-radius: 22px;
  background: var(--surface);
}

.sector-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(12, 36, 64, 0.1);
  box-shadow: 0 10px 20px rgba(7, 26, 48, 0.06);
}

.sector-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
}

.sector-item p {
  margin: 6px 0 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.process-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(244, 122, 32, 0.12);
  color: var(--orange);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.process-card p {
  margin: 12px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.contact-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.contact-card h3 {
  margin: 18px 0 10px;
  font-size: 1.35rem;
}

.contact-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.site-footer {
  padding: 28px 0 42px;
  text-align: center;
}

.footer-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.footer-tabs a:hover,
.footer-tabs a:focus-visible {
  transform: translateY(-2px);
  color: var(--navy);
  background: #fff;
  box-shadow: 0 10px 22px rgba(7, 26, 48, 0.1);
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .split-layout,
  .split-layout.reverse,
  .service-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .photo-stack {
    min-height: auto;
  }

  .sectors-photo-primary {
    min-height: 360px;
  }

  .sectors-photo-secondary {
    min-height: 220px;
  }
}

@media (max-width: 860px) {
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-metrics,
  .service-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .brand strong {
    font-size: 1.2rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .button {
    width: 100%;
  }

  .info-pill,
  .service-card-top,
  .sector-item,
  .app-card-head {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 74px 0;
  }

  .app-photo {
    min-height: 420px;
  }
}
