:root {
  --ink: #101c64;
  --navy: #172493;
  --blue: #1f32b3;
  --muted: #5c6178;
  --line: rgba(16, 28, 100, 0.14);
  --mint: #ffb15d;
  --teal: #172493;
  --sun: #ffd15a;
  --coral: #ff8a2a;
  --sky: #fff1d5;
  --paper: #f1ede2;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 28, 100, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 138, 42, 0.24), transparent 62%);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.25s ease;
}

.location-left,
.location-right {
  display: flex;
  align-items: center;
}

.location-left {
  min-width: 0;
  gap: 30px;
}

.location-right {
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.site-header {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 20;
  width: min(1240px, calc(100% - 28px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 55px rgba(16, 28, 100, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 44px rgba(16, 28, 100, 0.16);
}

.brand,
.nav,
.header-call {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 10px 25px rgba(31, 50, 179, 0.28);
}

.nav {
  flex-wrap: wrap;
  gap: 10px 22px;
  color: rgba(16, 28, 100, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-call {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(31, 50, 179, 0.18);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 32px;
  padding: 150px max(24px, calc((100vw - 1120px) / 2)) 58px;
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.05);
}

.hero-wash {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(241, 237, 226, 0.96) 0%, rgba(255, 209, 90, 0.56) 43%, rgba(255, 138, 42, 0.12) 100%),
    linear-gradient(0deg, rgba(241, 237, 226, 0.86) 0%, transparent 45%);
}

.hero-content {
  max-width: 720px;
  padding-bottom: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.15;
}

.hero-copy,
.compare-copy p,
.price-copy p,
.contact-inner p,
.service-card p,
.step p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 14px 32px rgba(31, 50, 179, 0.28);
}

.btn-secondary {
  color: var(--navy);
  background: rgba(255, 209, 90, 0.86);
  border: 1px solid rgba(255, 138, 42, 0.24);
}

.hero-card {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.hero-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stat {
  display: block;
  color: var(--teal);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.trust-strip span {
  min-height: 70px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 98px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(16, 28, 100, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(16, 28, 100, 0.14);
}

.service-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.before-after {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.compare {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-img.after {
  clip-path: inset(0 0 0 50%);
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.compare::after {
  position: absolute;
  left: var(--split, 50%);
  top: 0;
  z-index: 2;
  width: 3px;
  height: 100%;
  content: "";
  background: var(--white);
  box-shadow: 0 0 0 999px transparent, 0 0 28px rgba(16, 28, 100, 0.25);
  transform: translateX(-50%);
}

.compare::before {
  position: absolute;
  left: var(--split, 50%);
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 3px solid var(--white);
  border-radius: 50%;
  content: "";
  background: rgba(16, 28, 100, 0.42);
  box-shadow: 0 12px 30px rgba(16, 28, 100, 0.26);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.compare-label {
  position: absolute;
  top: 18px;
  z-index: 4;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(16, 28, 100, 0.56);
  font-size: 13px;
  font-weight: 800;
}

.compare-label.left {
  left: 18px;
}

.compare-label.right {
  right: 18px;
}

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

.step {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 241, 213, 0.86), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  border-radius: 8px;
  color: var(--teal);
  background: var(--white);
  font-weight: 800;
}

.prices {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
  align-items: start;
}

.calculator {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 241, 213, 0.92), rgba(255, 255, 255, 0.96)),
    var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(16, 28, 100, 0.12);
}

.area-control {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(31, 50, 179, 0.16);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

input[type="range"] {
  accent-color: var(--teal);
}

.calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 50, 179, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 36, 147, 0.96), rgba(31, 50, 179, 0.9)),
    var(--blue);
  box-shadow: 0 16px 34px rgba(31, 50, 179, 0.24);
}

.calc-row span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.calc-row strong {
  color: var(--white);
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1;
}

.calc-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.calc-tab {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.calc-tab.active {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(16, 28, 100, 0.18);
}

.calc-panels {
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.calc-panel {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calc-panel.active {
  display: grid;
}

.price-line {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(16, 28, 100, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(16, 28, 100, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.price-line:hover {
  border-color: rgba(31, 50, 179, 0.36);
  box-shadow: 0 14px 32px rgba(16, 28, 100, 0.09);
  transform: translateY(-2px);
}

.price-line.selected,
.price-line:has(input[type="checkbox"]:checked) {
  border-color: rgba(255, 138, 42, 0.56);
  background:
    linear-gradient(180deg, rgba(255, 209, 90, 0.24), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.price-line input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

.price-line strong,
.price-line small {
  display: block;
}

.price-line strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.price-line small {
  margin-top: 8px;
  color: var(--teal);
  font-weight: 800;
}

.qty-line {
  grid-template-columns: 1fr 88px;
}

.qty-line input {
  align-self: start;
  width: 88px;
  height: 46px;
  border: 1px solid rgba(31, 50, 179, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.qty-line.selected input {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 138, 42, 0.18);
}

.testimonial {
  position: relative;
  padding: 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 50, 179, 0.12), rgba(255, 209, 90, 0.34)),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(16, 28, 100, 0.1);
}

.testimonial p {
  max-width: 860px;
  margin-bottom: 28px;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.16;
}

.testimonial span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.testimonial-controls {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  gap: 8px;
}

.testimonial-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.contact {
  margin-top: 50px;
  padding: 76px max(20px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(90deg, rgba(16, 28, 100, 0.92), rgba(255, 138, 42, 0.62)),
    url("https://images.unsplash.com/photo-1556911220-bff31c812dba?auto=format&fit=crop&w=1600&q=84") center/cover;
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.contact .eyebrow,
.contact-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-form input,
.contact-form select {
  min-height: 54px;
  width: 100%;
  border: 1px solid rgba(255, 209, 90, 0.34);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form select,
.contact-form option {
  color: var(--navy);
}

.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--sun);
  font-weight: 800;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
}

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

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

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

.delay-3 {
  transition-delay: 0.32s;
}

@keyframes slowZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.13);
  }
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    padding: 15px 12px;
  }

  .location-left {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .location-right {
    width: 100%;
    justify-content: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
  }

  .header-call {
    min-width: 136px;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 210px;
  }

  .hero-card {
    margin-bottom: 0;
  }

  .trust-strip,
  .service-grid,
  .steps,
  .before-after,
  .prices,
  .contact-inner {
    grid-template-columns: 1fr;
  }

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

  .compare {
    min-height: 430px;
  }

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

@media (max-width: 580px) {
  .cursor-glow {
    display: none;
  }

  .brand {
    font-size: 15px;
  }

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

  .header-call {
    height: 38px;
    min-width: auto;
    padding: 0 10px;
    font-size: 12px;
  }

  .nav a {
    font-size: 13px;
    white-space: nowrap;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 238px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .section {
    width: calc(100% - 28px);
    padding: 72px 0;
  }

  .service-card img {
    height: 220px;
  }

  .compare {
    min-height: 340px;
  }

  .calc-tabs,
  .contact-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .calculator {
    padding: 18px;
  }

  .calc-panels {
    max-height: 620px;
  }

  .price-line,
  .qty-line {
    grid-template-columns: 24px 1fr;
  }

  .qty-line input {
    grid-column: 1 / -1;
    width: 100%;
  }

  .testimonial {
    padding: 28px 20px 86px;
  }

  .testimonial-controls {
    left: 20px;
    right: auto;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }
}
