/* ── BREADCRUMB BAR ── */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
}
.breadcrumb-bar .breadcrumb {
  margin: 0;
  background: none;
  padding: 0;
  font-size: 12.5px;
  flex-wrap: wrap;
}
.breadcrumb-item a {
  color: #035b8e;
  text-decoration: none;
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}
.breadcrumb-item.active {
  color: #6b7280;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: #9ca3af;
}
.copy-btn {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.copy-btn:hover {
  background: #f1f5f9;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: #065a8b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
  overflow-x: auto;
}
.trust-bar-inner {
  display: flex;
  gap: 60px;
  flex-wrap: nowrap;
  min-width: max-content;
  padding: 0 4px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}
.trust-item i {
  color: #fff;
  font-size: 13px;
}

/* ── MAIN CONTENT ── */
.main-content {
  padding: 24px 0 48px;
}

/* ── MAIN GRID ── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

/* ── FORM CARD ── */
.form-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}
.form-card-header {
  background: #f1f5f9;
  padding: 20px 24px 18px;
}
.form-card-header h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}
.form-card-header p {
  font-size: 13px;
  margin: 0;
}

.form-micro-trust {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.fmt {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}
.fmt i {
  color: #059669;
  font-size: 12px;
}

.kpi-strip {
  display: flex;
  align-items: center;
  margin-top: 12px;
  background: #fff;
  border-radius: 8px;
  padding: 10px 16px;
  flex-wrap: nowrap; /* prevent ugly mid-wrap */
  gap: 8px;
}

.kpi-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0; /* allows flex children to shrink below content size */
  align-items: center;
}

.kpi-val {
  font-size: clamp(14px, 4vw, 18px); /* shrinks fluidly on narrow screens */
  font-weight: 700;
  color: #035b8e;
  line-height: 1;
  white-space: nowrap;
}

.kpi-label {
  font-size: clamp(8px, 2.2vw, 10px);
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: center;
}

.kpi-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  padding: 0 4px;
}

.arrow-line {
  display: flex;
  align-items: center;
}

.arrow-track {
  width: 20px;
  height: 2px;
  background: #cbd5e1;
}

.arrow-head {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #cbd5e1;
}

.arrow-pct {
  font-size: clamp(10px, 3vw, 13px);
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.form-body {
  padding: 20px 24px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-group {
  margin-bottom: 12px;
}
.field-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}
.field-group label .req {
  color: #ef4444;
  margin-left: 2px;
}
.field-group .input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.field-group .input-wrap .fi {
  position: absolute;
  left: 11px;
  color: #9ca3af;
  font-size: 13px;
  pointer-events: none;
  z-index: 1;
}
.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  padding: 9px 12px 9px 34px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-family: "Inter", sans-serif;
  color: #1e293b;
  background: #fff;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #9ca3af;
}
.field-group textarea {
  padding-left: 34px;
  resize: none;
  height: 68px;
}
.select-wrapper {
  position: relative;
}
.select-wrapper::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #9ca3af;
  pointer-events: none;
}
.no-icon {
  padding-left: 12px !important;
}

.submit-btn {
  width: 100%;
  padding: 13px;
  background: #035b8e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.submit-btn:hover {
  background: #1e40af;
  transform: translateY(-1px);
}
.submit-btn:active {
  transform: translateY(0);
}
.submit-btn .btn-arrow {
  transition: transform 0.15s;
}
.submit-btn:hover .btn-arrow {
  transform: translateX(3px);
}

.form-disclaimer {
  font-size: 11px;
  color: #575b62;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 16px;
}
.form-disclaimer a {
  color: #3b82f6;
}
.divider {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 16px 0;
}

.alt-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.alt-btn {
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
}
.alt-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f2444;
}
.alt-btn.buy {
  color: #d97706;
  border-color: #fcd34d;
  background: #fffbeb;
}
.alt-btn.buy:hover {
  background: #fef3c7;
}

/* ── SIDEBAR ── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.included-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.included-card .ic-header {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 18px;
}
.included-card .ic-header h4 {
  font-size: 12px;
  font-weight: 700;
  color: #035b8e;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.included-card .ic-body {
  padding: 14px 18px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  color: #374151;
  line-height: 1.4;
}
.benefit-item:last-child {
  border-bottom: none;
}
.benefit-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #eff6ff;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.clients-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.clients-card .cc-header {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 18px;
}
.clients-card .cc-header h4 {
  font-size: 12px;
  font-weight: 700;
  color: #035b8e;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.clients-card .cc-body {
  padding: 14px 18px;
}
.owl-carousel-clients-logo .item {
  padding: 8px 12px;
}
.owl-carousel-clients-logo img {
  max-width: 110px;
  max-height: 38px;
  object-fit: contain;
  margin: 0 auto;
}

.trust-badges-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 14px 18px;
}
.badges-grid_1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: center;
}
.badges-grid_2 {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 12px;
}
.badges-grid_1 img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  opacity: 0.8;
}

.social-proof-banner {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.sp-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: #064e3b;
}
.sp-text strong {
  font-weight: 700;
}

/* ── VALIDATION ── */
input.is-invalid,
select.is-invalid {
  border-color: #ef4444 !important;
}
.invalid-msg {
  font-size: 11px;
  color: #ef4444;
  margin-top: 3px;
  display: none;
}
.field-group.has-error .invalid-msg {
  display: block;
}
.field-group.has-error input,
.field-group.has-error select {
  border-color: #ef4444 !important;
}

/* ── SELECT2 OVERRIDES ── */
.select2-container--default .select2-selection--single {
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  height: 38px !important;
  padding: 4px 8px !important;
  background: #fff !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px !important;
  font-size: 13px !important;
  color: #1e293b !important;
  padding-left: 22px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 5px !important;
}
span.select2.select2-container {
  width: 100% !important;
}
.select2-dropdown {
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}
.select2-search--dropdown input {
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  font-size: 13px !important;
}
.select2-results__option {
  font-size: 13px !important;
}
.select2-results__option--highlighted {
  background: #eff6ff !important;
  color: #1a56db !important;
}

/* ══════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════ */

/* ── Tablet: 768px – 1199px ── */
@media (max-width: 1199px) {
  .content-grid {
    grid-template-columns: 1fr 320px;
    gap: 18px;
  }
}

/* ── Below 992px: stack sidebar under form ── */
@media (max-width: 991px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  /* Sidebar becomes a 2-col grid of cards when stacked */
  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* "Trusted by" carousel card spans full width at bottom */
  .clients-card {
    grid-column: 1 / -1;
  }
}

/* ── Mobile: below 640px ── */
@media (max-width: 639px) {
  .main-content {
    padding: 16px 0 36px;
  }

  .form-card-header {
    padding: 16px;
  }
  .form-card-header h2 {
    font-size: 16px;
  }
  .form-card-header h2 img {
    width: 22px;
    height: 22px;
    margin-right: 6px;
  }

  .form-micro-trust {
    gap: 8px;
  }
  .fmt {
    font-size: 11px;
  }

  .form-body {
    padding: 16px;
  }

  /* All field rows go single column on mobile */
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .alt-actions {
    grid-template-columns: 1fr;
  }

  /* Sidebar back to single column on small mobile */
  .sidebar {
    grid-template-columns: 1fr;
  }
  .clients-card {
    grid-column: auto;
  }

  /* Trust bar scrolls horizontally on small screens */
  .trust-bar {
    padding: 8px 0;
  }

  /* Breadcrumb: hide middle items on very small screens */
  .breadcrumb-bar .d-flex {
    flex-wrap: wrap;
    gap: 6px;
  }

  .submit-btn {
    font-size: 14px;
    padding: 12px;
  }

  .social-proof-banner {
    padding: 10px 12px;
  }
  .sp-text {
    font-size: 12px;
  }
}

/* ── Very small (360px and below) ── */
@media (max-width: 375px) {
  .form-card-header h2 {
    font-size: 14.5px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .copy-btn {
    font-size: 11px;
    padding: 3px 9px;
  }
  .kpi-strip {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .kpi-arrow {
    flex-direction: row;
    gap: 6px;
  }
  .arrow-line {
    transform: rotate(90deg);
  }
}
