/* ——— Quote / lead form ——— */
.quote {
  position: relative;
  isolation: isolate;
  overflow: visible;
  color: var(--black);
  background: var(--white);
  min-height: clamp(640px, 88vh, 860px);
}

.quote-bg {
  display: none;
}

.quote-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 440px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.35rem, 4vw, 2.75rem);
  min-height: inherit;
}

.quote-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  max-width: 34rem;
}

.quote-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3da554;
}

.quote-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.1rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--black);
}

.quote-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.55;
  color: #2a2a2a;
  max-width: 28rem;
}

.quote-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.quote-perks li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
}

.quote-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--yellow);
}

.quote-call {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid #d8d8d4;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.quote-call:hover .quote-call-num {
  color: var(--yellow);
}

.quote-call-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c5c5c;
}

.quote-call-num {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  transition: color 0.2s ease;
}

.quote-form {
  background: var(--white);
  color: var(--black);
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.15rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border: 1px solid #e2e2de;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  overflow: visible;
}

.quote-form-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c5c5c;
  margin-bottom: 0.15rem;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #222;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1.5px solid #d8d8d4;
  background: #fafafa;
  padding: 0.72rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  width: 100%;
  color: var(--black);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.quote-form input:hover,
.quote-form select:hover,
.quote-form textarea:hover {
  border-color: #bdbdb8;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #9a9a9a;
  font-weight: 400;
}

.quote-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23222222' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-color: #fafafa;
  padding-right: 2.1rem;
}

.quote-select {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.quote-select.is-open {
  z-index: 30;
}

.quote-select__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #222;
}

.quote-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  border: 1.5px solid #d8d8d4;
  background: #fafafa;
  padding: 0.72rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: var(--radius-sm);
  color: var(--black);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.quote-select__trigger:hover {
  border-color: #bdbdb8;
}

.quote-select.is-open .quote-select__trigger,
.quote-select__trigger:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(72, 184, 98, 0.15);
}

.quote-select__value {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-select__value.is-placeholder {
  color: #9a9a9a;
  font-weight: 400;
}

.quote-select__chevron {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 1.5px solid #333;
  border-bottom: 1.5px solid #333;
  transform: rotate(45deg) translate(-1px, -2px);
  transition: transform 0.2s ease;
}

.quote-select.is-open .quote-select__chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.quote-select__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--white);
  border: 1.5px solid #e2e2de;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c4c4c0 transparent;
}

.quote-select__list::-webkit-scrollbar {
  width: 8px;
}

.quote-select__list::-webkit-scrollbar-track {
  background: transparent;
}

.quote-select__list::-webkit-scrollbar-thumb {
  background: #cfcfcb;
  border-radius: 999px;
  border: 2px solid var(--white);
}

.quote-select__list[hidden] {
  display: none !important;
}

.quote-select__list [role="option"] {
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.quote-select__list [role="option"]:hover,
.quote-select__list [role="option"].is-active {
  background: #edf8f0;
  color: #1e7a38;
}

.quote-select__list [role="option"][aria-selected="true"] {
  background: var(--yellow);
  color: var(--white);
}

.quote-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

.quote-form textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.45;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.quote-form .quote-consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  color: #444;
  cursor: pointer;
}

.quote-form .quote-consent input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  max-width: 1.05rem;
  margin: 0.15rem 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--yellow);
  cursor: pointer;
  border-radius: 0.2rem;
  border: none;
  background: transparent;
}

.quote-form .quote-consent span {
  display: block;
  flex: 1;
  min-width: 0;
}

.quote-form .quote-consent a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quote-form .quote-consent a:hover {
  opacity: 0.85;
}

.quote-form .quote-consent.is-invalid {
  color: #b42318;
}

.quote-form .quote-consent.is-invalid input[type="checkbox"] {
  outline: 2px solid #b42318;
  outline-offset: 2px;
}

.btn-submit {
  width: 100%;
  background: var(--yellow);
  color: var(--white);
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 800;
  margin-top: 0.35rem;
  letter-spacing: 0.01em;
}

.btn-submit:hover {
  opacity: 0.92;
}

.btn-submit.is-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  pointer-events: none;
  opacity: 0.92;
}

.quote-btn-spinner {
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: quote-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes quote-spin {
  to {
    transform: rotate(360deg);
  }
}

.quote-form-note {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: #7a7a7a;
  margin-top: -0.15rem;
}
