/**
 * Bultix B2B lead forms — bayi / mikro ihracat
 */

.bx-lead-form {
  --bxl-ink: #1c2434;
  --bxl-muted: #5b6578;
  --bxl-line: rgba(28, 36, 52, 0.12);
  --bxl-orange: #e66e15;
  --bxl-orange-deep: #d45f0c;
  --bxl-navy: #152238;
  --bxl-white: #fff;
  --bxl-ok: #0f7a4a;
  --bxl-err: #b42318;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--bxl-ink);
}

.bx-lead-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bx-lead-form__head {
  margin-bottom: 20px;
}

.bx-lead-form__eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bxl-orange);
}

.bx-lead-form__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bx-lead-form__lead {
  margin: 0;
  color: var(--bxl-muted);
  line-height: 1.55;
  max-width: 58ch;
}

.bx-lead-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.bx-lead-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bx-lead-field--full {
  grid-column: 1 / -1;
}

.bx-lead-field span {
  font-size: 0.88rem;
  font-weight: 600;
}

.bx-lead-field span em {
  color: var(--bxl-orange);
  font-style: normal;
}

.bx-lead-field input,
.bx-lead-field textarea {
  width: 100%;
  border: 1px solid var(--bxl-line);
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  color: var(--bxl-ink);
  background: var(--bxl-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bx-lead-field input:focus,
.bx-lead-field textarea:focus {
  outline: none;
  border-color: rgba(230, 110, 21, 0.55);
  box-shadow: 0 0 0 3px rgba(230, 110, 21, 0.12);
}

.bx-lead-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 0;
  font-size: 0.84rem;
  color: var(--bxl-muted);
  line-height: 1.45;
}

.bx-lead-consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

.bx-lead-form__actions {
  margin-top: 18px;
}

.bx-lead-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bxl-orange) 0%, var(--bxl-orange-deep) 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 10px 24px rgba(230, 110, 21, 0.22);
}

.bx-lead-btn:hover {
  transform: translateY(-1px);
}

.bx-lead-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.bx-lead-form__status {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.bx-lead-form__status.is-success {
  color: var(--bxl-ok);
}

.bx-lead-form__status.is-error {
  color: var(--bxl-err);
}

.bx-lead-form--compact .bx-lead-form__grid {
  gap: 12px;
}

.bx-lead-form--compact .bx-lead-field input,
.bx-lead-form--compact .bx-lead-field textarea {
  padding: 10px 12px;
}

/* Homepage note — hero alti, yalnizca metin */
.bx-lead-home--note {
  background: #f8fafc;
  padding: clamp(18px, 2.5vw, 26px) 0;
  border-bottom: 1px solid rgba(28, 36, 52, 0.06);
}

.bx-lead-home__note {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.bx-lead-home__title {
  margin: 0 0 6px;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1c2434;
  line-height: 1.35;
}

.bx-lead-home__text {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
  font-weight: 400;
  color: #5b6578;
  line-height: 1.5;
}

/* Homepage block (legacy) */
.bx-lead-home {
  background: linear-gradient(180deg, #f7f5f1 0%, #eef1f5 100%);
  padding: clamp(28px, 4vw, 44px) 0 clamp(36px, 5vw, 52px);
  border-bottom: 1px solid rgba(28, 36, 52, 0.06);
}

.bx-lead-home__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 22px;
}

.bx-lead-home__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bxl-ink, #1c2434);
}

.bx-lead-home__head p {
  margin: 0;
  color: var(--bxl-muted, #5b6578);
  line-height: 1.55;
}

.bx-lead-home__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.bx-lead-home__tab {
  border: 1px solid rgba(28, 36, 52, 0.12);
  background: #fff;
  color: #1c2434;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bx-lead-home__tab.is-active {
  background: #152238;
  border-color: #152238;
  color: #fff;
}

.bx-lead-home__panels {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(28, 36, 52, 0.08);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 18px 40px rgba(21, 34, 56, 0.08);
}

.bx-lead-home__panel[hidden] {
  display: none !important;
}

/* Landing page section */
.bx-lead-section {
  padding: clamp(40px, 6vw, 72px) 0;
}

.bx-lead-section--partner {
  background: #fff;
}

.bx-lead-section--micro {
  background: linear-gradient(180deg, #fff 0%, #f3efe8 100%);
}

.bx-lead-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.bx-lead-section__copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bx-lead-section__copy p {
  margin: 0 0 14px;
  color: #5b6578;
  line-height: 1.6;
}

.bx-lead-section__card {
  background: #fff;
  border: 1px solid rgba(28, 36, 52, 0.08);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 16px 36px rgba(21, 34, 56, 0.07);
}

.bx-lead-section--micro .bx-lead-section__card {
  background: #fff;
}

.bx-lead-dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  .bx-lead-section__inner,
  .bx-lead-dual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bx-lead-form__grid {
    grid-template-columns: 1fr;
  }
}
