* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0f0f10;
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.site-header {
  background: #151515;
  border-bottom: 1px solid #2a2a2a;
  padding: 14px 20px;
  position: sticky;
  top: 0;
}

.header-inner {
  max-width: 1100px;
  margin: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.brand img {
  width: 54px;
  height: 54px;
}

.hero {
  padding: 70px 20px;
}

.hero-inner {
  max-width: 850px;
  margin: auto;
  text-align: center;
}

.hero-logo {
  width: 160px;
  margin-bottom: 20px;
}

.eyebrow {
  color: #ff3b3b;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
}

.hero-copy {
  font-size: 1.15rem;
  color: #c7c7c7;
  line-height: 1.7;
}

.hero-pricing {
  margin-top: 25px;
  font-size: 1.2rem;
}

.hero-actions {
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.btn-primary {
  background: #d61f1f;
  color: white;
}

.btn-secondary {
  background: #2c2c2c;
  color: white;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px 80px;
}

.card {
  background: #171717;
  border: 1px solid #2f2f2f;
  border-radius: 16px;
  padding: 24px;
}

.form-section {
  padding: 50px 20px;
}

.form-wrapper {
  max-width: 700px;
  margin: auto;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #1b1b1b;
  color: white;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #d61f1f;
  box-shadow: 0 0 0 2px rgba(214, 31, 31, 0.22);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* =========================================================
   Vehicle Lookup Toggle
   ========================================================= */

.vehicle-lookup-card {
  background: #151515;
  border: 1px solid #2d2d2d;
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 24px;
}

.vehicle-lookup-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.lookup-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.lookup-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lookup-toggle label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #333;
  border-radius: 14px;
  background: #1b1b1b;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.lookup-toggle label:hover {
  border-color: #d61f1f;
  transform: translateY(-1px);
}

.lookup-toggle input:checked + label {
  background: #d61f1f;
  border-color: #d61f1f;
  color: #ffffff;
}

.lookup-fields {
  margin-top: 4px;
}

.lookup-fields.hidden {
  display: none;
}

.form-navigation {
  max-width: 700px;
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-phase {
  display: none;
}

.form-phase.active {
  display: block;
}

.hidden {
  display: none;
}

.notice-box,
.calendar-notice {
  background: #1a1a1a;
  border: 1px solid #353535;
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* =========================================================
   Phase 3 Diagnostic & Scheduling Cleanup
   ========================================================= */

#phase3.form-phase.active,
.form-phase.active.phase-three,
.form-phase.active.phase-3 {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#phase3 h2,
.phase-three h2,
.phase-3 h2 {
  margin-top: 0;
  margin-bottom: 14px;
}

#phase3 .field,
.phase-three .field,
.phase-3 .field {
  margin-bottom: 18px;
}

#phase3 .notice-box,
#phase3 .calendar-notice,
.phase-three .notice-box,
.phase-three .calendar-notice,
.phase-3 .notice-box,
.phase-3 .calendar-notice {
  margin-top: 0;
  margin-bottom: 18px;
}

#phase3 textarea,
.phase-three textarea,
.phase-3 textarea {
  min-height: 140px;
  resize: vertical;
}

#phase3 .form-navigation,
.phase-three .form-navigation,
.phase-3 .form-navigation {
  margin-top: 16px;
}

.thank-you {
  padding: 80px 20px;
}

.thank-you-card {
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.site-footer {
  text-align: center;
  padding: 40px 20px;
  color: #888;
}

.btn.is-submitting {
  opacity: 0.75;
  cursor: wait;
  pointer-events: none;
}

.btn.is-submitting::after {
  content: '';
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.55em;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  vertical-align: -0.12em;
  animation: buttonSpin 0.75s linear infinite;
}

@keyframes buttonSpin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   Address Autocomplete
   ========================================================= */

.address-field-wrap {
  position: relative;
}

.address-autocomplete-box {
  display: none;
  position: absolute;
  z-index: 9999;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
}

.address-autocomplete-box.active {
  display: block;
}

.address-suggestion {
  width: 100%;
  display: block;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  background: #ffffff;
  color: #111111;
  text-align: left;
  font-size: 0.95rem;
  cursor: pointer;
}

.address-suggestion:hover {
  background: #f2f2f2;
}

.address-confirmed {
  margin-top: 8px;
  color: #8df0a5;
  font-weight: bold;
  font-size: 0.9rem;
}

.address-is-confirmed {
  border-color: #35c96f !important;
  box-shadow: 0 0 0 2px rgba(53, 201, 111, 0.18);
}

@media (max-width: 700px) {
  .field-grid {
    grid-template-columns: 1fr;
  }

  .lookup-toggle {
    grid-template-columns: 1fr;
  }

  .vehicle-lookup-card {
    padding: 18px;
  }

  .form-navigation {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  #phase3.form-phase.active,
  .form-phase.active.phase-three,
  .form-phase.active.phase-3 {
    gap: 18px;
  }

  #phase3 textarea,
  .phase-three textarea,
  .phase-3 textarea {
    min-height: 120px;
  }
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  margin-top: 80px;
  padding: 40px 20px;
  border-top: 1px solid #222;
  background: #111111;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-contact {
  color: #b8b8b8;
  margin-bottom: 10px;
}

.footer-phone {
  margin-bottom: 10px;
}

.footer-phone a {
  color: #e21b1b;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-phone a:hover {
  color: #ff4d4d;
}

.footer-hours {
  color: #9a9a9a;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-copy {
  color: #666;
  font-size: 0.9rem;
}

/* =========================================================
   Google Reviews Section
   ========================================================= */

.reviews-section {
  padding: 80px 20px;
}

.reviews-inner {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.reviews-title {
  margin-top: 10px;
  margin-bottom: 18px;
}

.reviews-copy {
  color: #bdbdbd;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 40px;
}

.reviews-card {
  background: linear-gradient(
    180deg,
    rgba(22, 22, 22, 0.96),
    rgba(16, 16, 16, 0.98)
  );

  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 20px;

  padding: 38px 26px;

  max-width: 620px;
  margin: auto;

  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);

  backdrop-filter: blur(8px);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.reviews-card:hover {
  transform: translateY(-2px);

  border-color: rgba(226, 27, 27, 0.25);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(226, 27, 27, 0.08);
}

.reviews-rating {
  font-size: 2rem;
  color: #ffcc33;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.reviews-score {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.reviews-button-wrap {
  margin-top: 10px;
}
/* =========================================================
   Phase 3 Hard Layout Fix
   Forces active form step into centered form column
   ========================================================= */

.form-section form {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.form-phase {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.form-phase.active {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.form-navigation {
  max-width: 700px;
  margin: 28px auto 0;
  width: 100%;
}

/* Phase 3 spacing cleanup */
.form-phase.active .notice-box,
.form-phase.active .calendar-notice {
  margin: 18px 0 22px;
}

.form-phase.active textarea {
  min-height: 135px;
  resize: vertical;
}

@media (max-width: 760px) {
  .form-section form,
  .form-phase,
  .form-phase.active,
  .form-navigation {
    max-width: 100%;
  }
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.turnstile-wrap {
  margin: 28px 0 10px;
  display: flex;
  justify-content: center;
}
/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -50px;
    left: 20px;
    background: #000;
    color: #fff;
    padding: 12px 18px;
    z-index: 99999;
    text-decoration: none;
    border-radius: 6px;
    transition: top 0.2s ease;
    font-weight: 600;
}

.skip-link:focus {
    top: 20px;
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}