:root {
  --green: #5cb02c;
  --green-dark: #3f8a16;
  --green-text: #347713;
  --blue: #1d5fa8;
  --blue-dark: #14498a;
  --navy: #0f2a47;
  --ink: #1b2b3a;
  --muted: #4c5d73;
  --line: #e3ebf3;
  --paper: #fbfdfa;
  --white: #fff;
  --danger: #a52a2a;
  --success: #28710e;
  --shadow: 0 18px 50px rgb(15 42 71 / 10%);
  --radius: 20px;
  --radius-small: 12px;
  --content: 1180px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizelegibility;
}

body::after {
  display: block;
  height: calc(72px + env(safe-area-inset-bottom));
  content: "";
}

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

img {
  height: auto;
}

a {
  color: var(--blue-dark);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--green-text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 7vw, 4.65rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

h4 {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(100%, 780px);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--green-text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.small {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding-block: clamp(4.25rem, 8vw, 7rem);
}

.section-soft {
  background: var(--paper);
}

.section-blue {
  color: rgb(255 255 255 / 84%);
  background: var(--navy);
}

.section-blue h2,
.section-blue h3,
.section-blue .eyebrow {
  color: var(--white);
}

.section-blue a:not(.btn) {
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-head > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-blue .section-head > p:last-child {
  color: rgb(255 255 255 / 75%);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--ink);
  background: var(--green);
}

.btn-primary:hover {
  color: var(--ink);
  background: #69be3c;
}

.btn-secondary {
  color: var(--white);
  background: var(--blue);
}

.btn-secondary:hover {
  color: var(--white);
  background: var(--blue-dark);
}

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

.btn-outline:hover {
  color: var(--white);
  background: var(--navy);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: block;
  width: 138px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
}

.brand picture {
  display: block;
}

.nav-toggle {
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  font-weight: 800;
}

.nav-toggle > span:first-child,
.nav-toggle > span:first-child::before,
.nav-toggle > span:first-child::after {
  width: 18px;
  height: 2px;
  background: currentcolor;
  transition: transform 180ms ease;
}

.nav-toggle > span:first-child {
  position: relative;
}

.nav-toggle > span:first-child::before,
.nav-toggle > span:first-child::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle > span:first-child::before {
  top: -6px;
}

.nav-toggle > span:first-child::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] > span:first-child {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] > span:first-child::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:first-child::after {
  top: 0;
  transform: rotate(-45deg);
}

.primary-nav {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  width: 100%;
  max-height: calc(100vh - var(--header-height));
  padding: 1rem 20px 1.5rem;
  overflow: auto;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.primary-nav.is-open {
  display: grid;
}

.primary-nav > a,
.nav-dropdown > summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  color: var(--navy);
  font-weight: 750;
  text-decoration: none;
}

.primary-nav > a[aria-current="page"],
.nav-dropdown > summary:hover,
.primary-nav > a:hover {
  color: var(--green-text);
}

.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  margin-left: auto;
  content: "+";
}

.nav-dropdown[open] > summary::after {
  content: "−";
}

.nav-dropdown-panel {
  display: grid;
  padding: 0.35rem 0 0.75rem 1rem;
  gap: 0.2rem;
}

.nav-dropdown-panel a {
  padding: 0.45rem;
  color: var(--muted);
  text-decoration: none;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a[aria-current="page"] {
  color: var(--green-text);
}

.primary-nav .header-cta {
  min-height: 46px;
  margin-top: 0.5rem;
  color: var(--ink);
}

.primary-nav > a.header-cta[aria-current="page"] {
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgb(92 176 44 / 18%), transparent 30%),
    linear-gradient(145deg, var(--paper) 0%, var(--white) 70%);
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: -18vw;
  width: min(52vw, 620px);
  aspect-ratio: 1;
  border: min(7vw, 80px) solid rgb(29 95 168 / 7%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: clamp(590px, 78vh, 760px);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.hero-copy {
  max-width: 780px;
}

.hero .lead {
  max-width: 66ch;
  margin-bottom: 1.8rem;
}

.hero-letter-blue {
  color: var(--blue);
}

.hero-letter-green {
  color: var(--green-dark);
}

.hero-note {
  display: flex;
  max-width: 680px;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-note::before {
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  flex: 0 0 auto;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

.emergency-band {
  color: var(--white);
  background: var(--blue-dark);
}

.emergency-inner {
  display: flex;
  min-height: 76px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 0.85rem;
}

.emergency-inner strong {
  font-size: 1.05rem;
}

.emergency-inner a {
  color: var(--white);
  font-weight: 800;
}

.trust-strip {
  color: var(--white);
  background: var(--blue-dark);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.trust-strip-grid span {
  display: grid;
  min-height: 64px;
  padding: 0.75rem;
  align-items: center;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.trust-strip-grid span:nth-child(odd) {
  border-right: 1px solid rgb(255 255 255 / 14%);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgb(15 42 71 / 6%);
}

.card p {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.service-card::before,
.benefit-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--green);
  content: "";
}

.service-card:nth-child(even)::before,
.benefit-card:nth-child(even)::before {
  background: var(--blue);
}

.card-link::after {
  content: "→";
}

.service-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  place-items: center;
  color: var(--blue);
  background: rgb(29 95 168 / 8%);
  border-radius: 16px;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card:nth-child(odd) .service-icon {
  color: var(--green-text);
  background: rgb(92 176 44 / 10%);
}

.service-card:nth-child(even) .service-icon {
  color: var(--blue);
  background: rgb(29 95 168 / 9%);
}

.service-card ul,
.check-list,
.feature-list {
  padding: 0;
  list-style: none;
}

.service-card li,
.check-list li,
.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}

.service-card li + li,
.check-list li + li,
.feature-list li + li {
  margin-top: 0.45rem;
}

.service-card li::before,
.check-list li::before,
.feature-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green-dark);
  content: "✓";
  font-weight: 900;
}

.service-card ul,
.benefit-card ul {
  margin-bottom: 1.25rem;
}

.trust-grid {
  display: grid;
  gap: 1rem;
}

.trust-item {
  padding: 1.35rem;
  border-left: 4px solid var(--green);
  background: rgb(255 255 255 / 7%);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.trust-item h3 {
  color: var(--white);
  font-size: 1.05rem;
}

.trust-item p {
  margin: 0;
  color: rgb(255 255 255 / 75%);
  font-size: 0.94rem;
}

.split {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.audience-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.audience-grid {
  align-items: stretch;
}

.audience-card .tag-list {
  margin-bottom: 1.25rem;
}

.audience-card .card-link {
  margin-top: auto;
}

.audience-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--green);
  content: "";
}

.audience-card.business::before {
  background: var(--blue);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.35rem 0.65rem;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.cta-panel {
  display: grid;
  padding: clamp(2rem, 6vw, 4.5rem);
  color: var(--white);
  background:
    linear-gradient(120deg, rgb(15 42 71 / 98%), rgb(20 73 138 / 94%)),
    var(--navy);
  border-radius: var(--radius);
  gap: 1.5rem;
  align-items: center;
}

.cta-panel h2,
.cta-panel h3 {
  color: var(--white);
}

.cta-panel p {
  max-width: 62ch;
  color: rgb(255 255 255 / 78%);
}

.btn-on-dark {
  color: var(--white);
  border-color: var(--white);
}

.btn-on-dark:hover {
  color: var(--navy);
  background: var(--white);
}

.drying-showcase {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.drying-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.emergency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.emergency-actions strong {
  width: 100%;
  color: var(--navy);
}

.page-hero {
  padding-block: clamp(3.25rem, 7vw, 6rem);
  background:
    linear-gradient(130deg, rgb(29 95 168 / 8%), transparent 55%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
}

.page-hero .lead {
  max-width: 66ch;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs a {
  color: inherit;
}

.breadcrumbs span + span::before,
.breadcrumbs a + span::before {
  margin-right: 0.35rem;
  content: "/";
}

.detail-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.facts {
  padding: clamp(1.4rem, 4vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.facts ul {
  padding-left: 1.15rem;
}

.facts li + li {
  margin-top: 0.55rem;
}

.process-list {
  display: grid;
  padding: 0;
  counter-reset: process;
  list-style: none;
  gap: 1rem;
}

.process-list li {
  position: relative;
  min-height: 110px;
  padding: 1.4rem 1.4rem 1.4rem 4.5rem;
  counter-increment: process;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-small);
}

.process-list li::before {
  position: absolute;
  top: 1.35rem;
  left: 1.3rem;
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--green);
  border-radius: 50%;
  content: counter(process);
  font-weight: 900;
  place-items: center;
}

.process-list h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

caption {
  padding: 0.8rem 1rem;
  font-weight: 800;
  text-align: left;
}

th,
td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th:last-child,
td:last-child {
  text-align: right;
}

thead {
  color: var(--white);
  background: var(--navy);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.price-grid {
  display: grid;
  gap: 1.25rem;
}

.price-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.calculator {
  display: grid;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: var(--navy);
  border-radius: var(--radius);
  gap: 2rem;
}

.calculator h2,
.calculator h3,
.calculator label {
  color: var(--white);
}

.calculator p {
  color: rgb(255 255 255 / 74%);
}

.calculator label {
  display: block;
  margin: 1rem 0 0.35rem;
  font-weight: 800;
}

.calculator input,
.calculator select {
  width: 100%;
}

.calculator input[type="number"],
.calculator select {
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.calculator-result {
  padding: 1.35rem;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-small);
}

.calculator-row,
.calculator-total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.55rem;
}

.calculator-total {
  margin-top: 0.35rem;
  border-top: 2px solid var(--line);
  font-size: 1.15rem;
}

.calculator-result .small {
  color: var(--muted);
}

.calculator-preview {
  grid-template-columns: 1fr;
  align-content: center;
}

.calculator-preview .calculator-total {
  margin-top: 0;
  border-top: 0;
}

.reference-slider {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.reference-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}

.reference-slide {
  min-height: 0;
  padding: clamp(1.2rem, 3vw, 1.65rem);
  align-self: start;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
}

.reference-slide figure {
  margin: 0;
}

.reference-placeholder {
  display: grid;
  min-height: 200px;
  margin-bottom: 1.25rem;
  color: var(--muted);
  border: 2px dashed #cbd8e5;
  background: var(--white);
  border-radius: var(--radius-small);
  place-items: center;
  text-align: center;
}

.reference-placeholder svg {
  width: 52px;
  margin-inline: auto;
  color: var(--blue);
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
}

.js .reference-track {
  display: flex;
  align-items: flex-start;
  padding-right: max(0px, calc(100% - min(86vw, 380px)));
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.js .review-slider .reference-track {
  transition: height 200ms ease;
}

.js .reference-track::-webkit-scrollbar {
  display: none;
}

.js .reference-slide {
  width: min(86vw, 380px);
  flex: 0 0 min(86vw, 380px);
  scroll-snap-align: start;
}

.slider-controls {
  display: none;
}

.js .slider-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.slider-button {
  display: inline-grid;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 50%;
  place-items: center;
}

.slider-button:hover {
  color: var(--white);
  background: var(--navy);
}

.slider-status {
  color: var(--muted);
  font-size: 0.92rem;
}

.review-slide {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--white);
  border-top: 4px solid var(--blue);
  box-shadow: 0 12px 30px rgb(15 42 71 / 8%);
}

.review-slide:nth-child(even) {
  border-top-color: var(--green-dark);
}

.review-platform {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.google-wordmark {
  padding: 0.3rem 0.55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgb(15 42 71 / 7%);
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.google-wordmark i {
  font-style: normal;
}

.google-wordmark i:nth-child(1),
.google-wordmark i:nth-child(4) {
  color: #2f72e1;
}

.google-wordmark i:nth-child(2),
.google-wordmark i:nth-child(6) {
  color: #dd3628;
}

.google-wordmark i:nth-child(3) {
  color: #977000;
}

.google-wordmark i:nth-child(5) {
  color: #158934;
}

.review-rating {
  margin-bottom: 0.75rem;
  color: var(--green-text);
  font-size: 1.05rem;
  letter-spacing: 0.15em;
}

.review-slide blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}

.review-slide blockquote p + p {
  margin-top: 1rem;
}

.review-author {
  margin-top: auto;
  padding-top: 1.15rem;
  color: var(--navy);
  font-weight: 800;
}

.review-author::before {
  content: "— ";
}

.review-actions {
  margin-top: 1.5rem;
}

.reference-image-note {
  margin-top: 1.5rem;
}

.reference-group {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.reference-group:first-of-type {
  padding-top: 1rem;
}

.section-head.compact {
  margin-bottom: 1.25rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1rem;
}

.project-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-small);
  box-shadow: 0 10px 26px rgb(15 42 71 / 7%);
}

.project-card img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #edf3f8;
}

.project-card.is-comparison img {
  object-fit: contain;
}

.project-card figcaption {
  display: flex;
  min-height: 66px;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.project-card figcaption strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.gallery-more {
  margin-top: 1.25rem;
}

.form-card {
  padding: clamp(1.4rem, 5vw, 3rem);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form-card {
  border: 1px solid transparent;
  border-top-width: 6px;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(90deg, var(--blue), var(--green-dark)) border-box;
}

.contact-form-card .form-intro {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.contact-form-card .field input,
.contact-form-card .field select,
.contact-form-card .field textarea {
  background: #f8fbfe;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field label,
.field legend,
.field-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  border: 1px solid #b9c9d9;
  background: var(--white);
  border-radius: 9px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgb(29 95 168 / 14%);
  outline-offset: 1px;
}

.choice-grid {
  display: grid;
  gap: 0.65rem;
}

.choice {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-small);
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: var(--green-dark);
  background: linear-gradient(135deg, rgb(29 95 168 / 8%), rgb(92 176 44 / 12%));
  box-shadow: inset 0 0 0 1px var(--green-dark), 0 7px 18px rgb(15 42 71 / 7%);
}

.choice input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green-dark);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
}

.checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 0.18rem;
  flex: 0 0 auto;
  accent-color: var(--green-dark);
}

.form-help,
.form-error,
.form-success {
  font-size: 0.9rem;
}

.form-help {
  color: var(--muted);
}

.form-error {
  color: var(--danger);
  font-weight: 700;
}

.form-success {
  padding: 1rem;
  color: var(--success);
  border: 1px solid rgb(40 113 14 / 25%);
  background: rgb(92 176 44 / 10%);
  border-radius: var(--radius-small);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.assistant-progress {
  display: none;
  margin-bottom: 1.5rem;
}

.js .assistant-progress {
  display: block;
}

.assistant-progress-bar {
  height: 8px;
  overflow: hidden;
  background: var(--line);
  border-radius: 999px;
}

.assistant-progress-bar span {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 200ms ease;
}

.assistant-step {
  padding-block: 1rem;
  border: 0;
}

.assistant-step + .assistant-step {
  border-top: 1px solid var(--line);
}

.js .assistant-step {
  display: none;
  padding: 0;
  border: 0;
}

.js .assistant-step.is-active {
  display: block;
}

.assistant-actions {
  display: none;
}

.js .assistant-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.assistant-summary {
  padding: 1rem;
  background: var(--paper);
  border-radius: var(--radius-small);
}

.assistant-summary dl {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 2fr;
  gap: 0.45rem 1rem;
  margin: 0;
}

.assistant-summary dt {
  font-weight: 800;
}

.assistant-summary dd {
  margin: 0;
}

.short-assistant {
  display: grid;
  padding: clamp(1.4rem, 5vw, 3rem);
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  gap: 1rem;
}

.short-assistant-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.short-assistant-fieldset legend {
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.5rem;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.contact-card h2,
.contact-card h3,
.contact-card a {
  color: var(--white);
}

.contact-card .btn-primary {
  color: var(--ink);
}

.contact-card address {
  font-style: normal;
}

.quick-action-grid {
  display: grid;
  gap: 0.75rem;
}

.quick-action {
  min-height: 116px;
  justify-content: center;
  color: var(--navy);
  text-decoration: none;
}

.quick-action:hover {
  color: var(--blue-dark);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.quick-action strong {
  font-size: 1.05rem;
}

.quick-action span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.9rem;
}

.whatsapp-link::before {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.38rem;
  flex: 0 0 auto;
  background: #128c5e;
  content: "";
  vertical-align: -0.22em;
  mask: url("/assets/icons/whatsapp.svg") center / contain no-repeat;
}

.quick-action.whatsapp-link::before {
  width: 1.7rem;
  height: 1.7rem;
  margin: 0 0 0.35rem;
}

.mobile-contact-bar .whatsapp-link {
  grid-template-columns: auto auto;
  place-content: center;
  gap: 0.4rem;
}

.mobile-contact-bar .whatsapp-link::before {
  margin: 0;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  color: rgb(255 255 255 / 72%);
  background: #0a1e33;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
}

.footer-brand img {
  width: 150px;
  padding: 0.5rem;
  background: var(--white);
  border-radius: 8px;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 1rem;
}

.footer-emergency {
  font-weight: 800;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
}

.site-footer a {
  color: rgb(255 255 255 / 86%);
}

.site-footer a:hover {
  color: var(--green);
}

.site-footer ul {
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.88rem;
}

.aqenro-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.aqenro-logo-slot {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 3px;
  flex: 0 0 auto;
  background: var(--white);
  border-radius: 50%;
  place-items: center;
}

.mobile-contact-bar {
  position: fixed;
  z-index: 99;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 64px;
  padding-bottom: env(safe-area-inset-bottom);
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 -8px 24px rgb(15 42 71 / 12%);
}

.mobile-contact-bar a {
  display: grid;
  min-height: 64px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
  place-items: center;
  text-decoration: none;
}

.mobile-contact-bar a + a {
  border-left: 1px solid var(--line);
}

.mobile-contact-bar a:last-child {
  color: var(--ink);
  background: var(--green);
}

@media (min-width: 640px) {
  .card-grid,
  .trust-grid,
  .price-grid,
  .choice-grid,
  .process-list,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 820px) {
  body::after {
    display: none;
  }

  .split,
  .detail-grid,
  .contact-grid,
  .calculator {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  }

  .drying-showcase {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  }

  .short-assistant {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .short-assistant-fieldset,
  .short-assistant > .btn {
    grid-column: 1 / -1;
  }

  .short-assistant > .btn {
    justify-self: start;
  }

  .trust-strip-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trust-strip-grid span {
    border-right: 1px solid rgb(255 255 255 / 14%);
    border-bottom: 0;
  }

  .trust-strip-grid span:last-child {
    border-right: 0;
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .mobile-contact-bar {
    display: none;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    width: auto;
    max-height: none;
    align-items: center;
    gap: clamp(0.45rem, 1.25vw, 1rem);
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav > a,
  .nav-dropdown > summary {
    min-height: var(--header-height);
    font-size: clamp(0.82rem, 1vw, 0.94rem);
    white-space: nowrap;
  }

  .primary-nav .header-cta {
    min-height: 44px;
    margin: 0;
    padding-inline: 0.9rem;
  }

  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown > summary::after {
    margin-left: 0.35rem;
    content: "⌄";
  }

  .nav-dropdown[open] > summary::after {
    content: "⌃";
  }

  .nav-dropdown-panel {
    position: absolute;
    top: calc(100% - 8px);
    left: -1rem;
    width: 290px;
    padding: 0.8rem;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius-small);
    box-shadow: var(--shadow);
  }

  .nav-dropdown-panel a {
    padding: 0.55rem 0.7rem;
    border-radius: 7px;
  }

  .nav-dropdown-panel a:hover {
    background: var(--paper);
  }

  .card-grid.services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .target-group-grid,
  .quick-start-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-action-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
