:root {
  --black: #050505;
  --ink: #121212;
  --muted: #6d737b;
  --line: #e7e7e7;
  --orange: #f47421;
  --orange-dark: #c94f0d;
  --cream: #fff8f1;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(11, 18, 26, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 48px);
  color: var(--white);
  background: rgba(0, 0, 0, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: min-height .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(0, 0, 0, .98);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 34px;
  border-bottom: 4px solid var(--orange);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  left: 7px;
  width: 31px;
  height: 4px;
  background: var(--white);
  transform-origin: left center;
}

.brand-mark::before {
  top: 14px;
  transform: rotate(-34deg);
}

.brand-mark::after {
  top: 14px;
  background: var(--orange);
  transform: translateX(14px) rotate(34deg);
}

.brand-copy {
  display: grid;
  gap: 1px;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-copy strong {
  color: var(--orange);
  font-size: 16px;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transition: width .2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  color: #ffe2cb;
  font-size: 14px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 12px 28px rgba(244, 116, 33, .28);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
  background: rgba(0, 0, 0, .18);
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 12px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 760px;
  padding: 140px clamp(22px, 6vw, 86px) 90px;
  color: var(--white);
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .52) 42%, rgba(0, 0, 0, .28) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, .18) 58%, rgba(0, 0, 0, .82));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.estimate-info h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  line-height: .96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 8vw, 96px);
}

.hero-subtitle {
  max-width: 660px;
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 2.2vw, 22px);
}

.hero-buttons,
.rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.rating-row {
  margin-top: 24px;
  color: #ffd3b4;
}

.rating-row span {
  color: var(--orange);
  letter-spacing: 0;
}

.advantages {
  color: var(--white);
  background: var(--black);
  padding: 0 clamp(16px, 4vw, 46px) 30px;
}

.advantage-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  max-width: 1240px;
  margin: -42px auto 0;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

.advantage-grid article {
  min-height: 168px;
  padding: 28px 18px;
  text-align: center;
  border-right: 1px solid rgba(244, 116, 33, .24);
}

.advantage-grid article:last-child {
  border-right: 0;
}

.advantage-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 50%;
  font-weight: 900;
}

.advantage-grid h3,
.service-card h3,
.compare-card h3,
.process-grid h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
}

.advantage-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.section {
  padding: clamp(62px, 8vw, 96px) clamp(18px, 5vw, 64px);
}

.section-light {
  background: #f7f8fa;
}

.section-dark {
  color: var(--white);
  background: #070707;
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.estimate-info h2 {
  font-size: clamp(34px, 4.5vw, 58px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(11, 18, 26, .17);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.service-body {
  padding: 22px;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: -42px;
  margin-bottom: 14px;
  padding: 0 12px;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card ul {
  padding: 0;
  margin: 16px 0 20px;
  list-style: none;
  color: #4e555d;
  font-size: 14px;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  margin: 7px 0;
}

.service-card li::before {
  position: absolute;
  left: 0;
  color: var(--orange);
  content: "+";
  font-weight: 900;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--white);
  background: var(--black);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
}

.compare-card {
  text-align: center;
}

.compare-card h3 {
  margin-top: 14px;
  font-size: 14px;
  text-transform: none;
}

.compare {
  --split: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.28;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .16);
  background: #181818;
}

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

.compare-img.before {
  filter: var(--before-filter);
  clip-path: polygon(0 0, var(--split) 0, var(--split) 100%, 0 100%);
}

.compare::after {
  position: absolute;
  top: 0;
  left: var(--split);
  width: 3px;
  height: 100%;
  content: "";
  background: var(--white);
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0);
  transform: translateX(-50%);
  pointer-events: none;
}

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

.process {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.process-grid article {
  position: relative;
  padding: 10px 16px;
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
  font-weight: 900;
}

.process-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.estimate-section {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(64px, 8vw, 104px) clamp(18px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .78)),
    url("/static/assets/hero-pool.webp") center / cover;
}

.estimate-info {
  max-width: 520px;
  align-self: center;
}

.estimate-info p {
  color: rgba(255, 255, 255, .8);
  font-size: 18px;
}

.estimate-info a {
  display: block;
  margin-top: 16px;
  color: #ffe1cd;
  font-size: 20px;
  font-weight: 900;
}

.estimate-form {
  align-self: center;
}

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

.field-grid label {
  display: grid;
  gap: 7px;
}

.field-grid span {
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.field-grid .wide {
  grid-column: 1 / -1;
}

.field-grid input,
.field-grid select,
.field-grid textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(0, 0, 0, .48);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 6px;
  outline: none;
}

.field-grid textarea {
  resize: vertical;
}

.field-grid input:focus,
.field-grid select:focus,
.field-grid textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244, 116, 33, .18);
}

.btn-form {
  width: 100%;
  margin-top: 12px;
}

.btn-form:disabled {
  cursor: wait;
  opacity: .72;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: #b8f7ca;
  font-weight: 800;
}

.form-status.is-error {
  color: #ffb3a8;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr .9fr 1.3fr .8fr;
  gap: 34px;
  padding: 48px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, .76);
  background: #060606;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 7px 0;
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  color: var(--white);
  background: rgba(244, 116, 33, .16);
  border: 1px solid rgba(244, 116, 33, .38);
  border-radius: 50%;
  font-weight: 900;
}

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

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 24px 24px;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

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

  .header-actions {
    display: none;
  }

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

  .advantage-grid article:nth-child(2n) {
    border-right: 0;
  }

  .estimate-section,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    padding-inline: 16px;
  }

  .brand-mark {
    width: 35px;
  }

  .brand-copy {
    font-size: 11px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .hero {
    min-height: 700px;
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .advantage-grid,
  .service-grid,
  .compare-grid,
  .process-grid,
  .estimate-section,
  .site-footer,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .advantage-grid {
    margin-top: 0;
  }

  .advantage-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(244, 116, 33, .22);
  }

  .advantage-grid article:last-child {
    border-bottom: 0;
  }

  .section,
  .estimate-section {
    padding-block: 56px;
  }

  .section-heading {
    text-align: left;
  }

  .estimate-info h2,
  .section-heading h2 {
    font-size: clamp(34px, 11vw, 48px);
  }
}
