/* B2B prefooter quote — industrial premium lead capture */
.b2b-quote-section {
  --bq-bg: #11141a;
  --bq-card: #1a1f29;
  --bq-panel: #1e232d;
  --bq-accent: #e85a19;
  --bq-accent-hover: #d04f14;
  --bq-accent-ring: rgba(232, 90, 25, 0.4);
  --bq-text: #ffffff;
  --bq-muted: #94a3b8;
  --bq-border: rgba(148, 163, 184, 0.22);
  position: relative;
  overflow: hidden;
  background: var(--bq-bg);
  color: var(--bq-text);
  padding: 64px 0 72px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.b2b-quote-section__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
}

.b2b-quote-section__glow--accent {
  top: -80px;
  right: -40px;
  width: 500px;
  height: 500px;
  background: var(--bq-accent);
  opacity: 0.11;
}

.b2b-quote-section__glow--cool {
  bottom: -60px;
  left: -40px;
  width: 300px;
  height: 300px;
  background: #64748b;
  opacity: 0.14;
  filter: blur(100px);
}

.b2b-quote-section__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.b2b-quote-section__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.b2b-quote-section__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .b2b-quote-section__layout {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }
}

.b2b-quote-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(232, 90, 25, 0.1);
  border: 1px solid rgba(232, 90, 25, 0.3);
  color: var(--bq-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.b2b-quote-section__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bq-accent);
  animation: b2b-quote-pulse 1.6s ease-in-out infinite;
}

@keyframes b2b-quote-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.45;
  }
}

.b2b-quote-section__title {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--bq-text);
}

.b2b-quote-section__lead {
  margin: 0 0 28px;
  max-width: 60rem;
  font-size: 16px;
  line-height: 1.6;
  color: #cbd5e1;
}

.b2b-quote-section__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

@media (min-width: 560px) {
  .b2b-quote-section__facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.b2b-quote-section__fact-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--bq-text);
}

.b2b-quote-section__fact-value--accent {
  color: var(--bq-accent);
}

.b2b-quote-section__fact-text {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
  font-weight: 500;
}

.b2b-quote-section__hotline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 24px;
  font-size: 12px;
  color: var(--bq-muted);
}

.b2b-quote-section__hotline a {
  color: var(--bq-text);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.b2b-quote-section__hotline a:hover,
.b2b-quote-section__hotline a:focus-visible {
  color: var(--bq-accent);
}

.b2b-quote__card {
  background: var(--bq-card);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

@media (min-width: 560px) {
  .b2b-quote__card {
    padding: 32px;
  }
}

.b2b-quote__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.b2b-quote__config-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bq-muted);
}

.b2b-quote__config-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--bq-accent);
  background: rgba(232, 90, 25, 0.1);
  border: 1px solid rgba(232, 90, 25, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
}

.b2b-quote__label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
}

.b2b-quote__req {
  color: var(--bq-accent);
}

.b2b-quote__input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: var(--bq-bg);
  color: var(--bq-text);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.b2b-quote__input::placeholder {
  color: #64748b;
}

.b2b-quote__input:focus {
  outline: none;
  border-color: var(--bq-accent);
  box-shadow: 0 0 0 3px var(--bq-accent-ring);
}

.b2b-quote__input.is-invalid,
.b2b-quote__form .error {
  border-color: #f87171;
}

.b2b-quote__error {
  display: block;
  margin-top: 6px;
  color: #f87171;
  font-size: 12px;
}

.b2b-quote__error:empty {
  display: none;
}

.b2b-quote__check {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.b2b-quote__checkbox {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--bq-accent);
}

.b2b-quote__check-label {
  flex: 1 1 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--bq-muted);
  cursor: pointer;
}

.b2b-quote__check-label a {
  color: #e2e8f0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.b2b-quote__check-label a:hover {
  color: var(--bq-accent);
}

.b2b-quote__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 14px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--bq-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(232, 90, 25, 0.28);
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.b2b-quote__submit:hover {
  background: var(--bq-accent-hover);
}

.b2b-quote__submit:active {
  transform: scale(0.99);
}

.b2b-quote__submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--bq-accent-ring), 0 10px 28px rgba(232, 90, 25, 0.28);
}

.b2b-quote__submit.is-loading,
.b2b-quote__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.b2b-quote__submit.is-loading .b2b-quote__submit-idle,
.b2b-quote__submit:not(.is-loading) .b2b-quote__submit-loading {
  display: none;
}

.b2b-quote__submit.is-loading .b2b-quote__submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.b2b-quote__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: b2b-quote-spin 0.7s linear infinite;
}

@keyframes b2b-quote-spin {
  to {
    transform: rotate(360deg);
  }
}

.b2b-quote__legal {
  margin: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  color: var(--bq-muted);
}

.b2b-quote__legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.b2b-quote__legal a:hover {
  color: #e2e8f0;
}

.b2b-quote__success {
  text-align: center;
  padding: 28px 8px 12px;
}

.b2b-quote__success[hidden],
.b2b-quote__form-wrap[hidden] {
  display: none !important;
}

.b2b-quote__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
  font-size: 28px;
  font-weight: 900;
}

.b2b-quote__success-title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bq-text);
}

.b2b-quote__success-text {
  margin: 0 auto 20px;
  max-width: 22rem;
  font-size: 14px;
  line-height: 1.55;
  color: #cbd5e1;
}

.b2b-quote__again {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border: 0;
  border-radius: 10px;
  background: #334155;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.b2b-quote__again:hover {
  background: #475569;
}

@media (max-width: 420px) {
  .b2b-quote-section {
    padding: 48px 0 56px;
  }

  .b2b-quote-section__inner {
    width: calc(100% - 24px);
  }

  .b2b-quote__card {
    padding: 20px 16px;
  }

  .b2b-quote__submit {
    font-size: 13px;
    letter-spacing: 0.04em;
  }
}
