/* О НАС: знакомство → текст и видение слева → команда справа → направления → кнопки.
   Содержимое основной страницы редактируется в o-nas/index.html. */
.about-page .page-hero { padding: 30px 0 24px; }
.about-page .page-hero h1 { margin: 0; font-size: clamp(40px, 5vw, 58px); }
.about-introduction { padding: 34px 0 40px; }
.about-intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: 38px; }
.about-description { margin: 0 0 26px; font-family: var(--serif); color: var(--ink); font-size: clamp(23px, 2.4vw, 29px); line-height: 1.45; }
.about-description strong { font-weight: 700; }
.about-vision h2 { margin-bottom: 14px; font-size: 29px; }
.about-vision p { margin: 0; font-size: 16px; line-height: 1.85; }
.about-team h2 { margin: 0 0 8px; font-size: 31px; }
.about-team-subtitle { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.about-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.about-team-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.about-team-card img { width: 100%; height: 160px; object-fit: cover; object-position: center top; }
.about-team-card div { padding: 12px; }
.about-team-card h3 { margin: 0 0 6px; font-family: var(--sans); font-size: 14px; font-weight: 700; line-height: 1.4; }
.about-team-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

/* 01. Семь направлений по часовой стрелке; курсы находятся наверху. */
.about-directions { padding: 34px 0 42px; border-top: 1px solid var(--line); background: #fff; }
.about-directions h2 { margin: 0 0 28px; font-size: clamp(32px, 3.6vw, 43px); text-align: center; }
.ministry-wheel { position: relative; width: min(620px, 100%); aspect-ratio: 1; margin: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle, #fff 0 28%, var(--line) 28.1% 28.45%, transparent 28.6%), repeating-conic-gradient(from -25.714deg, #eaf3f8 0deg 50.3deg, #fff 50.3deg 51.4286deg); }
/* НАЗВАНИЕ В ЦЕНТРЕ: все три слова одного цвета и размера. */
.ministry-center { position: absolute; left: 50%; top: 50%; width: 27%; transform: translate(-50%, -50%); color: var(--ink); font-size: 25px; font-weight: 700; line-height: 1.2; text-align: center; }
.ministry-item { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 27%; height: 20%; gap: 7px; transform: translate(-50%, -50%); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.25; text-align: center; border-radius: 9px; }
.ministry-item svg { width: 36px; height: 36px; flex-shrink: 0; fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ministry-item[href]:hover { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.ministry-item[href]:focus-visible, .about-actions a:focus-visible { outline: 3px solid var(--g5); outline-offset: 3px; }
.ministry-1 { left: 50%; top: 14%; }
.ministry-2 { left: 78%; top: 27.5%; }
.ministry-3 { left: 85.1%; top: 58%; }
.ministry-4 { left: 65.6%; top: 82.4%; }
.ministry-5 { left: 34.4%; top: 82.4%; }
.ministry-6 { left: 14.9%; top: 58%; }
.ministry-7 { left: 22%; top: 27.5%; }

/* 02. Кнопки после схемы: контакты слева, поддержка справа. */
.about-actions { display: flex; justify-content: center; gap: 14px; margin-top: 30px; }
.about-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 10px 22px; border: 1px solid var(--sky); border-radius: 99px; color: var(--sky); font-size: 13px; font-weight: 600; text-align: center; line-height: 1.4; }
.about-actions .about-support { color: #fff; background: linear-gradient(110deg, var(--g1), var(--g3)); border-color: var(--g3); }
.about-actions a:hover { background: var(--pale); }
.about-actions .about-support:hover { background: var(--g2); }

/* 03. Телефоны: текст перед командой, затем адаптированная схема. */
@media (max-width: 850px) { .about-intro-grid { grid-template-columns: 1fr; gap: 30px; } .about-team-card img { height: 145px; } }
@media (max-width: 540px) { .about-introduction { padding: 28px 0; } .about-team-card img { height: 100px; } .about-team-card div { padding: 10px; } .about-team-card h3 { font-size: 13px; } .about-directions { padding: 28px 0 34px; } .ministry-center { font-size: clamp(14px, 4.1vw, 22px); } .ministry-item { height: auto; min-height: 20%; font-size: clamp(9px, 2.55vw, 13px); gap: 4px; line-height: 1.18; } .ministry-item svg { width: 25px; height: 25px; } .about-actions { gap: 10px; margin-top: 24px; } .about-actions a { flex: 1; padding: 9px 10px; font-size: 12px; } }
