/* ── Quote / Pest Enquiry Section ── */
#quote { padding-top: 10px; }

/* Section heading */
#quote .quote-head {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 680px;
}
#quote .quote-head-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  background: rgba(234, 88, 12, .08);
  border: 1px solid rgba(234, 88, 12, .15);
  border-radius: 2rem;
  padding: .35rem 1rem;
  margin-bottom: .75rem;
  margin-top: 2rem;
}
#quote .quote-head h2 {
  font-size: 1.85rem;
  margin: 0 0 .5rem;
  color: #0f172a;
  line-height: 1.2;
}
#quote .quote-head .lead {
  color: #64748b;
  font-size: 1.05rem;
  margin: 0;
}

/* ── Desktop: form + aside grid ── */
@media (min-width: 992px) {
  #quote .container {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 2rem;
    align-items: start;
  }
  #quote .container > .quote-head,
  #quote .container > .alert {
    grid-column: 1 / -1;
  }
  #quote .container > form { grid-column: 1; }
  #quote .container > .quote-aside {
    grid-column: 2;
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

/* ── Form card ── */
#quote .form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, .06);
  border-top: 3px solid var(--primary);
  gap: 1rem;
}
@media (min-width: 768px) {
  #quote .form { padding: 2rem; gap: 1.15rem; }
}

/* ── Field labels ── */
#quote .field label {
  font-size: .875rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: .01em;
}
#quote .field .req {
  color: var(--primary);
  font-weight: 700;
}

/* ── Inputs, selects, textareas ── */
#quote .field input,
#quote .field select,
#quote .field textarea {
  width: 100%;
  padding: .7rem .85rem;
  font-size: .95rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: .6rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
#quote .field input::placeholder,
#quote .field textarea::placeholder {
  color: #94a3b8;
}
#quote .field input:focus,
#quote .field select:focus,
#quote .field textarea:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, .12);
  outline: none;
}
#quote .field select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2394a3b8" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}
#quote .field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

/* ── Aside card ── */
#quote .quote-aside {
  background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, .05);
  border-top: 3px solid var(--primary);
  margin-top: 2rem;
}
#quote .quote-aside h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}
#quote .quote-aside .lead {
  font-size: .95rem;
  margin-bottom: 1.25rem;
}
#quote .quote-aside .lead a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
#quote .quote-aside .lead a:hover {
  text-decoration: underline;
}
#quote .quote-aside h4 {
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #1e293b;
}

/* ── Submit button ── */
#quote .form .btn-primary {
  width: 100%;
  padding: .85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: .6rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, filter .2s;
}
#quote .form .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(234, 88, 12, .25);
  filter: brightness(1.05);
}
#quote .form .btn-primary:active {
  transform: scale(.98);
}
@media (min-width: 768px) {
  #quote .form .btn-primary { width: auto; }
}

/* ── Terms checkbox ── */
#quote .terms-inline {
  display: inline-flex;
  align-items: flex-start;
  gap: .5rem;
  font-weight: 400;
  font-size: .9rem;
  text-align: left;
  color: #475569;
}
#quote .terms-inline input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
  margin-top: .2em;
  width: 1.1em;
  height: 1.1em;
  accent-color: var(--primary);
}
#quote .terms-inline span { min-width: 0; text-align: left; }
#quote .terms-inline a { color: var(--primary); font-weight: 600; }
#quote .field:has(.terms-inline) { padding: 0; margin: 0; }

/* ── Alerts ── */
#quote .alert { border-radius: .6rem; font-weight: 500; }

/* ── Error states ── */
#quote .field input:not(:focus):invalid,
#quote .field select:not(:focus):invalid {
  border-color: #fca5a5;
}
#quote .error {
  color: var(--error);
  font-size: .85rem;
  margin: .2rem 0 0;
  font-weight: 500;
}
