.story-section,
.mission-vision-section,
.team-section {
  overflow-x: clip;
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-grid > * {
  min-width: 0;
}

.about-image {
  border-radius: 1.25rem;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--border);
}

.section-tag {
  display: inline-block;
  background: #e6f0ff;
  color: var(--primary);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-content h2 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.25;
}

.about-content p {
  margin: 0;
  color: var(--muted);
}

.about-content .lead {
  margin-bottom: 0.7rem;
  color: #344765;
  font-size: 1.06rem;
}

.stats-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.stat-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.stat-number {
  display: block;
  color: var(--primary);
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 800;
}

.stat-label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: #6a7c98;
  font-weight: 600;
}

.mv-grid,
.team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.mv-card,
.team-member {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.mv-card:hover,
.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.mv-card i {
  color: var(--primary);
  font-size: 1.45rem;
}

.mv-card h3 {
  margin: 0.8rem 0 0.45rem;
  font-size: 1.6rem;
  line-height: 1.2;
}

.mv-card p {
  margin: 0;
  color: var(--muted);
}

.section-header {
  text-align: center;
  margin-bottom: 1.3rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.45rem);
}

.team-member {
  padding: 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe7f5;
  border-radius: 1.2rem;
  box-shadow: 0 14px 36px rgba(16, 40, 84, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
}

.team-member-media {
  position: relative;
  overflow: hidden;
}

.team-member img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.team-member-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 22, 52, 0.7), rgba(8, 22, 52, 0.05) 52%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.team-social-links {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  gap: 0.55rem;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.team-social-links a {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.team-social-links a:hover,
.team-social-links a:focus-visible {
  transform: translateY(-2px);
  background: #1d63c6;
}

.team-member:hover {
  transform: translateY(-10px);
  border-color: #adcaf0;
  box-shadow: 0 24px 46px rgba(16, 40, 84, 0.18);
}

.team-member:hover img {
  transform: scale(1.06);
}

.team-member:hover .team-member-media::after,
.team-member:focus-within .team-member-media::after {
  opacity: 1;
}

.team-member:hover .team-social-links,
.team-member:focus-within .team-social-links {
  transform: translateY(0);
  opacity: 1;
}

.team-member-body {
  position: relative;
  padding: 1rem 1rem 1.1rem;
  background: #ffffff;
  z-index: 1;
  overflow-wrap: anywhere;
}

.team-role {
  display: inline-block;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d63c6;
  background: #e9f2ff;
}

.team-member h4 {
  margin: 0.75rem 0 0.25rem;
  font-size: 1.16rem;
  line-height: 1.25;
  word-break: break-word;
}

.team-member p {
  margin: 0;
  color: #61758f;
  font-size: 0.95rem;
  font-weight: 600;
}

.client-quote-band {
  background: #1b2a67;
  color: #ffffff;
  text-align: center;
  padding: clamp(3rem, 8vw, 4.8rem) 0;
}

.client-quote-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.15;
}

.client-quote-band p {
  margin: 1.15rem auto 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.65;
}

.faq-preview-section {
  background: #f2f4f8;
  border-top: 1px solid #d8deea;
  border-bottom: 1px solid #d8deea;
  padding: clamp(2.6rem, 7vw, 5rem) 0;
}

.faq-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.faq-preview-left h3 {
  margin: 0;
  color: #1b2a67;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.15;
}

.faq-preview-left p {
  margin: 1rem 0 0;
  max-width: 620px;
  color: #111827;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  line-height: 1.45;
}

.faq-preview-right p {
  margin: 0;
  color: #6b7280;
  font-size: clamp(1rem, 2.2vw, 1.9rem);
  line-height: 1.35;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mv-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .faq-preview-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .about-grid {
    gap: 1.2rem;
  }

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

  .team-member img {
    height: 260px;
  }

  .team-member:hover {
    transform: translateY(-4px);
  }
}
