/* SkillUnit: сторінка «Про нас» (шаблон template-about.php). Усі класи з префіксом .ab-, щоб не перетинатися з рештою теми. */
.page-template-template-about {
	--ab-ink: #171815;
	--ab-ink-2: #22241f;
	--ab-line: #3a3d34;
	--ab-on-ink: #f3f4ee;
	--ab-on-ink-mute: #a7aa9e;
	--ab-mute: #6d6f66;
	--ab-lime-deep: #a9c93a;
}
.ab-hl { background: linear-gradient(transparent 60%, var(--lime) 60%); }
.ab-bl { color: #4f9fe3; }
.ab-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ab-mute); }
.ab-kicker::before { content: ""; width: 26px; height: 2px; background: var(--ab-lime-deep); }
.ab-prose { font-family: var(--f-text); font-size: 17px; line-height: 28px; color: var(--text); max-width: 64ch; }
.ab-prose p { margin: 0 0 16px; }
.ab-prose p:last-child { margin-bottom: 0; }
.ab-prose a { text-decoration: underline; }
.ab-h2 { font-weight: 700; font-size: clamp(32px, 4.4vw, 54px); line-height: .98; text-transform: uppercase; text-wrap: balance; }
.ab-sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 60px; margin-bottom: 48px; }
.ab-sec-head > .ab-prose { max-width: 500px; }
.ab-btn { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 8px 0 24px; border-radius: 50px; font-size: 16px; line-height: 1; white-space: nowrap; background: var(--dark); color: #fff !important; transition: background .25s; }
.ab-btn:hover { background: #3a3a3a; }
.ab-btn i { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--dark); font-style: normal; transition: transform .25s; }
.ab-btn:hover i { transform: rotate(-45deg); }
.ab-btn--lime { background: var(--lime); color: var(--dark) !important; }
.ab-btn--lime i { background: var(--dark); color: var(--lime); }
.ab-btn--lime:hover { background: #e6fb94; }
.ab-btn--line { background: transparent; color: var(--dark) !important; border: 2px solid var(--dark); padding-right: 24px; }
.ab-btn--line:hover { background: var(--lime); }

/* ===== Перший екран ===== */
.su-section.ab-hero-wrap { margin-top: 0; }
.ab-hero { position: relative; overflow: hidden; border-radius: 40px; padding: clamp(24px, 3.4vw, 48px) clamp(20px, 3.4vw, 48px) 0; background: var(--ab-ink) url("../img/network-lime.svg") no-repeat 108% -50px / 860px auto; color: var(--ab-on-ink); display: flex; flex-direction: column; min-height: calc(100vh - 120px); min-height: calc(100svh - 120px); }
.ab-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; flex: 1 1 auto; }
.ab-hero__copy { min-width: 0; padding-bottom: clamp(12px, 3vh, 40px); padding-top: clamp(6px, 2vh, 24px); }
.ab-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(12px, 3vh, 26px); font-size: 14px; color: var(--ab-on-ink-mute); }
.ab-eyebrow svg { width: 18px; height: 18px; fill: var(--lime); flex: none; }
.ab-hero h1 { margin: 0; color: var(--ab-on-ink); font-weight: 700; font-size: clamp(38px, min(6.2vw, 7.4vh), 88px); line-height: .94; text-transform: uppercase; letter-spacing: -.5px; }
.ab-hero h1 span { display: block; }
.ab-hero h1 .ab-lime { color: var(--lime); }
.ab-hero h1 .ab-outline { color: transparent; -webkit-text-stroke: 1.5px var(--ab-on-ink); }
.ab-hero__lead { margin: clamp(14px, 3vh, 30px) 0 0; max-width: 480px; padding-left: 20px; border-left: 2px solid var(--lime); font-family: var(--f-text); font-size: 18px; line-height: 29px; color: #d4d6cc; }
.ab-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(16px, 3.5vh, 34px); }
.ab-hero .ab-btn--line { color: var(--ab-on-ink) !important; border-color: var(--ab-line); }
.ab-hero .ab-btn--line:hover { background: var(--ab-ink-2); border-color: var(--lime); }
.ab-hero__visual { position: relative; align-self: stretch; min-height: clamp(260px, 46vh, 560px); }
.ab-hero__portrait { position: absolute; inset: 0 0 0 8%; border-radius: 32px 32px 0 0; overflow: hidden; background: linear-gradient(180deg, #2b2e27, #1b1c19); }
.ab-hero__portrait svg { position: absolute; left: 50%; bottom: 0; width: 88%; height: auto; transform: translateX(-50%); }
.ab-hero__portrait video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ab-hero__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ab-ring { position: absolute; left: 0; top: 40px; z-index: 2; width: 124px; height: 124px; }
.ab-ring svg { width: 100%; height: 100%; animation: abSpin 26s linear infinite; }
.ab-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 400; color: var(--lime); }
.ab-hero__card { position: absolute; right: 18px; bottom: 22px; z-index: 2; max-width: 250px; padding: 14px 16px; border: 1px solid var(--ab-line); border-radius: 18px; background: rgba(23,24,21,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ab-hero__card small { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--lime); }
.ab-hero__card span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.3; }
@keyframes abSpin { to { transform: rotate(360deg); } }

.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ab-line); }
.ab-stat { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: clamp(14px, 3vh, 28px) 24px clamp(16px, 3.6vh, 34px) 0; }
.ab-stat + .ab-stat { padding-left: 24px; border-left: 1px solid var(--ab-line); }
.ab-stat__num { display: flex; align-items: baseline; gap: 6px; font-weight: 700; font-size: clamp(32px, min(4.4vw, 7.5vh), 64px); line-height: 1; font-variant-numeric: tabular-nums; }
.ab-stat__num sup { top: 0; vertical-align: baseline; font-size: .42em; color: var(--lime); }
.ab-stat__lbl { max-width: 240px; font-family: var(--f-text); font-size: 14.5px; line-height: 21px; color: var(--ab-on-ink-mute); }

/* ===== Історія ===== */
.ab-story { display: grid; grid-template-columns: 5fr 7fr; gap: 50px 90px; align-items: start; }
.ab-story__quote { margin: 0; font-weight: 700; font-size: clamp(26px, 2.9vw, 38px); line-height: 1.12; text-transform: uppercase; text-wrap: balance; }
.ab-sign { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.ab-sign__av { flex: none; width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: #2b2e27; }
.ab-sign__av svg, .ab-sign__av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ab-sign b { display: block; font-size: 16px; }
.ab-sign span { font-family: var(--f-text); font-size: 14px; color: var(--ab-mute); }
.ab-story .ab-prose { min-width: 0; }
.ab-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; padding: 20px; border-radius: 30px; background: var(--grey); }
.ab-tl { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 230px; overflow: hidden; padding: 22px; border-radius: 24px; background: #fff; }
.ab-tl__big { font-weight: 700; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.ab-tl__big small { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: var(--ab-mute); }
.ab-tl h3 { margin: auto 0 0; font-weight: 700; font-size: 20px; line-height: 1.2; }
.ab-tl p { margin: 0; font-family: var(--f-text); font-size: 15px; line-height: 23px; color: var(--text); }
.ab-tl--lime { background: var(--lime) url("../img/network.svg") no-repeat 140% 160% / 420px auto; }
.ab-tl--ink { background: var(--ab-ink) url("../img/network-lime.svg") no-repeat 120% 140% / 420px auto; color: var(--ab-on-ink); }
.ab-tl--ink h3 { color: var(--ab-on-ink); }
.ab-tl--ink p { color: #c9cbc1; }
.ab-tl--ink .ab-tl__big small { color: var(--lime); }

/* ===== Команда ===== */
.ab-team { position: relative; overflow: hidden; padding: 90px clamp(20px, 3.4vw, 48px); border-radius: 40px; background: var(--ab-ink); color: var(--ab-on-ink); }
.ab-team::before { content: ""; position: absolute; right: -120px; top: -60px; width: 760px; height: 650px; background: url("../img/network-lime.svg") no-repeat center / contain; pointer-events: none; }
.ab-team .ab-kicker { color: var(--ab-on-ink-mute); }
.ab-team .ab-h2 { color: var(--ab-on-ink); }
.ab-team .ab-prose { color: #c9cbc1; }
.ab-team__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 22px; }
.ab-member { min-width: 0; }
.ab-member__role { min-height: 18px; margin-bottom: 14px; font-size: 12px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--lime); }
.ab-member__ph { position: relative; aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; border-radius: 22px; background: linear-gradient(180deg, #34372f, #1e201b); }
.ab-member__ph img, .ab-member__ph svg { position: absolute; left: 50%; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: translateX(-50%); filter: grayscale(1) contrast(1.05); transition: filter .4s, transform .5s; }
.ab-member__ph svg { width: 92%; height: auto; }
.ab-member:hover .ab-member__ph img, .ab-member:hover .ab-member__ph svg { filter: none; transform: translateX(-50%) scale(1.03); }
.ab-member__ph::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(23,24,21,.85)); }
.ab-member__name { color: var(--ab-on-ink); position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; font-weight: 700; font-size: 22px; line-height: 1.1; }
.ab-member__note { margin: 12px 0 0; font-family: var(--f-text); font-size: 14.5px; line-height: 22px; color: var(--ab-on-ink-mute); }
.ab-team__cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--ab-line); }
.ab-team__cta p { margin: 0; max-width: 640px; font-size: 20px; line-height: 1.35; }

/* ===== Принципи (bento) ===== */
.ab-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; padding: 20px; border-radius: 30px; background: var(--grey); }
.ab-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 26px; border-radius: 26px; background: #fff; transition: transform .3s; }
.ab-card:hover { transform: translateY(-3px); }
.ab-card--3 { grid-column: span 3; }
.ab-card--2 { grid-column: span 2; }
.ab-card h3 { margin: 0; font-weight: 700; font-size: 25px; line-height: 1.08; text-wrap: balance; }
.ab-card p { margin: 0; font-family: var(--f-text); font-size: 16px; line-height: 26px; color: var(--text); }
.ab-card__ico { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--soft); }
.ab-card__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ab-card--lime { background: var(--lime) url("../img/network.svg") no-repeat 105% 120% / 520px auto; }
.ab-card--lime .ab-card__ico { background: rgba(255,255,255,.55); }
.ab-card--ink { background: var(--ab-ink); color: var(--ab-on-ink); }
.ab-card--ink h3 { color: var(--ab-on-ink); }
.ab-card--ink p { color: #c9cbc1; }
.ab-card--ink .ab-card__ico { background: var(--ab-ink-2); }
.ab-card--ink .ab-card__ico svg { stroke: var(--lime); }
.ab-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 6px 0 0; list-style: none; }
.ab-chip { padding: 5px 12px; border-radius: 50px; background: var(--soft); font-size: 14px; }
.ab-card--lime .ab-chip { background: rgba(255,255,255,.6); }
.ab-card--ink .ab-chip { background: var(--ab-ink-2); color: var(--ab-on-ink); }
.ab-chips--price .ab-chip { color: #2f7fc6; font-weight: 700; }

/* ===== Етапи ===== */
.ab-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--dark); counter-reset: abs; }
.ab-step { position: relative; min-width: 0; padding: 24px 22px 0 0; }
.ab-step::before { counter-increment: abs; content: "0" counter(abs); display: block; margin-bottom: 18px; font-weight: 700; font-size: 44px; line-height: 1; color: var(--grey); -webkit-text-stroke: 1px #c9c9c9; }
.ab-step::after { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border: 2px solid var(--dark); border-radius: 50%; background: var(--lime); }
.ab-step h3 { margin: 0 0 10px; font-weight: 700; font-size: 20px; line-height: 1.15; text-wrap: balance; }
.ab-step p { margin: 0; font-family: var(--f-text); font-size: 15px; line-height: 24px; color: var(--text); }

/* ===== FAQ ===== */
.ab-faq { display: grid; grid-template-columns: 4fr 7fr; gap: 40px 80px; align-items: start; }
.ab-faq details { border-bottom: 1px solid #d6d6d0; }
.ab-faq details:first-child { border-top: 1px solid #d6d6d0; }
.ab-faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; font-weight: 700; font-size: 19px; line-height: 1.3; }
.ab-faq summary::-webkit-details-marker { display: none; }
.ab-faq summary::after { content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); font-weight: 400; }
.ab-faq details[open] summary::after { content: "\2212"; background: var(--lime); }
.ab-faq details > div { padding: 0 50px 22px 0; }
.ab-faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ===== Адаптив ===== */
@media (max-width: 1100px) {
	.ab-hero__grid { grid-template-columns: 1fr; }
	.ab-hero__copy { padding-bottom: 10px; }
	.ab-hero__visual { min-height: clamp(200px, 30vh, 420px); }
	.ab-hero__grid { align-items: stretch; }
	.ab-hero__visual { flex: 1; }
	.ab-hero__portrait { inset: 0; }
	.ab-ring { left: auto; right: 14px; top: 14px; width: 96px; height: 96px; }
	.ab-stats { grid-template-columns: 1fr 1fr; }
	.ab-stat:nth-child(3) { padding-left: 0; border-left: 0; }
	.ab-stat:nth-child(n+3) { border-top: 1px solid var(--ab-line); }
	.ab-story { grid-template-columns: 1fr; }
	.ab-timeline { grid-template-columns: 1fr 1fr; }
	.ab-team__grid { grid-template-columns: repeat(3, 1fr); }
	.ab-card--3, .ab-card--2 { grid-column: span 3; }
	.ab-steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
	.ab-faq { grid-template-columns: 1fr; }
	.ab-faq details > div { padding-right: 0; }
}
@media (max-width: 767px) {
	.ab-hero { border-radius: 28px; background-size: 520px auto; }
	.ab-team { padding-block: 60px; border-radius: 28px; }
	.ab-team__grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
	.ab-member__name { left: 12px; bottom: 12px; font-size: 18px; }
	.ab-member__note { display: none; }
	.ab-timeline { grid-template-columns: 1fr; padding: 10px; gap: 10px; }
	.ab-tl { min-height: 0; }
	.ab-bento { grid-template-columns: 1fr; padding: 10px; gap: 10px; }
	.ab-card--3, .ab-card--2 { grid-column: auto; }
	.ab-steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--dark); row-gap: 28px; }
	.ab-step { padding: 0 0 0 28px; }
	.ab-step::after { top: 4px; left: -9px; }
	.ab-step::before { margin-bottom: 8px; font-size: 34px; }
}
@media (max-width: 480px) {
	.ab-stat, .ab-stat + .ab-stat { padding: 22px 12px 24px 0; }
	.ab-stat + .ab-stat:nth-child(even) { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.ab-ring svg { animation: none; }
	.ab-card, .ab-member__ph img, .ab-member__ph svg { transition: none; }
}
