:root {
  --request-navy: #0f2d5c;
  --request-navy-deep: #091d3b;
  --request-blue: #0057d9;
  --request-blue-light: #2b7ff0;
  --request-orange: #ff7a00;
  --request-ink: #172b4d;
  --request-muted: #69758b;
  --request-line: #dce3ed;
  --request-surface: #f3f6fa;
  --request-success: #138a52;
  --request-danger: #cf3348;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--request-surface);
  color: var(--request-ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  top: 0;
  right: 0;
  left: 0;
  height: 390px;
  background:
    radial-gradient(circle at 78% 12%, rgba(71, 143, 255, 0.48), transparent 27%),
    linear-gradient(125deg, var(--request-navy-deep), #123f7d 54%, var(--request-blue));
  content: "";
}

body::after {
  position: fixed;
  z-index: -1;
  top: 70px;
  right: -160px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--request-navy);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.request-header {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 10px 2px;
}

.request-brand {
  position: relative;
  display: inline-flex;
  width: 224px;
  height: 64px;
  align-items: center;
  overflow: hidden;
}

.request-brand img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 224px;
  height: auto;
  transform: translateY(-50%);
}

.request-phone {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 15px 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: 0.2s ease;
}

.request-phone:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.request-phone svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.request-phone span,
.request-phone small {
  display: block;
}

.request-phone span {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.request-phone small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.64rem;
  font-weight: 600;
}

.request-main {
  width: min(1180px, calc(100% - 40px));
  margin: 10px auto 30px;
}

.request-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.68fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 26px 75px rgba(8, 30, 67, 0.24);
}

.request-intro {
  position: relative;
  display: flex;
  min-height: 690px;
  flex-direction: column;
  overflow: hidden;
  padding: 48px 38px 36px;
  background:
    radial-gradient(circle at 120% 5%, rgba(75, 153, 255, 0.68), transparent 31%),
    linear-gradient(155deg, var(--request-navy) 0%, var(--request-navy-deep) 100%);
  color: #fff;
}

.request-intro::before {
  position: absolute;
  top: 48px;
  left: 0;
  width: 4px;
  height: 42px;
  border-radius: 0 6px 6px 0;
  background: var(--request-orange);
  content: "";
}

.request-eyebrow {
  margin: 0 0 10px;
  color: var(--request-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.request-intro .request-eyebrow {
  color: #8dbbff;
}

.request-intro h1 {
  max-width: 330px;
  margin: 0;
  font-size: clamp(1.9rem, 2.7vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.request-lead {
  max-width: 325px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.75;
}

.request-coverage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.request-coverage svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--request-orange);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.request-coverage span,
.request-coverage small,
.request-coverage strong {
  display: block;
}

.request-coverage strong {
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
}

.request-coverage small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.62rem;
  font-weight: 600;
}

.request-form-panel {
  min-width: 0;
  padding: 40px 46px 34px;
}

.request-form-heading {
  margin-bottom: 25px;
}

.request-form-heading h2 {
  margin: 0;
  color: var(--request-navy);
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  letter-spacing: -0.035em;
}

.request-form-heading > p:last-child {
  margin: 7px 0 0;
  color: var(--request-muted);
  font-size: 0.78rem;
}

.request-progress {
  display: grid;
  grid-template-columns: auto minmax(20px, 1fr) auto minmax(20px, 1fr) auto;
  align-items: center;
  margin: 0 0 29px;
}

.request-progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #98a2b3;
  font-size: 0.68rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.request-progress-step i {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--request-line);
  border-radius: 9px;
  background: #fff;
  font-size: 0.68rem;
  font-style: normal;
}

.request-progress-step.active,
.request-progress-step.done {
  color: var(--request-navy);
}

.request-progress-step.active i {
  border-color: var(--request-blue);
  background: var(--request-blue);
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 87, 217, 0.2);
}

.request-progress-step.done i {
  border-color: #ccebdc;
  background: #eaf8f1;
  color: var(--request-success);
}

.request-progress b {
  height: 1px;
  margin: 0 12px;
  background: var(--request-line);
}

.request-progress b.done {
  background: #69c99a;
}

.request-step {
  animation: request-step-enter 0.25s ease both;
}

@keyframes request-step-enter {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.request-step-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f5;
}

.request-step-heading > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #edf4ff;
  color: var(--request-blue);
  font-size: 0.7rem;
  font-weight: 800;
}

.request-step-heading h3,
.request-step-heading p {
  margin: 0;
}

.request-step-heading h3 {
  color: var(--request-navy);
  font-size: 1rem;
}

.request-step-heading h3:focus {
  outline: none;
}

.request-step-heading p {
  margin-top: 3px;
  color: var(--request-muted);
  font-size: 0.7rem;
}

.request-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.request-field {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 7px;
  margin-bottom: 17px;
  color: var(--request-navy);
  font-size: 0.74rem;
  font-weight: 700;
}

.request-field em,
.request-privacy em {
  color: #8c96a8;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 500;
}

.request-field > small {
  margin-top: -1px;
  color: #8792a6;
  font-size: 0.64rem;
  font-weight: 500;
}

.request-field input,
.request-field select,
.request-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #d7dee9;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: var(--request-ink);
  font-size: 0.78rem;
  font-weight: 500;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.request-field textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.5;
}

.request-field input::placeholder,
.request-field textarea::placeholder {
  color: #a4adbc;
}

.request-field input:hover,
.request-field select:hover,
.request-field textarea:hover {
  border-color: #b8c4d6;
}

.request-field input:focus,
.request-field select:focus,
.request-field textarea:focus {
  border-color: var(--request-blue);
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.1);
}

.request-field input[aria-invalid="true"],
.request-field select[aria-invalid="true"],
.request-field textarea[aria-invalid="true"] {
  border-color: var(--request-danger);
  background: #fff8f9;
  box-shadow: 0 0 0 3px rgba(207, 51, 72, 0.08);
}

.request-upload {
  padding: 14px;
  border: 1px dashed #b9c9df;
  border-radius: 12px;
  background: #f8faff;
}

.request-upload input[type="file"] {
  min-height: 48px;
  padding: 7px;
  cursor: pointer;
  color: #647086;
  background: #fff;
  font-size: 0.7rem;
}

.request-upload input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 8px 11px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--request-blue);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.request-upload-feedback:empty {
  display: none;
}

.request-upload-feedback {
  color: var(--request-success) !important;
  font-weight: 700 !important;
}

.request-upload-feedback.error {
  color: var(--request-danger) !important;
}

.request-options {
  position: absolute;
  z-index: 20;
  top: calc(100% - 15px);
  right: 0;
  left: 0;
  max-height: 210px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--request-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(15, 45, 92, 0.16);
  list-style: none;
}

.request-options li {
  padding: 10px 11px;
  border-radius: 8px;
  color: #45536a;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
}

.request-options li:hover,
.request-options li.active {
  background: #edf4ff;
  color: var(--request-blue);
}

.request-options li.no-results {
  color: var(--request-muted);
  cursor: default;
}

.request-privacy {
  display: grid;
  gap: 11px;
  margin-top: 2px;
  padding: 16px;
  border: 1px solid #dce8f8;
  border-radius: 13px;
  background: #f7faff;
}

.request-privacy > strong {
  color: var(--request-navy);
  font-size: 0.73rem;
}

.request-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #647086;
  font-size: 0.67rem;
  line-height: 1.5;
}

.request-privacy input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 2px 0 0;
  accent-color: var(--request-blue);
}

.request-privacy a {
  color: var(--request-blue);
  font-weight: 800;
}

.request-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid #edf0f5;
}

.request-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 19px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  transition: 0.18s ease;
}

.request-button-primary {
  min-width: 148px;
  background: linear-gradient(135deg, var(--request-blue), var(--request-blue-light));
  color: #fff;
  box-shadow: 0 9px 20px rgba(0, 87, 217, 0.22);
}

.request-button-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 87, 217, 0.28);
}

.request-button-secondary {
  border: 1px solid var(--request-line);
  background: #fff;
  color: #536078;
}

.request-button-secondary:hover {
  border-color: #bdc8d8;
  background: #f7f9fc;
}

.request-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.request-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: request-spin 0.7s linear infinite;
}

.request-button.loading .request-spinner {
  display: inline-block;
}

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

.request-message {
  min-height: 0;
  margin-top: 15px;
  padding: 0;
  border-radius: 11px;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.5;
}

.request-message.success,
.request-message.error {
  padding: 12px 14px;
}

.request-message.success {
  border: 1px solid #bfe8d3;
  background: #edf9f3;
  color: var(--request-success);
}

.request-message.error {
  border: 1px solid #f2c3ca;
  background: #fff5f6;
  color: var(--request-danger);
}

.request-footer {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 0 2px 28px;
  color: #748096;
  font-size: 0.68rem;
  font-weight: 600;
}

.request-footer a {
  color: var(--request-blue);
  font-weight: 800;
  text-decoration: none;
}

.request-success-main {
  display: grid;
  width: min(720px, calc(100% - 40px));
  min-height: calc(100vh - 190px);
  place-items: center;
  margin: 4px auto 26px;
}

.request-success-card {
  width: 100%;
  padding: 52px 58px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 26px 75px rgba(8, 30, 67, 0.22);
  text-align: center;
}

.request-success-icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 22px;
  background: #eaf8f1;
  color: var(--request-success);
  box-shadow: 0 12px 25px rgba(19, 138, 82, 0.14);
}

.request-success-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.request-success-card h1 {
  margin: 0;
  color: var(--request-navy);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.request-success-number {
  display: inline-block;
  margin: 22px 0 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: #edf4ff;
  color: #516078;
  font-size: 0.8rem;
  font-weight: 700;
}

.request-success-number strong {
  color: var(--request-blue);
}

.request-success-copy {
  max-width: 500px;
  margin: 20px auto 0;
  color: var(--request-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.request-success-next {
  max-width: 510px;
  margin: 28px auto 0;
  padding: 18px 20px;
  border: 1px solid #e1e8f1;
  border-radius: 14px;
  background: #f7f9fc;
  text-align: left;
}

.request-success-next span {
  display: block;
  margin-bottom: 5px;
  color: var(--request-navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.request-success-next p {
  margin: 0;
  color: var(--request-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.request-success-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 22px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--request-blue), var(--request-blue-light));
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 87, 217, 0.24);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: 0.18s ease;
}

.request-success-button:hover {
  box-shadow: 0 13px 26px rgba(0, 87, 217, 0.3);
  transform: translateY(-1px);
}

.request-success-footer {
  padding-top: 0;
}

@media (max-width: 900px) {
  body::before {
    height: 300px;
  }

  .request-card {
    grid-template-columns: 1fr;
  }

  .request-intro {
    min-height: auto;
    padding: 30px 34px;
  }

  .request-intro h1,
  .request-lead {
    max-width: 680px;
  }

  .request-intro h1 {
    font-size: 2rem;
  }

  .request-lead {
    margin: 13px 0 18px;
  }

  .request-coverage {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  body::before {
    height: 240px;
  }

  .request-header,
  .request-main,
  .request-footer {
    width: min(100% - 24px, 1180px);
  }

  .request-header {
    min-height: 72px;
  }

  .request-brand img {
    width: 156px;
  }

  .request-brand {
    width: 156px;
    height: 49px;
  }

  .request-phone {
    padding: 9px;
  }

  .request-phone span {
    display: none;
  }

  .request-main {
    margin-top: 4px;
  }

  .request-card {
    border-radius: 21px;
  }

  .request-intro {
    padding: 24px 22px;
  }

  .request-intro h1 {
    font-size: 1.7rem;
  }

  .request-lead {
    font-size: 0.78rem;
    line-height: 1.6;
  }

  .request-form-panel {
    padding: 28px 20px 24px;
  }

  .request-success-main {
    width: min(100% - 24px, 720px);
    min-height: calc(100vh - 160px);
    margin-top: 4px;
  }

  .request-success-card {
    padding: 38px 22px;
    border-radius: 21px;
  }

  .request-success-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 21px;
    border-radius: 19px;
  }

  .request-success-card h1 {
    font-size: 2rem;
  }

  .request-success-copy {
    font-size: 0.82rem;
  }

  .request-success-next {
    padding: 16px;
  }

  .request-form-heading {
    margin-bottom: 22px;
  }

  .request-progress-step {
    gap: 0;
  }

  .request-progress-step span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .request-progress b {
    margin: 0 8px;
  }

  .request-field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .request-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .request-actions .request-button:only-child,
  .request-button[data-form-next]:not([hidden]) {
    grid-column: 2;
  }

  .request-button[data-form-submit] {
    grid-column: 2;
  }

  .request-button {
    width: 100%;
    min-width: 0;
  }

  .request-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
