/* Сторінка «Про нас» (тема wg). Спирається на токени з theme.css. */

.pn-hero { padding: 20px 0 var(--sec); }
.pn-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.pn-hero__h1 { font-size: clamp(40px, 5.4vw, 76px); }
.pn-hero__grid--single { grid-template-columns: 1fr; }
.pn-hero__lead { max-width: 40ch; margin-bottom: 20px; }
.pn-hero__p { max-width: 58ch; }
.pn-hero__p + .pn-hero__p { margin-top: 14px; }
.pn-hero .stats { margin-top: 44px; }
.pn-hero__img img { width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--hdr) - 60px); object-fit: cover; object-position: 60% 50%; border-radius: 4px; background: var(--bg3); }

.pn-test__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.pn-test__video { width: min(400px, 100%); aspect-ratio: 9 / 16; max-height: calc(100svh - var(--hdr) - 48px); background: #000; border-radius: 4px; overflow: hidden; }
.pn-test__vid { width: 100%; height: 100%; object-fit: cover; background: #000; }
.pn-test__text .lead { max-width: 36ch; }
.pn-test__text p:not(.lead) { margin-top: 18px; max-width: 50ch; }
.pn-test__btn { margin-top: 32px; }

@media (max-width: 899px) {
  .pn-hero { padding-top: 14px; }
  .pn-hero__grid, .pn-test__grid { grid-template-columns: 1fr; }
  .pn-hero__img img { aspect-ratio: 4 / 3; }
  .pn-test__video { width: min(320px, 100%); max-height: none; margin: 0 auto; }
}


/* сертифікати на плівку */
.pn-cert__head { max-width: 760px; margin-bottom: 40px; }
.pn-cert__head .lead { max-width: 52ch; }
.pn-cert__head p:not(.lead) { margin-top: 14px; color: var(--muted); }
.pn-cert__list { max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 40px); }
.pn-cert__item { display: flex; flex-direction: column; gap: 18px; }
.pn-cert__open { display: block; width: 100%; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: #fff; cursor: zoom-in; }
.pn-cert__open img { width: 100%; aspect-ratio: 480 / 679; object-fit: cover; transition: transform .5s var(--ease); }
.pn-cert__open:hover img { transform: scale(1.02); }
.pn-cert__cls { font-size: clamp(40px, 4vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.pn-cert__name { margin-top: 10px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
.pn-cert__drop { margin-top: 6px; color: var(--muted); font-size: 17px; }
@media (max-width: 699px) {
  .pn-cert__list { grid-template-columns: 1fr; gap: 20px; }
  .pn-cert__item { flex-direction: row; align-items: center; gap: 16px; }
  .pn-cert__open { flex: 0 0 120px; }
  .pn-cert__cls { font-size: 36px; }
  .pn-cert__name { font-size: 18px; }
  .pn-cert__drop { font-size: var(--fs-small); }
}
