.lead-request-section {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(48px, 5vw, 78px) 24px;
  background:
    radial-gradient(circle at 7% 12%, rgba(109, 74, 255, 0.08), transparent 30%),
    radial-gradient(circle at 92% 88%, rgba(37, 99, 235, 0.06), transparent 32%),
    #f8f9ff;
}

.lead-request-shell {
  position: relative;
  display: grid;
  width: min(100%, 1380px);
  min-height: 640px;
  grid-template-columns: minmax(330px, 0.72fr) minmax(580px, 1.28fr);
  gap: clamp(40px, 4vw, 72px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(185, 202, 224, 0.6);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0 0, rgba(108, 75, 255, 0.11), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.98));
  padding: clamp(38px, 4.2vw, 60px);
  box-shadow: 0 24px 68px rgba(51, 75, 124, 0.07), inset 0 1px 0 #fff;
}

.lead-request-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(179, 199, 224, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: #0b3558;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(32, 59, 94, 0.08);
}

.lead-request-close svg { width: 19px; height: 19px; }
.lead-request-intro { align-self: start; min-width: 0; }

.lead-request-eyebrow {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  border: 1px solid rgba(185, 202, 224, 0.58);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #425b79;
  font-size: calc(14px + var(--desktop-type-offset, 0px));
  font-weight: 700;
  padding: 0 14px 0 0;
  box-shadow: 0 8px 22px rgba(74, 95, 130, 0.05);
}

.lead-request-eyebrow > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px 0 0 13px;
  background: linear-gradient(145deg, #086bf7, #6d4aff);
  color: white;
}

.lead-request-eyebrow svg { width: 17px; height: 17px; }
.lead-request-intro h2 {
  max-width: 500px;
  margin: 0;
  color: var(--heading, #0b3558);
  font-size: calc(clamp(36px, 3.2vw, 48px) + var(--desktop-type-offset, 0px));
  font-weight: var(--type-h2-weight, 650);
  letter-spacing: var(--type-h2-tracking, -0.035em);
  line-height: var(--type-h2-leading, 1.08);
}

.lead-request-intro h2 span {
  display: inline-block;
  overflow: visible;
  background: linear-gradient(110deg, #1675f5 8%, #7646f5 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}

.lead-request-description {
  max-width: 480px;
  margin: 22px 0 0;
  color: #596f8b;
  font-size: calc(var(--type-body-size, 16px) + var(--desktop-type-offset, 0px));
  font-weight: 500;
  line-height: 1.58;
}

.lead-request-service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(185, 202, 224, 0.55);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 255, 0.9));
  color: #0b6cff;
  box-shadow: 0 8px 22px rgba(65, 92, 133, 0.06);
}
.lead-request-form { align-self: center; min-width: 0; padding-top: 10px; }
.lead-request-fields { display: grid; gap: 18px; }
.lead-request-fields--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lead-request-form label { color: #0b3558; font-size: calc(14px + var(--desktop-type-offset, 0px)); font-weight: 700; }
.lead-request-fields label > span { position: relative; display: block; margin-top: 10px; }
.lead-request-fields svg { position: absolute; top: 50%; right: 18px; width: 21px; height: 21px; color: #9aaec7; transform: translateY(-50%); pointer-events: none; }
.lead-request-form input[type="text"],
.lead-request-form textarea {
  width: 100%;
  border: 1px solid rgba(179, 199, 224, 0.68);
  border-radius: 14px;
  outline: 0;
  background: rgba(255, 255, 255, 0.76);
  color: #0b3558;
  font: 500 calc(16px + var(--desktop-type-offset, 0px))/1.4 var(--font-body, sans-serif);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.lead-request-form input[type="text"] { height: 52px; padding: 0 48px 0 16px; }
.lead-request-form input::placeholder,
.lead-request-form textarea::placeholder { color: #9aabc1; opacity: 1; }
.lead-request-form input[type="text"]:focus,
.lead-request-form textarea:focus { border-color: #347cff; background: white; box-shadow: 0 0 0 4px rgba(52, 124, 255, 0.1); }

.lead-request-services {
  margin: 24px 0 0;
  border: 0;
  padding: 0;
}
.lead-request-services legend {
  margin: 0 0 10px;
  padding: 0;
  color: #0b3558;
  font-size: calc(14px + var(--desktop-type-offset, 0px));
  font-weight: 700;
}
.lead-request-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.lead-request-service-grid > label {
  position: relative;
  display: grid;
  min-height: 82px;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(179, 199, 224, 0.58);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 34px 10px 10px;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.lead-request-service-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.lead-request-services strong { color: #0b3558; font-size: calc(14px + var(--desktop-type-offset, 0px)); font-weight: 700; line-height: 1.4; }
.lead-request-service-icon { width: 42px; height: 42px; border: 0; box-shadow: none; }
.lead-request-service-icon svg { width: 21px; height: 21px; }
.lead-request-services i { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border: 1.5px solid #b5c4d7; border-radius: 5px; background: white; }
.lead-request-services input:checked ~ i { border-color: #357cff; background: #357cff; }
.lead-request-services input:checked ~ i::after { position: absolute; top: 2px; left: 5px; width: 5px; height: 9px; border: solid white; border-width: 0 2px 2px 0; content: ""; transform: rotate(45deg); }
.lead-request-service-grid > label:has(input:checked) { border-color: #357cff; background: rgba(249, 251, 255, 0.98); box-shadow: 0 0 0 2px rgba(53, 124, 255, 0.08); }
.lead-request-service-grid > label:has(input:focus-visible) { outline: 3px solid rgba(53, 124, 255, 0.24); outline-offset: 2px; }

.lead-request-message { display: block; margin-top: 22px; }
.lead-request-message textarea { display: block; min-height: 90px; margin-top: 10px; resize: vertical; padding: 14px 16px; }
.lead-request-submit {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(110deg, #126cf4, #7739f5);
  color: white;
  font: 700 calc(16px + var(--desktop-type-offset, 0px))/1 var(--font-body, sans-serif);
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(76, 57, 214, 0.18);
}
.lead-request-submit svg { width: 21px; height: 21px; }
.lead-request-submit:disabled { cursor: wait; opacity: 0.68; }
.lead-request-consent { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin-top: 14px; color: #7589a3; font-size: calc(12px + var(--desktop-type-offset, 0px)); font-weight: 500; line-height: 1.45; }
.lead-request-consent input { flex: 0 0 auto; width: 17px; height: 17px; margin: 0; accent-color: #2675f6; }
.lead-request-consent a { color: #116cf6; }
.lead-request-status { min-height: 22px; margin: 10px 0 0; color: #0b806b; font-size: calc(13px + var(--desktop-type-offset, 0px)); font-weight: 650; text-align: center; }
.lead-request-status.is-error { color: #c03b48; }
.lead-request-reopen { display: none; }
.lead-request-shell.is-collapsed { min-height: 0; grid-template-columns: 1fr; padding: 24px 28px; }
.lead-request-shell.is-collapsed .lead-request-intro,
.lead-request-shell.is-collapsed .lead-request-form,
.lead-request-shell.is-collapsed .lead-request-close { display: none; }
.lead-request-shell.is-collapsed .lead-request-reopen { display: flex; width: 100%; align-items: center; justify-content: center; gap: 12px; border: 0; background: transparent; color: #0b3558; font: 700 calc(17px + var(--desktop-type-offset, 0px))/1.3 var(--font-body, sans-serif); cursor: pointer; }
.lead-request-shell.is-collapsed .lead-request-reopen svg { width: 20px; height: 20px; color: #126cf4; }

@media (hover: hover) and (pointer: fine) {
  .lead-request-close:hover { border-color: #8da9c9; background: white; }
  .lead-request-service-grid > label:hover { border-color: rgba(53, 124, 255, 0.48); background: white; }
  .lead-request-submit:hover { box-shadow: 0 22px 46px rgba(76, 57, 214, 0.25); transform: translateY(-1px); }
}

@media (max-width: 1120px) {
  .lead-request-shell { min-height: 0; grid-template-columns: 1fr; gap: 36px; }
  .lead-request-intro { display: block; }
  .lead-request-eyebrow { width: fit-content; }
  .lead-request-description { margin-top: 24px; }
  .lead-request-form { padding-top: 0; }
}

@media (max-width: 720px) {
  .lead-request-section { padding: 28px 12px; }
  .lead-request-shell { gap: 28px; border-radius: 24px; padding: 24px 16px 20px; }
  .lead-request-close { top: 16px; right: 16px; width: 40px; height: 40px; }
  .lead-request-intro { display: block; }
  .lead-request-eyebrow { min-height: 36px; margin-bottom: 22px; padding-right: 12px; }
  .lead-request-eyebrow > span { width: 36px; height: 36px; }
  .lead-request-intro h2 { max-width: calc(100% - 8px); font-size: clamp(30px, 9vw, 40px); }
  .lead-request-description { margin-top: 18px; font-size: 16px; }
  .lead-request-fields--two { grid-template-columns: 1fr; }
  .lead-request-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-request-service-grid > label { min-height: 78px; }
  .lead-request-form { padding-top: 0; }
  .lead-request-consent { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .lead-request-service-grid > label { min-height: 116px; grid-template-columns: 1fr; align-content: start; gap: 8px; padding: 12px 28px 12px 12px; }
  .lead-request-service-icon { width: 38px; height: 38px; }
  .lead-request-services strong { font-size: 14px; line-height: 1.25; }
}

@media (prefers-reduced-motion: reduce) {
  .lead-request-section *, .lead-request-section *::before, .lead-request-section *::after { scroll-behavior: auto !important; transition: none !important; }
}
