/* «О компании» (/about) и блок «Как добраться» на /contacts. ТЗ «этап 2», п. 2.1 и 2.6, 05.10.2026.
   Язык сайта: Gilroy, фон #f5f5f5, белые карточки радиус 20, акцент #8f42ec,
   шкала шрифтов как в typo-2026.css: h1 48/32, h2 32/26, лид 18/16, h3 20/18, текст 16/15, мелкий 14/13.
   Секции чередуют фон (#f5f5f5 / #fff), поля 72/44. */
.w2ab{ font-family: 'Gilroy', Arial, sans-serif; color:#131727; }
.w2ab__in{ max-width:1240px; margin:0 auto; padding:0 20px; box-sizing:border-box; }
.w2ab__hero{ padding:56px 0 48px; background:#f5f5f5; }
.w2ab__crumbs{ display:flex; flex-wrap:wrap; gap:8px; font-size:14px; color:#56566a; margin-bottom:20px; }
.w2ab__crumbs a{ color:#56566a; text-decoration:none; }
.w2ab__crumbs a:hover{ color:#8f42ec; }
.w2ab__h1{ font-size:48px; line-height:1.15; font-weight:600; margin:0; color:#131727; }
.w2ab__lead{ font-size:18px; line-height:1.55; color:#56566a; margin:16px 0 0; max-width:760px; }
.w2ab__sec{ padding:72px 0; background:#fff; scroll-margin-top:90px; }
.w2ab__sec:nth-of-type(odd){ background:#f5f5f5; }
.w2ab__card{ border:1px solid #e6e6ef; border-radius:20px; padding:32px; background:#fff; box-sizing:border-box; }
.w2ab__sec:nth-of-type(even) .w2ab__card{ background:#f5f5f5; border-color:transparent; }
.w2ab__h2{ font-size:32px; line-height:1.22; font-weight:600; margin:0 0 36px; color:#131727; }
.w2ab__text{ font-size:16px; line-height:1.65; color:#3f3f49; max-width:900px; }
.w2ab__text p{ margin:0 0 16px; }
.w2ab__text p:last-child{ margin-bottom:0; }

.w2ab__team{ display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:24px; }
.w2ab__person{ margin:0; background:#fff; border:1px solid #e6e6ef; border-radius:20px; overflow:hidden; }
.w2ab__person img, .w2ab__noimg{ display:block; width:100%; aspect-ratio:4/5; object-fit:cover; background:#eee9f8; }
.w2ab__person .w2ab__noimg{ display:flex; align-items:center; justify-content:center; font-size:56px; font-weight:600; color:#8f42ec; }
.w2ab__person figcaption{ padding:18px 20px 20px; }
.w2ab__person b{ display:block; font-size:20px; line-height:1.3; font-weight:600; color:#131727; }
.w2ab__person figcaption span{ display:block; margin-top:6px; font-size:14px; line-height:1.45; color:#56566a; }

.w2ab__gallery{ display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:20px; }
.w2ab__shot{ display:block; position:relative; border-radius:20px; overflow:hidden; background:#e6e6ef; }
.w2ab__shot img{ display:block; width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .3s ease; }
.w2ab__shot:hover img{ transform:scale(1.03); }
.w2ab__shot span{ position:absolute; left:12px; bottom:12px; right:12px; padding:8px 12px; border-radius:10px;
  background:rgba(255,255,255,.92); font-size:14px; line-height:1.4; color:#131727; }

.w2ab__certs{ display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:20px; }
.w2ab__cert{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:24px;
  background:#fff; border:1px solid #e6e6ef; border-radius:20px; text-decoration:none; color:#131727; min-height:160px;
  transition:border-color .2s, box-shadow .2s; }
a.w2ab__cert:hover{ border-color:#8f42ec; box-shadow:0 10px 28px rgba(143,66,236,.12); }
.w2ab__cert img{ display:block; max-width:100%; max-height:180px; object-fit:contain; }
.w2ab__cert span{ font-size:14px; line-height:1.4; text-align:center; color:#3f3f49; }

.w2ab__reqs{ margin:0; max-width:900px; }
.w2ab__reqs div{ display:grid; grid-template-columns:240px 1fr; gap:16px; padding:14px 0; border-top:1px solid #e6e6ef; }
.w2ab__reqs div:first-child{ border-top:0; padding-top:0; }
.w2ab__reqs div:last-child{ padding-bottom:0; }
.w2ab__reqs dt{ font-size:14px; color:#56566a; margin:0; }
.w2ab__reqs dd{ font-size:16px; color:#131727; margin:0; word-break:break-word; }

/* «Как добраться» на /contacts (п. 2.6) — под картой */
.w2-route{ margin:24px 0 0; display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:start;
  background:#fff; border:1px solid #e6e6ef; border-radius:20px; padding:32px; font-family:'Gilroy', Arial, sans-serif; }
.w2-route--solo{ grid-template-columns:1fr; }
.w2-route__title{ font-size:20px; line-height:1.3; font-weight:600; color:#131727; margin:0 0 14px; }
.w2-route__text{ font-size:16px; line-height:1.65; color:#3f3f49; }
.w2-route__text p{ margin:0 0 12px; }
.w2-route__text p:last-child{ margin-bottom:0; }
.w2-route__photo{ display:block; border-radius:16px; overflow:hidden; background:#e6e6ef; }
.w2-route__photo img{ display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }

@media (max-width:767px){
  .w2ab__hero{ padding:32px 0; }
  .w2ab__h1{ font-size:32px; }
  .w2ab__lead{ font-size:16px; }
  .w2ab__sec{ padding:44px 0; }
  .w2ab__h2{ font-size:26px; margin-bottom:28px; }
  .w2ab__card{ padding:20px; }
  .w2ab__text{ font-size:15px; }
  .w2ab__team{ grid-template-columns:repeat(2, 1fr); gap:12px; }
  .w2ab__person b{ font-size:18px; }
  .w2ab__person figcaption{ padding:12px 14px 14px; }
  .w2ab__gallery{ grid-template-columns:1fr; }
  .w2ab__certs{ grid-template-columns:repeat(2, 1fr); gap:12px; }
  .w2ab__cert{ padding:16px; min-height:120px; }
  .w2ab__reqs div{ grid-template-columns:1fr; gap:4px; }
  .w2ab__crumbs{ font-size:13px; }
  .w2-route{ grid-template-columns:1fr; padding:20px; gap:16px; }
  .w2-route__title{ font-size:18px; }
  .w2-route__text{ font-size:15px; }
}
