/* Ad landing page — override accent to warm gold for CTA */
:root {
  --accent: #C49A2A;
  --accent-dark: #A8821F;
}

/* HEADER */
.adl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.adl-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adl-header-logo {
  height: 36px;
  width: auto;
  border-radius: 4px;
}

.adl-header-brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #0D2137;
}

.adl-header-phone a {
  color: #0D2137;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}

.adl-header-phone a:hover {
  color: #C49A2A;
}

/* HERO */
.adl-hero {
  background: #0D2137;
  color: #fff;
  padding: 48px 24px 40px;
  text-align: center;
}

.adl-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.1;
}

.adl-hero-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  margin-bottom: 24px;
}

.adl-trust-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.adl-trust-chip {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
}

/* FORM SECTION */
.adl-form-section {
  background: #f9fafb;
  padding: 40px 24px;
}

.adl-form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}

.adl-form-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #C49A2A;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Override quote-form-wrap for the ad lander card context */
.adl-form-card .quote-form-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 100%;
  box-shadow: none;
}

/* Override form inputs for light background */
.adl-form-card .qf-field input,
.adl-form-card .qf-field select,
.adl-form-card .qf-field textarea {
  background: #f9fafb;
  border: 1.5px solid #d1d5db;
  color: #111827;
}

.adl-form-card .qf-field input:focus,
.adl-form-card .qf-field select:focus,
.adl-form-card .qf-field textarea:focus {
  border-color: #C49A2A;
}

.adl-form-card .qf-field label {
  color: #374151;
}

.adl-form-card .qf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C49A2A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.adl-form-card .qf-field select option {
  background: #fff;
  color: #111827;
}

/* CTA button — larger than default */
.adl-btn-cta {
  padding: 20px 36px;
  font-size: 19px;
  letter-spacing: 0.2px;
}

.adl-btn-cta:focus-visible {
  outline: 3px solid #ddb840;
  outline-offset: 3px;
}

.adl-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(196, 154, 42, 0.35);
}

/* Urgency strip — directly under submit */
.adl-urgency {
  margin-top: 12px;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

/* Google Reviews badge */
.adl-gbadge {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  outline: none;
}
.adl-gbadge:hover,
.adl-gbadge:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.adl-gbadge:focus-visible {
  border-color: #C49A2A;
}
.adl-gbadge-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.adl-gbadge-logo {
  flex-shrink: 0;
}
.adl-gbadge-meta {
  flex: 1;
  min-width: 0;
}
.adl-gbadge-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #0D2137;
  line-height: 1.2;
}
.adl-gbadge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.adl-gbadge-stars {
  color: #C49A2A;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1;
  display: inline-flex;
}
.adl-star { display: inline-block; }
.adl-star-half { position: relative; display: inline-block; width: 1em; }
.adl-star-half .adl-star-bg { color: #e5e7eb; }
.adl-star-half .adl-star-fg {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: #C49A2A;
}
.adl-gbadge-rating {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}
.adl-gbadge-count {
  font-size: 12px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s, text-decoration 0.15s;
}
.adl-gbadge-count:hover {
  color: #C49A2A;
  text-decoration: underline;
}
.adl-gbadge-toggle {
  color: #6b7280;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s;
}
.adl-gbadge[data-state="expanded"] .adl-gbadge-toggle {
  transform: rotate(180deg);
}
.adl-gbadge[data-state="expanded"] {
  cursor: pointer;
}
.adl-gbadge-reviews {
  display: none;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  margin-top: 10px;
}
.adl-gbadge[data-state="expanded"] .adl-gbadge-reviews {
  display: block;
}
.adl-gbadge-review {
  font-size: 13px;
  color: #374151;
  margin-bottom: 10px;
  line-height: 1.45;
}
.adl-gbadge-review:last-of-type {
  margin-bottom: 8px;
}
.adl-gbadge-reviewer {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: #0D2137;
  font-size: 12px;
  margin-right: 8px;
}
.adl-gbadge-revstars {
  color: #C49A2A;
  font-size: 13px;
  letter-spacing: 1px;
}
.adl-gbadge-review p {
  margin: 4px 0 0;
  font-size: 13px;
}
.adl-gbadge-link {
  display: inline-block;
  margin-top: 4px;
  color: #C49A2A;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
}
.adl-gbadge-link:hover {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .adl-gbadge {
    padding: 12px 14px;
  }
  .adl-gbadge-name { font-size: 13px; }
}

/* Social proof — rating line under hero chips */
.adl-hero-proof {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 14px;
  font-weight: 500;
}

/* Testimonial — under form card, slim card with gold accent */
.adl-testimonial {
  background: #fff;
  border-left: 3px solid #C49A2A;
  margin: 0 auto 24px;
  padding: 18px 22px;
  max-width: 560px;
  border-radius: 6px;
  font-style: italic;
  color: #374151;
  font-size: 15px;
  position: relative;
}

.adl-testimonial cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
}

/* Success state colors for light bg */
.adl-form-card .qf-success-msg {
  color: #111827;
}

/* PHONES STRIP */
.adl-phones {
  background: #0D2137;
  padding: 32px 24px;
  text-align: center;
}

.adl-phones h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.adl-phone-rows {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.adl-phone-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.adl-phone-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.adl-phones a {
  color: #C49A2A;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  transition: color 0.2s;
}

.adl-phones a:hover {
  color: #ddb840;
}

/* FOOTER */
.adl-footer {
  background: #0D2137;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  text-align: center;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* FLOATING CLICK-TO-CALL + SMS WIDGET */
.adl-fab-stack {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adl-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s, background 0.2s;
}

.adl-fab:hover {
  transform: scale(1.06);
}

.adl-fab:active {
  transform: scale(0.98);
}

.adl-fab-call {
  background: #C49A2A;
  color: #0D2137;
}

.adl-fab-call:hover,
.adl-fab-call:active {
  background: #A8821F;
}

.adl-fab-sms {
  background: #0D2137;
  color: #C49A2A;
}

.adl-fab-sms:hover,
.adl-fab-sms:active {
  background: #163355;
}

@media (max-width: 640px) {
  .adl-fab-stack {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .adl-fab {
    width: 52px;
    height: 52px;
  }

  .adl-form-card {
    padding: 20px 18px;
  }

  /* Stack the two-column rows on mobile */
  .adl-form-card .qf-row-2 {
    flex-direction: column;
  }

  /* Larger tap targets on mobile */
  .adl-form-card .qf-field input,
  .adl-form-card .qf-field select {
    padding: 16px 14px;
    font-size: 16px;
  }
}

@media (min-width: 640px) {
  .adl-form-card {
    padding: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adl-fab {
    transition: background 0.2s;
  }

  .adl-fab:hover {
    transform: none;
  }
}

/* Thank-you hero copy — make sure the h1 line height reads clean on a single line and that
   the success check stays above the phone CTA. */
.adl-thanks-hero {
  background: #0D2137;
  color: #fff;
  padding: 56px 24px 48px;
  text-align: center;
}
.adl-thanks-check {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2ecc71;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.adl-thanks-response {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-top: 14px;
}
.adl-thanks-cta-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.adl-thanks-cta-secondary {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #C49A2A;
  text-decoration: none;
}
