/* About page */

body {
  background: #fbfaf4;
}

.page-header {
  position: relative;
  padding: 36px 0 32px;
  background: linear-gradient(135deg, #f7fbf7 0%, #edf4ed 58%, #fbf4e6 100%);
  color: #1f3329;
  text-align: right;
  border-bottom: 1px solid #dfe7dc;
}

.page-header h1 {
  max-width: 760px;
  margin: 0 0 8px;
  color: #1f3329;
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
  font-weight: 900;
  line-height: 1.35;
}

.page-header p {
  max-width: 760px;
  margin: 0;
  color: #53645a;
  font-size: 1.02rem;
  line-height: 1.9;
  opacity: 1;
}

.about-header-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.about-header-highlights span {
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d9e3d6;
  border-radius: 8px;
  color: #274234;
}

.about-header-highlights strong {
  font-size: 0.92rem;
  font-weight: 850;
}

.about-header-highlights small {
  color: #637267;
  font-size: 0.8rem;
  line-height: 1.7;
}

.about-intro,
.team-section {
  padding: 58px 0;
  background: #fffdf8;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.about-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #e6ddcb;
  border-radius: 8px;
  background: #f3efe5;
  box-shadow: 0 18px 44px rgba(39, 66, 52, 0.12);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  inset-inline-end: 20px;
  inset-block-end: 20px;
  min-width: 118px;
  padding: 14px 18px;
  color: #ffffff;
  text-align: center;
  background: #2f5a45;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(31, 51, 41, 0.22);
}

.badge-number {
  margin-bottom: 4px;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.badge-text {
  font-size: 0.86rem;
  line-height: 1.5;
  opacity: 0.94;
}

.about-content {
  padding: 4px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  margin-bottom: 14px;
  padding: 4px 11px;
  color: #2f5a45;
  background: #edf6ee;
  border: 1px solid #d8e6d8;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.about-content h2,
.section-header h2,
.value-card h3,
.team-info h3 {
  color: #21362b;
}

.about-content h2,
.section-header h2,
.cta-content h2 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.45;
}

.lead {
  margin-bottom: 16px;
  color: #46594d;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 2;
}

.about-content p,
.section-header p,
.value-card p,
.feature-text p,
.team-bio,
.cta-content p {
  color: #627166;
  line-height: 1.9;
}

.about-content p {
  margin-bottom: 12px;
}

.about-features {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.feature-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px;
  background: #ffffff;
  border: 1px solid #e5eadf;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(38, 55, 46, 0.05);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #3f6b51;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 900;
}

.feature-text h4 {
  margin: 0 0 4px;
  color: #25392e;
  font-size: 1rem;
  font-weight: 850;
}

.feature-text p {
  margin: 0;
  font-size: 0.92rem;
}

.stats-section {
  padding: 50px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #20372d 0%, #48674f 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 20px 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(17, 31, 24, 0.14);
}

.stat-icon {
  font-size: 2rem;
  line-height: 1;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 950;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.92;
}

.values-section {
  padding: 58px 0;
  background: #f5f8f2;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-header .section-label {
  margin-bottom: 12px;
}

.section-header p {
  margin: 0;
  font-size: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card,
.team-card {
  background: #ffffff;
  border: 1px solid #e1e8dc;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(38, 55, 46, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.value-card {
  min-height: 220px;
  padding: 24px 22px;
  text-align: right;
}

.value-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  border-color: #cddbc8;
  box-shadow: 0 16px 34px rgba(38, 55, 46, 0.1);
}

.value-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: #f4efe2;
  border: 1px solid #e2d5bc;
  border-radius: 8px;
  font-size: 1.55rem;
}

.value-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1.6;
}

.value-card p {
  margin: 0;
  font-size: 0.94rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  overflow: hidden;
}

.team-image {
  height: 220px;
  overflow: hidden;
  background: #f3efe5;
}

.team-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.team-info {
  padding: 20px;
  text-align: right;
}

.team-info h3 {
  margin: 0 0 5px;
  font-size: 1.08rem;
  font-weight: 850;
}

.team-role {
  display: block;
  margin: 0 0 8px;
  color: #2f5a45;
  font-size: 0.9rem;
  font-weight: 800;
}

.team-bio {
  margin: 0;
  font-size: 0.92rem;
}

.cta-section {
  padding: 56px 0;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, #22382e 0%, #405d4a 100%);
}

.cta-content {
  max-width: 780px;
  margin: 0 auto;
}

.cta-content h2 {
  color: #ffffff;
}

.cta-content p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.03rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-section .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-section .btn:hover {
  transform: translateY(-2px);
}

.cta-section .btn-primary {
  color: #1f3329;
  background: #f3cf70;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.cta-section .btn-outline {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.cta-section .btn-outline:hover {
  color: #22382e;
  background: #ffffff;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .stats-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 28px 0 24px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .about-header-highlights span {
    min-width: min(100%, 220px);
    flex: 1 1 180px;
  }

  .about-intro,
  .values-section,
  .team-section,
  .cta-section {
    padding: 44px 0;
  }

  .stats-section {
    padding: 40px 0;
  }

  .about-image,
  .about-image img {
    min-height: 280px;
  }

  .stats-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 126px;
  }

  .cta-buttons {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-header p,
  .lead,
  .cta-content p {
    font-size: 0.96rem;
  }

  .feature-item {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 12px;
  }

  .feature-icon {
    width: 38px;
    height: 38px;
  }

  .experience-badge {
    inset-inline-end: 14px;
    inset-block-end: 14px;
  }
}
