/* Детали восстановленных блоков макета: значения из исходной верстки дизайна (dev.aurora-digital-group.ru, main.css). Только оформление. */

/* 1. Заголовки H2 блоков макета: межстрочный 1 (как в макете), вместо 1.15 */
section:is(.about,.why,.clients,.solutions,.cases,.quiz,.services,.nums,.metrics,.cta,.advants,.quality,.compare,.lead,.info,.system,.receive,.results,.faq,.strategy,.funnel,.features,.why-v2,.details,.pay) .h2{line-height:1!important}

/* 2. H1 первого экрана: начертание и межстрочный исходного дизайна */
section.hero .h1{font-weight:600!important;line-height:1.0666666667!important;letter-spacing:normal!important}

/* 3. Логотипы клиентов: поля плашки 1.25rem 2.5rem, логотип на всю высоту */
section.clients .swiper-slide{padding:1.25rem 2.5rem!important}
section.clients .swiper-slide img{height:100%!important;width:auto!important;max-width:100%!important;object-fit:contain}

/* 5. Иллюстрация формы как в макете (на десктопе); остальные размеры теперь дает исходная разметка */
@media (min-width:769px){
 section.cta .cta__img{max-width:30.25rem!important}
}

/* 6. Блок «Выведите ваш бизнес в топ VK рекламы»: кегль заголовка как в исходном .lead__title p */
@media (min-width:769px){
 section.lead.lead--vk .lead__title.audit-offer-title{font-size:3rem!important;line-height:1.0416666667!important;font-weight:700}
 section.lead.lead--vk .lead__title.audit-offer-title span{display:block;margin-top:1.25rem}
}

/* 7. Форма «Оставьте свои контакты»: подписи полей как плейсхолдеры макета, чекбоксы синими квадратами */
section.cta .form__inputs label{font-size:0.8125rem!important;font-weight:400!important;color:#9E9E9E!important;text-transform:uppercase;line-height:1.54}
section.cta .form__inputs input{border-bottom:0.0625rem solid #383838!important;font-weight:400!important}
section.cta .form__checkbox{position:relative;align-items:center!important}
section.cta .form__checkbox input[type=checkbox]{position:absolute!important;opacity:0!important;width:0!important;height:0!important;margin:0!important}
section.cta .form__checkbox span{position:relative;padding-left:1.875rem}
section.cta .form__checkbox span::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:0.875rem;height:0.875rem;border:0.0625rem solid #007AFF;box-sizing:border-box}
section.cta .form__checkbox span::after{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%) translateX(0.1875rem) scale(0);width:0.5625rem;height:0.4375rem;background:url(/local/templates/aurora/assets/images/check-blue.svg) no-repeat center/contain;transition:transform .2s linear}
section.cta .form__checkbox input[type=checkbox]:checked+span::after{transform:translateY(-50%) translateX(0.1875rem) scale(1)}
section.cta .form__checkbox input[type=checkbox]:focus-visible+span::before{outline:2px solid #007AFF;outline-offset:2px}

/* 8. FAQ гео: без нумерации, значок раскрытия плюс в синем круге, у открытого повернут на 45 градусов */
section.faq .geo-audit-question summary{grid-template-columns:minmax(0,1fr) auto!important}
section.faq .geo-audit-question summary::before{content:none!important;display:none!important}
section.faq .geo-audit-question summary::after{content:"+"!important;transition:transform .2s linear}
section.faq .geo-audit-question[open] summary::after{transform:rotate(45deg)}

/* 9. Кейсы: подзаголовок с переносом в строку, как в макете; значок 3.75rem */
section.cases .cases__head h3 span{display:inline!important}
section.cases .cases__head>img{width:3.75rem!important;height:auto!important;flex-shrink:0}

/* 10. Лучший отдел качества: правило .quality{z-index:1} из main.css (в CSS шаблона его нет) */
section.quality{position:relative;z-index:1}

/* 12. Кнопка: исходное правило .button из main.css дизайнера (градиент, наведение brightness). opacity-переход оставлен для логики квиза */
.button{background:linear-gradient(47deg,#288efd 0%,#5facff 34.5%,#3294ff 66.5%,#0073f1 100%);background-size:auto;background-position:0 0;-webkit-transition:-webkit-filter .2s linear,opacity .3s ease;transition:filter .2s linear,opacity .3s ease}
@media (hover:hover){.button:hover{-webkit-filter:brightness(1.2);filter:brightness(1.2);background-position:0 0}}
.button:active{-webkit-transform:none;transform:none}
/* 13. Клиенты: в заголовке синие только слова «Более 600 клиентов», остальное темное, как в макете */
.clients__title{color:#383838}.clients__title .clients__accent{color:#007aff}
/* 14. Первый экран на десктопе ниже без изменения текста: шире колонка, H1 мельче, цена строкой в стиле подзаголовка, абзац компактнее, крошки мельче */
@media (min-width:1025px){
main>section.hero .hero__info{max-width:600px;width:600px}
main>section.hero h1.h1{font-size:1.65rem;line-height:1.1}
main>section.hero h1.h1>span{font-size:2.7rem;line-height:1.05;margin-bottom:.3rem}
main>section.hero .nov15-hero-price{font-size:1.35rem!important;line-height:1.2!important;margin:.6rem 0 .2rem!important;text-transform:uppercase!important}
main>section.hero .nov15-hero-price strong{font-weight:700}
main>section.hero .nov15-hero-budget{font-size:.8rem;line-height:1.3;margin:0 0 .4rem;text-transform:uppercase}
main>section.hero .adg-copy-intro{font-size:.95rem!important;line-height:1.4!important;margin:.8rem 0 1rem!important}
main>section.hero:not(.hero--lead):not(.hero--vk):not(.hero--geo) .hero__info{max-width:520px;width:520px}
.adg-breadcrumbs{font-size:11px;line-height:1.3;padding-top:4px;padding-bottom:4px}
}
/* 15. Переносы заголовков как в макете, только CSS (без br) */
@media (min-width:1025px){
section.quality .h2,section.quality h2{max-width:470px}
section.quiz.quiz--v2 .h2 span{display:inline!important}
section.quiz.quiz--v2 .h2{max-width:900px;margin-left:auto;margin-right:auto}
section.info .info__title span{display:inline}section.info .info__title{max-width:580px;margin-left:auto;margin-right:auto}
html body main section.lead.lead--vk h2.lead__title.audit-offer-title{font-size:2.5rem!important;line-height:1.1!important;max-width:470px}
html body main section.lead.lead--vk h2.lead__title span{white-space:nowrap}
}
/* 16. Подробности Директа: ноутбук сверху, пунктир со стрелкой как в макете */
@media (min-width:1025px){
section.details .details__wr{position:relative;align-items:flex-start;padding-top:1.4rem}
section.details .details__img{align-self:flex-start;max-width:26.25rem;margin-top:.6rem}
section.details .details__wr::before{content:"";position:absolute;left:0;top:0;width:24rem;border-top:2px dashed #7d8fb3}
section.details .details__wr::after{content:"";position:absolute;left:23.6rem;top:-4px;width:8px;height:8px;border-top:2px solid #7d8fb3;border-right:2px solid #7d8fb3;transform:rotate(45deg)}
}
/* 17. Картинки первых экранов по макету: SEO крупнее, ВК ближе к тексту, Директ немного крупнее */
@media (min-width:1025px){
main>section.hero.hero--seo .hero__bg{width:570px;max-width:570px;justify-self:end}main>section.hero.hero--seo .hero__info{max-width:490px!important;width:490px!important}
main>section.hero.hero--direct .hero__bg{width:580px;max-width:580px}
main>section.hero.hero--vk .hero__info{max-width:540px;width:540px}
main>section.hero.hero--vk .hero__bg{margin-right:90px}
}
/* 18. Услуги: отступ строки про итоговую стоимость */
section.services .services__list+p{margin-top:1.5rem;font-size:.8rem;line-height:1.35;text-align:center;max-width:52rem;margin-left:auto;margin-right:auto}
/* 19. Финальный блок Директа: кегль и росчерк как в макете; карточки «Почему Директ» */
section.lead.lead--direct .lead__line{display:block;width:380px;max-width:100%;height:auto;margin:.1rem 0 1.6rem}
@media (min-width:1025px){
html body main section.lead.lead--direct h2.lead__title.audit-offer-title{margin-bottom:0;font-size:2.1rem!important;line-height:1.1!important}
html body main section.lead.lead--direct h2.lead__title span{font-size:1rem;margin-top:.6rem}
section.why-v2 .cards .card p{font-size:.75rem;line-height:1.5}
}
/* 20. Гео, блок проблем: колонка уже, фото крупнее как в макете */
@media (min-width:1025px){
section.info .info__left{max-width:520px}
section.info .info__img{max-width:300px;width:300px;margin-left:110px}
}
/* 21. Мелкие правки по макету: цифры, награды, акварели, ноутбук ВК */
section.nums .nums__item p,section.nums .nums__item p strong{font-weight:400}
@media (min-width:1025px){
section.why .why__img{max-width:470px}
section.why .why__list{row-gap:6px}
section.services .shadow{top:4rem;width:30rem}
section.advants .shadow{bottom:auto;top:40%;width:38rem}
section.receive .shadow{width:1200px}
section.cta .shadow{width:60rem}
section.lead.lead--vk .lead__img{margin-right:90px}
}
section.clients .clients__title .clients__accent{display:inline!important;margin:0!important}
section.clients h2.clients__title{display:block!important;text-align:center}
section.clients h2.clients__title svg{display:block;margin:.3rem auto 0;max-width:100%}
@media (min-width:1025px){section.lead.lead--v2 .lead__img{max-width:470px;width:470px;margin-top:-2.5rem}}
section.why-v2 .container>p{margin-bottom:1.6rem}
