/* ==========================================================================
   Страница «Агентство недвижимости в Москве»
   Все классы с префиксом ag-, чтобы не конфликтовать с темой realtor.
   ========================================================================== */

.ag-page {
    font-family: 'Circe', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: #3d3d3d;
    overflow-x: hidden;
}

.ag-page *,
.ag-page *::before,
.ag-page *::after { box-sizing: border-box; }

.ag-page h1,
.ag-page h2,
.ag-page h3,
.ag-page h4 { margin: 0; color: #26262a; line-height: 1.15; font-weight: 800; }

.ag-page p { margin: 0; }
.ag-page img { max-width: 100%; height: auto; display: block; }
.ag-page ul { margin: 0; padding: 0; list-style: none; }
.ag-page a { color: #0090d8; text-decoration: none; }
.ag-page a:hover { text-decoration: underline; }

.ag-wrap { width: min(1200px, 100% - 40px); margin-left: auto; margin-right: auto; }

.ag-sec { padding: clamp(44px, 5vw, 80px) 0; }
.ag-sec--soft { background: #f5f6f8; }

.ag-head { max-width: 860px; margin-bottom: clamp(24px, 3vw, 40px); }
.ag-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ag-head p { margin-top: 12px; color: #565555; }

/* ---------- кнопки ---------- */
.ag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 100px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    text-align: center;
    transition: background .18s, color .18s, box-shadow .18s, transform .18s;
}
.ag-btn:hover { text-decoration: none; }
.ag-page .ag-btn--orange,
.ag-page .ag-btn--orange:hover { background: #ffbb00; border-color: #ffbb00; color: #26262a; }
.ag-page .ag-btn--orange:hover { background: #ffc733; border-color: #ffc733; transform: translateY(-2px); }
.ag-page .ag-btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.ag-page .ag-btn--ghost:hover { background: #fff; border-color: #fff; color: #26262a; }
.ag-page .ag-btn--wide { width: 100%; }

/* ==========================================================================
   1. Первый экран
   ========================================================================== */
.ag-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background-color: #0090d8;
    background-image: url('../img/bg-1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    -webkit-clip-path: polygon(0 0, 100% 0%, 100% 90%, 0% 100%);
    clip-path: polygon(0 0, 100% 0%, 100% 90%, 0% 100%);
    padding: 60px 0 74px;
    min-height: 600px;
}
.ag-hero__in {
    position: relative;
    z-index: 3;
    min-height: 520px;
    display: flex;
    align-items: flex-start;
}
.ag-hero__content { position: relative; z-index: 3; width: 58%; padding-bottom: 8px; }
.ag-hero h1 {
    color: #fff;
    font-size: clamp(26px, 3.4vw, 41px);
    text-transform: uppercase;
    letter-spacing: -.01em;
    max-width: 20ch;
}
.ag-hero__sub {
    margin-top: 20px;
    font-size: clamp(15px, 1.35vw, 17.5px);
    font-weight: 300;
    color: rgba(255,255,255,.95);
    max-width: 56ch;
    line-height: 1.55;
}
.ag-hero__consult { margin-top: 26px; line-height: 1.1; font-size: clamp(17px, 1.6vw, 21px); }
.ag-hero__consult b { font-weight: 800; }
.ag-hero__btns { margin-top: 22px; display: flex; flex-wrap: nowrap; gap: 12px; align-items: center; }
.ag-hero__btns .ag-btn { white-space: nowrap; padding: 14px 26px; font-size: 16px; }

/* на узких экранах кнопки могут переноситься и текст в них — тоже */
@media (max-width: 900px) {
    .ag-hero__btns { flex-wrap: wrap; }
    .ag-hero__btns .ag-btn { white-space: normal; max-width: 100%; }
}

.ag-hero__adv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-top: 32px;
    max-width: 560px;
}
.ag-hero__adv-item { display: flex; align-items: center; gap: 11px; font-size: 14.5px; line-height: 1.3; }
.ag-hero__adv-item svg { flex: none; width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 1.6; }

.ag-hero__person {
    position: absolute;
    right: 0;
    bottom: -110px;
    width: 660px;
    max-width: 52%;
    text-align: center;
    z-index: 2;
    pointer-events: none;
}
.ag-hero__person-name {
    font-size: 19px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.ag-hero__person-name span { font-weight: 800; }
.ag-hero__person img { width: 100%; height: auto; margin-left: auto; margin-right: auto; filter: drop-shadow(0 16px 36px rgba(0,0,0,.3)); }

/* плашки-факты */
.ag-facts { background: #fff; padding: 36px 0 60px; }
.ag-facts__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 34px;
}
.ag-facts__t { font-size: clamp(17px, 1.6vw, 21px); font-weight: 800; color: #26262a; }
.ag-facts__s { font-size: 14.5px; color: #565555; font-weight: 300; margin-top: 5px; }

/* ==========================================================================
   2. О компании
   ========================================================================== */
.ag-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 3.6vw, 54px); align-items: center; }
.ag-about p { color: #565555; margin-top: 14px; }
.ag-about p:first-of-type { margin-top: 18px; }
.ag-about__list { margin-top: 24px; display: grid; gap: 13px; }
.ag-about__list li { position: relative; padding-left: 34px; color: #565555; }
.ag-about__list li::before {
    content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px;
    border-radius: 50%; background: #feedba; box-shadow: inset 0 0 0 2px #ffbb00;
}
.ag-about__list li::after {
    content: ""; position: absolute; left: 6px; top: 10px; width: 8px; height: 5px;
    border-left: 2px solid #26262a; border-bottom: 2px solid #26262a; transform: rotate(-45deg);
}
.ag-about__photo { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.10); aspect-ratio: 4 / 3; background: #f5f6f8; }
.ag-about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }

/* ==========================================================================
   3. Услуги
   ========================================================================== */
.ag-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ag-card {
    background: #fff; border: 1px solid #e6e6e6; border-radius: 12px;
    padding: 26px 26px 24px; display: flex; flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.ag-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.10); transform: translateY(-3px); }
.ag-card h3 { margin-bottom: 10px; line-height: 1.25; font-size: 19px; }
.ag-card p { color: #565555; font-size: 15px; flex: 1; }
.ag-card__link { margin-top: 16px; font-weight: 700; font-size: 15px; color: #0090d8; }
.ag-card__link::after { content: " \2192"; }

/* ==========================================================================
   4. Преимущества
   ========================================================================== */
.ag-adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ag-adv__item { background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; padding: 26px; }
.ag-adv__item h3 { font-size: 17px; margin-bottom: 9px; }
.ag-adv__item p { font-size: 15px; color: #565555; }

/* ==========================================================================
   5. Этапы
   ========================================================================== */
.ag-steps { counter-reset: agstep; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1000px; }
.ag-step { position: relative; background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; padding: 22px 24px 22px 74px; }
.ag-step::before {
    counter-increment: agstep; content: counter(agstep);
    position: absolute; left: 22px; top: 22px; width: 38px; height: 38px;
    border-radius: 50%; background: #0090d8; color: #fff;
    display: grid; place-items: center; font-weight: 800; font-size: 17px;
}
.ag-step h3 { font-size: 16.5px; margin-bottom: 6px; }
.ag-step p { font-size: 15px; color: #565555; }

/* ==========================================================================
   6. Сложные сделки
   ========================================================================== */
.ag-hard { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ag-hard__item {
    padding: 24px 26px; background: #fff; border-radius: 12px;
    border-left: 4px solid #1cc2fc; box-shadow: 0 6px 20px rgba(38,38,42,.06);
}
.ag-hard__item h3 { font-size: 17px; margin-bottom: 8px; }
.ag-hard__item p { font-size: 15px; color: #565555; }

/* ==========================================================================
   7. Команда
   ========================================================================== */
.ag-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ag-person {
    background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; overflow: hidden;
    display: flex; flex-direction: column; text-align: center;
}
.ag-person__ph { aspect-ratio: 1 / 1; overflow: hidden; background: #f5f6f8; }
.ag-person__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.ag-person__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ag-person h3 { font-size: 18px; line-height: 1.25; }
.ag-person__role { font-size: 13px; font-weight: 700; color: #0090d8; text-transform: uppercase; letter-spacing: .05em; }
.ag-person p { font-size: 14.5px; color: #565555; flex: 1; }
.ag-person__tel { font-weight: 800; color: #26262a; font-size: 17px; margin-top: 2px; }
.ag-person__tel:hover { color: #0090d8; text-decoration: none; }
.ag-person__social { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.ag-person__social a { width: 32px; height: 32px; display: grid; place-items: center; transition: transform .18s; }
.ag-person__social a:hover { transform: translateY(-2px); }
.ag-person__social svg { width: 32px; height: 32px; }

/* ==========================================================================
   8. Кейсы — слайдер, 1 кейс: текст слева, фото справа
   ========================================================================== */
.ag-cases { background: #26262a; color: #fff; overflow: hidden; }
.ag-cases h2 { color: #fff; }
.ag-cases .ag-head p { color: rgba(255,255,255,.72); }

.ag-slider { position: relative; overflow: hidden; }
.ag-slider__track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.ag-slider__nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; align-items: center; }
.ag-slider__nav button {
    width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45);
    background: transparent; color: #fff; cursor: pointer; font-size: 20px; line-height: 1;
    transition: background .18s, border-color .18s;
}
.ag-slider__nav button:hover { background: #ffbb00; border-color: #ffbb00; color: #26262a; }
.ag-slider__nav button:disabled { opacity: .3; cursor: default; }
.ag-slider__nav button:disabled:hover { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.ag-slider__count { color: rgba(255,255,255,.6); font-size: 14px; margin-left: 8px; min-width: 44px; text-align: center; }

.ag-case { flex: 0 0 100%; padding: 0 4px; }
.ag-case__in {
    background: #fff; border-radius: 12px; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1fr; min-height: 440px;
}
.ag-case__img { order: 2; overflow: hidden; background: #ddd; }
.ag-case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ag-case__in:hover .ag-case__img img { transform: scale(1.03); }

.ag-case__body {
    order: 1; padding: 34px 36px; display: flex; flex-direction: column; gap: 14px;
    color: #565555;
}
.ag-case__tag {
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: #7a6a1e; background: #feedba; padding: 6px 12px; border-radius: 100px;
    align-self: flex-start; line-height: 1.3;
}
.ag-case dl { margin: 0; display: grid; gap: 14px; }
.ag-case dt { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: #aaa9a9; font-weight: 700; }
.ag-case dd { margin: 4px 0 0; font-size: 15px; color: #565555; line-height: 1.5; }
.ag-case dd ul { margin-top: 6px; display: grid; gap: 5px; }
.ag-case dd li { font-size: 15px; color: #565555; line-height: 1.45; padding-left: 15px; position: relative; }
.ag-case dd li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: #1cc2fc; }

.ag-case__result { background: #eef7fd; border-left: 3px solid #0090d8; border-radius: 8px; padding: 12px 16px; font-size: 15px; color: #26262a; }

/* скрытая часть + кнопка «Подробнее» */
.ag-case__more { display: none; }
.ag-case__more.is-open { display: block; }
.ag-case__toggle {
    align-self: flex-start; margin-top: auto; padding: 10px 22px;
    background: transparent; border: 1.5px solid #0090d8; border-radius: 100px;
    color: #0090d8; font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer;
    transition: background .18s, color .18s;
}
.ag-case__toggle:hover { background: #0090d8; color: #fff; }

/* ==========================================================================
   9. География
   ========================================================================== */
.ag-geo { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 12px; }
.ag-geo a {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding: 15px 18px; background: #fff; border: 1px solid #e6e6e6; border-radius: 10px;
    color: #26262a; font-weight: 700; font-size: 15px;
    transition: border-color .18s, box-shadow .18s;
}
.ag-geo a:hover { border-color: #ffbb00; box-shadow: 0 10px 30px rgba(0,0,0,.10); text-decoration: none; }
.ag-geo a::after { content: "\2192"; color: #ffbb00; font-weight: 800; }
.ag-geo a.ag-geo__all {
    background: #26262a; color: #fff; border-color: #26262a; justify-content: center;
}
.ag-geo a.ag-geo__all:hover { background: #0090d8; border-color: #0090d8; color: #fff; }
.ag-geo a.ag-geo__all::after { content: "\2192"; color: #ffbb00; }
.ag-geo-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ==========================================================================
   10. Стоимость
   ========================================================================== */
.ag-price { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.10); }
.ag-price caption { text-align: left; font-weight: 800; color: #26262a; padding: 18px 22px; font-size: 17px; background: #f5f6f8; border-bottom: 1px solid #e6e6e6; }
.ag-price td { padding: 15px 22px; font-size: 15.5px; border-bottom: 1px solid #e6e6e6; }
.ag-price tr:last-child td { border-bottom: 0; }
.ag-price td:last-child { text-align: right; white-space: nowrap; font-weight: 800; color: #26262a; }
.ag-price-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.ag-price-cta span { font-size: 14.5px; color: #565555; }

/* ==========================================================================
   11. Отзывы — только фото
   ========================================================================== */
.ag-reviews { background: url('../img/bg-1.png') no-repeat center / cover; }
.ag-reviews__t { text-align: center; margin-bottom: 34px; }
.ag-reviews__t h2 span {
    display: block; font-weight: 300; font-size: .72em; letter-spacing: .04em;
    color: #565555; text-transform: none; margin-top: 6px;
}
.ag-photos { position: relative; padding: 0 56px; overflow: hidden; }
.ag-photos__track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.ag-photo { flex: 0 0 33.3333%; padding: 0 11px; }
.ag-photo__in { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.17); background: #e9e9e9; }
.ag-photo__in img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ag-photo__in:hover img { transform: scale(1.05); }
.ag-photos__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,.10); display: grid; place-items: center;
    color: #26262a; font-size: 19px; transition: background .18s;
}
.ag-photos__arrow:hover { background: #ffbb00; }
.ag-photos__arrow--prev { left: 0; }
.ag-photos__arrow--next { right: 0; }
.ag-photos__dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.ag-photos__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #c9c9c9; cursor: pointer; padding: 0; }
.ag-photos__dots button.is-active { background: #ffbb00; transform: scale(1.3); }

/* ==========================================================================
   12. FAQ
   ========================================================================== */
.ag-faq { max-width: 920px; margin-left: auto; margin-right: auto; }
.ag-faq__item { background: #fff; border: 1px solid #e6e6e6; border-radius: 10px; margin-bottom: 10px; overflow: hidden; transition: border-color .2s; }
.ag-faq__item.is-open { border-color: #ffbb00; }
.ag-faq__q {
    width: 100%; text-align: left; cursor: pointer; padding: 19px 56px 19px 22px;
    background: none; border: 0; font: inherit; font-weight: 700; color: #26262a;
    font-size: 16.5px; position: relative; line-height: 1.35;
}
.ag-faq__q::after {
    content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px;
    border-right: 2px solid #ffbb00; border-bottom: 2px solid #ffbb00;
    transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.ag-faq__item.is-open .ag-faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.ag-faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.ag-faq__a p { padding: 0 22px 20px; color: #565555; font-size: 15.5px; }

/* ==========================================================================
   13. Финальный CTA
   ========================================================================== */
.ag-final { background: linear-gradient(135deg, #0090d8, #00a6e0); color: #fff; position: relative; overflow: hidden; }
.ag-final::after {
    content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px;
    border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 68%);
}
.ag-final__in {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 4vw, 60px);
    align-items: center; position: relative; z-index: 2;
}
.ag-final h2 { color: #fff; }
.ag-final p { margin-top: 14px; color: rgba(255,255,255,.92); }
.ag-final__tels { margin-top: 26px; display: grid; gap: 9px; font-size: 17px; }
.ag-final__tels a { color: #fff; font-weight: 700; }
.ag-final__tels a:hover { color: #ffbb00; text-decoration: none; }
.ag-final__note { margin-top: 10px; font-size: 13.5px; color: rgba(255,255,255,.7); }

.ag-formbox {
    background: #fff; border-radius: 14px; padding: clamp(22px, 3vw, 34px);
    box-shadow: 0 20px 50px rgba(0,0,0,.2); color: #3d3d3d;
}
.ag-formbox__title { font-size: 20px; font-weight: 800; color: #26262a; text-align: center; }
.ag-formbox__sub { font-size: 14.5px; color: #565555; text-align: center; margin-top: 8px; margin-bottom: 6px; }

/* поля CF7 внутри белой карточки */
.ag-formbox .wpcf7 p { margin: 0 0 12px; }
.ag-formbox .wpcf7-form-control-wrap { display: block; }
.ag-formbox input[type="text"],
.ag-formbox input[type="tel"],
.ag-formbox input[type="email"],
.ag-formbox textarea {
    width: 100%; padding: 14px 20px; border: 1px solid #aaa9a9; border-radius: 100px;
    font-family: inherit; font-size: 16px; color: #26262a; background: #fff; box-shadow: none;
}
.ag-formbox textarea { border-radius: 16px; min-height: 110px; resize: vertical; }
.ag-formbox input:focus, .ag-formbox textarea:focus { outline: none; border-color: #0090d8; }
.ag-formbox .privacy-policy-agree { font-size: 13px; color: #565555; display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; margin: 14px 0 6px; }
.ag-formbox .privacy-policy-agree a { color: #565555; text-decoration: underline; }
.ag-formbox input[type="submit"] {
    width: 100%; margin-top: 10px; padding: 15px 32px; border: 2px solid #ffbb00; border-radius: 100px;
    background: #ffbb00; color: #26262a; font-family: inherit; font-weight: 700; font-size: 17px;
    cursor: pointer; transition: background .18s;
}
.ag-formbox input[type="submit"]:hover { background: #ffc733; }
.ag-formbox .wpcf7-response-output { margin: 12px 0 0; font-size: 14px; }

/* ==========================================================================
   Поп-ап заявки
   ========================================================================== */
.ag-popup {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.ag-popup.is-open { display: flex; }
.ag-popup__overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(20,24,30,.6); }
.ag-popup__box {
    position: relative; background: #fff; border-radius: 14px; width: 100%; max-width: 440px;
    max-height: 92vh; overflow-y: auto; padding: 34px 30px 28px;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.ag-popup__close {
    position: absolute; top: 10px; right: 12px; width: 36px; height: 36px;
    border: 0; background: none; font-size: 26px; line-height: 1; color: #aaa9a9; cursor: pointer;
}
.ag-popup__close:hover { color: #26262a; }
.ag-popup .ag-formbox { padding: 0; box-shadow: none; background: transparent; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1080px) {
    .ag-grid-3, .ag-adv, .ag-team { grid-template-columns: repeat(2, 1fr); }
    .ag-steps { grid-template-columns: 1fr; }
    .ag-photo { flex: 0 0 50%; }
    .ag-hero__content { width: 62%; }
    .ag-hero__person { width: 480px; bottom: -80px; }
}

@media (max-width: 860px) {
    .ag-about { grid-template-columns: 1fr; }
    .ag-about__photo { order: -1; }
    .ag-hard { grid-template-columns: 1fr; }
    .ag-final__in { grid-template-columns: 1fr; }
    .ag-facts__row { grid-template-columns: 1fr 1fr; gap: 20px; }
    .ag-hero__in { min-height: 0; display: block; }
    .ag-hero__content { width: 100%; }
    .ag-hero__person { position: static; width: 100%; max-width: 340px; margin: 24px auto 0; text-align: left; pointer-events: auto; bottom: auto; }
    .ag-hero__person-name { font-size: 16px; margin-bottom: 6px; }
    .ag-hero { padding: 34px 0 46px; min-height: 0; clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); -webkit-clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
    .ag-hero__adv { grid-template-columns: 1fr; max-width: 100%; }
    .ag-hero__btns { flex-wrap: wrap; gap: 10px; }
    .ag-hero__btns .ag-btn { width: 100%; }
    .ag-geo-cta .ag-btn { width: 100%; }
}

@media (max-width: 720px) {
    .ag-page { font-size: 16px; }
    .ag-grid-3, .ag-adv, .ag-team { grid-template-columns: 1fr; }
    .ag-photo { flex: 0 0 100%; }
    .ag-photos { padding: 0 44px; }
    .ag-photos__arrow { width: 38px; height: 38px; }
    .ag-price td { padding: 13px 16px; font-size: 14.5px; }
    .ag-price caption { padding: 15px 16px; font-size: 16px; }
    .ag-hero h1 { font-size: 26px; }
    .ag-case__tag { font-size: 11px; }
    .ag-case__in { grid-template-columns: 1fr; min-height: 0; }
    .ag-case__img { order: 1; aspect-ratio: 16 / 10; }
    .ag-case__body { order: 2; padding: 22px 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .ag-page *, .ag-page *::before, .ag-page *::after { transition: none !important; animation: none !important; }
}
