.brokers {
  background-color: rgb(36, 33, 29);
}

.brokers-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.brokers-left,
.brokers-right {
  width: 50%;
}

.brokers-title {
  font-size: 48px;
  color: rgb(244, 128, 0);
  margin-bottom: 20px;
}

.brokers-tagline {
  font-size: 28px;
  line-height: 1.3;
  color: #e6e6e6;
  margin-bottom: 20px;
}

.brokers-text {
  font-size: 20px;
  line-height: 1.7;
  color: #d0d0d0;
  margin-bottom: 40px;
}

.brokers-buttons {
  display: flex;
  gap: 20px;
}

.brokers-image-box {
  width: 100%;
  height: 320px;
  background-color: #222;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}

.brokers-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-access {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.brokers-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.brokers-links-inline a {
  color: #c9a86a;
  font-size: 18px;
  white-space: nowrap;
  transition: 0.2s ease;
}

.brokers-links-inline a:hover {
  color: #e6c98a;
}



/* ===========================
   TOP BROKERS — SECTION
=========================== */

.top-brokers {
    padding: 120px 0;
    background-color: rgb(30, 31, 32);
}

.top-brokers-inner {
    width: 100%;
}

/* Złota ramka + tytuł + opis */
.top-brokers-box {
    border: 1px solid #d29b52; /* złoto Quantisca */
    padding: 40px;
    margin-bottom: 60px;
    text-align: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);

    /* DODANE → wyrównuje szerokość do ALL BROKERS */
    width: 100%;
    box-sizing: border-box;
}


.top-brokers-box .brokers-title {
    color: #ff7a00; /* pomarańczowy jak w sekcjach */
    font-size: 36px;
    margin-bottom: 10px;
}

.top-brokers-box .brokers-tagline {
    color: #d0d0d0;
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* GRID 3 BROKERÓW */
.top-brokers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* KARTA BROKERA */
.top-broker-card {
    background: rgb(43, 44, 45);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: 0.3s ease;
}

.top-broker-card:hover {
    border-color: #ff7a00;
    transform: translateY(-4px);
}

.top-broker-name {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 10px;
}

.top-broker-desc {
    color: #cfcfcf;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Przyciski */
.top-broker-card .btn-small {
    display: inline-block;
    padding: 10px 20px;
    background: #ff7a00;
    color: #000;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s;
}

.top-broker-card .btn-small:hover {
    background: #ffa64d;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 992px) {
    .top-brokers-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-brokers-grid {
        grid-template-columns: 1fr;
    }
}


/* PARTNER FORM — FULL WIDTH + CENTERED */

.partner-form {
    max-width: 700px;        /* szerokość jak opis sekcji */
    margin: 0 auto;          /* wycentrowanie */
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.partner-form .filter-group {
    display: flex;
    flex-direction: column;
}

.partner-form label {
    color: #e6e6e6;
    font-size: 18px;
    margin-bottom: 8px;
}

.partner-form input,
.partner-form textarea {
    width: 100%;                     /* pełna szerokość */
    padding: 14px 18px;
    background: rgb(43, 44, 45);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    transition: 0.2s ease;
}

.partner-form input:focus,
.partner-form textarea:focus {
    border-color: #ff7a00;
    outline: none;
}

.partner-form button {
    width: 100%;
    padding: 16px;
    font-size: 20px;
    border-radius: 6px;
}

#apply .brokers-list-inner {
    text-align: center;
}

#apply .brokers-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
