/* Slim hero quote */

.gfl-hero-quote {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.gfl-hero-quote__form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gfl-hero-quote__label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gfl-hero-quote__label-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0e2238;
  /* visually hidden because the hero already has a strong headline above
     the form ("A Cleaner Yard, Without the Dirty Work"); the placeholder
     plus CTA convey intent. Kept available for screen readers. */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gfl-hero-quote__input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid #d8cfb8;
  border-radius: 8px;
  font-size: 1.05rem;
  font-family: inherit;
  background: #fff;
  box-sizing: border-box;
  color: #0e2238;
  transition: border-color 120ms, box-shadow 120ms;
}

.gfl-hero-quote__input::placeholder {
  color: #9ca3af;
}

.gfl-hero-quote__input:focus {
  outline: none;
  border-color: #c99a4b;
  box-shadow: 0 0 0 3px rgba(201, 154, 75, 0.25);
}

.gfl-hero-quote__cta {
  background: #c99a4b;
  color: #fff;
  text-align: center;
  padding: 0.95rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  font-family: inherit;
  border: 0;
  cursor: pointer;
  transition: filter 120ms, background-color 120ms;
}

.gfl-hero-quote__cta:hover {
  filter: brightness(1.05);
}

.gfl-hero-quote__cta:focus-visible {
  outline: 3px solid #0e2238;
  outline-offset: 2px;
}

.gfl-hero-quote__microcopy {
  margin: 0;
  font-size: 0.85rem;
  color: #4a5160;
  text-align: center;
}

.gfl-hero-quote__error {
  margin: 0;
  color: #dc2626;
  font-size: 0.9rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.gfl-hero-quote__error[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .gfl-hero-quote {
    max-width: 100%;
    padding-inline: 1rem;
  }
}

@media (max-width: 380px) {
  .gfl-hero-quote {
    padding-inline: 0.875rem;
  }
}
