:root {
  --ink: #131515;
  --paper: #f2eee6;
  --orange: #ed4b18;
  --cream: #fffaf0;
  --line: rgba(255, 250, 240, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

/* Header */
.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font: 700 17px/1 Georgia, serif;
  letter-spacing: .03em;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.lead-header {
  position: relative;
  background: var(--ink);
  color: var(--cream);
}

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

.lead-header-actions a {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color 0.18s;
}

.lead-header-actions a:hover {
  color: var(--orange);
}

/* Page Layout */
.lead-page {
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
}

.lead-landing {
  background: var(--paper);
}

/* Fox Masthead */
.fox-masthead {
  position: relative;
  height: clamp(175px, 19vw, 270px);
  overflow: hidden;
  background: var(--ink);
}

.fox-masthead::after {
  content: "";
  position: absolute;
  width: min(42vw, 610px);
  aspect-ratio: 1;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(237, 75, 24, .3);
  border-radius: 50%;
}

.fox-track {
  position: relative;
  z-index: 1;
  width: min(92vw, 1180px);
  height: 100%;
  margin: 0 auto;
}

.fox-track img {
  position: absolute;
  width: min(61vw, 800px);
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .38));
}

/* Hero Banner */
.lead-hero-banner {
  text-align: center;
  padding: clamp(34px, 4.5vw, 54px) 24px clamp(16px, 2vw, 28px);
}

.lead-hero-title {
  margin: 0 auto;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Form Stage */
.lead-form-stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 72px;
}

.lead-form-stage .estimate-form,
.lead-form-stage .form-success {
  width: min(100%, 760px);
  margin-top: 0;
}

.lead-form-stage .estimate-form {
  padding: clamp(34px, 5vw, 62px);
}

.estimate-form {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  background: #fffdf8;
  padding: clamp(27px, 3.5vw, 48px);
  box-shadow: 22px 22px 0 rgba(237, 75, 24, .95);
}

.lead-form-stage .form-heading {
  text-align: center;
}

.form-heading {
  margin-bottom: 28px;
}

.form-heading p {
  margin: 0 0 7px;
  font: 700 clamp(21px, 2vw, 29px)/1.1 Georgia, serif;
  color: var(--ink);
}

.lead-form-stage .form-heading p {
  font-size: clamp(26px, 3vw, 40px);
}

.form-heading > span {
  color: #756f66;
  font-size: 13px;
}

.estimate-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 17px;
}

.estimate-form label > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
}

.estimate-form small {
  color: #8a847b;
  font-size: 9px;
  font-weight: 400;
  margin-left: 6px;
  text-transform: none;
}

.estimate-form input,
.estimate-form textarea,
.estimate-form select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #beb7ac;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 10px 0 11px;
  font: 15px/1.4 Arial, sans-serif;
  outline: none;
}

.estimate-form textarea {
  resize: vertical;
  min-height: 88px;
}

.estimate-form input:focus,
.estimate-form textarea:focus,
.estimate-form select:focus {
  border-color: var(--orange);
}

.estimate-form input::placeholder,
.estimate-form textarea::placeholder {
  color: #aaa39a;
}

.form-row {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 22px;
}

.file-upload-box {
  position: relative;
  border: 1px dashed #aaa39a;
  padding: 13px 14px;
  cursor: pointer;
  background: transparent;
  transition: border-color 0.2s;
  display: flex;
  align-items: center;
  min-height: 46px;
}

.file-upload-box:hover {
  border-color: var(--orange);
}

.file-upload-text {
  font-size: 13px;
  color: #8a847b;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-field input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
}

.upload-field input::file-selector-button,
.upload-field input::-webkit-file-upload-button {
  display: none !important;
}

.estimate-form button {
  width: 100%;
  border: 0;
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 19px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.estimate-form button:hover:not(:disabled) {
  background: #ff5723;
}

.estimate-form button:disabled {
  opacity: .65;
  cursor: wait;
}

.estimate-form button span {
  font-size: 12px;
}

.estimate-form button span:last-child {
  font-size: 14px;
}

.privacy-note {
  margin: 13px 0 0;
  text-align: center;
  color: #8d877f;
  font-size: 10px;
}

.form-error {
  color: #a32f0d;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 14px;
}

.form-error a {
  text-decoration: underline;
  color: inherit;
}

/* Success Card */
.form-success {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  background: #fffdf8;
  text-align: center;
  padding: 70px 45px;
  box-shadow: 22px 22px 0 rgba(237, 75, 24, .95);
}

.form-success > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 24px;
}

.form-success h2 {
  margin: 0;
  font: 700 39px/1 Georgia, serif;
  color: var(--ink);
}

.form-success p {
  color: #6f6961;
  line-height: 1.6;
  margin: 16px 0 0;
}

.form-success a {
  display: inline-block;
  color: var(--orange);
  font-weight: 800;
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 24px;
}

.success-actions a {
  padding: 12px 24px;
  border: 1px solid var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.success-actions a:hover {
  background: var(--orange);
  color: white;
}

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

/* Service Promises */
.form-reassurance {
  display: flex;
  justify-content: center;
  gap: 14px 34px;
  flex-wrap: wrap;
  width: min(100%, 760px);
  margin-top: 42px;
  color: #656057;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.form-reassurance span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--orange);
}

/* Reviews Section */
.compact-reviews {
  padding: 72px clamp(24px, 7vw, 110px) 90px;
  background: #fffdf7;
}

.compact-reviews > .eyebrow {
  margin-bottom: 30px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 28px;
  color: #c8c0b2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #78736b;
}

.compact-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1240px;
  margin: 0 auto;
  background: #d4cec3;
}

.compact-review-grid blockquote {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  margin: 0;
  padding: 34px;
  background: #fffdf7;
  color: var(--ink);
}

.stars {
  color: var(--orange);
  font-size: 13px;
  letter-spacing: .18em;
}

.compact-review-grid blockquote p {
  margin: 26px 0 34px;
  font: 400 clamp(20px, 2vw, 27px)/1.25 Georgia, serif;
  color: var(--ink);
}

.compact-review-grid blockquote footer {
  margin-top: auto;
  font-size: 12px;
  color: var(--ink);
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(24px, 5vw, 76px);
  color: #99958d;
  font-size: 11px;
}

.lead-footer {
  background: var(--ink);
}

.footer-brand {
  color: var(--cream);
}

.mobile-actions {
  display: none;
}

/* Responsive Media Queries */
@media (max-width: 760px) {
  .lead-header {
    padding: 18px 20px;
  }
  .lead-header-actions {
    gap: 14px;
  }
  .lead-header-actions a {
    font-size: 9px;
  }
  .lead-header-actions a:last-child {
    display: none;
  }
  .fox-masthead {
    height: 112px;
  }
  .fox-masthead::after {
    width: 66vw;
  }
  .fox-track {
    width: 100%;
  }
  .fox-track img {
    width: 92%;
    left: 50%;
  }
  .lead-hero-banner {
    padding: 24px 20px 14px;
  }
  .lead-hero-title {
    font-size: clamp(23px, 6.5vw, 32px);
    line-height: 1.12;
  }
  .lead-form-stage {
    padding: 0 22px 58px;
  }
  .lead-form-stage .estimate-form,
  .lead-form-stage .form-success {
    margin-top: 0;
  }
  .lead-form-stage .estimate-form {
    padding: 30px 26px;
  }
  .lead-form-stage .form-heading {
    text-align: left;
  }
  .lead-form-stage .form-heading p {
    font-size: min(18px, 4.8vw);
    white-space: nowrap;
  }
  .form-reassurance {
    justify-content: flex-start;
    gap: 12px;
    margin-top: 32px;
  }
  .form-reassurance span {
    width: 100%;
  }
  .compact-reviews {
    padding: 58px 22px 74px;
  }
  .compact-review-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .compact-review-grid blockquote {
    min-height: 0;
    padding: 30px 26px;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 64px;
  }
  .footer {
    flex-direction: column;
    text-align: center;
    padding-bottom: 36px;
  }
  .mobile-actions {
    position: fixed;
    display: grid;
    grid-template-columns: 1fr 1fr;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--orange);
    color: white;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, .25);
  }
  .mobile-actions a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .mobile-actions a + a {
    border-left: 1px solid rgba(255, 255, 255, .35);
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 15px;
  }
  .lead-header-actions a {
    font-size: 10px;
  }
  .estimate-form {
    box-shadow: 12px 12px 0 rgba(237, 75, 24, .95);
  }
  .estimate-form input,
  .estimate-form select {
    min-height: 48px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
