:root {
  --ink: #101418;
  --black: #05070a;
  --blue: #017fd0;
  --blue-dark: #006eb6;
  --blue-soft: #eaf6ff;
  --sky: #58c3ff;
  --gold: #ffc400;
  --paper: #f5f8fb;
  --muted: #5a6874;
  --line: #d7e2eb;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 70px rgb(0 0 0 / 22%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

.top-bar {
  background: var(--black);
  color: rgb(255 255 255 / 88%);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.45;
  padding: 9px 16px;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  align-items: center;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid rgb(16 20 24 / 10%);
  display: flex;
  justify-content: space-between;
  padding: 11px max(18px, calc((100vw - 1180px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  align-items: center;
  display: flex;
  gap: 13px;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  background: var(--black);
  border-radius: var(--radius);
  height: 56px;
  object-fit: contain;
  padding: 7px;
  width: 70px;
}

.brand strong {
  color: var(--blue);
  display: block;
  font-size: clamp(23px, 2.1vw, 28px);
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.brand small {
  color: var(--ink);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.1;
  margin-top: 7px;
  text-transform: uppercase;
}

.header-phone {
  align-items: center;
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgb(1 127 208 / 28%);
  color: var(--white);
  display: grid;
  font-size: 15px;
  font-weight: 950;
  gap: 2px;
  line-height: 1.1;
  min-height: 44px;
  padding: 10px 18px;
  text-decoration: none;
}

.header-phone span {
  color: rgb(255 255 255 / 72%);
  display: block;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.header-phone:hover {
  background: var(--blue-dark);
}

.quote-hero {
  background: var(--black);
  isolation: isolate;
  min-height: calc(100vh - 90px);
  overflow: hidden;
  position: relative;
}

.hero-bg {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 52% 34%;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(5 7 10 / 94%) 0%, rgb(5 7 10 / 88%) 48%, rgb(5 7 10 / 56%) 100%),
    radial-gradient(circle at 18% 14%, rgb(1 127 208 / 28%), transparent 38%);
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-layout {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(360px, 0.98fr) minmax(280px, 0.62fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 46px 18px 58px;
}

.form-card {
  background: var(--white);
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}

.eyebrow {
  color: var(--sky);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue);
}

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

h1 {
  color: var(--ink);
  font-size: clamp(38px, 5.4vw, 68px);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 16px;
}

h2 {
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 16px;
}

h3 {
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.15;
}

.form-card > .eyebrow {
  color: var(--blue);
}

.form-lead {
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.55;
  margin-bottom: 16px;
}

.instant-call {
  align-items: center;
  background: #eef8ff;
  border: 1px solid #bee3fb;
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
  margin-bottom: 22px;
  padding: 14px;
}

.instant-call strong {
  color: var(--ink);
  display: block;
  font-size: 16px;
  line-height: 1.25;
}

.instant-call span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  margin-top: 4px;
}

.instant-actions {
  display: flex;
  gap: 8px;
}

.instant-actions a {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 14px;
  font-weight: 950;
  justify-content: center;
  min-height: 42px;
  padding: 0 13px;
  text-decoration: none;
  white-space: nowrap;
}

.call-action {
  background: var(--blue);
  color: var(--white);
}

.text-action {
  background: var(--black);
  color: var(--white);
}

form {
  display: grid;
  gap: 15px;
}

.field-grid {
  display: grid;
  gap: 15px;
}

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

.city-zip {
  grid-template-columns: minmax(0, 1fr) minmax(110px, 0.45fr);
}

label,
legend {
  color: #26313b;
  font-size: 14px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 7px;
}

input,
textarea {
  background: #fbfdff;
  border: 1px solid #cfdbe5;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  min-height: 48px;
  outline: none;
  padding: 12px 13px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  width: 100%;
}

textarea {
  line-height: 1.45;
  min-height: 106px;
  resize: vertical;
}

input:focus,
textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgb(1 127 208 / 17%);
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.urgency-options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 8px;
}

.urgency-options label {
  cursor: pointer;
  display: block;
}

.urgency-options input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.urgency-options span {
  align-items: center;
  background: var(--blue-soft);
  border: 1px solid #b7dcf5;
  border-radius: var(--radius);
  color: var(--ink);
  display: flex;
  font-size: 14px;
  font-weight: 950;
  justify-content: center;
  min-height: 46px;
  padding: 10px;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.urgency-options input:checked + span,
.urgency-options input:focus-visible + span {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 0 0 4px rgb(1 127 208 / 16%);
}

.hidden-field {
  display: none !important;
}

.submit-button {
  background: var(--blue);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgb(1 127 208 / 28%);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 950;
  min-height: 58px;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), background 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.submit-button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.form-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin: -2px 0 0;
  text-align: center;
}

.conversion-panel {
  color: var(--white);
  display: grid;
  gap: 16px;
}

.photo-card {
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgb(0 0 0 / 30%);
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

.photo-card img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  position: absolute;
  width: 100%;
}

.photo-card::after {
  background: linear-gradient(180deg, transparent 38%, rgb(5 7 10 / 84%) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.photo-badge {
  bottom: 0;
  left: 0;
  padding: 22px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.photo-badge strong {
  display: block;
  font-size: 26px;
  line-height: 1.05;
}

.photo-badge span {
  color: rgb(255 255 255 / 74%);
  display: block;
  font-weight: 750;
  margin-top: 8px;
}

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

.proof-grid div,
blockquote {
  background: rgb(255 255 255 / 11%);
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.proof-grid div {
  padding: 15px;
}

.proof-grid strong {
  color: var(--sky);
  display: block;
  font-size: 18px;
}

.proof-grid span {
  color: rgb(255 255 255 / 70%);
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 5px;
}

blockquote {
  color: rgb(255 255 255 / 86%);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.6;
  margin: 0;
  padding: 22px;
}

blockquote cite {
  color: var(--white);
  display: block;
  font-style: normal;
  font-weight: 950;
  margin-top: 14px;
}

.stars {
  color: var(--gold);
  display: block;
  font-size: 18px;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.service-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 22px max(18px, calc((100vw - 1180px) / 2));
}

.service-strip span {
  background: var(--blue-soft);
  border: 1px solid #c7e7fb;
  border-radius: 999px;
  color: #173242;
  font-size: 14px;
  font-weight: 900;
  padding: 10px 14px;
}

.support-section,
.before-after-row {
  display: grid;
  gap: 30px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 68px 18px;
}

.support-section {
  grid-template-columns: 0.86fr 1fr;
}

.support-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.support-copy ul {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.support-copy li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgb(16 20 24 / 5%);
  font-weight: 900;
  padding: 14px 16px;
}

.support-copy li::before {
  color: var(--blue);
  content: "✓";
  margin-right: 10px;
}

.review-stack {
  display: grid;
  gap: 14px;
}

.review-stack article {
  background: var(--white);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgb(16 20 24 / 7%);
  padding: 22px;
}

.review-stack p {
  color: #26313b;
  font-size: 17px;
  line-height: 1.62;
}

.review-stack strong {
  color: var(--ink);
}

.before-after-row {
  align-items: center;
  grid-template-columns: 0.62fr 0.62fr 0.9fr;
  padding-top: 20px;
}

.before-after-row figure {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgb(16 20 24 / 12%);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.before-after-row img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.before-after-row figcaption {
  background: rgb(16 20 24 / 84%);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 12px;
  font-weight: 950;
  left: 12px;
  letter-spacing: 0.1em;
  padding: 7px 10px;
  position: absolute;
  text-transform: uppercase;
  top: 12px;
}

.before-after-row figure:nth-child(2) figcaption {
  background: var(--blue);
}

.before-after-row p {
  color: var(--muted);
  line-height: 1.7;
}

.text-link {
  color: var(--blue);
  font-weight: 950;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer {
  align-items: center;
  background: var(--black);
  color: var(--white);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 32px max(18px, calc((100vw - 1180px) / 2));
}

.footer-brand strong {
  color: var(--sky);
  display: block;
  font-size: 20px;
}

.footer-brand span {
  color: rgb(255 255 255 / 66%);
  display: block;
  font-size: 14px;
  font-weight: 750;
  margin-top: 4px;
}

.footer a {
  color: var(--white);
  font-weight: 950;
}

.sticky-mobile {
  display: none;
}

@media (max-width: 980px) {
  .quote-hero {
    min-height: auto;
  }

  .hero-layout,
  .support-section,
  .before-after-row {
    grid-template-columns: 1fr;
  }

  .conversion-panel {
    order: 2;
  }

  .photo-card {
    min-height: 360px;
  }

  .before-after-row {
    padding-top: 0;
  }
}

@media (max-width: 680px) {
  .top-bar {
    font-size: 11px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand img,
  .footer-brand img {
    height: 48px;
    width: 60px;
  }

  .brand strong {
    font-size: 21px;
  }

  .brand small {
    font-size: 10px;
    letter-spacing: 0.12em;
    margin-top: 5px;
  }

  .header-phone {
    font-size: 13px;
    min-height: 40px;
    padding: 9px 11px;
  }

  .header-phone span {
    display: none;
  }

  .hero-layout {
    padding: 24px 14px 44px;
  }

  .form-card {
    padding: 22px 16px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 46px);
  }

  h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .field-grid.two,
  .city-zip,
  .urgency-options,
  .instant-call,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .instant-actions {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .photo-card {
    min-height: 320px;
  }

  .support-section,
  .before-after-row {
    padding: 52px 16px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 92px;
  }

  .sticky-mobile {
    align-items: center;
    background: var(--black);
    border-radius: var(--radius);
    bottom: 14px;
    box-shadow: 0 18px 40px rgb(1 127 208 / 36%);
    color: var(--white);
    display: grid;
    font-size: 15px;
    font-weight: 950;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    inset-inline: 14px;
    padding: 8px;
    position: fixed;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
    z-index: 30;
  }

  .sticky-mobile.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    visibility: hidden;
  }

  .sticky-mobile a {
    align-items: center;
    border-radius: calc(var(--radius) - 2px);
    display: flex;
    justify-content: center;
    min-height: 46px;
    text-decoration: none;
  }

  .sticky-mobile a:first-child {
    background: var(--blue);
  }

  .sticky-mobile a:last-child {
    background: var(--white);
    color: var(--blue);
  }
}

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

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