/* ============================================================
   Страница «Аудит сайта» — /seo-konsultaciya/
   ============================================================ */

/* ---- Сброс глобальных ::after подчёркиваний ---- */
.audit-hero .title::after,
.audit-types h2::after,
.audit-calc h2::after,
.audit-process h2::after,
.audit-expert h2::after,
.audit-contact h2::after,
.audit-faq-section h2::after {
    content: none !important;
}

.audit-hero .title::before {
    display: none !important;
}

/* ---- Hero ---- */
.audit-hero {
    padding: 80px 0 80px;
    background: linear-gradient(135deg, #f0f6fd 0%, #e8f0fb 100%);
    position: relative;
}

.audit-hero__inner {
    display: flex;
    align-items: center;
    gap: 100px;
}

.audit-hero__content {
    flex: 1;
}

.audit-hero .title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    color: #11172D;
    -webkit-text-fill-color: #11172D;
    margin-bottom: 14px;
}

.audit-hero__subtitle {
    font-size: 16px;
    line-height: 1.65;
    color: #5D6584;
    max-width: 580px;
    margin-bottom: 20px;
}

.audit-hero__subtitle span {
    color: #005DAC;
    font-weight: 700;
}

.audit-hero__badges {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.audit-hero__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    box-shadow: 0 4px 20px rgba(0,93,172,0.08);
    font-size: 14px;
    font-weight: 600;
    color: #11172D;
}

.audit-hero__badge svg {
    flex-shrink: 0;
}

.audit-hero__badge-number {
    font-size: 20px;
    font-weight: 800;
    color: #005DAC;
    margin-right: 2px;
}

.audit-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #005DAC;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.audit-hero__cta:hover {
    background: #004a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,93,172,0.25);
}

.audit-hero__img {
    flex: 0 0 340px;
    position: relative;
    margin-right: 40px;
}

.audit-hero__img img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,93,172,0.12);
    object-fit: cover;
    display: block;
}

.audit-hero__img-caption {
    text-align: center;
    margin-top: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #11172D;
    line-height: 1.4;
}

.audit-hero__img-caption span {
    font-size: 13px;
    font-weight: 500;
    color: #005DAC;
}

/* ---- 4 вида аудита ---- */
.audit-types {
    padding: 80px 0;
}

.audit-types h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #11172D;
    -webkit-text-fill-color: #11172D;
    margin-bottom: 12px;
    text-align: center;
}

.audit-types__subtitle {
    text-align: center;
    font-size: 16px;
    color: #5D6584;
    margin-bottom: 48px;
}

.audit-types__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.audit-types__card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,93,172,0.06);
    border: 1px solid rgba(0,93,172,0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

.audit-types__card:hover {
    box-shadow: 0 12px 40px rgba(0,93,172,0.12);
    transform: translateY(-4px);
}

.audit-types__card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0,93,172,0.08);
    font-size: 16px;
    font-weight: 800;
    color: #005DAC;
    margin-bottom: 16px;
}

.audit-types__card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #11172D;
    margin-bottom: 10px;
}

.audit-types__card h3::after {
    content: none !important;
}

.audit-types__card p {
    font-size: 15px;
    line-height: 1.65;
    color: #5D6584;
    margin-bottom: 16px;
}

.audit-types__card-price {
    display: inline-block;
    font-size: 18px;
    font-weight: 800;
    color: #005DAC;
    background: rgba(0,93,172,0.06);
    padding: 8px 20px;
    border-radius: 8px;
}

/* ---- Калькулятор стоимости ---- */
.audit-calc {
    padding: 80px 0;
    background: #f5f7fb;
}

.audit-calc__box {
    background: linear-gradient(135deg, #005DAC 0%, #003f7a 100%);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: #fff;
}

.audit-calc__info {
    flex: 1;
}

.audit-calc h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: #fff;
    -webkit-text-fill-color: #fff;
    margin-bottom: 12px;
    text-align: left;
}

.audit-calc h2::after {
    content: none !important;
}

.audit-calc__desc {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
}

.audit-calc__checks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.audit-calc__check {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    color: rgba(255,255,255,0.95);
    user-select: none;
}

.audit-calc__check input {
    display: none;
}

.audit-calc__check-box {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.audit-calc__check input:checked + .audit-calc__check-box {
    background: #fff;
    border-color: #fff;
}

.audit-calc__check input:checked + .audit-calc__check-box::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #005DAC;
    border-radius: 3px;
}

.audit-calc__note {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.audit-calc__right {
    text-align: center;
    flex-shrink: 0;
    min-width: 200px;
}

.audit-calc__total-label {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.audit-calc__total {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
}

.audit-calc__total span {
    font-size: 24px;
    font-weight: 600;
}

.audit-calc__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #005DAC !important;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.audit-calc__btn:hover {
    background: #f0f6fd;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ---- Process (этапы работы) ---- */
.audit-process {
    padding: 80px 0;
}

.audit-process h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #11172D;
    -webkit-text-fill-color: #11172D;
    margin-bottom: 48px;
    text-align: center;
}

.audit-process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.audit-process__step {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,93,172,0.06);
    position: relative;
}

.audit-process__step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #005DAC;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin: 0 auto 16px;
}

.audit-process__step h4 {
    font-size: 16px;
    font-weight: 700;
    color: #11172D;
    margin-bottom: 8px;
}

.audit-process__step p {
    font-size: 14px;
    line-height: 1.6;
    color: #5D6584;
}

/* ---- Expert ---- */
.audit-expert {
    padding: 80px 0;
    background: #f5f7fb;
}

.audit-expert__inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.audit-expert__photo {
    flex: 0 0 300px;
}

.audit-expert__photo img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,93,172,0.15);
}

.audit-expert__info {
    flex: 1;
}

.audit-expert h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #11172D;
    -webkit-text-fill-color: #11172D;
    margin-bottom: 16px;
    text-align: left;
}

.audit-expert__text {
    font-size: 16px;
    line-height: 1.75;
    color: #5D6584;
    margin-bottom: 24px;
}

.audit-expert__text a {
    color: #005DAC;
    font-weight: 600;
    text-decoration: underline;
}

.audit-expert__stats {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.audit-expert__stat {
    text-align: center;
}

.audit-expert__stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #005DAC;
    display: block;
}

.audit-expert__stat-label {
    font-size: 13px;
    color: #5D6584;
}

/* ---- Contact ---- */
.audit-contact {
    padding: 80px 0;
}

.audit-contact h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #11172D;
    -webkit-text-fill-color: #11172D;
    margin-bottom: 16px;
    text-align: center;
}

.audit-contact__subtitle {
    text-align: center;
    font-size: 16px;
    color: #5D6584;
    margin-bottom: 48px;
}

.audit-contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.audit-contact__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 24px rgba(0,93,172,0.06);
    border: 1px solid rgba(0,93,172,0.06);
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.audit-contact__card:hover {
    box-shadow: 0 12px 40px rgba(0,93,172,0.14);
    transform: translateY(-4px);
}

.audit-contact__card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.audit-contact__card--phone .audit-contact__card-icon { background: rgba(0,93,172,0.08); }
.audit-contact__card--whatsapp .audit-contact__card-icon { background: rgba(37,211,102,0.1); }
.audit-contact__card--telegram .audit-contact__card-icon { background: rgba(0,136,204,0.1); }
.audit-contact__card--email .audit-contact__card-icon { background: rgba(234,88,12,0.1); }
.audit-contact__card--vk .audit-contact__card-icon { background: rgba(0,119,255,0.1); }
.audit-contact__card--tiktok .audit-contact__card-icon { background: rgba(0,0,0,0.06); }

.audit-contact__card-label {
    font-size: 13px;
    color: #5D6584;
    margin-bottom: 4px;
}

.audit-contact__card-value {
    font-size: 16px;
    font-weight: 700;
    color: #11172D;
    margin-bottom: 12px;
}

.audit-contact__card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,93,172,0.06);
    color: #005DAC;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.audit-contact__card:hover .audit-contact__card-action {
    background: #005DAC;
    color: #fff;
}

/* ---- FAQ ---- */
.audit-faq-section {
    padding: 80px 0;
    background: #f5f7fb;
}

.audit-faq-section h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #11172D;
    -webkit-text-fill-color: #11172D;
    margin-bottom: 48px;
    text-align: center;
}

.audit-faq__items {
    max-width: 800px;
    margin: 0 auto;
}

.audit-faq__item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,93,172,0.04);
}

.audit-faq__q {
    padding: 20px 28px;
    font-size: 16px;
    font-weight: 700;
    color: #11172D;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.audit-faq__q::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: #005DAC;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.audit-faq__item.active .audit-faq__q::after {
    transform: rotate(45deg);
}

.audit-faq__a {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.audit-faq__item.active .audit-faq__a {
    padding: 0 28px 20px;
    max-height: 400px;
}

.audit-faq__a p {
    font-size: 15px;
    line-height: 1.65;
    color: #5D6584;
}

/* ---- Final CTA ---- */
.audit-final-cta {
    padding: 80px 0;
    text-align: center;
}

.audit-final-cta__box {
    background: linear-gradient(135deg, #005DAC 0%, #003f7a 100%);
    border-radius: 24px;
    padding: 60px 40px;
    color: #fff;
}

.audit-final-cta__box h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #fff;
    -webkit-text-fill-color: #fff;
    margin-bottom: 16px;
}

.audit-final-cta__box h2::after {
    content: none !important;
}

.audit-final-cta__box p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.audit-final-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.audit-final-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
}

.audit-final-cta__btn--primary {
    background: #fff;
    color: #005DAC !important;
}

.audit-final-cta__btn--primary:hover {
    background: #f0f6fd;
    transform: translateY(-2px);
}

.audit-final-cta__btn--secondary {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.3);
}

.audit-final-cta__btn--secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .audit-hero {
        padding: 160px 0 50px;
    }
    .audit-hero__inner {
        flex-direction: column;
        gap: 32px;
    }
    .audit-hero__img {
        flex: none;
        max-width: 200px;
        margin: 0 auto;
    }
    .audit-types__grid {
        grid-template-columns: 1fr;
    }
    .audit-calc__box {
        flex-direction: column;
        text-align: center;
        padding: 40px 28px;
    }
    .audit-calc h2 {
        text-align: center;
    }
    .audit-process__steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .audit-expert__inner {
        flex-direction: column;
        text-align: center;
    }
    .audit-expert__photo {
        flex: none;
        max-width: 240px;
    }
    .audit-expert h2 {
        text-align: center;
    }
    .audit-expert__stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .audit-hero {
        padding: 60px 0 50px;
    }
    .audit-hero__badges {
        flex-direction: column;
        gap: 12px;
    }
    .audit-process__steps {
        grid-template-columns: 1fr;
    }
    .audit-contact__grid {
        grid-template-columns: 1fr;
    }
    .audit-calc__total {
        font-size: 44px;
    }
}
