/* ---------- О компании ---------- */
.ab-hero { position: relative; padding: 120px 0 110px; color: #fff; background: radial-gradient(1200px 500px at 85% 0%, rgba(19,168,158,.35), transparent 60%), linear-gradient(120deg, var(--navy) 0%, #0f3a6b 60%, var(--sea) 100%); overflow: hidden; }
.ab-hero__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.ab-crumbs { display: flex; gap: 8px; font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.ab-crumbs a:hover { color: #fff; }
.ab-hero h1 { margin: 0 0 18px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.ab-hero h1 span { color: #7fe3d9; }
.ab-hero__lead { margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 560px; }
.ab-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-hero__photo { margin: 0; position: relative; }
.ab-hero__photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.ab-hero__photo::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border-radius: 24px; border: 2px solid rgba(127,227,217,.35); z-index: -1; }

.ab-stats { position: relative; z-index: 3; margin-top: -56px; }
.ab-stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.ab-stat { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-left: 1px solid var(--line); }
.ab-stat:first-child { border-left: 0; }
.ab-stat b { font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.ab-stat span { font-size: 13px; color: var(--muted); line-height: 1.4; }

.ab-who { padding-bottom: 40px; }
.ab-who__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; }
.ab-who__text p { margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: var(--text); }
.ab-who__nets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.ab-who__nets span { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 6px; }
.ab-who__nets i { font-style: normal; height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--navy); }

.ab-partners { display: flex; align-items: center; gap: 24px; margin-top: 36px; padding: 18px 24px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.ab-partners__label { flex: none; max-width: 130px; font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--muted); }
.ab-partners__list { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.ab-partners__logo { display: flex; align-items: center; height: 44px; }
.ab-partners__logo img { height: 34px; max-width: 130px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.ab-partners__logo:hover img { filter: none; opacity: 1; }

.ab-adv { padding-top: 40px; }
.ab-adv__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ab-adv__item { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.ab-adv__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ab-adv__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--sea), var(--teal)); }
.ab-adv__icon img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.ab-adv__item b { font-size: 17px; color: var(--navy); line-height: 1.3; }
.ab-adv__item p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

.ab-team { padding-top: 20px; }

.ab-reviews { padding-top: 20px; }
.ab-reviews__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.ab-reviews__text { margin: 16px 0 22px; color: var(--muted); line-height: 1.6; }
.ab-reviews__badges { display: grid; gap: 12px; margin-bottom: 20px; }
.ab-rating { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); transition: transform .2s; }
.ab-rating:hover { transform: translateY(-2px); }
.ab-rating b { display: block; color: var(--navy); }
.ab-rating small { color: var(--muted); font-size: 13px; }
.ab-rating > a { flex: 1; }
.ab-rating__badge { flex: none; width: 150px; height: 50px; border: 0; margin-left: auto; }
.ab-rating__logo { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; font-weight: 800; color: #fff; }
.ab-rating__logo--ya { background: #fc3f1d; font-size: 22px; }
.ab-rating__logo--gis { background: #19aa1e; font-size: 13px; }
.ab-reviews__widget { height: 560px; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.ab-reviews__widget iframe { display: block; width: 100%; height: 100%; border: 0; }

.ab-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; padding: 16px 22px; border-radius: 16px; border: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.ab-legal b { color: var(--navy); }

.ab-loyal { padding: 10px 0 30px; }
.ab-loyal__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px 36px; border-radius: 24px; background: linear-gradient(120deg, #e6f6f4, #eaf2fb); }
.ab-loyal h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 30px); color: var(--navy); }
.ab-loyal p { margin: 0; color: var(--muted); max-width: 720px; line-height: 1.55; }
.ab-loyal .section__kicker { margin-bottom: 6px; }

.ab-faq { background: #fff; }
.ab-faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.ab-faq__more { margin: 18px 0 0; color: var(--muted); line-height: 1.6; }
.ab-faq__more a { color: var(--sea); font-weight: 700; }
.ab-faq__list { display: flex; flex-direction: column; gap: 10px; }
.ab-faq__item { border-radius: 16px; background: var(--bg); transition: background .2s; }
.ab-faq__item[open] { background: #fff; box-shadow: 0 0 0 1.5px var(--line), var(--shadow); }
.ab-faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--navy); cursor: pointer; }
.ab-faq__item summary::-webkit-details-marker { display: none; }
.ab-faq__item summary::after { content: '+'; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 20px; font-weight: 600; transition: transform .2s; }
.ab-faq__item[open] summary::after { transform: rotate(45deg); background: var(--coral); }
.ab-faq__a { padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: var(--text); }
.ab-faq__a p { margin: 0 0 10px; }
.ab-faq__a > :last-child { margin-bottom: 0; }

.ab-office__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.ab-office__card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ab-office__map { flex: 1; min-height: 300px; background: var(--line); }
.ab-office__map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }
.ab-office__info { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; padding: 20px 22px; }
.ab-office__info small { display: block; font-size: 12px; color: var(--muted); }
.ab-office__info b { font-size: 15px; color: var(--navy); white-space: nowrap; }
.ab-office__info .btn { margin-left: auto; }
.ab-office__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-office__photo { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--line); }
.ab-office__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ab-office__photo:hover img { transform: scale(1.05); }

/* ---------- Программа лояльности ---------- */
.ab-hero--short .ab-hero__inner { grid-template-columns: 1.2fr .8fr; }
.ly-card { justify-self: center; width: min(400px, 100%); aspect-ratio: 1.6; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 28px; border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.06)), linear-gradient(135deg, var(--teal), var(--sea) 55%, var(--navy)); border: 1px solid rgba(255,255,255,.3); box-shadow: 0 30px 70px rgba(0,0,0,.35); transform: rotate(-4deg); }
.ly-card__top { display: flex; justify-content: space-between; align-items: center; }
.ly-card__top img { height: 26px; width: auto; }
.ly-card__top span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffd2c4; }
.ly-card__sum small { display: block; font-size: 13px; color: rgba(255,255,255,.75); }
.ly-card__sum b { font-size: 32px; font-weight: 800; }
.ly-card__foot { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.85); }
.ab-stats__grid--4 { grid-template-columns: repeat(4, 1fr); }

.ly-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; }
.ly-steps li { counter-increment: s; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 64px 22px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.ly-steps li::before { content: counter(s); position: absolute; top: 20px; left: 22px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--coral), var(--coral-2)); color: #fff; font-weight: 800; }
.ly-steps b { font-size: 17px; color: var(--navy); }
.ly-steps span { font-size: 14px; line-height: 1.55; color: var(--muted); }

.ly-rules { counter-reset: r; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ly-rules li { counter-increment: r; position: relative; padding: 14px 18px 14px 56px; border-radius: 14px; background: var(--bg); font-size: 15px; line-height: 1.55; }
.ly-rules li::before { content: counter(r); position: absolute; left: 16px; top: 13px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #fff; color: var(--sea); font-size: 13px; font-weight: 800; box-shadow: 0 0 0 1px var(--line); }

@media (max-width: 1100px) {
    .ab-hero--short .ab-hero__inner { grid-template-columns: 1fr; }
    .ly-steps { grid-template-columns: repeat(2, 1fr); }
    .ab-stats__grid--4 { grid-template-columns: repeat(2, 1fr); }
    .ab-stats__grid--4 .ab-stat:nth-child(3) { border-left: 0; }
    .ab-stats__grid--4 .ab-stat:nth-child(4) { border-left: 1px solid var(--line); }
    .ab-stats__grid--4 .ab-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .ab-hero__inner, .ab-who__grid, .ab-faq__grid, .ab-office__grid, .ab-reviews__grid { grid-template-columns: 1fr; gap: 32px; }
    .ab-partners { flex-direction: column; align-items: flex-start; }
    .ab-partners__label { max-width: none; }
    .ab-partners__list { justify-content: flex-start; }
    .ab-hero__photo::before { display: none; }
    .ab-stats__grid { grid-template-columns: repeat(3, 1fr); }
    .ab-stat:nth-child(4) { border-left: 0; }
    .ab-stat:nth-child(n+4) { border-top: 1px solid var(--line); }
    .ab-adv__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .ab-hero { padding: 90px 0 84px; }
    .ab-hero__lead { font-size: 15px; }
    .ab-hero__actions .btn { flex: 1; }
    .ab-stats { margin-top: -44px; }
    .ab-stats__grid { grid-template-columns: 1fr 1fr; }
    .ab-stat { padding: 16px; border-left: 0; border-top: 1px solid var(--line); }
    .ab-stat:nth-child(-n+2) { border-top: 0; }
    .ab-stat:nth-child(even) { border-left: 1px solid var(--line); }
    .ab-stat:last-child { grid-column: 1 / -1; border-left: 0; }
    .ab-stat b { font-size: 22px; }
    .ab-adv__grid { grid-template-columns: 1fr; }
    .ly-card { display: none; }
    .ly-steps { grid-template-columns: 1fr; }
    .ly-steps li { padding: 20px 18px 18px 64px; }
    .ly-steps li::before { top: 18px; left: 18px; }
    .ab-stats__grid--4 .ab-stat:last-child { grid-column: auto; border-left: 1px solid var(--line); }
    .ly-rules li { font-size: 14px; padding-left: 50px; }
    .ab-partners__list { gap: 14px 22px; }
    .ab-partners__logo img { max-width: 100px; height: 28px; }
    .ab-reviews__widget { height: 480px; }
    .ab-loyal__inner { flex-direction: column; align-items: flex-start; padding: 24px; }
    .ab-faq__item summary { padding: 16px; }
    .ab-faq__a { padding: 0 16px 16px; }
    .ab-office__info .btn { margin-left: 0; width: 100%; }
    .ab-office__photos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .ab-office__photo { scroll-snap-align: start; }
}
