:root {
  --ink: #0b0f14;
  --blue: #0b67c9;
  --blue-dark: #084e99;
  --paper: #f2f3f1;
  --white: #ffffff;
  --line: #d7d9d7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  min-height: 76px;
  padding: 10px clamp(20px, 4vw, 62px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.header-logo {
  width: 112px;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 44px);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a {
  transition: color 160ms ease;
}

nav a:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.button-compact {
  min-height: 42px;
  padding: 0 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  min-height: calc(100vh - 76px);
  background: var(--white);
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(56px, 8vw, 120px) clamp(28px, 6vw, 96px);
}

.hero-logo {
  width: min(100%, 530px);
}

.location {
  align-self: center;
  width: min(100%, 360px);
  margin: 28px 0 34px;
  padding-top: 17px;
  border-top: 4px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.hero-photo {
  position: relative;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
  background: #cfd2d0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

.hero-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section {
  padding: clamp(74px, 9vw, 136px) clamp(22px, 6vw, 96px);
}

.section-title {
  margin-bottom: 44px;
}

.section-title p,
.section-kicker,
.quote-contact > p {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title h1,
.reviews h1,
.quote h1 {
  margin: 0;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(2.8rem, 5.8vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  min-height: 175px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-grid span {
  display: block;
  margin-bottom: 52px;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.service-grid h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.results {
  background: var(--ink);
  color: var(--white);
}

.section-title-light p {
  color: #61acff;
}

.comparison {
  --reveal: 52%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #23282d;
  user-select: none;
}

.comparison-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.before-image {
  object-position: center 45%;
}

.after-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}

.after-image {
  width: 100%;
  object-position: 55% center;
}

.photo-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  padding: 9px 11px;
  background: rgba(11, 15, 20, 0.86);
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.label-before {
  left: 18px;
}

.label-after {
  right: 18px;
}

.comparison-handle {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
}

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

.reviews {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: clamp(54px, 6vw, 86px);
  padding-bottom: clamp(54px, 6vw, 86px);
  background: var(--white);
}

.reviews-copy {
  display: flex;
  align-items: baseline;
  gap: clamp(22px, 4vw, 60px);
}

.reviews .section-kicker {
  margin: 0;
}

.reviews h2 {
  margin: 0;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.review-button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #b9bdc0;
  border-radius: 0;
  background: var(--white);
  color: #777b7e;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: not-allowed;
}

.quote {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(52px, 8vw, 132px);
  padding: clamp(78px, 10vw, 142px) clamp(22px, 6vw, 96px);
  background: var(--blue);
  color: var(--white);
}

.quote-contact > p {
  color: var(--white);
}

.quote h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 40px;
  font-style: normal;
  font-weight: 800;
}

address a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 13px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 0;
  outline: 0;
  background: rgba(0, 0, 0, 0.09);
  color: var(--white);
  text-transform: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--white);
  background: rgba(0, 0, 0, 0.15);
}

.quote-form option {
  color: var(--ink);
}

.photo-field input {
  padding: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.06);
}

.photo-field input::file-selector-button {
  margin-right: 12px;
  padding: 9px 12px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-note {
  opacity: 0.82;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.quote-form .terms-check {
  align-items: flex-start;
  flex-direction: row;
  gap: 10px;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.quote-form .terms-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--ink);
}

.terms-check a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.form-status {
  min-height: 1.1em;
  margin: -8px 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.45;
}

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

.button-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  padding: 22px clamp(22px, 6vw, 96px);
  background: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer img {
  width: 92px;
}

footer a {
  justify-self: end;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer-meta a {
  border-bottom: 1px solid var(--line);
}

.terms-header {
  grid-template-columns: 1fr auto;
}

.terms-main {
  background: var(--white);
}

.terms-intro {
  padding: clamp(72px, 10vw, 142px) clamp(22px, 8vw, 128px);
  background: var(--ink);
  color: var(--white);
}

.terms-intro p {
  margin: 0 0 18px;
  color: #61acff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.terms-intro h1 {
  max-width: 920px;
  margin: 0;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.terms-intro time {
  display: block;
  margin-top: 32px;
  color: #c8cbce;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.terms-list {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(62px, 8vw, 110px) clamp(22px, 6vw, 72px);
}

.term-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.term-item:last-child {
  border-bottom: 1px solid var(--line);
}

.term-number {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.term-item h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.term-item p {
  max-width: 760px;
  margin: 0;
  color: #454a4e;
  line-height: 1.7;
}

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

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-brand {
    min-height: 56vh;
  }

  .hero-photo {
    min-height: 62vw;
  }

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

  .comparison {
    aspect-ratio: 4 / 3;
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
  }

  .header-logo {
    width: 90px;
  }

  .button-compact {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.62rem;
  }

  .hero-brand {
    min-height: 460px;
  }

  .hero-photo {
    min-height: 76vw;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 122px;
  }

  .service-grid span {
    margin-bottom: 30px;
  }

  .comparison {
    aspect-ratio: 3 / 4;
  }

  .reviews,
  .reviews-copy {
    align-items: stretch;
    flex-direction: column;
  }

  .review-button {
    width: 100%;
  }

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

  .quote-form label {
    grid-column: 1;
  }

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

  .footer-meta {
    grid-column: 1 / -1;
    grid-row: 2;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .term-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

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

  * {
    transition: none !important;
  }
}
