:root {
  --ink: #061a3d;
  --ink-soft: #405571;
  --blue: #0b4cff;
  --blue-deep: #073cc9;
  --aqua: #dff5ff;
  --line: rgba(6, 26, 61, 0.12);
  --paper: #f8fbff;
  --white: #ffffff;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Keep anchored sections clear of the fixed header without adding visual whitespace. */
#systems,
#why-us,
#contact {
  scroll-margin-top: calc(var(--header-height) + 10px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 clamp(24px, 5vw, 84px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(6, 26, 61, 0.07);
  backdrop-filter: blur(18px);
  transition: height 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  box-shadow: 0 12px 36px rgba(10, 38, 78, 0.08);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 760;
  letter-spacing: -0.055em;
}

.brand > span > span {
  color: var(--blue);
}

.brand-mark {
  width: 31px;
  height: 31px;
  fill: var(--blue);
}

.brand-wave {
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 52px);
  font-size: 0.91rem;
  font-weight: 590;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  position: absolute;
  content: "";
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--blue);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 25px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(11, 76, 255, 0.22);
  transition: transform 180ms ease, background 180ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
}

.header-cta svg,
.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: min(820px, 88svh);
  overflow: hidden;
  padding-top: var(--header-height);
  background: #eef7ff;
}

.hero-photo,
.hero-wash,
.hero-grain {
  position: absolute;
  inset: var(--header-height) 0 0;
}

.hero-photo {
  background-image: url("./assets/revalkwater-hero-v1-fixed-2x.webp");
  background-position: center right;
  background-size: cover;
  animation: photo-in 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-wash {
  background:
    linear-gradient(90deg, #f8fcff 0%, rgba(248, 252, 255, 0.99) 25%, rgba(248, 252, 255, 0.88) 39%, rgba(248, 252, 255, 0.18) 53%, rgba(248, 252, 255, 0) 63%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(5, 25, 54, 0.04));
}

.hero-grain {
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(710px, 52vw);
  padding: clamp(68px, 9vh, 96px) 0 84px clamp(24px, 5vw, 84px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: #31577e;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.23em;
  line-height: 1.5;
  text-transform: uppercase;
  animation: rise-in 700ms 150ms ease both;
}

.eyebrow span {
  width: 44px;
  height: 2px;
  background: var(--blue);
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(4rem, 6.25vw, 7rem);
  font-weight: 780;
  letter-spacing: -0.072em;
  line-height: 0.92;
  text-wrap: balance;
  animation: rise-in 750ms 230ms ease both;
}

.hero-copy {
  max-width: 590px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.5vw, 1.42rem);
  line-height: 1.55;
  text-wrap: balance;
  animation: rise-in 750ms 310ms ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  animation: rise-in 750ms 390ms ease both;
}

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 29px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 720;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(11, 76, 255, 0.22);
}

.button-primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 20px 40px rgba(11, 76, 255, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  background: var(--white);
}

.trust-list {
  display: flex;
  gap: clamp(22px, 2.5vw, 42px);
  margin: 40px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  animation: rise-in 750ms 470ms ease both;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.trust-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(221, 245, 255, 0.92);
  border-radius: 50%;
}

.trust-icon svg,
.local-pin svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-list strong,
.trust-list small {
  display: block;
  white-space: nowrap;
}

.trust-list strong {
  font-size: 0.79rem;
  line-height: 1.2;
}

.trust-list small {
  margin-top: 4px;
  color: #60738a;
  font-size: 0.69rem;
}

.local-badge {
  position: absolute;
  z-index: 4;
  right: clamp(28px, 5vw, 84px);
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px 13px 13px;
  color: var(--white);
  background: rgba(4, 25, 61, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(3, 15, 42, 0.25);
  backdrop-filter: blur(18px);
  animation: rise-in 700ms 620ms ease both;
}

.local-pin {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #36d9ff;
  background: rgba(54, 217, 255, 0.12);
  border-radius: 12px;
}

.local-badge small,
.local-badge strong {
  display: block;
}

.local-badge small {
  color: #96abc6;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.local-badge strong {
  margin-top: 3px;
  font-size: 0.84rem;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(6, 26, 61, 0.7);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  animation: bounce 1.8s ease-in-out infinite;
}

.catalog-section {
  position: relative;
  padding: 48px clamp(24px, 5vw, 84px) 58px;
  background:
    radial-gradient(circle at 88% 9%, rgba(44, 191, 255, 0.1), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
  overflow: hidden;
}

.catalog-section::before {
  position: absolute;
  content: "";
  width: 520px;
  height: 180px;
  top: 54px;
  right: -130px;
  border: 1px solid rgba(11, 76, 255, 0.1);
  border-radius: 50%;
  transform: rotate(-10deg);
  pointer-events: none;
}

.catalog-heading {
  position: relative;
  z-index: 1;
  width: min(1536px, 100%);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 16px;
  color: #32648f;
  font-size: 0.73rem;
  font-weight: 760;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.catalog-heading h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4.6vw, 5rem);
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.catalog-heading > p {
  max-width: 540px;
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.catalog-toolbar {
  position: relative;
  z-index: 1;
  width: min(1536px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 34px auto 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(6, 26, 61, 0.1);
}

.filter-list {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-button {
  min-height: 46px;
  padding: 0 20px;
  color: #3f5670;
  background: rgba(236, 245, 252, 0.9);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 680;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border 180ms ease, transform 180ms ease;
}

.filter-button:hover {
  color: var(--ink);
  border-color: rgba(11, 76, 255, 0.22);
  transform: translateY(-1px);
}

.filter-button.is-active {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 11px 22px rgba(11, 76, 255, 0.18);
}

.product-count {
  margin: 0;
  color: #6a7c91;
  font-size: 0.86rem;
}

.product-count strong {
  color: var(--ink);
  font-size: 1rem;
}

.product-grid {
  position: relative;
  z-index: 1;
  width: min(1536px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(8, 36, 74, 0.1);
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(12, 44, 80, 0.045);
  transition: transform 230ms ease, box-shadow 230ms ease, border-color 230ms ease;
}

.product-card:hover {
  border-color: rgba(11, 76, 255, 0.2);
  box-shadow: 0 22px 48px rgba(10, 44, 88, 0.11);
  transform: translateY(-6px);
}

.product-card.is-revealed {
  animation: filter-in 280ms ease both;
}

.product-card[hidden] {
  display: none;
}

.product-media {
  position: relative;
  height: 286px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.5) 38%, transparent 67%),
    linear-gradient(145deg, #e9f7ff 0%, #f7fbff 62%, #edf6ff 100%);
}

.product-media::after {
  position: absolute;
  content: "";
  width: 62%;
  height: 18px;
  left: 19%;
  bottom: 19px;
  background: rgba(25, 57, 90, 0.1);
  filter: blur(14px);
  border-radius: 50%;
}

.product-media img {
  position: relative;
  z-index: 1;
  width: 88%;
  height: 84%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(0.98) contrast(1.02);
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-media-filter img {
  width: 67%;
  height: 78%;
}

.product-badge {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 8px 11px;
  color: var(--blue-deep);
  background: rgba(222, 246, 255, 0.95);
  border: 1px solid rgba(11, 76, 255, 0.08);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 780;
  letter-spacing: 0.02em;
}

.product-badge-dark {
  color: var(--white);
  background: var(--ink);
}

.product-badge-muted {
  color: #4d6178;
  background: rgba(255, 255, 255, 0.9);
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 21px 20px;
}

.product-type {
  margin: 0 0 8px;
  color: #6c8199;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  min-height: 2.6em;
  font-size: clamp(1.05rem, 1.25vw, 1.24rem);
  letter-spacing: -0.032em;
  line-height: 1.28;
}

.product-description {
  margin: 12px 0 20px;
  color: #536b84;
  font-size: 0.86rem;
  line-height: 1.55;
}

.product-meta {
  min-height: 53px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(6, 26, 61, 0.08);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.price span {
  color: #5e7086;
  font-size: 0.86rem;
  font-weight: 720;
  text-decoration: line-through;
  text-decoration-color: #e05563;
  text-decoration-thickness: 1.5px;
}

.price strong {
  font-size: 1.36rem;
  letter-spacing: -0.04em;
}

.install-badge,
.availability,
.stock-status {
  max-width: 130px;
  color: #4a6b86;
  font-size: 0.64rem;
  font-weight: 680;
  line-height: 1.3;
  text-align: right;
}

.install-badge {
  color: var(--blue-deep);
}

.stock-status {
  color: #8a635d;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 17px;
}

.product-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 760;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

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

.product-button-secondary {
  color: var(--ink);
  background: var(--white);
}

.product-button-secondary:hover {
  color: var(--blue);
  background: #f8fbff;
}

.product-button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 16px rgba(11, 76, 255, 0.13);
}

.product-button-primary:hover {
  background: var(--blue-deep);
}

body.has-open-drawer {
  overflow: hidden;
}

.detail-backdrop {
  position: fixed;
  z-index: 60;
  inset: 0;
  background: rgba(3, 17, 42, 0.42);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(4px);
  transition: opacity 260ms ease, visibility 260ms ease;
}

.detail-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.product-drawer {
  position: fixed;
  z-index: 70;
  top: 0;
  right: 0;
  width: min(510px, 94vw);
  height: 100dvh;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 3%, rgba(57, 198, 255, 0.12), transparent 27%),
    var(--white);
  border-left: 1px solid rgba(6, 26, 61, 0.1);
  box-shadow: -28px 0 70px rgba(4, 23, 54, 0.16);
  visibility: hidden;
  transform: translateX(102%);
  transition: transform 360ms cubic-bezier(0.22, 0.8, 0.25, 1), visibility 360ms ease;
}

.product-drawer.is-open {
  visibility: visible;
  transform: translateX(0);
}

.detail-scroll {
  height: 100%;
  padding: 54px 42px 38px;
  overflow-y: auto;
}

.detail-close {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #526982;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(6, 26, 61, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.detail-close:hover {
  color: var(--blue);
  background: var(--white);
  transform: rotate(4deg);
}

.detail-close svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.detail-kicker {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.product-drawer h2 {
  max-width: 410px;
  margin: 0;
  padding-right: 22px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.detail-description {
  max-width: 420px;
  margin: 18px 0 0;
  color: #536b84;
  font-size: 1rem;
  line-height: 1.55;
}

.detail-product {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(180px, 1.1fr);
  gap: 26px;
  align-items: center;
  margin-top: 34px;
}

.detail-media {
  height: 310px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.56) 42%, transparent 69%),
    linear-gradient(145deg, #edf8ff, #f8fbff);
  border: 1px solid rgba(6, 26, 61, 0.07);
  border-radius: 20px;
}

.detail-media img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.detail-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 26px;
}

.detail-price strong {
  color: var(--ink);
  font-size: 2.25rem;
  letter-spacing: -0.05em;
}

.detail-price span {
  color: #5e7086;
  font-size: 0.96rem;
  font-weight: 720;
  text-decoration: line-through;
  text-decoration-color: #e05563;
  text-decoration-thickness: 1.5px;
}

.detail-features {
  display: grid;
  gap: 19px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-features li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.detail-feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #e5f6ff;
  border-radius: 50%;
}

.detail-feature-icon svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-features strong,
.detail-features small {
  display: block;
}

.detail-features strong {
  font-size: 0.84rem;
  line-height: 1.25;
}

.detail-features small {
  margin-top: 4px;
  color: #61758c;
  font-size: 0.75rem;
  line-height: 1.35;
}

.detail-footer {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(6, 26, 61, 0.11);
}

.detail-cta {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 760;
  box-shadow: 0 14px 28px rgba(11, 76, 255, 0.22);
  transition: background 180ms ease, transform 180ms ease;
}

.detail-cta:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.detail-cta svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-footer p {
  margin: 14px 0 0;
  color: #74869b;
  font-size: 0.74rem;
  text-align: center;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes photo-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes filter-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    justify-self: end;
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 6px;
    padding: 0;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .menu-button span {
    width: 19px;
    height: 1.5px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(7, 30, 69, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 180ms ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu a {
    padding: 13px 14px;
    border-radius: 14px;
    font-weight: 650;
  }

  .mobile-menu a:last-child {
    margin-top: 7px;
    color: var(--white);
    background: var(--blue);
    text-align: center;
  }

  .hero-content {
    width: min(720px, 66vw);
  }

  .hero-wash {
    background: linear-gradient(90deg, #f8fcff 0%, rgba(248, 252, 255, 0.98) 35%, rgba(248, 252, 255, 0.35) 61%, rgba(248, 252, 255, 0) 75%);
  }

  .local-badge {
    right: 28px;
  }

  .catalog-heading {
    gap: 28px;
  }

  .catalog-heading > p {
    max-width: 430px;
  }

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

  .product-card h3 {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  :root { --header-height: 70px; }

  .site-header {
    padding: 0 18px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 0;
    background: var(--paper);
  }

  .hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 48svh;
    min-height: 390px;
    margin-top: 0;
    background-position: 66% center;
    animation: mobile-photo-in 900ms ease both;
  }

  .hero-wash {
    inset: var(--header-height) 0 auto;
    height: 48svh;
    min-height: 390px;
    background: linear-gradient(180deg, rgba(248, 252, 255, 0) 56%, var(--paper) 100%);
  }

  .hero-grain {
    display: none;
  }

  .hero-content {
    width: auto;
    padding: 28px 20px 34px;
    background: var(--paper);
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.65rem;
    letter-spacing: 0.17em;
  }

  h1 {
    font-size: clamp(3.35rem, 16vw, 5.1rem);
  }

  .hero-copy {
    margin-top: 20px;
    font-size: 1.05rem;
  }

  .hero-actions {
    display: grid;
    margin-top: 22px;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
    margin-top: 30px;
  }

  .trust-list li:last-child {
    grid-column: 1 / -1;
  }

  .trust-list strong,
  .trust-list small {
    white-space: normal;
  }

  .local-badge {
    top: calc(var(--header-height) + 20px);
    right: 18px;
    bottom: auto;
    padding: 10px 12px;
  }

  .local-badge strong {
    display: none;
  }

  .local-badge small {
    color: var(--white);
  }

  .scroll-cue {
    display: none;
  }

  .catalog-section {
    padding: 42px 18px 56px;
  }

  .catalog-section::before {
    display: none;
  }

  .catalog-heading {
    display: block;
  }

  .catalog-heading h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .catalog-heading > p {
    margin-top: 20px;
    font-size: 0.98rem;
  }

  .catalog-toolbar {
    display: block;
    margin-top: 28px;
  }

  .filter-list {
    margin-right: -18px;
    padding-right: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-list::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .product-count {
    margin-top: 18px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-media {
    height: clamp(270px, 72vw, 300px);
  }

  .product-body {
    padding: 21px 19px 19px;
  }

  .product-card h3 {
    font-size: 1.25rem;
  }

  .product-drawer {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(88dvh, 780px);
    border-top: 1px solid rgba(6, 26, 61, 0.1);
    border-left: 0;
    border-radius: 24px 24px 0 0;
    transform: translateY(102%);
  }

  .detail-scroll {
    padding: 45px 20px 28px;
  }

  .detail-close {
    top: 14px;
    right: 16px;
  }

  .product-drawer h2 {
    font-size: 2rem;
  }

  .detail-product {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }

  .detail-media {
    height: 280px;
  }

  .detail-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
  }

  .detail-price {
    margin: 0;
  }

  @keyframes mobile-photo-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

@media (max-width: 420px) {
  .brand-mark { width: 27px; height: 27px; }
  .brand { font-size: 1.34rem; }
  .catalog-heading h2 { font-size: clamp(2.45rem, 11vw, 3.15rem); }
}

@media (max-width: 360px) {
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li:last-child { grid-column: auto; }
  .product-actions { grid-template-columns: 1fr; }
  .product-button { min-height: 48px; }
  .detail-summary { grid-template-columns: 1fr; }
  .detail-media { height: 240px; }
}

@media (hover: none) {
  .product-card:hover {
    border-color: rgba(8, 36, 74, 0.1);
    box-shadow: 0 8px 28px rgba(12, 44, 80, 0.045);
    transform: none;
  }

  .product-card:hover .product-media img,
  .button:hover,
  .product-button:hover {
    transform: none;
  }
}

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

/* v7 spacing pass: outer section transitions tightened; product cards restored to v5 sizing. */

/* Third block — About / Why Revalkwater */
.why-section {
  position: relative;
  overflow: hidden;
  padding: 46px clamp(24px, 5vw, 84px) 58px;
  background:
    radial-gradient(circle at 10% 12%, rgba(68, 194, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #f2f9ff 100%);
}

.why-shell {
  width: min(1536px, 100%);
  margin: 0 auto;
}

.why-main {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(430px, 0.82fr);
  gap: clamp(38px, 4vw, 60px);
  align-items: center;
}

.why-visual {
  overflow: hidden;
  border-radius: 28px;
  background: #e9f5ff;
  box-shadow: 0 24px 60px rgba(14, 51, 91, 0.1);
}

.why-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.why-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.why-kicker {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  color: #315f8d;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.why-kicker span {
  width: 42px;
  height: 2px;
  background: var(--blue);
}

.why-pill {
  margin: 0;
  padding: 9px 15px;
  color: #1f527c;
  background: rgba(214, 246, 255, 0.88);
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 780;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.why-content h2 {
  margin: 0;
  font-size: clamp(3rem, 4.25vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.why-intro {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.62;
}

.why-points {
  display: grid;
  gap: 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.why-points li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: center;
}

.why-point-icon,
.peace-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--blue);
  background: #e1f5ff;
  border-radius: 50%;
}

.why-point-icon {
  width: 60px;
  height: 60px;
}

.why-point-icon svg,
.peace-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-points strong,
.why-points small {
  display: block;
}

.why-points strong {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.why-points small {
  margin-top: 5px;
  color: #5a718b;
  font-size: 0.9rem;
  line-height: 1.45;
}

.peace-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin: 34px 0 20px;
  color: #31577e;
}

.peace-heading span {
  height: 1px;
  background: rgba(50, 100, 143, 0.28);
}

.peace-heading strong {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.peace-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.peace-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 124px;
  padding: 18px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(7, 48, 105, 0.06);
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(12, 48, 91, 0.05);
}

.peace-icon {
  width: 60px;
  height: 60px;
}

.peace-card h3 {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: -0.025em;
}

.peace-card p {
  margin: 6px 0 0;
  color: #5d728a;
  font-size: 0.8rem;
  line-height: 1.48;
}

.why-cta {
  width: fit-content;
  min-width: 310px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 22px auto 0;
  padding: 0 32px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 760;
  box-shadow: 0 14px 30px rgba(11, 76, 255, 0.2);
  transition: transform 180ms ease, background 180ms ease;
}

.why-cta:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.why-cta svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1120px) {
  .why-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .why-topline {
    display: block;
  }

  .why-pill {
    width: fit-content;
    margin-top: 14px;
  }

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

@media (max-width: 760px) {
  .why-section {
    padding: 40px 18px 52px;
  }

  .why-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .why-visual {
    border-radius: 22px;
  }

  .why-kicker {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
  }

  .why-kicker span {
    width: 34px;
  }

  .why-pill {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .why-content h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .why-intro {
    margin-top: 20px;
    font-size: 0.98rem;
  }

  .why-points {
    margin-top: 22px;
  }

  .why-points li {
    grid-template-columns: 54px 1fr;
  }

  .why-point-icon {
    width: 54px;
    height: 54px;
  }

  .why-point-icon svg {
    width: 24px;
    height: 24px;
  }

  .peace-heading {
    gap: 12px;
    margin-top: 28px;
  }

  .peace-heading strong {
    font-size: 0.61rem;
    letter-spacing: 0.18em;
    text-align: center;
  }

  .peace-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .peace-card {
    min-height: 106px;
    grid-template-columns: 54px 1fr;
    padding: 16px;
  }

  .peace-icon {
    width: 54px;
    height: 54px;
  }

  .why-cta {
    width: 100%;
    min-width: 0;
    margin-top: 20px;
  }
}


/* Fourth block — Contact / Request a Quote */
.contact-section {
  position: relative;
  overflow: hidden;
  padding: 46px clamp(24px, 5vw, 84px) 26px;
  background:
    radial-gradient(circle at 88% 8%, rgba(72, 182, 255, 0.09), transparent 26%),
    linear-gradient(180deg, #f2f9ff 0%, #f8fbff 100%);
}

.contact-shell {
  width: min(1536px, 100%);
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(34px, 4vw, 56px);
  align-items: start;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 18px;
  color: #315f8d;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-kicker span {
  width: 42px;
  height: 2px;
  background: var(--blue);
}

.contact-copy > h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 4.45vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.contact-intro {
  max-width: 770px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.58;
}

.quote-form {
  margin-top: 26px;
  padding: 24px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(7,48,105,0.07);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(12,48,91,0.06);
}

.quote-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.quote-form-head h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
}

.quote-form-head span {
  color: #8192a5;
  font-size: 0.8rem;
  white-space: nowrap;
}

.quote-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-field {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  background: #f4f9ff;
  border: 1px solid rgba(36,111,216,0.14);
  border-radius: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field:focus-within {
  background: #fff;
  border-color: rgba(11,76,255,0.48);
  box-shadow: 0 0 0 4px rgba(11,76,255,0.07);
}

.form-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  color: #5275a4;
}

.form-icon svg,
.assurance-icon svg,
.contact-card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 0.88rem;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7186a1;
  opacity: 1;
}

.form-field select {
  appearance: none;
  padding-right: 28px;
  color: #607996;
  cursor: pointer;
}

.form-field select:valid {
  color: var(--ink);
}

.select-chevron {
  position: absolute;
  right: 16px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  fill: none;
  stroke: #4f6f98;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-message-field {
  grid-column: 1 / -1;
  min-height: 94px;
  align-items: flex-start;
  padding-top: 16px;
}

.form-message-field textarea {
  min-height: 60px;
  resize: vertical;
  line-height: 1.45;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.quote-submit {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(11,76,255,0.18);
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.quote-submit:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.quote-submit:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.quote-submit svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-status {
  min-height: 0;
  margin: 0;
  color: #376084;
  font-size: 0.8rem;
  line-height: 1.4;
}

.form-status:not(:empty) {
  margin-top: 10px;
}

.form-status.is-success { color: #19724b; }
.form-status.is-error { color: #a33b3b; }

.quote-assurances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(52,95,141,0.14);
}

.quote-assurances > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
}

.quote-assurances > div + div {
  padding-left: 14px;
  border-left: 1px solid rgba(52,95,141,0.14);
}

.assurance-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 11px;
  color: var(--blue);
  background: #e3f6ff;
  border-radius: 50%;
}

.quote-assurances strong,
.quote-assurances small {
  display: block;
}

.quote-assurances strong {
  font-size: 0.82rem;
  line-height: 1.25;
}

.quote-assurances small {
  margin-top: 3px;
  color: #657a91;
  font-size: 0.72rem;
  line-height: 1.35;
}

.contact-side {
  display: grid;
  gap: 14px;
}

.contact-photo {
  overflow: hidden;
  aspect-ratio: 1.81 / 1;
  background: #e9f4ff;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(12,48,91,0.07);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.contact-card-list {
  display: grid;
  gap: 10px;
}

.contact-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 12px 18px;
  color: var(--ink);
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(7,48,105,0.055);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(12,48,91,0.04);
}

.contact-card[href] {
  transition: transform 160ms ease, border-color 160ms ease;
}

.contact-card[href]:hover {
  transform: translateY(-2px);
  border-color: rgba(11,76,255,0.2);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--blue);
  background: #e3f6ff;
  border-radius: 50%;
}

.contact-card strong,
.contact-card b,
.contact-card small {
  display: block;
}

.contact-card strong {
  font-size: 0.79rem;
  line-height: 1.2;
}

.contact-card b {
  margin-top: 2px;
  font-size: 0.95rem;
  line-height: 1.3;
}

.contact-card small {
  margin-top: 2px;
  color: #657a91;
  font-size: 0.72rem;
  line-height: 1.3;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  margin-top: 28px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(52,95,141,0.18);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.footer-brand-text strong,
.footer-brand-text small {
  display: block;
}

.footer-brand-text strong {
  font-size: 1.42rem;
  line-height: 1;
  letter-spacing: -0.055em;
}

.footer-brand-text strong span { color: var(--blue); }

.footer-brand-text small {
  margin-top: 5px;
  color: #6680a0;
  font-size: 0.54rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.footer-links a {
  color: #657a91;
  font-size: 0.73rem;
  transition: color 160ms ease;
}

.footer-links a:hover { color: var(--blue); }

.footer-copy {
  margin: 0;
  color: #657a91;
  font-size: 0.7rem;
  line-height: 1.45;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .footer-copy {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .contact-section {
    padding: 38px 18px 22px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-kicker {
    margin-bottom: 14px;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
  }

  .contact-kicker span { width: 34px; }

  .contact-copy > h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .contact-intro {
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .quote-form {
    margin-top: 22px;
    padding: 18px;
    border-radius: 22px;
  }

  .quote-form-head {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .quote-form-head span {
    font-size: 0.7rem;
    white-space: normal;
    text-align: right;
  }

  .quote-fields {
    grid-template-columns: 1fr;
  }

  .form-message-field { grid-column: auto; }

  .quote-assurances {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quote-assurances > div + div {
    padding: 12px 0 0;
    border-top: 1px solid rgba(52,95,141,0.14);
    border-left: 0;
  }

  .contact-photo {
    border-radius: 20px;
  }

  .contact-card {
    grid-template-columns: 48px 1fr;
    min-height: 74px;
    padding: 11px 14px;
    border-radius: 18px;
  }

  .contact-card-icon {
    width: 48px;
    height: 48px;
    padding: 13px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 10px 20px;
  }

  .footer-copy {
    grid-column: auto;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .quote-form-head { display: block; }
  .quote-form-head span { display: block; margin-top: 5px; text-align: left; }
  .contact-card b { font-size: 0.88rem; }
  .footer-brand-text strong { font-size: 1.3rem; }
}

/* Legal policy pages */
.legal-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 4%, rgba(64, 191, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #f4faff 44%, #f9fcff 100%);
}

.legal-page {
  min-height: 100vh;
  padding: calc(var(--header-height) + 48px) clamp(24px, 5vw, 84px) 44px;
}

.legal-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: #55708f;
  font-size: 0.84rem;
  font-weight: 650;
  transition: color 160ms ease;
}

.legal-back:hover { color: var(--blue); }

.legal-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.legal-heading .section-kicker {
  margin-bottom: 12px;
}

.legal-heading h1 {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.legal-heading > p:not(.section-kicker) {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}

.legal-updated {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 13px;
  color: #42617f;
  background: rgba(223, 245, 255, 0.78);
  border: 1px solid rgba(38, 145, 216, 0.11);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.legal-card {
  padding: clamp(28px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid rgba(72, 119, 165, 0.12);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(14, 55, 98, 0.08);
}

.legal-section + .legal-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(52, 95, 141, 0.13);
}

.legal-section h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.legal-section p {
  max-width: 900px;
  margin: 0;
  color: #4a6079;
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal-section a {
  color: var(--blue);
  font-weight: 650;
}

.legal-contact-note {
  padding: 24px !important;
  background: #f3f9ff;
  border: 1px solid rgba(11, 76, 255, 0.08) !important;
  border-radius: 20px;
}

.legal-footer {
  margin-top: 36px;
}

.footer-links a[aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 760px) {
  .legal-page {
    padding: calc(var(--header-height) + 28px) 18px 28px;
  }

  .legal-back { margin-bottom: 20px; }
  .legal-heading { margin-bottom: 24px; }
  .legal-heading h1 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
  .legal-heading > p:not(.section-kicker) { margin-top: 14px; line-height: 1.6; }
  .legal-card { padding: 22px 18px; border-radius: 22px; }
  .legal-section + .legal-section { margin-top: 22px; padding-top: 22px; }
  .legal-section p { font-size: 0.94rem; line-height: 1.68; }
  .legal-contact-note { padding: 18px !important; }
}

/* v11 — custom system selector */
.form-select-field {
  position: relative;
  z-index: 4;
}

.form-select-field.is-open {
  z-index: 40;
  background: #fff;
  border-color: rgba(11,76,255,0.48);
  box-shadow: 0 0 0 4px rgba(11,76,255,0.07);
}

.form-select-field.is-invalid {
  border-color: rgba(190,49,49,0.55);
  box-shadow: 0 0 0 4px rgba(190,49,49,0.07);
}

.custom-select-trigger {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  color: #7186a1;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
}

.custom-select-trigger.has-value {
  color: var(--ink);
}

.custom-select-trigger .select-chevron {
  position: static;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: #4f6f98;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease, stroke 160ms ease;
}

.form-select-field.is-open .select-chevron {
  transform: rotate(180deg);
  stroke: var(--blue);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 9px);
  left: -1px;
  right: -1px;
  z-index: 60;
  padding: 7px;
  background: rgba(255,255,255,0.985);
  border: 1px solid rgba(35,87,155,0.13);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(12,48,91,0.17), 0 6px 16px rgba(12,48,91,0.07);
  backdrop-filter: blur(16px);
  max-height: min(390px, calc(100dvh - 32px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.custom-select-menu.opens-up {
  top: auto;
  bottom: calc(100% + 9px);
}

.custom-select-menu[hidden] {
  display: none;
}

.custom-select-menu button {
  width: 100%;
  min-height: 43px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  padding: 9px 11px;
  color: #23415f;
  background: transparent;
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.32;
  text-align: left;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease, transform 140ms ease;
}

.custom-select-menu button + button {
  margin-top: 2px;
}

.custom-select-menu button:hover,
.custom-select-menu button:focus-visible {
  color: #073b96;
  background: #edf6ff;
  outline: 0;
}

.custom-select-menu button[aria-selected="true"] {
  color: #073b96;
  background: #e7f2ff;
  font-weight: 720;
}

.custom-select-menu button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 140ms ease, transform 140ms ease;
}

.custom-select-menu button[aria-selected="true"] svg {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 760px) {
  .custom-select-menu {
    top: calc(100% + 7px);
    padding: 6px;
    border-radius: 14px;
  }

  .custom-select-menu.opens-up {
    top: auto;
    bottom: calc(100% + 7px);
  }

  .custom-select-menu button {
    min-height: 46px;
    padding: 10px 11px;
    font-size: 0.84rem;
  }
}

@media (min-width: 761px) {
  .custom-select-menu {
    left: auto;
    right: -1px;
    width: min(420px, calc(100vw - 48px));
  }
}

[data-select-label] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* v12 — mobile composition pass: denser, more native mobile rhythm without shrinking product cards. */
@media (max-width: 760px) {
  :root { --header-height: 64px; }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
    padding: 0 16px;
  }

  .brand {
    gap: 8px;
    font-size: 1.28rem;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .mobile-menu {
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    padding: 10px;
    border-radius: 18px;
  }

  .mobile-menu a {
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 0.92rem;
  }

  /* Hero: keep the image impactful, but stop it consuming half a phone screen. */
  .hero-photo {
    height: clamp(286px, 75vw, 315px);
    min-height: 0;
    background-position: 65% center;
  }

  .hero-wash {
    height: clamp(286px, 75vw, 315px);
    min-height: 0;
    background: linear-gradient(180deg, rgba(248, 252, 255, 0) 64%, var(--paper) 100%);
  }

  .local-badge {
    top: calc(var(--header-height) + 14px);
    right: 14px;
    gap: 8px;
    padding: 8px 10px 8px 8px;
    border-radius: 14px;
  }

  .local-pin {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .local-pin svg { width: 18px; }
  .local-badge small { font-size: 0.61rem; letter-spacing: 0.09em; }

  .hero-content {
    padding: 20px 18px 26px;
  }

  .eyebrow {
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.59rem;
    letter-spacing: 0.16em;
  }

  .eyebrow span { width: 34px; }

  h1 {
    max-width: 350px;
    font-size: clamp(2.8rem, 12.4vw, 3.45rem);
    line-height: 0.94;
    letter-spacing: -0.064em;
  }

  .hero-copy {
    max-width: 350px;
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .button {
    min-height: 50px;
    padding: 0 22px;
    font-size: 0.9rem;
  }

  /* Three compact trust facts in one mobile row. */
  .trust-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .trust-list li,
  .trust-list li:last-child {
    grid-column: auto;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 7px;
    text-align: center;
  }

  .trust-icon {
    width: 36px;
    height: 36px;
  }

  .trust-icon svg { width: 18px; }

  .trust-list strong {
    font-size: 0.69rem;
    line-height: 1.2;
    white-space: normal;
  }

  .trust-list small { display: none; }

  /* Section transitions and headings: mobile rhythm, not desktop spacing scaled down. */
  .catalog-section {
    padding: 30px 16px 42px;
  }

  .section-kicker {
    margin-bottom: 10px;
    font-size: 0.63rem;
    letter-spacing: 0.18em;
  }

  .catalog-heading h2 {
    font-size: clamp(2.35rem, 10.8vw, 3.2rem);
    line-height: 0.98;
  }

  .catalog-heading > p {
    margin-top: 13px;
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .catalog-toolbar {
    margin-top: 20px;
    margin-bottom: 16px;
    padding-bottom: 15px;
  }

  .filter-list {
    margin-right: -16px;
    padding-right: 16px;
    gap: 8px;
  }

  .filter-button {
    min-height: 42px;
    padding: 0 17px;
    font-size: 0.82rem;
  }

  .product-count { margin-top: 13px; }
  .product-grid { gap: 14px; }

  /* Product cards intentionally keep v5/v7 content sizing. Only roundness is tuned for phones. */
  .product-card { border-radius: 20px; }
  .product-body { padding: 21px 19px 19px; }
  .product-media { height: clamp(270px, 72vw, 300px); }

  .why-section {
    padding: 30px 16px 40px;
  }

  .why-main { gap: 20px; }
  .why-visual { border-radius: 20px; }

  .why-topline { margin-bottom: 14px; }
  .why-pill { margin-top: 10px; padding: 7px 11px; }

  .why-content h2 {
    font-size: clamp(2.45rem, 10.8vw, 3.25rem);
    line-height: 0.98;
  }

  .why-intro {
    margin-top: 14px;
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .why-points {
    gap: 13px;
    margin-top: 18px;
  }

  .why-points li {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

  .why-point-icon {
    width: 46px;
    height: 46px;
  }

  .why-point-icon svg {
    width: 21px;
    height: 21px;
  }

  .why-points strong { font-size: 0.94rem; }
  .why-points small { margin-top: 3px; font-size: 0.82rem; line-height: 1.38; }

  .peace-heading { margin: 22px 0 15px; }
  .peace-grid { gap: 9px; }

  .peace-card {
    min-height: 92px;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 18px;
  }

  .peace-icon {
    width: 46px;
    height: 46px;
  }

  .peace-icon svg { width: 22px; height: 22px; }
  .peace-card h3 { font-size: 0.91rem; }
  .peace-card p { margin-top: 4px; font-size: 0.75rem; line-height: 1.38; }

  .why-cta {
    min-height: 50px;
    margin-top: 16px;
  }

  .contact-section {
    padding: 30px 16px 20px;
  }

  .contact-grid { gap: 20px; }

  .contact-kicker {
    margin-bottom: 10px;
    font-size: 0.6rem;
  }

  .contact-copy > h2 {
    font-size: clamp(2.45rem, 10.8vw, 3.25rem);
    line-height: 0.98;
  }

  .contact-intro {
    margin-top: 13px;
    font-size: 0.93rem;
    line-height: 1.5;
  }

  .quote-form {
    margin-top: 17px;
    padding: 15px;
    border-radius: 19px;
  }

  .quote-form-head { margin-bottom: 13px; }
  .quote-form-head h3 { font-size: 1.35rem; }
  .quote-fields { gap: 9px; }

  .form-field { min-height: 54px; border-radius: 13px; }
  .form-message-field { min-height: 86px; }
  .quote-submit { min-height: 52px; margin-top: 11px; }

  .quote-assurances {
    gap: 9px;
    margin-top: 14px;
    padding-top: 14px;
  }

  .quote-assurances > div {
    grid-template-columns: 40px 1fr;
    gap: 10px;
  }

  .quote-assurances > div + div { padding-top: 10px; }

  .assurance-icon {
    width: 40px;
    height: 40px;
    padding: 10px;
  }

  .contact-side { gap: 10px; }
  .contact-photo { border-radius: 18px; }
  .contact-card-list { gap: 8px; }

  .contact-card {
    grid-template-columns: 42px 1fr;
    min-height: 66px;
    gap: 11px;
    padding: 9px 12px;
    border-radius: 16px;
  }

  .contact-card-icon {
    width: 42px;
    height: 42px;
    padding: 11px;
  }

  .site-footer {
    gap: 14px;
    margin-top: 18px;
    padding-top: 15px;
  }

  .footer-links { gap: 8px 16px; }

  /* Custom selector behaves like a contained mobile popover. */
  .custom-select-menu {
    max-height: min(330px, 48dvh);
    box-shadow: 0 18px 42px rgba(12,48,91,0.18);
  }
}

@media (max-width: 420px) {
  .hero-photo,
  .hero-wash {
    height: clamp(278px, 73vw, 300px);
  }

  h1 { font-size: clamp(2.72rem, 12vw, 3.1rem); }
  .catalog-heading h2,
  .why-content h2,
  .contact-copy > h2 { font-size: clamp(2.3rem, 10.4vw, 2.9rem); }
}
