/* Społecznie odpowiedzialni – strona statyczna (tylko main) */
/* Kolory: ep-blue-700 #0057C9, ep-blue-900 #00479A, ep-gray-200 #F3F3F3, tło sekcji #f6f6f8 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #262626;
  background: #fff;
}

main.page {
  min-height: 100vh;
}

/* ----- Breadcrumbs ----- */
.breadcrumbs {
  background: #fff;
  color: #00479A;
}

.breadcrumbs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 12px 12px;
  display: flex;
  gap: 4px;
  align-items: center;
  overflow-x: auto;
  min-width: max-content;
}

.breadcrumbs-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00479A;
  text-decoration: none;
  white-space: nowrap;
}

.breadcrumbs-link:hover {
  opacity: 0.8;
}

.breadcrumbs-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.breadcrumbs-sep {
  color: #7D7D7D;
  margin: 0 4px;
}

.breadcrumbs-sep::before {
  content: ">";
}

.breadcrumbs-current {
  font-weight: 600;
  color: #00479A;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .breadcrumbs-inner {
    padding: 24px 16px;
    gap: 16px;
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  background: linear-gradient(to bottom, #0057C9 0%, #0057C9 25%, transparent 60%);
  min-height: 417px;
}

@media (min-width: 768px) {
  .hero {
    background: linear-gradient(to right, #0057C9 0%, #0057C9 20%, transparent 70%);
    min-height: auto;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
  min-height: 417px;
}

@media (min-width: 768px) {
  .hero-inner {
    padding: 140px 20px 140px;
  }
}

.hero-content {
  max-width: 275px;
  margin: 0 auto;
  padding-bottom: 32px;
  text-align: center;
  color: #fff;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 768px) {
  .hero-content {
    max-width: 640px;
    margin: 0;
    text-align: left;
    padding-bottom: 0;
    gap: 44px;
  }
}

.hero-title {
  margin: 0;
  font-size: 26px;
  line-height: 34px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 50px;
    line-height: 50px;
  }
}

.hero-subtitle {
  margin: 0;
  font-size: 16px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 20px;
  }
}

.hero-img {
  position: absolute;
  right: 0;
  bottom: 50%;
  transform: translateY(50%);
  height: 100%;
  width: 100%;
  max-width: 1536px;
  object-fit: cover;
  object-position: right bottom;
  z-index: -1;
}

.hero-img--desktop {
  display: none;
}

.hero-img--mobile {
  display: block;
}

@media (min-width: 768px) {
  .hero-img--desktop {
    display: block;
  }
  .hero-img--mobile {
    display: none;
  }
}

/* ----- Mission ----- */
.mission {
  background: #f6f6f8;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .mission {
    padding: 96px 0;
  }
}

.mission-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 12px;
}

.mission-heading {
  margin: 0 0 24px;
  text-align: center;
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1152d4;
}

@media (min-width: 768px) {
  .mission-heading {
    margin-bottom: 32px;
  }
}

.mission-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  font-size: 20px;
  line-height: 30px;
  color: #515151;
}

@media (min-width: 768px) {
  .mission-text {
    gap: 32px;
  }
}

.mission-text p {
  margin: 0;
}

/* ----- Impact stats ----- */
.impact {
  border-top: 1px solid #f3f4f6;
  background: #fff;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .impact {
    padding: 80px 0;
  }
}

.impact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .impact-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.impact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.impact-value {
  font-size: 40px;
  font-weight: 600;
  line-height: 50px;
  color: #1152d4;
}

.impact-label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #515151;
}

/* ----- Four pillars ----- */
.pillars {
  background: #f6f6f8;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .pillars {
    padding: 96px 0;
  }
}

.pillars-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
}

.pillars-heading {
  margin: 0 0 16px;
  text-align: center;
  font-size: 40px;
  line-height: 50px;
  font-weight: 500;
  color: #0d121b;
}

@media (min-width: 768px) {
  .pillars-heading {
    margin-bottom: 24px;
  }
}

.pillars-intro {
  max-width: 768px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 20px;
  line-height: 30px;
  color: #4b5563;
}

@media (min-width: 768px) {
  .pillars-intro {
    margin-bottom: 48px;
  }
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: max-content;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Pillar card */
.pillar-card {
  max-width: 302px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  background: #fff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.pillar-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.pillar-card:focus {
  outline: none;
  box-shadow: 0 0 0 2px #00479A;
}

.pillar-card-img-wrap {
  position: relative;
  height: 142px;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.pillar-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 24px 32px 32px;
}

.pillar-card-title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: #262626;
}

.pillar-card-desc {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: #515151;
}

.pillar-card-link {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #00479a;
}

.pillar-card-chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* ----- Values ----- */
.values {
  border-top: 1px solid #f3f4f6;
  background: #fff;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .values {
    padding: 96px 0;
  }
}

.values-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .values-inner {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 48px;
  }
}

.values-item {
  flex: 1;
  display: flex;
  gap: 24px;
  min-width: 0;
}

@media (min-width: 768px) {
  .values-item {
    max-width: 395px;
  }
}

.values-icon-wrap {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eff6ff;
}

.values-icon-wrap svg {
  width: 36px;
  height: 36px;
}

.values-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.values-title {
  margin: 0;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: #111827;
}

.values-desc {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: #515151;
}
