/* Sekcja Kancelaria w liczbach */
.kancelaria-liczby-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 30px 30px;
  width: 100%;
  max-width: 1352px;
  margin: 80px auto;
}

.kancelaria-liczby-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
  width: 100%;
  max-width: 1292px;
}

/* Header */
.kancelaria-liczby-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 0;
  width: 100%;
}

.kancelaria-liczby-header h2 {
  font-family: 'Trirong', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 58px;
  line-height: 80px;
  color: #212121;
  margin: 0;
}

/* Stats Container */
.kancelaria-liczby-stats {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  width: 100%;
  gap: 0;
}

/* Pojedyncza statystyka */
.stat-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  gap: 8px;
  flex: 1;
  height: 190px;
  box-sizing: border-box;
}

.stat-box-border {
  border-right: 1px solid #212121;
}

.stat-label {
  font-family: 'Trirong', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 42px;
  text-align: center;
  color: #212121;
  width: 100%;
  margin: 0;
}

.stat-number {
  font-family: 'Trirong', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 96px;
  line-height: 80px;
  text-align: center;
  color: #148EFF;
  width: 100%;
  margin: 0;
}

/* Divider */
.kancelaria-liczby-divider {
  width: 100%;
  height: 1px;
  background-color: #212121;
  border: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .kancelaria-liczby-header h2 {
    font-size: 48px;
    line-height: 60px;
  }
  
  .stat-number {
    font-size: 72px;
  }
  
  .stat-label {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .kancelaria-liczby-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-box-border {
    border-right: none;
    border-bottom: 1px solid #212121;
  }
  
  .stat-box:last-child {
    border-bottom: none;
  }
  
  .kancelaria-liczby-header h2 {
    font-size: 36px;
    line-height: 48px;
  }
  
  .stat-number {
    font-size: 64px;
  }
}


/* banki */


/* Sekcja Banki z którymi wygraliśmy */
.banki-wygralismy-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 30px;
  width: 100%;
  max-width: 1352px;
  margin: 0 auto;
}

.banki-wygralismy-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 30px;
  width: 100%;
  margin-bottom:30px;
}

/* Header */
.banki-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 30px;
  gap: 80px;
  width: 100%;
}

.banki-header h2 {
  font-family: 'Trirong', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 58px;
  line-height: 80px;
  color: #212121;
  margin: 0;
  width: 100%;
  max-width: 1292px;
}

/* Content Container */
.banki-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 30px;
  gap: 85px;
  width: 100%;
}

/* Grid */
.banki-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 30px;
  width: 100%;
  max-width: 1292px;
}

/* Bank Row */
.bank-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 30px;
  width: 100%;
}

/* Bank Tab/Button */
.bank-tab {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 23px 20px;
  gap: 8px;
  flex: 1;
  height: 88px;
  border: 1px solid #212121;
  border-radius: 20px;
  box-sizing: border-box;
  
  font-family: 'Trirong', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 42px;
  text-transform: capitalize;
  color: #212121;
  text-align: center;
  
  transition: all 0.3s ease;
}

.bank-tab:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ostatni rząd z dwoma bankami */
.bank-row-partial {
  justify-content: flex-start;
}

.bank-row-partial .bank-tab {
  flex: 0 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
}

/* Divider */
.banki-divider {
  width: 100%;
  max-width: 1292px;
  height: 1px;
  background-color: #212121;
  border: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .banki-header h2 {
    font-size: 48px;
    line-height: 60px;
  }
  
  .bank-tab {
    font-size: 20px;
    line-height: 36px;
    padding: 20px 15px;
  }
}

@media (max-width: 768px) {
  .bank-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .bank-tab {
    width: 100%;
    flex: none;
    max-width: none;
  }
  
  .bank-row-partial .bank-tab {
    flex: none;
    max-width: none;
    width: 100%;
  }
  
  .banki-header h2 {
    font-size: 36px;
    line-height: 48px;
  }
  
  .bank-tab {
    font-size: 18px;
    line-height: 32px;
    height: auto;
    min-height: 70px;
  }
  
  .banki-header {
    padding: 20px;
  }
  
  .banki-content {
    padding: 20px;
    gap: 50px;
  }
  
  .banki-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .banki-header h2 {
    font-size: 28px;
    line-height: 40px;
  }
  
  .bank-tab {
    font-size: 16px;
    line-height: 28px;
    padding: 15px 10px;
  }
}

/* Sekcja Publikacje */
.publikacje-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 30px 30px 40px;
  gap: 80px;
  width: 100%;
  max-width: 1352px;
  margin: 50px auto;
}

.publikacje-container {
  width: 100%;
  max-width: 1292px;
}

.publikacje-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 80px;
  width: 100%;
}

.publikacje-image {
  flex: none;
  width: 303px;
  height: 303px;
  padding-left: 80px;
}

.publikacje-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.publikacje-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 1;
  max-width: 829px;
}

.publikacje-header h2 {
  font-family: 'Trirong', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 58px;
  line-height: 80px;
  color: #212121;
  margin: 0;
}

.publikacje-description p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 23px;
  color: #646464;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .publikacje-content {
    gap: 40px;
  }
  
  .publikacje-image {
    padding-left: 40px;
  }
  
  .publikacje-header h2 {
    font-size: 48px;
    line-height: 60px;
  }
}

@media (max-width: 768px) {
  .publikacje-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .publikacje-image {
    padding-left: 0;
    width: 100%;
    max-width: 303px;
    height: auto;
    margin: 0 auto;
  }
  
  .publikacje-header h2 {
    font-size: 36px;
    line-height: 48px;
  }
  
  .publikacje-description p {
    font-size: 16px;
    line-height: 21px;
  }
}



/* Services tab font size */
.services-tab { font-size: 12px !important; }