/* About page — company profile layout */

.about-hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
}

.about-hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  letter-spacing: -0.02em;
}

.about-hero__cn {
  display: block;
  margin-top: 0.25rem;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  color: var(--text-muted);
}

.about-hero__tagline {
  margin: 0.75rem auto 0;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.about-stat {
  min-width: 8.5rem;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.about-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1.15;
}

.about-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.about-section__head {
  margin-bottom: 1.5rem;
}

.about-section__head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.about-section__head p {
  margin: 0;
  max-width: 42rem;
  color: var(--text-muted);
}

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

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

  .about-split--reverse .about-split__media {
    order: 2;
  }
}

.about-split__media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-prose--solo {
  max-width: 46rem;
}

.about-prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.about-contact-card {
  display: grid;
  gap: 1.25rem;
  max-width: 520px;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

@media (min-width: 640px) {
  .about-contact-card {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

.about-contact-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.about-contact-card__avatar--photo {
  padding: 0;
  overflow: hidden;
  background: #f1f5f9;
}

.about-contact-card__avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.about-contact-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.about-contact-card__role {
  margin: 0.15rem 0 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-contact-card__badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-media-grid {
  display: grid;
  gap: 1rem;
}

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

.about-media-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f172a;
  aspect-ratio: 16 / 10;
}

.about-media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.about-media-tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.about-qa-grid {
  display: grid;
  gap: 1rem;
}

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

.about-qa-card {
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.about-qa-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.about-qa-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.about-qa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-qa-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  transition: border-color 0.15s, background 0.15s;
}

.about-qa-actions a:hover {
  border-color: var(--accent);
  background: #f0f7ff;
}

.about-certs-grid {
  display: grid;
  gap: 1.25rem;
}

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

@media (min-width: 1024px) {
  .about-certs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-cert {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.about-cert:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.about-cert__thumb {
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  cursor: zoom-in;
}

.about-cert__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 0.5rem;
}

.about-cert__body {
  padding: 1rem 1.1rem 1.15rem;
}

.about-cert__body h3 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  line-height: 1.35;
}

.about-cert__sub {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

.about-cert__body p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-award-banner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.5rem;
  border-radius: 18px;
  border: 1px solid #fde68a;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.about-award-banner__icon {
  font-size: 2rem;
  line-height: 1;
}

.about-award-banner h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.about-award-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: #78350f;
  line-height: 1.55;
}

.about-icon-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .about-icon-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

.about-icon-card {
  padding: 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.about-icon-card__icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-icon-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.about-icon-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-cat-grid {
  display: grid;
  gap: 1rem;
}

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

.about-cat-card {
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.about-cat-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.about-cat-card__count {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.about-cat-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-community {
  display: grid;
  gap: 0.75rem;
}

.about-community a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 0.15s;
}

.about-community a:hover {
  border-color: var(--accent);
}

.about-community a strong {
  display: block;
  font-size: 0.95rem;
}

.about-community a span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.about-community a em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.about-placeholder {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.85em;
  font-weight: 600;
}

.about-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.about-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.about-lightbox img {
  max-width: min(920px, 100%);
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.about-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
