/* ===== ABOUT PAGE ===== */

.t-accent { color: var(--green); }
.section-white { background: #fff; }

/* ===== HERO ===== */
.ab-hero {
    position: relative;
    height: 70vh;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    clip-path: polygon(0 0, calc(100% - 140px) 0, 100% 140px, 100% 100%, 0 100%);
}
.ab-hero-bg { position: absolute; inset: 0; }
.ab-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,15,28,0.9) 0%, rgba(8,15,28,0.4) 60%, rgba(8,15,28,0.25) 100%);
}
.ab-hero-content {
    position: relative; z-index: 2;
    max-width: 1320px; margin: 0 auto; width: 100%;
    padding: 0 3rem 5rem;
}
.ab-breadcrumb {
    display: flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-nav); font-size: 0.72rem;
    font-weight: 700; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4); margin-bottom: 1.5rem;
}
.ab-breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; }
.ab-breadcrumb a:hover { color: #fff; }
.ab-breadcrumb span:last-child { color: rgba(255,255,255,0.75); }
.ab-hero-title {
    font-size: clamp(2.8rem,6vw,5rem); font-weight: 300;
    color: #fff; line-height: 1.1; margin: 0 0 1.2rem;
}
.ab-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin: 0; }

.ab-hero-year {
    position: absolute; right: 3rem; bottom: 4rem; z-index: 2;
    text-align: right;
}
.ab-year-num {
    display: block; font-size: 5rem; font-weight: 800;
    color: rgba(255,255,255,0.08); line-height: 1;
    letter-spacing: -0.04em;
}
.ab-year-label {
    display: block; font-family: var(--font-nav);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
    color: rgba(255,255,255,0.35); text-transform: uppercase;
}

/* ===== COMMON ===== */
.ab-overline {
    font-family: var(--font-nav); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.15em; color: var(--green);
    text-transform: uppercase; margin: 0 0 0.9rem; display: block;
}
.ab-gline { width: 54px; height: 2px; background: var(--green); margin: 1.8rem 0; }

/* ===== INTRO ===== */
.ab-intro { padding: 5rem 0 6rem; }
.ab-intro-inner {
    max-width: 1320px; margin: 0 auto; padding: 0 3rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.ab-intro-left .sec-desc { color: rgba(0,0,0,0.55); }

.ab-intro-right {}
.ab-intro-img-wrap { position: relative; }
.ab-intro-img-wrap img {
    width: 100%; height: 480px; object-fit: cover; display: block;
}
.ab-img-badge {
    position: absolute; bottom: 2rem; left: 2rem;
    background: var(--green); color: #fff; padding: 1rem 1.5rem; border-radius: 2px;
    display: flex; flex-direction: column;
}
.ab-badge-big { font-size: 2rem; font-weight: 800; line-height: 1; }
.ab-badge-sub { font-size: 0.75rem; font-weight: 500; opacity: 0.85; margin-top: 0.2rem; }

.ab-intro-tags {
    display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem;
}
.ab-tag {
    font-family: var(--font-nav); font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.1em; color: var(--green-dark);
    border: 1.5px solid rgba(8,15,28,0.15); border-radius: 100px;
    padding: 0.4rem 1rem;
}

/* ===== STATS (кольца) ===== */
.ab-stats { padding: 5rem 0; }
.ab-stats-inner {
    max-width: 1320px; margin: 0 auto; padding: 0 3rem;
    display: grid; grid-template-columns: repeat(5,1fr); gap: 2rem;
}
.ab-stat-item { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }

.ab-stat-circle { position: relative; width: 130px; height: 130px; flex-shrink: 0; }
.ab-stat-circle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ab-ring-bg {
    fill: none; stroke: rgba(255,255,255,0.07);
    stroke-width: 8;
}
.ab-ring-fill {
    fill: none; stroke: var(--green); stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 327; stroke-dashoffset: 327;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.4,0,0.2,1);
}
.ab-stat-center {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ab-counter { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.ab-stat-unit { font-size: 0.7rem; color: rgba(255,255,255,0.4); font-weight: 600; margin-top: 2px; }
.ab-stat-name { font-size: 0.8rem; color: rgba(255,255,255,0.45); text-align: center; line-height: 1.5; }

/* ===== FEAT CARDS (направления) ===== */
.ab-directions { padding-bottom: 0; }
.ab-dir-header {
    max-width: 1320px; margin: 0 auto;
    padding: 5rem 3rem 3rem;
}
.ab-feat-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    max-width: 1400px; margin: 0 auto; padding: 0 3rem; gap: 2.5rem;
    padding-bottom: 6rem; align-items: stretch;
}
.ab-feat {
    height: 600px; position: relative; overflow: hidden;
    opacity: 0; transform: scale(0.92);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34,1.56,0.64,1);
}
.ab-feat.in-view { opacity: 1; transform: scale(1); }
.ab-feat:nth-child(1) { transition-delay: 0s; }
.ab-feat:nth-child(2) { transition-delay: 0.1s; }
.ab-feat:nth-child(3) { transition-delay: 0.2s; }
.ab-feat-offset { margin-top: 0; }

.ab-feat-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.6s ease;
}
.ab-feat:hover .ab-feat-img { transform: scale(1.04); }

.feat-light::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
}
.feat-dark::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
}
.ab-feat-body {
    position: absolute; z-index: 2; padding: 2rem;
}
.feat-light .ab-feat-body { bottom: 0; left: 0; right: 0; }
.feat-dark .ab-feat-body  { top: 0; left: 0; right: 0; }

.ab-feat-label {
    font-family: var(--font-nav); font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.14em; color: var(--green); text-transform: uppercase;
    margin-bottom: 0.7rem;
}
.ab-feat-title { font-size: 1.25rem; font-weight: 700; color: #fff; margin: 0 0 0.5rem; line-height: 1.3; }
.ab-feat-text  { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin: 0; line-height: 1.6; }

/* ===== ИНФОГРАФИКА — ДОЛЯ КЛИЕНТОВ ===== */
.ab-infograph { padding: 6rem 0; }
.ab-infograph-inner {
    max-width: 1320px; margin: 0 auto; padding: 0 3rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.ab-bar-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.ab-bar-row {
    display: grid; grid-template-columns: 1fr 1fr auto;
    align-items: center; gap: 1rem;
    opacity: 0; transform: translateX(-16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.ab-bar-row.in-view { opacity: 1; transform: translateX(0); }
.ab-bar-row:nth-child(1) { transition-delay: 0s; }
.ab-bar-row:nth-child(2) { transition-delay: 0.1s; }
.ab-bar-row:nth-child(3) { transition-delay: 0.2s; }
.ab-bar-row:nth-child(4) { transition-delay: 0.3s; }
.ab-bar-row:nth-child(5) { transition-delay: 0.4s; }

.ab-bar-label { font-size: 0.82rem; color: rgba(255,255,255,0.6); font-weight: 500; }
.ab-bar-track {
    height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden;
}
.ab-bar-fill {
    height: 100%; background: var(--green); border-radius: 2px;
    width: 0; transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
.ab-bar-pct { font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.5); min-width: 36px; text-align: right; }

/* Donut */
.ab-donut-wrap {
    position: relative; width: 280px; height: 280px; margin: 0 auto;
}
.ab-donut { width: 100%; height: 100%; transform: rotate(-90deg); }
.ab-donut-bg { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 18; }
.ab-donut-seg {
    fill: none; stroke-width: 18; stroke-linecap: butt;
    stroke-dasharray: 553; stroke-dashoffset: 553;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1);
}
.ab-donut-center {
    position: absolute; inset: 0; display: flex;
    flex-direction: column; align-items: center; justify-content: center;
}
.ab-donut-num { font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1; }
.ab-donut-sub { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 0.3rem; }

/* ===== ИСТОРИЯ (горизонтальная) ===== */
.ab-history { padding: 6rem 0 7rem; }
.ab-history-header {
    max-width: 1320px; margin: 0 auto; padding: 0 3rem 4rem;
}
.ab-htl { max-width: 1320px; margin: 0 auto; padding: 0 3rem; position: relative; }
.ab-htl-line {
    position: absolute; top: 20px; left: 3rem; right: 3rem;
    height: 1px; background: rgba(8,15,28,0.12); z-index: 0;
}
.ab-htl-items {
    display: grid; grid-template-columns: repeat(6,1fr); gap: 2rem; position: relative; z-index: 1;
}
.ab-htl-item {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.ab-htl-item.in-view { opacity: 1; transform: translateY(0); }
.ab-htl-item:nth-child(1) { transition-delay: 0s; }
.ab-htl-item:nth-child(2) { transition-delay: 0.1s; }
.ab-htl-item:nth-child(3) { transition-delay: 0.2s; }
.ab-htl-item:nth-child(4) { transition-delay: 0.3s; }
.ab-htl-item:nth-child(5) { transition-delay: 0.4s; }
.ab-htl-item:nth-child(6) { transition-delay: 0.5s; }

.ab-htl-dot, .ab-htl-line { display: none; }
.ab-htl-year {
    font-family: var(--font-nav); font-size: 0.72rem; font-weight: 700;
    color: var(--green); letter-spacing: 0.1em; margin-bottom: 0.6rem;
}
.ab-htl-year--now { color: var(--green); }
.ab-htl-title { font-size: 0.95rem; font-weight: 700; color: var(--green-dark); margin: 0 0 0.5rem; }
.ab-htl-text { font-size: 0.8rem; color: rgba(0,0,0,0.45); line-height: 1.65; margin: 0; }

/* ===== ГЕОГРАФИЯ ===== */
.ab-geo { padding: 6rem 0; }
.ab-geo-inner {
    max-width: 1320px; margin: 0 auto; padding: 0 3rem;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center;
}
.ab-geo-cities { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.ab-city {
    display: flex; align-items: center; gap: 0.7rem;
    font-size: 0.9rem; color: rgba(0,0,0,0.6);
    opacity: 0; transform: translateX(-12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.ab-city.in-view { opacity: 1; transform: translateX(0); }
.ab-city:nth-child(1) { transition-delay: 0s; font-weight: 700; color: var(--green-dark); }
.ab-city:nth-child(2) { transition-delay: 0.08s; }
.ab-city:nth-child(3) { transition-delay: 0.16s; }
.ab-city:nth-child(4) { transition-delay: 0.24s; }
.ab-city:nth-child(5) { transition-delay: 0.32s; }
.ab-city:nth-child(6) { transition-delay: 0.40s; }
.ab-city:nth-child(7) { transition-delay: 0.48s; color: rgba(0,0,0,0.35); }
.ab-city-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
    background: var(--green);
}
.ab-city-dot--more { background: rgba(0,0,0,0.2); }

.ab-geo-map { position: relative; overflow: hidden; border-radius: 16px; }
.ab-geo-map svg { display: block; width: 100%; height: auto; }
.ab-geo-overlay { position: absolute; inset: 0; }

/* Метки городов на карте */
.ab-map-pin {
    position: absolute;
    transform: translate(-50%, -100%);
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    cursor: default;
}
.ab-pin-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #1976d2;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.35);
    display: block;
}
.ab-pin-dot--main {
    width: 14px; height: 14px;
    background: #e53935;
}
.ab-pin-label {
    background: rgba(255,255,255,0.92);
    color: #0d2137;
    font-size: 0.62rem;
    font-weight: 700;
    font-family: var(--font-nav);
    padding: 2px 5px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    letter-spacing: 0.02em;
}

.ab-geo-pin { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ab-pin-dot {
    width: 12px; height: 12px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 0 4px rgba(25,118,210,0.25);
    animation: pinPulse 2s ease-in-out infinite;
}
.ab-pin-dot--main { width: 18px; height: 18px; box-shadow: 0 0 0 6px rgba(25,118,210,0.3); }
.ab-pin-label {
    font-family: var(--font-nav); font-size: 0.62rem; font-weight: 700;
    background: rgba(8,15,28,0.75); color: #fff;
    padding: 2px 7px; border-radius: 2px; white-space: nowrap;
}
@keyframes pinPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(25,118,210,0.25); }
    50%  { box-shadow: 0 0 0 8px rgba(25,118,210,0.1); }
}
.ab-geo-num {
    position: absolute; bottom: 2rem; right: 2rem;
    font-size: 4rem; font-weight: 800; color: #fff; line-height: 1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.ab-geo-num span {
    display: block; font-size: 0.8rem; font-weight: 700;
    color: rgba(255,255,255,0.6); letter-spacing: 0.1em;
    font-family: var(--font-nav);
}

/* ===== ЦЕННОСТИ ===== */
.ab-mission { padding: 6rem 0; }
.ab-mission-inner { max-width: 1320px; margin: 0 auto; padding: 0 3rem; }
.ab-mission-header { margin-bottom: 4rem; max-width: 600px; }
.ab-values-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.ab-value {
    padding: 2.5rem 2rem; border-right: 1px solid rgba(255,255,255,0.08);
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.ab-value.in-view { opacity: 1; transform: translateY(0); }
.ab-value:last-child { border-right: none; }
.ab-value:nth-child(1) { transition-delay: 0s; }
.ab-value:nth-child(2) { transition-delay: 0.1s; }
.ab-value:nth-child(3) { transition-delay: 0.2s; }
.ab-value:nth-child(4) { transition-delay: 0.3s; }

.ab-value-num {
    font-size: 3rem; font-weight: 800; line-height: 1;
    color: rgba(255,255,255,0.06); font-family: var(--font-nav);
    margin-bottom: 1rem;
}
.ab-value-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(25,118,210,0.15);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.ab-value-icon svg { width: 22px; height: 22px; stroke: var(--green); }
.ab-value-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin: 0 0 0.6rem; }
.ab-value-text  { font-size: 0.85rem; color: rgba(255,255,255,0.42); line-height: 1.7; margin: 0; }

/* ===== CTA ===== */
.ab-cta { padding: 6rem 0 7rem; }
.ab-cta-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 3rem;
    display: grid; grid-template-columns: 1fr 1.8fr; gap: 3.5rem; align-items: start;
}
.ab-cta-form-wrap { background: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.ab-cta-btns { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; align-items: flex-start; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.8rem;
    background: var(--green); color: #fff;
    font-family: var(--font-nav); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.1em; padding: 1rem 2rem; border-radius: 2px;
    text-decoration: none; transition: background 0.2s;
}
.btn-primary:hover { background: #1565c0; }
.ab-link-btn {
    font-family: var(--font-nav); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.12em; color: rgba(0,0,0,0.45); text-decoration: none;
    transition: color 0.2s;
}
.ab-link-btn:hover { color: var(--green); }

.ab-cta-card {
    background: var(--green-dark); border-radius: 4px;
    padding: 2.5rem 2.8rem; display: flex; flex-direction: column; gap: 1.2rem;
}
.ab-cta-phone { font-size: 1.6rem; font-weight: 700; color: #fff; }
.ab-cta-divider { height: 1px; background: rgba(255,255,255,0.1); }
.ab-cta-info { font-size: 0.88rem; color: rgba(255,255,255,0.5); }
.ab-cta-info span { color: rgba(255,255,255,0.75); font-weight: 600; margin-right: 0.4rem; }

/* ===== REVEAL ===== */
.reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== FOOTER ===== */
.logo-img-footer { height: 60px; filter: brightness(0) invert(1); opacity: 0.45; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .ab-stats-inner { grid-template-columns: repeat(3,1fr); }
    .ab-feat-grid { grid-template-columns: 1fr 1fr; }
    .ab-feat:nth-child(3) { display: none; }
    .ab-values-grid { grid-template-columns: repeat(2,1fr); }
    .ab-htl-items { grid-template-columns: repeat(3,1fr); }
    .ab-htl-line { display: none; }
    .ab-infograph-inner, .ab-geo-inner, .ab-intro-inner, .ab-cta-inner { grid-template-columns: 1fr !important; gap: 3rem; }
}
@media (max-width: 768px) {
    /* Hero */
    .ab-hero { clip-path: none; min-height: 380px; }
    .ab-hero-content { padding: 0 1.5rem 2.5rem; }
    .ab-hero-title { font-size: clamp(1.9rem, 7vw, 2.4rem); word-break: break-word; overflow-wrap: break-word; }
    .ab-hero-sub { font-size: 0.88rem; }
    .ab-hero-year { display: none; }
    /* Sections */
    .ab-stats-inner { grid-template-columns: repeat(2,1fr); }
    .ab-feat-grid { grid-template-columns: 1fr; }
    .ab-feat:nth-child(3) { display: block; }
    .ab-feat { height: 400px; }
    .ab-feat-offset { margin-top: 0; }
    .ab-values-grid { grid-template-columns: 1fr; }
    .ab-value { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .ab-value:last-child { border-bottom: none; }
    .ab-htl-items { grid-template-columns: repeat(2,1fr); }
    .ab-intro-inner, .ab-history-header, .ab-dir-header, .ab-mission-inner,
    .ab-cta-inner, .ab-infograph-inner, .ab-geo-inner, .ab-htl, .ab-stats-inner,
    .ab-history-header { padding-left: 1.5rem; padding-right: 1.5rem; }
    .ab-intro-img-wrap img { height: 280px; }
    .ab-feat-grid { padding: 0 1.5rem 3rem; }
    .ab-htl-line { display: none; }
    .ab-intro { padding: 3rem 0; }
    .ab-stats { padding: 3rem 0; }
    .ab-history { padding: 3rem 0 4rem; }
    .ab-geo { padding: 3rem 0; }
    .ab-mission { padding: 3rem 0; }
    .ab-cta { padding: 3rem 0 4rem; }
    .ab-infograph { padding: 3rem 0; }
    .ab-directions { padding-bottom: 0; }
}
