/* ==========================================================================
   What the storefront has besides the catalog (site/extras.php, page.php): social buttons, ratings,
   forms, questions and answers, reviews, text pages, the floating «Связаться» button.
   Colours come from the look that is switched on (assets/theme-*.css); without one — the neutral ones.
   ========================================================================== */

:root {
    --xa: var(--accent, #1c1c1e);
    --xa-dark: var(--accent-dark, #000);
    --xa-soft: var(--accent-soft, #f2f2f4);
    --xa-softer: var(--accent-softer, #f7f7f8);
    --xa-line: var(--accent-line, #e5e5ea);
    --x-head: var(--serif, inherit);
    --x-star: #f5a623;
}

/* ---------- social buttons ---------- */

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials__a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c, var(--xa)); color: #fff; transition: transform .25s var(--spring, ease), box-shadow .25s; }
.socials__a:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 8px 18px rgba(0, 0, 0, .16); }
.socials__a svg { width: 22px; height: 22px; }
.socials--sm { gap: 6px; }
.socials--sm .socials__a { width: 26px; height: 26px; }
.socials--sm .socials__a svg { width: 15px; height: 15px; }
.social-note { display: block; margin-top: 8px; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.contact-socials { padding: 16px 0 4px; }
.contact-call { margin-top: 18px; }

/* ---------- stars and the ratings on the maps ---------- */

.stars { position: relative; display: inline-block; flex: none; font-size: 16px; line-height: 1; letter-spacing: 2px; color: #dcdce0; white-space: nowrap; }
.stars::before, .stars span::before { content: "★★★★★"; }
.stars span { position: absolute; top: 0; left: 0; overflow: hidden; color: var(--x-star); }

.ratings { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rating { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 150px; height: 50px; padding: 0 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--text); transition: box-shadow .2s, transform .2s; }
a.rating:hover { box-shadow: inset 0 0 0 1px var(--xa-line), 0 6px 16px rgba(0, 0, 0, .08); transform: translateY(-1px); }
.rating__top { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; line-height: 1; color: var(--muted); white-space: nowrap; }
.rating__top b { font-weight: 600; color: #1a9b3c; }
.rating__main { display: flex; align-items: center; gap: 6px; line-height: 1; }
.rating__main strong { font-size: 17px; font-weight: 700; }
.rating__main em { font-size: 12px; font-style: normal; color: var(--muted); }
.rating--frame { padding: 0; border: 0; box-shadow: none; background: none; }
.ratings--hdr .rating { height: 44px; min-width: 138px; }
.ratings--hdr .rating--yandex { display: none; }   /* one badge in the header: the header is narrow */

/* ---------- forms ---------- */

.sform { position: relative; display: flex; flex-direction: column; gap: 12px; }
.sform .big-btn { width: 100%; }
.sform__error { min-height: 0; margin: 0; font-size: 14px; color: var(--red, #d6405a); }
.sform__error:empty { display: none; }
.sform__legal { margin: 0; font-size: 12px; line-height: 1.4; color: var(--muted); text-align: center; }
.sform__legal a { text-decoration: underline; }
.sform__done { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border-radius: 16px; background: #fff; text-align: center; animation: fade-up .4s var(--ease, ease) both; }
.sform__done[hidden] { display: none; }
.sform__done p { margin: 0; max-width: 300px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.sform__check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--xa-soft); color: var(--xa); }
.sform__check .i { width: 28px; height: 28px; stroke-width: 2.4; }
.sform__stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.sform__stars input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sform__stars label { font-size: 34px; line-height: 1; color: #dcdce0; cursor: pointer; transition: color .15s, transform .15s; }
.sform__stars label:hover { transform: scale(1.12); }
.sform__stars input:checked ~ label, .sform__stars label:hover, .sform__stars label:hover ~ label { color: var(--x-star); }
.sform__stars input:focus-visible + label { outline: 2px solid var(--xa); outline-offset: 2px; border-radius: 4px; }
.smodal__lead { margin: -8px 0 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* the checkout: «Списать бонусы» */
.check-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--xa-soft); cursor: pointer; }
.check-row[hidden] { display: none; }
.check-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check-row__box { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--xa-line); color: transparent; transition: background-color .2s, color .2s, box-shadow .2s; }
.check-row__box .i { width: 16px; height: 16px; stroke-width: 2.6; }
.check-row input:checked + .check-row__box { background: var(--xa); box-shadow: none; color: #fff; }
.check-row input:disabled ~ .check-row__text b { color: var(--muted); }
.check-row input:focus-visible + .check-row__box { outline: 2px solid var(--xa); outline-offset: 2px; }
.check-row__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.check-row__text b { font-size: 15px; font-weight: 700; }
.check-row__text small { font-size: 12.5px; color: var(--muted); }

.check-row--plain { background: var(--soft, #f2f2f4); }
[data-other-fields][hidden] { display: none; }

/* pay.php: how the online payment went */
.paybox { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 560px; margin: 40px auto 70px; padding: 44px 32px; border: 1px solid var(--line); border-radius: 26px; text-align: center; }
.content.paybox h1 { margin: 0; font-size: 34px; }
.paybox .content__text { margin: 0; }
.paybox__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--xa-soft); color: var(--xa); }
.paybox__icon .i { width: 32px; height: 32px; }
.paybox__icon--ok { background: #e3f6e8; color: #1a9b3c; }
.paybox__icon--ok .i { stroke-width: 2.6; }
.paybox__sum { margin: 0; font-size: 26px; font-weight: 800; }
.paybox__help { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.paybox__help a { color: var(--text); font-weight: 700; }

/* ---------- sections on the home page ---------- */

.xsec { margin-bottom: 68px; scroll-margin-top: calc(var(--hdr-h, 70px) + 68px); }
.xsec__head { margin-bottom: 30px; text-align: center; }
.xsec__head small { display: block; margin-bottom: 8px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.xsec__head h2 { margin: 0; font: 600 42px/1.08 var(--x-head); font-variant-numeric: lining-nums; }
.xsec__head em { font-style: normal; color: var(--xa); }

.xbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border: 0; border-radius: 99px; background: var(--xa); color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; transition: background-color .2s, transform .15s; }
.xbtn:hover { background: var(--xa-dark); }
.xbtn:active { transform: scale(.97); }
.xbtn .i { width: 18px; height: 18px; }
.xbtn--ghost { background: var(--xa-soft); color: var(--xa); }
.xbtn--ghost:hover { background: var(--xa-line); }
.xlink { color: var(--xa); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* questions and answers */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--xa-line); box-shadow: 0 8px 24px rgba(0, 0, 0, .05); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 17px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--xa); }
.faq__item summary i { position: relative; flex: none; width: 18px; height: 18px; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; top: 8px; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease, ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__answer { padding: 0 22px 22px; font-size: 15.5px; line-height: 1.6; color: var(--text-2, #55555c); }
.ask { position: sticky; top: calc(var(--hdr-h, 70px) + 70px); display: flex; flex-direction: column; align-items: center; padding: 36px 28px; border-radius: 24px; background: var(--xa); color: #fff; text-align: center; }
.ask__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ask__icon svg { width: 34px; height: 34px; }
.ask__icon svg g { fill: var(--xa); }
.ask h3 { margin: 18px 0 8px; font-size: 20px; font-weight: 700; }
.ask p { margin: 0 0 22px; font-size: 14.5px; line-height: 1.5; opacity: .9; }
.ask__btn { height: 48px; padding: 0 28px; border: 0; border-radius: 99px; background: #fff; color: var(--xa); font-size: 15px; font-weight: 700; transition: transform .15s, box-shadow .2s; }
.ask__btn:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }
.ask__btn:active { transform: scale(.97); }

/* reviews */
.reviews { display: flex; flex-direction: column; gap: 14px; }
.reviews--row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.review header { display: flex; align-items: center; gap: 12px; }
.review__ava { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--xa-soft); color: var(--xa); font-size: 17px; font-weight: 700; }
.review__who { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.3; }
.review__who b { overflow: hidden; font-size: 15.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.review__who small { font-size: 12.5px; color: var(--muted); }
.review__src { flex: none; padding: 4px 9px; border-radius: 99px; background: var(--soft, #f2f2f4); font-size: 11.5px; font-weight: 600; color: var(--muted); }
.review p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2, #3c3c43); overflow-wrap: anywhere; }
.reviews--row .review p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }
.review__reply { padding: 12px 14px; border-radius: 12px; background: var(--xa-softer); font-size: 14px; line-height: 1.5; }
.review__reply b { display: block; margin-bottom: 2px; font-size: 12.5px; color: var(--xa); }
.reviews-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin-top: 26px; }
.reviews-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-bottom: 24px; }
.reviews-score { display: flex; align-items: center; gap: 12px; }
.reviews-score strong { font-size: 44px; font-weight: 800; line-height: 1; }
.reviews-score .stars { font-size: 20px; }
.reviews-score small { font-size: 13.5px; color: var(--muted); }
.ymaps-reviews { position: relative; width: 100%; max-width: 760px; height: 620px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.ymaps-reviews iframe { width: 100%; height: 100%; border: 0; box-sizing: border-box; }
.ymaps-reviews > a { position: absolute; right: 0; bottom: 8px; left: 0; padding: 0 16px; overflow: hidden; font-size: 10px; color: #b3b3b3; text-align: center; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- text pages ---------- */

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 4px; font-size: 13.5px; color: var(--muted); }
.crumbs a:hover { color: var(--xa); }
.crumbs i { width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs span { color: var(--text); }

.cpage { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; align-items: start; margin: 10px 0 64px; }
.cpage--solo { grid-template-columns: minmax(0, 1fr); }
.cpage__side { position: sticky; top: calc(var(--hdr-h, 70px) + 20px); display: flex; flex-direction: column; gap: 8px; margin-top: 74px; }
.cpage__side a { padding: 15px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 15.5px; font-weight: 600; transition: border-color .2s, background-color .2s, color .2s; }
.cpage__side a:hover { border-color: var(--xa-line); color: var(--xa); }
.cpage__side a.is-active { border-color: var(--xa); background: var(--xa); color: #fff; }
.content.cpage__main { max-width: 860px; margin: 0; }
.cpage--solo .content.cpage__main { margin: 0 auto; }

.prose { font-size: 16px; line-height: 1.7; color: var(--text-2, #3c3c43); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose h2 { margin: 34px 0 12px; font: 600 28px/1.15 var(--x-head); color: var(--text); font-variant-numeric: lining-nums; }
.prose ul { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; top: .68em; left: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--xa); opacity: .7; }
.prose li small { color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 24px; }
.fact { padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.fact h3 { margin: 0 0 12px; font: 600 23px/1.15 var(--x-head); color: var(--text); }
.fact ul { margin-bottom: 0; }
.fact p { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }

.contacts-card { display: flex; flex-direction: column; gap: 4px; padding: 10px 26px 26px; border-radius: 22px; background: var(--xa-softer); }
.contacts-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--xa-line); }
.contacts-row > .i { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--xa); }
.contacts-row > span { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.45; color: var(--text); }
.contacts-row small { font-size: 13.5px; color: var(--muted); }
.contacts-row .xlink { width: max-content; font-size: 14px; }
.contacts-row--plain b { margin-bottom: 8px; }
.contacts-phone { font-size: 20px; font-weight: 800; }
.contacts-phone:hover { color: var(--xa); }
.contacts-hours { display: flex; flex-direction: column; gap: 2px; max-width: 320px; margin-top: 4px; font-size: 14.5px; color: var(--text-2, #55555c); }
.contacts-hours > span { display: flex; justify-content: space-between; gap: 16px; }
.contacts-hours i { font-style: normal; }
.contacts-hours .is-today { font-weight: 700; color: var(--text); }
.contacts-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 20px; }
.contacts-legal { margin-top: 20px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.contacts-legal b { display: block; margin-bottom: 2px; font-size: 13.5px; color: var(--text); }

.form-card { max-width: 560px; margin-top: 34px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.form-card h2 { margin: 0 0 8px; }
.form-card > p { margin: 0 0 18px; font-size: 15px; color: var(--muted); }

.acards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acard { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: border-color .2s, box-shadow .25s, transform .25s; }
.acard:hover { border-color: var(--xa-line); box-shadow: 0 12px 30px rgba(0, 0, 0, .07); transform: translateY(-2px); }
.acard h2 { margin: 0; font: 600 25px/1.15 var(--x-head); font-variant-numeric: lining-nums; }
.acard p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.acard span { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--xa); }
.acard span .i { width: 18px; height: 18px; transition: transform .25s; }
.acard:hover span .i { transform: translateX(4px); }

.article-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; padding: 24px 26px; border-radius: 20px; background: var(--xa-softer); }
.article-cta p { flex: 1 1 260px; margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; }

/* ---------- the floating «Связаться» button ---------- */

.fab { position: fixed; right: 22px; bottom: 26px; z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fab__list { display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.fab__a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); opacity: 0; transform: translateY(16px) scale(.6); transition: opacity .25s, transform .35s var(--spring, ease); }
.fab__a svg { width: 26px; height: 26px; }
.fab.is-open .fab__list { pointer-events: auto; }
.fab.is-open .fab__a { opacity: 1; transform: none; }
.fab.is-open .fab__a:nth-last-child(2) { transition-delay: .04s; }
.fab.is-open .fab__a:nth-last-child(3) { transition-delay: .08s; }
.fab.is-open .fab__a:nth-last-child(4) { transition-delay: .12s; }
.fab.is-open .fab__a:nth-last-child(n+5) { transition-delay: .16s; }
.fab__a:hover { filter: brightness(1.08); }
.fab__btn { position: relative; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: var(--xa); color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .26); transition: background-color .25s, transform .2s; }
.fab__btn:active { transform: scale(.94); }
.fab__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 var(--xa); opacity: .5; animation: fab-pulse 2.6s ease-out infinite; }
.fab.is-open .fab__btn { background: #b9b9c6; }
.fab.is-open .fab__btn::before { animation: none; }
.fab__btn svg { grid-area: 1 / 1; width: 28px; height: 28px; transition: opacity .2s, transform .3s; }
.fab__btn svg g { fill: var(--xa); }
.fab__btn .i { opacity: 0; transform: rotate(-60deg); stroke-width: 2.2; }
.fab.is-open .fab__btn svg:first-child { opacity: 0; transform: rotate(60deg); }
.fab.is-open .fab__btn .i { opacity: 1; transform: none; }
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 var(--xa); opacity: .45; } 70%, 100% { box-shadow: 0 0 0 16px var(--xa); opacity: 0; } }
html.app .fab, body.cart-open .fab { display: none; }

@media (prefers-reduced-motion: reduce) {
    .fab__btn::before { animation: none; }
}

@media (max-width: 1023px) {
    .fab { right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); }
    .faq-grid { grid-template-columns: minmax(0, 1fr); }
    .ask { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px 18px; padding: 24px; text-align: left; }
    .ask h3 { margin: 0; }
    .ask p { display: none; }
    .reviews--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cpage { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .cpage__side { position: static; flex-direction: row; order: 2; flex-wrap: wrap; margin-top: 0; padding-top: 24px; border-top: 1px solid var(--line); }
    .cpage__side a { padding: 10px 16px; border-radius: 99px; font-size: 14px; }
}

@media (max-width: 700px) {
    .xsec { margin-bottom: 46px; }
    .xsec__head { margin-bottom: 20px; }
    .xsec__head h2 { font-size: 30px; }
    .faq__item summary { padding: 16px 18px; font-size: 15.5px; }
    .faq__answer { padding: 0 18px 18px; font-size: 14.5px; }
    .reviews--row { display: flex; gap: 12px; margin: 0 -20px; padding: 0 20px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .reviews--row::-webkit-scrollbar { display: none; }
    .reviews--row .review { flex: none; width: 82%; scroll-snap-align: center; }
    .review { padding: 18px; }
    .crumbs { margin-top: 14px; font-size: 12.5px; }
    .cpage { margin-bottom: 40px; }
    .prose { font-size: 15.5px; }
    .prose h2 { margin-top: 26px; font-size: 24px; }
    .acards { grid-template-columns: minmax(0, 1fr); }
    .acard { padding: 20px; }
    .contacts-card { padding: 4px 18px 20px; }
    .form-card { padding: 20px; }
    .ymaps-reviews { height: 520px; }
    .fab__btn { width: 52px; height: 52px; }
    .fab__a { width: 44px; height: 44px; }
}

/* the program's first look: its footer is one line */
.ftr .socials { margin-top: 14px; }

/* the cart and the checkout scroll; nothing in them is squeezed to fit the screen
   (blocks with overflow: hidden — the name and phone fields — used to collapse on a short screen) */
.cart__scroll > * { flex-shrink: 0; }

/* ---------- «О нас» on the home page, the photo on the page itself ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; scroll-margin-top: calc(var(--hdr-h, 70px) + 68px); }
.about--plain { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.about__photo { overflow: hidden; border-radius: 28px; aspect-ratio: 4 / 3; background: var(--xa-soft); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text small { display: block; margin-bottom: 8px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.about__text h2 { margin: 0 0 18px; font: 600 42px/1.08 var(--x-head); color: var(--xa); }
.about__text p { margin: 0 0 14px; font-size: 16px; line-height: 1.65; }
.about__text .xbtn { margin-top: 10px; }
.about-photo { display: block; width: 100%; max-height: 460px; margin: 0 0 26px; border-radius: 24px; object-fit: cover; }

/* ---------- «Наша команда» ---------- */
.team__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 44px; }
.team__one { display: flex; flex-direction: column; align-items: center; width: 190px; text-align: center; }
.team__photo { width: 170px; height: 170px; margin-bottom: 16px; border-radius: 50%; object-fit: cover; background: var(--xa-soft); box-shadow: 0 0 0 6px var(--xa-softer), 0 14px 30px rgba(0, 0, 0, .08); }
.team__photo--letter { display: grid; place-items: center; font: 600 64px/1 var(--x-head); color: var(--xa); }
.team__one b { font-size: 17px; font-weight: 700; }
.team__one small { margin-top: 4px; font-size: 14px; color: var(--muted); }
.team--page { margin-top: 34px; }
.team--page .xsec__head { margin-bottom: 22px; text-align: left; }
.team--page .xsec__head h2 { font-size: 30px; }
.team--page .team__list { justify-content: flex-start; }

@media (max-width: 900px) {
    .about { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .about__text h2 { font-size: 32px; }
}
@media (max-width: 700px) {
    .about__photo { border-radius: 20px; }
    .about__text p { font-size: 15px; }
    .team__list { gap: 22px 14px; }
    .team__one { width: calc(50% - 7px); }
    .team__photo { width: 124px; height: 124px; }
    .team__photo--letter { font-size: 48px; }
}
