/* ============================================ */
/* AUDIT HERO */
/* ============================================ */

/* --- Layout --- */
.pwd-audit-hero {
    position: relative;
    overflow: hidden;
    padding: 11rem var(--pwd-hero-padding) 6rem;
    background:
        linear-gradient(135deg, rgba(138, 92, 246, .15) 0, rgba(15, 15, 18, .8) 50%, rgba(30, 30, 40, .9) 100%),
        radial-gradient(circle at 20% 80%, rgba(138, 92, 246, .3) 0, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(167, 139, 250, .2) 0, transparent 50%),
        var(--pwd-dark-bg);
}

.pwd-audit-hero__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 4rem;
    align-items: center;
}

.pwd-audit-hero__content {
    min-width: 0;
}

.pwd-audit-hero__visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    justify-self: end;
    perspective: 1200px;
}

/* --- Elements: background --- */
.pwd-audit-hero__bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(138, 92, 246, .1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 92, 246, .1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .6;
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-hero__bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--pwd-glow-color) 0%, rgba(15, 15, 18, 0) 70%);
    filter: blur(50px);
    opacity: .5;
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-hero__bg-glow--top-right {
    top: -200px;
    right: -200px;
}

.pwd-audit-hero__bg-glow--bottom-left {
    bottom: -200px;
    left: -200px;
}

.pwd-audit-hero__bg-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(15, 15, 18, 0), var(--pwd-dark-bg));
    z-index: 1;
    pointer-events: none;
}

.pwd-audit-hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.pwd-audit-hero__particle {
    position: absolute;
    border-radius: 50%;
    background: var(--pwd-primary-color);
    opacity: .5;
}

.pwd-audit-hero__particle:nth-child(1) { width: 5px; height: 5px; top: 18%; left: 8%; }
.pwd-audit-hero__particle:nth-child(2) { width: 8px; height: 8px; top: 68%; left: 4%; }
.pwd-audit-hero__particle:nth-child(3) { width: 3px; height: 3px; top: 30%; left: 46%; }
.pwd-audit-hero__particle:nth-child(4) { width: 5px; height: 5px; top: 82%; left: 52%; }
.pwd-audit-hero__particle:nth-child(5) { width: 8px; height: 8px; top: 14%; right: 6%; }
.pwd-audit-hero__particle:nth-child(6) { width: 3px; height: 3px; top: 58%; right: 3%; }

/* --- Elements: text column --- */
.pwd-audit-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--pwd-text-light);
}

.pwd-audit-hero__title-accent {
    display: block;
    background: var(--pwd-hero-gradient);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pwd-audit-hero__lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
    max-width: 560px;
    margin-bottom: 2rem;
}

/* Price and term */
.pwd-audit-hero__deal {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.5rem;
    padding: 1rem 1.75rem;
    margin-bottom: 2rem;
    background: var(--pwd-card-bg);
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pwd-audit-hero__price {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pwd-audit-hero__deal-divider {
    width: 1px;
    height: 28px;
    background: var(--pwd-card-border);
}

.pwd-audit-hero__term {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--pwd-text-light);
}

.pwd-audit-hero__term i {
    color: var(--pwd-primary-light);
    font-size: 1rem;
}

/* Features list */
.pwd-audit-hero__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 560px;
    margin-bottom: 2.5rem;
    list-style: none;
}

.pwd-audit-hero__feature {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--pwd-text-secondary);
}

.pwd-audit-hero__feature strong {
    color: var(--pwd-text-light);
    font-weight: 600;
}

.pwd-audit-hero__feature-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(138, 92, 246, .15);
    border: 1px solid rgba(138, 92, 246, .3);
    color: var(--pwd-primary-light);
    font-size: .7rem;
}

/* Buttons */
.pwd-audit-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.pwd-audit-hero__cta,
.pwd-audit-hero__cta-secondary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s, background-color .3s, border-color .3s;
}

.pwd-audit-hero__cta {
    color: #fff;
    border: 0;
    background: linear-gradient(90deg, var(--pwd-primary-color), var(--pwd-primary-light));
    box-shadow: 0 8px 30px rgba(138, 92, 246, .4);
}

.pwd-audit-hero__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s;
}

.pwd-audit-hero__cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(138, 92, 246, .6);
}

.pwd-audit-hero__cta:hover::before {
    left: 100%;
}

.pwd-audit-hero__cta i {
    margin-left: 10px;
    transition: transform .3s;
}

.pwd-audit-hero__cta:hover i {
    transform: translateX(5px);
}

.pwd-audit-hero__cta-secondary {
    color: var(--pwd-primary-light);
    background: rgba(138, 92, 246, .1);
    border: 1px solid rgba(138, 92, 246, .3);
}

.pwd-audit-hero__cta-secondary:hover {
    transform: translateY(-3px);
    background: rgba(138, 92, 246, .2);
    border-color: var(--pwd-primary-color);
    color: var(--pwd-text-light);
}

/* --- Elements: report illustration --- */
.pwd-audit-hero__report {
    position: relative;
    overflow: hidden;
    background: var(--pwd-card-bg);
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(138, 92, 246, .18);
    transform: rotateY(var(--pwd-audit-ry, 0deg)) rotateX(var(--pwd-audit-rx, 0deg));
    transition: transform .3s ease-out;
}

/* Browser bar */
.pwd-audit-hero__report-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .8rem 1rem;
    background: var(--pwd-dark-surface);
    border-bottom: 1px solid rgba(138, 92, 246, .1);
}

.pwd-audit-hero__dots {
    display: flex;
    gap: 6px;
}

.pwd-audit-hero__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
}

.pwd-audit-hero__url {
    flex: 1;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .25rem .9rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, .05);
    font-size: .8rem;
    color: var(--pwd-text-muted);
}

.pwd-audit-hero__url i {
    font-size: .7rem;
}

/* Report header */
.pwd-audit-hero__report-head {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.25rem 1.25rem .5rem;
}

.pwd-audit-hero__report-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(138, 92, 246, .15);
    color: var(--pwd-primary-color);
    font-size: 1.2rem;
}

.pwd-audit-hero__report-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--pwd-text-light);
}

.pwd-audit-hero__report-sub {
    font-size: .85rem;
    color: var(--pwd-text-muted);
}

.pwd-audit-hero__tag {
    margin-left: auto;
    padding: .35rem .9rem;
    border-radius: 25px;
    background: rgba(138, 92, 246, .1);
    border: 1px solid rgba(138, 92, 246, .3);
    font-size: .8rem;
    font-weight: 600;
    color: var(--pwd-primary-light);
    white-space: nowrap;
}

/* Findings */
.pwd-audit-hero__findings {
    padding: .5rem 1.25rem 1rem;
    list-style: none;
}

.pwd-audit-hero__finding {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    grid-template-areas: "icon text badge";
    align-items: center;
    gap: .9rem;
    padding: .9rem 0;
    border-bottom: 1px solid rgba(138, 92, 246, .1);
}

.pwd-audit-hero__finding:last-child {
    border-bottom: 0;
}

.pwd-audit-hero__finding-icon {
    grid-area: icon;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(138, 92, 246, .15);
    color: var(--pwd-primary-light);
    font-size: 1rem;
}

.pwd-audit-hero__finding-text {
    grid-area: text;
    min-width: 0;
}

.pwd-audit-hero__finding-title {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--pwd-text-light);
}

.pwd-audit-hero__finding-desc {
    font-size: .85rem;
    line-height: 1.4;
    color: var(--pwd-text-secondary);
}

/* Status badges: colour + icon + text (status is never colour-only) */
.pwd-audit-hero__badge {
    grid-area: badge;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .75rem;
    border-radius: 25px;
    border: 1px solid;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pwd-audit-hero__badge--danger {
    color: var(--pwd-status-danger);
    background: rgba(248, 113, 113, .1);
    border-color: rgba(248, 113, 113, .3);
}

.pwd-audit-hero__badge--warning {
    color: var(--pwd-status-warning);
    background: rgba(251, 191, 36, .1);
    border-color: rgba(251, 191, 36, .3);
}

.pwd-audit-hero__badge--ok {
    color: var(--pwd-status-ok);
    background: rgba(52, 211, 153, .1);
    border-color: rgba(52, 211, 153, .3);
}

/* Report footer */
.pwd-audit-hero__report-foot {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    background: rgba(138, 92, 246, .05);
    border-top: 1px solid rgba(138, 92, 246, .1);
    font-size: .9rem;
    color: var(--pwd-text-secondary);
}

.pwd-audit-hero__report-foot i {
    color: var(--pwd-primary-light);
}

/* "Scan" line (visible only during the animation) */
.pwd-audit-hero__scan {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(to bottom,
        rgba(138, 92, 246, 0) 0%,
        rgba(138, 92, 246, 0) 70%,
        rgba(138, 92, 246, .18) 98%);
    border-bottom: 2px solid var(--pwd-primary-light);
    box-shadow: 0 6px 24px var(--pwd-glow-color);
}

/* Floating icons around the report */
.pwd-audit-hero__chip {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    color: #fff;
    box-shadow: 0 8px 20px rgba(138, 92, 246, .3);
}

.pwd-audit-hero__chip--shield {
    top: -24px;
    right: -14px;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.pwd-audit-hero__chip--lock {
    bottom: -20px;
    left: -18px;
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
}

/* --- Animations (only with .animations-enabled) --- */

/* One-time entrance on page load.
   Exception to the .animations-enabled rule (same as .pwd-hero / .pwd-simple-hero):
   the class is added only after the ~300 ms FPS test, so gating the entrance on it
   would cause a "visible -> hidden -> fade in" flash.
   Content is visible by default; hiding + animation apply only when motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
    .pwd-audit-hero__title,
    .pwd-audit-hero__lead,
    .pwd-audit-hero__deal,
    .pwd-audit-hero__features,
    .pwd-audit-hero__actions,
    .pwd-audit-hero__visual {
        opacity: 0;
        transform: translateY(30px);
        animation: pwd-audit-hero-fadeInUp 1s forwards;
    }

    .pwd-audit-hero__title    { animation-delay: .3s; }
    .pwd-audit-hero__lead     { animation-delay: .6s; }
    .pwd-audit-hero__deal     { animation-delay: .9s; }
    .pwd-audit-hero__features { animation-delay: 1.1s; }
    .pwd-audit-hero__actions  { animation-delay: 1.3s; }
    .pwd-audit-hero__visual   { animation-delay: .6s; }
}

/* Decorative loops */
.pwd-audit-hero.animations-enabled .pwd-audit-hero__bg-grid {
    animation: pwd-audit-hero-grid-pulse 4s ease-in-out infinite;
}

.pwd-audit-hero.animations-enabled .pwd-audit-hero__title-accent {
    animation: pwd-audit-hero-gradient-flow 4s ease-in-out infinite;
}

.pwd-audit-hero.animations-enabled .pwd-audit-hero__particle:nth-child(3n+1) { animation: pwd-audit-hero-particle 4s ease-in-out infinite; }
.pwd-audit-hero.animations-enabled .pwd-audit-hero__particle:nth-child(3n+2) { animation: pwd-audit-hero-particle 6s ease-in-out infinite; }
.pwd-audit-hero.animations-enabled .pwd-audit-hero__particle:nth-child(3n)   { animation: pwd-audit-hero-particle 8s ease-in-out infinite; }

.pwd-audit-hero.animations-enabled .pwd-audit-hero__chip--shield { animation: pwd-audit-hero-float 6s ease-in-out infinite; }
.pwd-audit-hero.animations-enabled .pwd-audit-hero__chip--lock   { animation: pwd-audit-hero-float 7s ease-in-out 1s infinite; }

/* The single orchestrated moment: scan line + findings appearing one by one */
.pwd-audit-hero.animations-enabled .pwd-audit-hero__scan {
    animation: pwd-audit-hero-scan 6s ease-in-out 1.4s infinite;
}

.pwd-audit-hero.animations-enabled .pwd-audit-hero__finding {
    opacity: 0;
    transform: translateX(12px);
    animation: pwd-audit-hero-finding .5s ease forwards;
    animation-delay: var(--pwd-audit-delay, 2s);
}

.pwd-audit-hero.animations-enabled .pwd-audit-hero__finding:nth-child(1) { --pwd-audit-delay: 2.1s; }
.pwd-audit-hero.animations-enabled .pwd-audit-hero__finding:nth-child(2) { --pwd-audit-delay: 2.6s; }
.pwd-audit-hero.animations-enabled .pwd-audit-hero__finding:nth-child(3) { --pwd-audit-delay: 3.1s; }
.pwd-audit-hero.animations-enabled .pwd-audit-hero__finding:nth-child(4) { --pwd-audit-delay: 3.6s; }

@keyframes pwd-audit-hero-fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pwd-audit-hero-gradient-flow {
    0%, 100% { background-position: 0 50%; }
    33%      { background-position: 100% 0; }
    66%      { background-position: 0 100%; }
}

@keyframes pwd-audit-hero-grid-pulse {
    0%, 100% { opacity: .6; }
    50%      { opacity: .3; }
}

@keyframes pwd-audit-hero-particle {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: .7; }
    50%      { transform: translate(10px, -22px) scale(1.3); opacity: .3; }
}

@keyframes pwd-audit-hero-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@keyframes pwd-audit-hero-scan {
    0%        { transform: translateY(-100%); opacity: 0; }
    6%        { opacity: 1; }
    55%       { transform: translateY(0); opacity: 1; }
    65%, 100% { transform: translateY(0); opacity: 0; }
}

@keyframes pwd-audit-hero-finding {
    to { opacity: 1; transform: translateX(0); }
}

/* Reduced motion: no tilt/hover transitions */
@media (prefers-reduced-motion: reduce) {
    .pwd-audit-hero__report,
    .pwd-audit-hero__cta,
    .pwd-audit-hero__cta-secondary {
        transition: none;
    }
}

/* --- Responsive (desktop-first) --- */
@media (max-width: 1199.98px) {
    .pwd-audit-hero__container {
        gap: 3rem;
    }

    .pwd-audit-hero__title {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .pwd-audit-hero {
        padding: 10rem var(--pwd-hero-padding) 5rem;
    }

    .pwd-audit-hero__container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .pwd-audit-hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pwd-audit-hero__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .pwd-audit-hero__features {
        text-align: left;
    }

    .pwd-audit-hero__actions {
        justify-content: center;
    }

    .pwd-audit-hero__visual {
        justify-self: center;
        max-width: 520px;
    }

    .pwd-audit-hero__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    /* --pwd-hero-padding is already redefined globally in style.css */
    .pwd-audit-hero {
        padding: 9rem var(--pwd-hero-padding) 4rem;
    }

    .pwd-audit-hero__title {
        font-size: 2.2rem;
    }

    .pwd-audit-hero__lead {
        font-size: 1.05rem;
    }

    .pwd-audit-hero__particle:nth-child(n+5) {
        display: none;
    }

    .pwd-audit-hero__bg-glow {
        width: 420px;
        height: 420px;
    }
}

@media (max-width: 575.98px) {
    .pwd-audit-hero {
        padding: 8.5rem var(--pwd-hero-padding) 3rem;
    }

    .pwd-audit-hero__title {
        font-size: 2rem;
    }

    .pwd-audit-hero__deal {
        padding: .9rem 1.25rem;
        gap: .5rem 1.25rem;
    }

    .pwd-audit-hero__price {
        font-size: 1.9rem;
    }

    .pwd-audit-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .pwd-audit-hero__cta,
    .pwd-audit-hero__cta-secondary {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .pwd-audit-hero__chip--shield {
        top: -18px;
        right: -4px;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .pwd-audit-hero__chip--lock {
        bottom: -16px;
        left: -4px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .pwd-audit-hero__report-head {
        padding: 1rem 1rem .5rem;
    }

    .pwd-audit-hero__findings {
        padding: .25rem 1rem .75rem;
    }

    .pwd-audit-hero__finding {
        grid-template-columns: 40px 1fr;
        grid-template-areas:
            "icon text"
            ". badge";
        justify-items: start;
        row-gap: .5rem;
    }

    .pwd-audit-hero__report-foot {
        padding: .9rem 1rem;
        font-size: .85rem;
    }
}

@media (max-width: 389px) {
    .pwd-audit-hero__deal-divider,
    .pwd-audit-hero__tag {
        display: none;
    }
}

/* ============================================ */
/* AUDIT SCOPE */
/* ============================================ */

/* --- Layout --- */
#audit-scope {
    scroll-margin-top: 100px;
}

.pwd-audit-scope__section {
    position: relative;
    padding: 6rem var(--pwd-content-padding);
    background: var(--pwd-section-gradient), var(--pwd-dark-bg);
    overflow: hidden;
}

.pwd-audit-scope__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.pwd-audit-scope__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* --- Elements: background --- */
.pwd-audit-scope__bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--pwd-dark-surface) 1px, transparent 1px),
        linear-gradient(90deg, var(--pwd-dark-surface) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .2;
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-scope__bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--pwd-glow-color) 0%, rgba(15, 15, 18, 0) 70%);
    filter: blur(50px);
    opacity: .5;
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-scope__bg-glow--top-right {
    top: -200px;
    right: -200px;
}

.pwd-audit-scope__bg-glow--bottom-left {
    bottom: -200px;
    left: -200px;
}

/* --- Elements: header --- */
.pwd-audit-scope__header {
    text-align: center;
    margin-bottom: 4rem;
}

.pwd-audit-scope__subtitle {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pwd-primary-light);
}

.pwd-audit-scope__subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 40px;
    height: 2px;
    background: var(--pwd-primary-color);
    transform: translateX(-50%);
}

.pwd-audit-scope__title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.pwd-audit-scope__title span {
    color: var(--pwd-primary-color);
}

.pwd-audit-scope__desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

/* --- Elements: cards --- */
.pwd-audit-scope__card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    background: var(--pwd-card-bg);
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: .3s;
}

.pwd-audit-scope__card:hover {
    transform: translateY(-5px);
    background-color: var(--pwd-card-hover);
    border-color: var(--pwd-primary-color);
    box-shadow: 0 10px 25px rgba(138, 92, 246, .1);
}

/* Large number: the check's position in the list */
.pwd-audit-scope__num {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: .35;
    transition: opacity .3s;
    pointer-events: none;
}

.pwd-audit-scope__card:hover .pwd-audit-scope__num {
    opacity: .7;
}

.pwd-audit-scope__icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: rgba(138, 92, 246, .1);
    transition: transform .3s;
}

.pwd-audit-scope__icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, var(--pwd-glow-color) 0, transparent 70%);
    filter: blur(15px);
    opacity: .5;
}

.pwd-audit-scope__icon {
    position: relative;
    font-size: 1.7rem;
    color: var(--pwd-primary-color);
}

.pwd-audit-scope__card:hover .pwd-audit-scope__icon-wrapper {
    transform: scale(1.1);
}

.pwd-audit-scope__card-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .75rem;
    padding-right: 3rem;
}

.pwd-audit-scope__card-desc {
    font-size: .95rem;
    line-height: 1.6;
    color: var(--pwd-text-secondary);
    margin-bottom: 1.5rem;
}

/* Example of a risk: status block (colour + icon + label) */
.pwd-audit-scope__risk {
    display: flex;
    gap: .75rem;
    margin-top: auto;
    padding: 1rem;
    background: rgba(251, 191, 36, .06);
    border: 1px solid rgba(251, 191, 36, .25);
    border-radius: 12px;
}

.pwd-audit-scope__risk-icon {
    flex-shrink: 0;
    margin-top: .15rem;
    font-size: .95rem;
    color: var(--pwd-status-warning);
}

.pwd-audit-scope__risk-label {
    display: block;
    margin-bottom: .2rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--pwd-status-warning);
}

.pwd-audit-scope__risk-text {
    font-size: .9rem;
    line-height: 1.5;
    color: var(--pwd-text-secondary);
}

/* --- Elements: expert --- */
.pwd-audit-scope__expert {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--pwd-card-bg);
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pwd-audit-scope__expert-badge {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    box-shadow: 0 8px 20px rgba(138, 92, 246, .3);
}

.pwd-audit-scope__expert-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    filter: blur(15px);
    opacity: .8;
    z-index: -1;
}

.pwd-audit-scope__expert-badge i {
    font-size: 2rem;
    color: #fff;
}

.pwd-audit-scope__expert-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--pwd-text-secondary);
}

.pwd-audit-scope__expert-lead {
    color: var(--pwd-text-light);
    font-weight: 500;
}

/* --- Elements: CTA --- */
.pwd-audit-scope__cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(138, 92, 246, .15), rgba(138, 92, 246, .04));
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
}

.pwd-audit-scope__cta-text {
    max-width: 720px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--pwd-text-light);
}

.pwd-audit-scope__cta-text span {
    display: block;
    margin-top: .25rem;
    font-size: 1rem;
    color: var(--pwd-text-secondary);
}

.pwd-audit-scope__cta {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    overflow: hidden;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, var(--pwd-primary-color), var(--pwd-primary-light));
    border: 0;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(138, 92, 246, .3);
    cursor: pointer;
    transition: .3s;
}

.pwd-audit-scope__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s;
}

.pwd-audit-scope__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 92, 246, .4);
}

.pwd-audit-scope__cta:hover::before {
    left: 100%;
}

.pwd-audit-scope__cta i {
    margin-left: 8px;
    transition: transform .3s;
}

.pwd-audit-scope__cta:hover i {
    transform: translateX(4px);
}

/* --- Animations (only with .animations-enabled) --- */

/* Reveal on scroll.
   Exception to the .animations-enabled rule (same as .pwd-process__step / .pwd-faq__item):
   .animations-enabled is removed when the block leaves the viewport, which would hide
   already-revealed content again. Elements are hidden ONLY when JS has added
   --js (JS is on, IntersectionObserver is available, reduced motion is not requested),
   so without JS or with reduced motion all content is simply visible. */
.pwd-audit-scope__section--js .pwd-audit-scope__reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease, background-color .3s, border-color .3s, box-shadow .3s;
}

.pwd-audit-scope__section--js .pwd-audit-scope__reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* After the reveal is finished, restore the fast hover transition of the cards */
.pwd-audit-scope__section--js .pwd-audit-scope__card.active.settled {
    transition: .3s;
}

.pwd-audit-scope__section--js .pwd-audit-scope__card.active:hover {
    transform: translateY(-5px);
}

/* Decorative loops */
@keyframes pwd-audit-scope-grid-pulse {
    0%, 100% { opacity: .2; }
    50%      { opacity: .1; }
}

@keyframes pwd-audit-scope-glow-float {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-30px, 30px); }
}

.pwd-audit-scope__section.animations-enabled .pwd-audit-scope__bg-grid {
    animation: pwd-audit-scope-grid-pulse 4s ease-in-out infinite;
}

.pwd-audit-scope__section.animations-enabled .pwd-audit-scope__bg-glow {
    animation: pwd-audit-scope-glow-float 10s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .pwd-audit-scope__cta,
    .pwd-audit-scope__card,
    .pwd-audit-scope__icon-wrapper {
        transition: none;
    }
}

/* --- Responsive (desktop-first) --- */
@media (max-width: 1199.98px) {
    .pwd-audit-scope__grid {
        gap: 1.25rem;
    }

    .pwd-audit-scope__card {
        padding: 1.75rem 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .pwd-audit-scope__title {
        font-size: 2.2rem;
    }

    .pwd-audit-scope__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pwd-audit-scope__cta-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    /* --pwd-content-padding is already redefined globally in style.css */
    .pwd-audit-scope__section {
        padding: 4rem var(--pwd-content-padding);
    }

    .pwd-audit-scope__header {
        margin-bottom: 3rem;
    }

    .pwd-audit-scope__title {
        font-size: 2rem;
    }

    .pwd-audit-scope__desc {
        font-size: 1rem;
    }

    .pwd-audit-scope__grid {
        grid-template-columns: 1fr;
    }

    .pwd-audit-scope__expert {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem;
    }

    .pwd-audit-scope__cta-container {
        padding: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .pwd-audit-scope__section {
        padding: 3rem var(--pwd-content-padding);
    }

    .pwd-audit-scope__title {
        font-size: 1.8rem;
    }

    .pwd-audit-scope__expert {
        padding: 1.5rem;
    }

    .pwd-audit-scope__expert-badge {
        width: 64px;
        height: 64px;
    }

    .pwd-audit-scope__expert-badge i {
        font-size: 1.6rem;
    }

    .pwd-audit-scope__expert-text {
        font-size: 1rem;
    }

    .pwd-audit-scope__cta-container {
        padding: 1.5rem;
    }

    .pwd-audit-scope__cta {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================ */
/* AUDIT WHY */
/* ============================================ */

/* Ритм фонов на странице (чтобы соседние блоки не сливались):
   Hero  — фиолетовая «сетка + свечения» (ярко)
   Scope — диагональный фиолетовый градиент, едва заметная сетка
   Why   — тёмный вертикальный градиент + ЯВНАЯ фиолетовая сетка, как в Hero (этот блок)
   Дальше чередуем: диагональный градиент (в обратную сторону) → тёмный с сеткой → ... */

/* --- Layout --- */
#audit-why {
    scroll-margin-top: 100px;
}

.pwd-audit-why__section {
    --pwd-audit-why-bg-mid: #15131D;

    position: relative;
    padding: 6rem var(--pwd-content-padding);
    background: linear-gradient(180deg, var(--pwd-dark-bg) 0%, var(--pwd-audit-why-bg-mid) 50%, var(--pwd-dark-bg) 100%);
    border-top: 1px solid rgba(138, 92, 246, .12);
    overflow: hidden;
}

.pwd-audit-why__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.pwd-audit-why__detect {
    margin-bottom: 5rem;
}

.pwd-audit-why__detect-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 1.5rem;
}

.pwd-audit-why__fines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* --- Elements: background --- */

/* Сетка как в Hero (фиолетовые линии 40px), по краям растворяется маской.
   Слегка выходит за границы секции, чтобы параллакс не открывал пустых краёв. */
.pwd-audit-why__bg-grid {
    position: absolute;
    top: -30px;
    left: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    background-image:
        linear-gradient(rgba(138, 92, 246, .1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 92, 246, .1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .5;
    -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 85%);
    mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 85%);
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-why__bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--pwd-glow-color) 0%, rgba(15, 15, 18, 0) 70%);
    filter: blur(50px);
    opacity: .5;
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-why__bg-glow--top-left {
    top: -200px;
    left: -200px;
}

.pwd-audit-why__bg-glow--bottom-right {
    bottom: -200px;
    right: -200px;
}

/* --- Elements: header --- */
.pwd-audit-why__header {
    text-align: center;
    margin-bottom: 4rem;
}

.pwd-audit-why__subtitle {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pwd-primary-light);
}

.pwd-audit-why__subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 40px;
    height: 2px;
    background: var(--pwd-primary-color);
    transform: translateX(-50%);
}

.pwd-audit-why__title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.pwd-audit-why__title span {
    color: var(--pwd-primary-color);
}

.pwd-audit-why__desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

/* Подзаголовок подблока (H3 с акцентной полосой) */
.pwd-audit-why__subhead {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.pwd-audit-why__subhead::before {
    content: '';
    position: absolute;
    top: .15em;
    bottom: .15em;
    left: 0;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(to bottom, var(--pwd-primary-color), var(--pwd-primary-light));
}

/* --- Elements: 1. how violations are detected --- */
.pwd-audit-why__card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: var(--pwd-card-bg);
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: .3s;
}

.pwd-audit-why__card:hover {
    transform: translateY(-5px);
    background-color: var(--pwd-card-hover);
    border-color: var(--pwd-primary-color);
    box-shadow: 0 10px 25px rgba(138, 92, 246, .1);
}

.pwd-audit-why__icon-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: rgba(138, 92, 246, .15);
    transition: transform .3s;
}

.pwd-audit-why__icon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, var(--pwd-glow-color) 0, transparent 70%);
    filter: blur(15px);
    opacity: .5;
}

.pwd-audit-why__icon-box i {
    position: relative;
    font-size: 1.5rem;
    color: var(--pwd-primary-color);
}

.pwd-audit-why__card:hover .pwd-audit-why__icon-box {
    transform: scale(1.1);
}

.pwd-audit-why__card-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: .75rem;
}

.pwd-audit-why__card-desc {
    font-size: .95rem;
    line-height: 1.6;
    color: var(--pwd-text-secondary);
}

/* «Что видно при проверке»: чипы и линия сканирования */
.pwd-audit-why__scan-wrap {
    margin-top: 1.5rem;
}

.pwd-audit-why__scan-label {
    display: block;
    margin-bottom: .6rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--pwd-text-muted);
}

.pwd-audit-why__scan {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 1rem;
    background: rgba(15, 15, 18, .5);
    border: 1px solid rgba(138, 92, 246, .15);
    border-radius: 12px;
    overflow: hidden;
}

.pwd-audit-why__scan::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60px;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .25), transparent);
    transform: translateX(-100%);
    pointer-events: none;
}

.pwd-audit-why__chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .9rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--pwd-primary-light);
    background: rgba(138, 92, 246, .1);
    border: 1px solid rgba(138, 92, 246, .3);
    border-radius: 25px;
}

.pwd-audit-why__chip i {
    font-size: .75rem;
}

/* --- Elements: 2. liability --- */
.pwd-audit-why__fines {
    margin-bottom: 5rem;
    padding: 2.5rem;
    background: var(--pwd-card-bg);
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pwd-audit-why__fines-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.pwd-audit-why__fines-eyebrow {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pwd-primary-light);
}

.pwd-audit-why__fines-eyebrow::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--pwd-primary-color);
}

.pwd-audit-why__fines-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.pwd-audit-why__fines-lead {
    flex: 0 1 520px;
    font-size: .95rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

.pwd-audit-why__fine {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    background: rgba(138, 92, 246, .05);
    border: 1px solid rgba(138, 92, 246, .15);
    border-radius: 12px;
    transition: .3s;
}

.pwd-audit-why__fine:hover {
    transform: translateY(-5px);
    background-color: var(--pwd-card-hover);
    border-color: var(--pwd-primary-color);
    box-shadow: 0 10px 25px rgba(138, 92, 246, .1);
}

.pwd-audit-why__fine-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--pwd-primary-light);
    background: rgba(138, 92, 246, .2);
    border-radius: 10px;
}

.pwd-audit-why__fine-value {
    margin-bottom: .9rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pwd-audit-why__fine-num {
    font-size: 2.3rem;
}

.pwd-audit-why__fine-unit {
    font-size: 1.1rem;
    font-weight: 600;
}

.pwd-audit-why__fine-text {
    font-size: .95rem;
    line-height: 1.55;
    color: var(--pwd-text-secondary);
}

.pwd-audit-why__disclaimer {
    display: flex;
    gap: .75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(138, 92, 246, .15);
    font-size: .85rem;
    line-height: 1.6;
    color: var(--pwd-text-muted);
}

.pwd-audit-why__disclaimer i {
    flex-shrink: 0;
    margin-top: .2rem;
    color: var(--pwd-primary-light);
}

/* --- Elements: 3. good news --- */
.pwd-audit-why__good {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(138, 92, 246, .15), rgba(138, 92, 246, .04));
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
}

.pwd-audit-why__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
    padding: .35rem .9rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--pwd-status-ok);
    background: rgba(52, 211, 153, .1);
    border: 1px solid rgba(52, 211, 153, .3);
    border-radius: 25px;
}

.pwd-audit-why__good-title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.25;
}

.pwd-audit-why__good-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

.pwd-audit-why__checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
}

.pwd-audit-why__check-item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1.25rem;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--pwd-text-light);
    background: var(--pwd-card-bg);
    border: 1px solid var(--pwd-card-border);
    border-radius: 12px;
    transition: .3s;
}

.pwd-audit-why__check-item:hover {
    transform: translateY(-3px);
    border-color: var(--pwd-primary-color);
    box-shadow: 0 8px 25px rgba(138, 92, 246, .2);
}

.pwd-audit-why__check-mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: .8rem;
    color: var(--pwd-status-ok);
    background: rgba(52, 211, 153, .1);
    border: 1px solid rgba(52, 211, 153, .3);
    border-radius: 50%;
}

.pwd-audit-why__conclusion {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: .5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(138, 92, 246, .2);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
}

.pwd-audit-why__conclusion i {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(138, 92, 246, .3);
}

.pwd-audit-why__conclusion-accent {
    color: var(--pwd-primary-light);
}

/* --- Animations (only with .animations-enabled) --- */

/* Reveal on scroll.
   Exception to the .animations-enabled rule (same as .pwd-process__step / .pwd-faq__item):
   .animations-enabled is removed when the block leaves the viewport, which would hide
   already-revealed content again. Elements are hidden ONLY when JS has added --js
   (JS is on, IntersectionObserver is available, reduced motion is not requested),
   so without JS or with reduced motion all content is simply visible. */
.pwd-audit-why__section--js .pwd-audit-why__reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease, background-color .3s, border-color .3s, box-shadow .3s;
}

.pwd-audit-why__section--js .pwd-audit-why__reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* After the reveal is finished, restore the fast hover transition */
.pwd-audit-why__section--js .pwd-audit-why__reveal.active.settled {
    transition: .3s;
}

.pwd-audit-why__section--js .pwd-audit-why__card.active:hover,
.pwd-audit-why__section--js .pwd-audit-why__fine.active:hover {
    transform: translateY(-5px);
}

.pwd-audit-why__section--js .pwd-audit-why__check-item.active:hover {
    transform: translateY(-3px);
}

/* Decorative loops */
@keyframes pwd-audit-why-grid-pulse {
    0%, 100% { opacity: .5; }
    50%      { opacity: .25; }
}

@keyframes pwd-audit-why-glow-float {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(30px, -30px); }
}

@keyframes pwd-audit-why-scan {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(var(--pwd-scan-distance, 600px)); }
}

.pwd-audit-why__section.animations-enabled .pwd-audit-why__bg-grid {
    animation: pwd-audit-why-grid-pulse 4s ease-in-out infinite;
}

.pwd-audit-why__section.animations-enabled .pwd-audit-why__bg-glow {
    animation: pwd-audit-why-glow-float 10s ease-in-out infinite;
}

.pwd-audit-why__section.animations-enabled .pwd-audit-why__scan::after {
    animation: pwd-audit-why-scan 3.5s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .pwd-audit-why__card,
    .pwd-audit-why__fine,
    .pwd-audit-why__check-item,
    .pwd-audit-why__icon-box {
        transition: none;
    }
}

/* --- Responsive (desktop-first) --- */
@media (max-width: 1199.98px) {
    .pwd-audit-why__fines-grid {
        gap: 1rem;
    }

    .pwd-audit-why__fine {
        padding: 1.5rem 1.25rem;
    }

    .pwd-audit-why__fine-num {
        font-size: 2rem;
    }

    .pwd-audit-why__good {
        gap: 2rem;
        padding: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    .pwd-audit-why__title {
        font-size: 2.2rem;
    }

    .pwd-audit-why__detect-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pwd-audit-why__card--wide {
        grid-column: 1 / -1;
    }

    .pwd-audit-why__fines-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .pwd-audit-why__fines-lead {
        flex: none;
    }

    .pwd-audit-why__fines-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pwd-audit-why__fine-num {
        font-size: 2.3rem;
    }

    .pwd-audit-why__good {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    /* --pwd-content-padding is already redefined globally in style.css */
    .pwd-audit-why__section {
        padding: 4rem var(--pwd-content-padding);
    }

    .pwd-audit-why__header {
        margin-bottom: 3rem;
    }

    .pwd-audit-why__title {
        font-size: 2rem;
    }

    .pwd-audit-why__desc {
        font-size: 1rem;
    }

    .pwd-audit-why__detect,
    .pwd-audit-why__fines {
        margin-bottom: 3.5rem;
    }

    .pwd-audit-why__subhead {
        font-size: 1.3rem;
    }

    .pwd-audit-why__detect-grid {
        grid-template-columns: 1fr;
    }

    .pwd-audit-why__fines {
        padding: 2rem 1.5rem;
    }

    .pwd-audit-why__fines-title,
    .pwd-audit-why__good-title {
        font-size: 1.5rem;
    }

    .pwd-audit-why__good {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .pwd-audit-why__section {
        padding: 3rem var(--pwd-content-padding);
    }

    .pwd-audit-why__title {
        font-size: 1.8rem;
    }

    .pwd-audit-why__card {
        padding: 1.5rem;
    }

    .pwd-audit-why__fines {
        padding: 1.5rem 1.25rem;
    }

    .pwd-audit-why__fines-grid,
    .pwd-audit-why__checklist {
        grid-template-columns: 1fr;
    }

    .pwd-audit-why__good {
        padding: 1.5rem 1.25rem;
    }

    .pwd-audit-why__conclusion {
        align-items: flex-start;
        font-size: 1.05rem;
    }
}

/* Insert into page-audit-152.css after the AUDIT WHY section (at the end of the file) */

/* ============================================ */
/* AUDIT FORMATS */
/* ============================================ */

/* Ритм фонов (см. также комментарий в секции AUDIT WHY):
   Hero    — сетка + свечения
   Scope   — диагональный градиент 135°, едва заметная сетка
   Why     — тёмный градиент + явная фиолетовая сетка
   Formats — диагональный градиент в ОБРАТНУЮ сторону (225°) + световое пятно сверху
             + мягкая сетка из ТОЧЕК (этот блок) */

/* --- Layout --- */
#audit-formats {
    scroll-margin-top: 100px;
}

.pwd-audit-fmt__section {
    position: relative;
    padding: 6rem var(--pwd-content-padding);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(138, 92, 246, .1) 0, transparent 60%),
        linear-gradient(225deg, rgba(138, 92, 246, .08) 0%, rgba(26, 26, 31, .5) 100%),
        var(--pwd-dark-bg);
    border-top: 1px solid rgba(138, 92, 246, .12);
    overflow: hidden;
}

.pwd-audit-fmt__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.pwd-audit-fmt__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
    row-gap: 1.5rem;
    align-items: stretch;
}

/* --- Elements: background --- */

/* Сетка из точек. Слегка выходит за границы секции, чтобы параллакс не открывал пустых краёв;
   по краям растворяется маской. */
.pwd-audit-fmt__bg-dots {
    position: absolute;
    top: -30px;
    left: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    background-image: radial-gradient(rgba(167, 139, 250, .3) 1.5px, transparent 1.6px);
    background-size: 28px 28px;
    opacity: .35;
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 80%);
    mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-fmt__bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--pwd-glow-color) 0%, rgba(15, 15, 18, 0) 70%);
    filter: blur(50px);
    opacity: .5;
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-fmt__bg-glow--top-right {
    top: -200px;
    right: -200px;
}

.pwd-audit-fmt__bg-glow--bottom-left {
    bottom: -200px;
    left: -200px;
}

/* --- Elements: header --- */
.pwd-audit-fmt__header {
    text-align: center;
    margin-bottom: 4rem;
}

.pwd-audit-fmt__subtitle {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pwd-primary-light);
}

.pwd-audit-fmt__subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 40px;
    height: 2px;
    background: var(--pwd-primary-color);
    transform: translateX(-50%);
}

.pwd-audit-fmt__title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.pwd-audit-fmt__title span {
    color: var(--pwd-primary-color);
}

.pwd-audit-fmt__desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

/* --- Elements: format cards --- */
.pwd-audit-fmt__card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    background: var(--pwd-card-bg);
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: .3s;
}

.pwd-audit-fmt__card:hover {
    transform: translateY(-5px);
    background-color: var(--pwd-card-hover);
    border-color: var(--pwd-primary-color);
    box-shadow: 0 10px 25px rgba(138, 92, 246, .1);
}

/* Основной формат выделен: рамка, верхняя полоса, свечение */
.pwd-audit-fmt__card--main {
    background: linear-gradient(160deg, rgba(138, 92, 246, .16), rgba(26, 26, 31, .75) 45%);
    border-color: var(--pwd-primary-color);
    box-shadow: 0 0 40px rgba(138, 92, 246, .15);
}

.pwd-audit-fmt__card--main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pwd-primary-color), var(--pwd-primary-light));
}

/* Выравнивание строк между карточками через subgrid (только десктоп).
   Внутри карточки ровно 6 прямых потомков: head, pricebox и четыре part.
   Если добавите или уберёте часть, поменяйте "span 6". */
@media (min-width: 992px) {
    @supports (grid-template-rows: subgrid) {
        .pwd-audit-fmt__grid {
            row-gap: 0;
        }

        .pwd-audit-fmt__card {
            display: grid;
            grid-row: span 6;
            grid-template-rows: subgrid;
        }
    }
}

.pwd-audit-fmt__label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: .5rem;
    margin-bottom: 1.25rem;
    padding: .35rem .9rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--pwd-primary-light);
    background: rgba(138, 92, 246, .1);
    border: 1px solid rgba(138, 92, 246, .3);
    border-radius: 25px;
}

.pwd-audit-fmt__card--main .pwd-audit-fmt__label {
    color: #fff;
    background: linear-gradient(90deg, var(--pwd-primary-color), var(--pwd-primary-light));
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(138, 92, 246, .3);
}

.pwd-audit-fmt__card-title {
    margin-bottom: .75rem;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.pwd-audit-fmt__card-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

/* Price */
.pwd-audit-fmt__pricebox {
    margin-top: 1.75rem;
    padding: 1.5rem;
    background: rgba(15, 15, 18, .45);
    border: 1px solid rgba(138, 92, 246, .15);
    border-radius: 12px;
}

.pwd-audit-fmt__price {
    margin-bottom: .75rem;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pwd-audit-fmt__notes {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    list-style: none;
}

.pwd-audit-fmt__note {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: var(--pwd-text-secondary);
}

.pwd-audit-fmt__note i {
    color: var(--pwd-primary-light);
    font-size: .85rem;
}

/* Card parts */
.pwd-audit-fmt__part {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(138, 92, 246, .15);
}

.pwd-audit-fmt__part-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.pwd-audit-fmt__part-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: .95rem;
    color: var(--pwd-primary-light);
    background: rgba(138, 92, 246, .15);
    border-radius: 10px;
}

.pwd-audit-fmt__part-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.pwd-audit-fmt__part-text {
    font-size: .95rem;
    line-height: 1.65;
    color: var(--pwd-text-secondary);
}

.pwd-audit-fmt__list {
    list-style: none;
}

.pwd-audit-fmt__list li {
    position: relative;
    margin-bottom: .7rem;
    padding-left: 1.75rem;
    font-size: .95rem;
    line-height: 1.55;
    color: var(--pwd-text-secondary);
}

.pwd-audit-fmt__list li:last-child {
    margin-bottom: 0;
}

/* Галочка из локального Font Awesome (fonts/fontawesome, семейство "Font Awesome 6 Free") */
.pwd-audit-fmt__list li::before {
    content: '\f00c';
    position: absolute;
    top: .1rem;
    left: 0;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: .8rem;
    color: var(--pwd-primary-color);
}

/* --- Elements: CTA --- */
.pwd-audit-fmt__cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(138, 92, 246, .15), rgba(138, 92, 246, .04));
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
}

.pwd-audit-fmt__cta-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pwd-audit-fmt__cta-icon {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(138, 92, 246, .3);
}

.pwd-audit-fmt__cta-title {
    margin-bottom: .25rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.pwd-audit-fmt__cta-text {
    max-width: 640px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--pwd-text-secondary);
}

.pwd-audit-fmt__cta {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    overflow: hidden;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, var(--pwd-primary-color), var(--pwd-primary-light));
    border: 0;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(138, 92, 246, .3);
    cursor: pointer;
    transition: .3s;
}

.pwd-audit-fmt__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s;
}

.pwd-audit-fmt__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 92, 246, .4);
}

.pwd-audit-fmt__cta:hover::before {
    left: 100%;
}

.pwd-audit-fmt__cta i {
    margin-left: 8px;
    transition: transform .3s;
}

.pwd-audit-fmt__cta:hover i {
    transform: translateX(4px);
}

/* --- Animations (only with .animations-enabled) --- */

/* Reveal on scroll.
   Exception to the .animations-enabled rule (same as .pwd-process__step / .pwd-faq__item):
   .animations-enabled is removed when the block leaves the viewport, which would hide
   already-revealed content again. Elements are hidden ONLY when JS has added --js
   (JS is on, IntersectionObserver is available, reduced motion is not requested),
   so without JS or with reduced motion all content is simply visible. */
.pwd-audit-fmt__section--js .pwd-audit-fmt__reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease, background-color .3s, border-color .3s, box-shadow .3s;
}

.pwd-audit-fmt__section--js .pwd-audit-fmt__reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* After the reveal is finished, restore the fast hover transition */
.pwd-audit-fmt__section--js .pwd-audit-fmt__reveal.active.settled {
    transition: .3s;
}

.pwd-audit-fmt__section--js .pwd-audit-fmt__card.active:hover {
    transform: translateY(-5px);
}

/* Decorative loops */
@keyframes pwd-audit-fmt-dots-pulse {
    0%, 100% { opacity: .35; }
    50%      { opacity: .18; }
}

@keyframes pwd-audit-fmt-glow-float {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-30px, 30px); }
}

@keyframes pwd-audit-fmt-card-glow {
    0%, 100% { box-shadow: 0 0 40px rgba(138, 92, 246, .15); }
    50%      { box-shadow: 0 0 60px rgba(138, 92, 246, .3); }
}

.pwd-audit-fmt__section.animations-enabled .pwd-audit-fmt__bg-dots {
    animation: pwd-audit-fmt-dots-pulse 4s ease-in-out infinite;
}

.pwd-audit-fmt__section.animations-enabled .pwd-audit-fmt__bg-glow {
    animation: pwd-audit-fmt-glow-float 10s ease-in-out infinite;
}

.pwd-audit-fmt__section.animations-enabled .pwd-audit-fmt__card--main:not(:hover) {
    animation: pwd-audit-fmt-card-glow 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .pwd-audit-fmt__card,
    .pwd-audit-fmt__cta {
        transition: none;
    }
}

/* --- Responsive (desktop-first) --- */
@media (max-width: 1199.98px) {
    .pwd-audit-fmt__card {
        padding: 2rem;
    }

    .pwd-audit-fmt__price {
        font-size: 2.6rem;
    }
}

@media (max-width: 991.98px) {
    .pwd-audit-fmt__title {
        font-size: 2.2rem;
    }

    .pwd-audit-fmt__grid {
        grid-template-columns: 1fr;
    }

    .pwd-audit-fmt__cta-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    /* --pwd-content-padding is already redefined globally in style.css */
    .pwd-audit-fmt__section {
        padding: 4rem var(--pwd-content-padding);
    }

    .pwd-audit-fmt__header {
        margin-bottom: 3rem;
    }

    .pwd-audit-fmt__title {
        font-size: 2rem;
    }

    .pwd-audit-fmt__desc {
        font-size: 1rem;
    }

    .pwd-audit-fmt__card-title {
        font-size: 1.6rem;
    }

    .pwd-audit-fmt__cta-container {
        padding: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .pwd-audit-fmt__section {
        padding: 3rem var(--pwd-content-padding);
    }

    .pwd-audit-fmt__title {
        font-size: 1.8rem;
    }

    .pwd-audit-fmt__card {
        padding: 1.5rem 1.25rem;
    }

    .pwd-audit-fmt__pricebox {
        padding: 1.25rem;
    }

    .pwd-audit-fmt__price {
        font-size: 2.3rem;
    }

    .pwd-audit-fmt__cta-container {
        padding: 1.5rem;
    }

    .pwd-audit-fmt__cta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .pwd-audit-fmt__cta-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .pwd-audit-fmt__cta {
        width: 100%;
        justify-content: center;
    }
}

/* Insert into page-audit-152.css right after the AUDIT FORMATS section (before AUDIT REPORT) */

/* ============================================ */
/* AUDIT FORMATS (TIERS) */
/* ============================================ */

/* Альтернативная версия блока «Форматы аудита» (три формата), template-parts/audit-formats-tiers.php.
   Префикс .pwd-audit-formats не пересекается с прежней версией (.pwd-audit-fmt__*), поэтому
   обе секции спокойно живут в одном CSS-файле, а на странице выводится одна из них.
   Фон: диагональный градиент 135° + тёмная сетка + три свечения (как в прототипе 3-audits-3.html). */

/* --- Layout --- */
.pwd-audit-formats {
    position: relative;
    overflow: hidden;
    padding: 6rem var(--pwd-content-padding);
    background: var(--pwd-section-gradient), var(--pwd-dark-bg);
    border-top: 1px solid rgba(138, 92, 246, .12);
    scroll-margin-top: 100px;
}

.pwd-audit-formats__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.pwd-audit-formats__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pwd-audit-formats__card-wrap {
    display: flex;
    min-width: 0;
}

/* --- Elements: utilities --- */
.pwd-audit-formats__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Elements: background --- */

/* Сетка выходит за границы секции, чтобы параллакс не открывал пустых краёв */
.pwd-audit-formats__bg-grid {
    position: absolute;
    inset: -40px;
    background-image:
        linear-gradient(var(--pwd-dark-surface) 1px, transparent 1px),
        linear-gradient(90deg, var(--pwd-dark-surface) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .2;
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-formats__bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--pwd-glow-color) 0%, rgba(15, 15, 18, 0) 70%);
    filter: blur(50px);
    opacity: .5;
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-formats__bg-glow--top-right {
    top: -200px;
    right: -200px;
}

.pwd-audit-formats__bg-glow--bottom-left {
    bottom: -200px;
    left: -200px;
}

.pwd-audit-formats__bg-glow--center {
    top: 38%;
    left: 50%;
    width: 800px;
    height: 500px;
    margin-left: -400px;
    opacity: .3;
}

/* --- Elements: header --- */
.pwd-audit-formats__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.pwd-audit-formats__subtitle {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pwd-primary-light);
}

.pwd-audit-formats__subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 40px;
    height: 2px;
    background: var(--pwd-primary-color);
    transform: translateX(-50%);
}

.pwd-audit-formats__title {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--pwd-text-light);
}

.pwd-audit-formats__title span {
    color: var(--pwd-primary-color);
}

.pwd-audit-formats__desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

/* --- Elements: cards --- */
.pwd-audit-formats__card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 2rem 1.75rem;
    background: var(--pwd-card-bg);
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.pwd-audit-formats__card:hover {
    transform: translateY(-5px);
    background-color: var(--pwd-card-hover);
    border-color: var(--pwd-primary-color);
    box-shadow: 0 10px 25px rgba(138, 92, 246, .1);
}

/* Подсветка за курсором: координаты --pwd-af-mx / --pwd-af-my задаёт JS */
.pwd-audit-formats__card-spot {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--pwd-af-mx, 50%) var(--pwd-af-my, 0%), rgba(138, 92, 246, .13), transparent 45%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.pwd-audit-formats__card:hover .pwd-audit-formats__card-spot {
    opacity: 1;
}

.pwd-audit-formats__card > *:not(.pwd-audit-formats__card-spot) {
    position: relative;
}

/* Основной формат: градиентная рамка */
.pwd-audit-formats__card--main {
    background: linear-gradient(180deg, rgba(138, 92, 246, .14) 0%, rgba(26, 26, 31, .75) 40%);
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(138, 92, 246, .15);
}

.pwd-audit-formats__card--main::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light) 35%, rgba(138, 92, 246, .25) 65%, var(--pwd-primary-light));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
}

.pwd-audit-formats__card--main:hover {
    background: linear-gradient(180deg, rgba(138, 92, 246, .2) 0%, rgba(26, 26, 31, .75) 50%);
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(138, 92, 246, .25);
}

/* Badge */
.pwd-audit-formats__card-top {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.pwd-audit-formats__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .9rem;
    border-radius: 25px;
    background: rgba(138, 92, 246, .1);
    border: 1px solid rgba(138, 92, 246, .3);
    font-size: .8rem;
    font-weight: 600;
    color: var(--pwd-primary-light);
    white-space: nowrap;
}

.pwd-audit-formats__badge--main {
    background: linear-gradient(90deg, var(--pwd-primary-color), var(--pwd-primary-light));
    border-color: transparent;
    color: var(--pwd-text-light);
    box-shadow: 0 4px 15px rgba(138, 92, 246, .35);
}

/* Icon + title */
.pwd-audit-formats__card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pwd-audit-formats__icon-wrapper {
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(138, 92, 246, .1);
    transition: transform .3s ease;
}

.pwd-audit-formats__icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle, var(--pwd-glow-color) 0, transparent 70%);
    filter: blur(15px);
    opacity: .5;
}

.pwd-audit-formats__icon {
    position: relative;
    font-size: 1.5rem;
    color: var(--pwd-primary-color);
}

.pwd-audit-formats__card:hover .pwd-audit-formats__icon-wrapper {
    transform: scale(1.1);
}

.pwd-audit-formats__card--main .pwd-audit-formats__icon-wrapper {
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    box-shadow: 0 8px 20px rgba(138, 92, 246, .3);
}

.pwd-audit-formats__card--main .pwd-audit-formats__icon {
    color: var(--pwd-text-light);
}

.pwd-audit-formats__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--pwd-text-light);
}

.pwd-audit-formats__card-lead {
    font-size: .95rem;
    line-height: 1.6;
    color: var(--pwd-text-secondary);
}

/* Price */
.pwd-audit-formats__price-box {
    margin: 1.5rem 0;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(138, 92, 246, .15);
    border-bottom: 1px solid rgba(138, 92, 246, .15);
}

.pwd-audit-formats__price {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    color: var(--pwd-text-light);
}

.pwd-audit-formats__price-from {
    font-size: 1rem;
    font-weight: 500;
    color: var(--pwd-text-secondary);
}

.pwd-audit-formats__price-cur {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pwd-primary-light);
}

.pwd-audit-formats__price-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1rem;
    margin-top: .7rem;
    list-style: none;
}

.pwd-audit-formats__price-meta li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    line-height: 1.4;
    color: var(--pwd-text-muted);
}

.pwd-audit-formats__price-meta i {
    font-size: .8rem;
    color: var(--pwd-primary-light);
}

/* Key figure */
.pwd-audit-formats__figure {
    margin-bottom: 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: rgba(138, 92, 246, .06);
    border: 1px solid rgba(138, 92, 246, .12);
}

.pwd-audit-formats__figure-main {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.pwd-audit-formats__figure-value {
    flex-shrink: 0;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pwd-audit-formats__figure-text {
    font-size: .9rem;
    line-height: 1.4;
    color: var(--pwd-text-secondary);
}

.pwd-audit-formats__figure-extra {
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px dashed rgba(138, 92, 246, .2);
    font-size: .85rem;
    color: var(--pwd-text-secondary);
}

.pwd-audit-formats__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .55rem;
    list-style: none;
}

.pwd-audit-formats__chips li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .7rem;
    border-radius: 25px;
    background: rgba(138, 92, 246, .1);
    border: 1px solid rgba(138, 92, 246, .2);
    font-size: .8rem;
    color: var(--pwd-text-light);
}

.pwd-audit-formats__chips i {
    font-size: .75rem;
    color: var(--pwd-primary-light);
}

/* Card parts */
.pwd-audit-formats__part {
    margin-bottom: 1.35rem;
}

.pwd-audit-formats__part-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .65rem;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pwd-primary-light);
}

.pwd-audit-formats__part-title i {
    font-size: .8rem;
}

.pwd-audit-formats__part-text {
    font-size: .95rem;
    line-height: 1.6;
    color: var(--pwd-text-secondary);
}

.pwd-audit-formats__list {
    list-style: none;
}

.pwd-audit-formats__item {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-bottom: .55rem;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--pwd-text-secondary);
}

.pwd-audit-formats__item:last-child {
    margin-bottom: 0;
}

.pwd-audit-formats__list-mark {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(138, 92, 246, .15);
    color: var(--pwd-primary-light);
    font-size: .6rem;
}

/* Пункт «Всё, что входит в предыдущий формат» */
.pwd-audit-formats__item--inherit {
    font-weight: 500;
    color: var(--pwd-text-light);
}

.pwd-audit-formats__item--inherit .pwd-audit-formats__list-mark {
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    color: var(--pwd-text-light);
}

/* Card footer (прижат к низу, чтобы карточки в ряду выравнивались) */
.pwd-audit-formats__card-footer {
    margin-top: auto;
}

.pwd-audit-formats__note {
    display: flex;
    gap: .6rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(138, 92, 246, .15);
    font-size: .875rem;
    line-height: 1.5;
    color: var(--pwd-text-secondary);
}

.pwd-audit-formats__note i {
    margin-top: 3px;
    color: var(--pwd-primary-light);
}

/* --- Elements: buttons --- */
.pwd-audit-formats__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: .85rem 1.8rem;
    overflow: hidden;
    border-radius: 30px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease, color .3s ease;
}

.pwd-audit-formats__btn i {
    transition: transform .3s ease;
}

.pwd-audit-formats__btn:hover .fa-arrow-right {
    transform: translateX(4px);
}

.pwd-audit-formats__btn--primary {
    background: linear-gradient(90deg, var(--pwd-primary-color), var(--pwd-primary-light));
    border: 1px solid transparent;
    color: var(--pwd-text-light);
    box-shadow: 0 4px 20px rgba(138, 92, 246, .3);
}

.pwd-audit-formats__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 92, 246, .4);
}

/* Блик при наведении */
.pwd-audit-formats__btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s ease;
}

.pwd-audit-formats__btn--primary:hover::before {
    left: 100%;
}

.pwd-audit-formats__btn--secondary {
    background: rgba(138, 92, 246, .1);
    border: 1px solid rgba(138, 92, 246, .3);
    color: var(--pwd-primary-light);
}

.pwd-audit-formats__btn--secondary:hover {
    transform: translateY(-3px);
    background: rgba(138, 92, 246, .2);
    border-color: var(--pwd-primary-color);
    color: var(--pwd-text-light);
}

/* --- Elements: comparison table --- */
.pwd-audit-formats__compare {
    margin-top: 4.5rem;
}

.pwd-audit-formats__compare-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 1.5rem;
}

.pwd-audit-formats__compare-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--pwd-text-light);
}

.pwd-audit-formats__compare-title-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(138, 92, 246, .15);
    color: var(--pwd-primary-color);
    font-size: 1rem;
}

.pwd-audit-formats__legend {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    list-style: none;
}

.pwd-audit-formats__legend li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    color: var(--pwd-text-muted);
}

.pwd-audit-formats__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    background: var(--pwd-card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    scrollbar-width: thin;
    scrollbar-color: rgba(138, 92, 246, .4) transparent;
}

.pwd-audit-formats__table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: .95rem;
}

.pwd-audit-formats__th,
.pwd-audit-formats__td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(138, 92, 246, .1);
    text-align: center;
    vertical-align: middle;
    transition: background-color .3s ease;
}

.pwd-audit-formats__table tbody tr:last-child > * {
    border-bottom: 0;
}

.pwd-audit-formats__table thead .pwd-audit-formats__th {
    padding: 1.15rem 1.25rem;
    background: var(--pwd-dark-surface);
    font-size: 1rem;
    font-weight: 600;
    color: var(--pwd-text-light);
}

.pwd-audit-formats__table thead .pwd-audit-formats__th--main {
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
}

.pwd-audit-formats__th-note {
    display: block;
    margin-top: .15rem;
    font-size: .75rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--pwd-text-muted);
}

.pwd-audit-formats__th--main .pwd-audit-formats__th-note {
    color: rgba(255, 255, 255, .85);
}

.pwd-audit-formats__table tbody .pwd-audit-formats__th {
    width: 36%;
    font-weight: 500;
    text-align: left;
    color: var(--pwd-text-light);
}

/* Первая колонка закреплена при горизонтальной прокрутке */
.pwd-audit-formats__table tr > :first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--pwd-dark-surface);
}

.pwd-audit-formats__td {
    color: var(--pwd-text-secondary);
}

.pwd-audit-formats__td--main {
    background: rgba(138, 92, 246, .08);
    color: var(--pwd-text-light);
    font-weight: 500;
    box-shadow: inset 1px 0 0 rgba(138, 92, 246, .3), inset -1px 0 0 rgba(138, 92, 246, .3);
}

/* Подсветка строки и колонки (колонка — класс is-col-hover из JS) */
.pwd-audit-formats__table tbody tr:hover .pwd-audit-formats__td,
.pwd-audit-formats__td.is-col-hover {
    background-color: rgba(138, 92, 246, .05);
}

.pwd-audit-formats__table tbody tr:hover .pwd-audit-formats__td--main,
.pwd-audit-formats__td--main.is-col-hover {
    background-color: rgba(138, 92, 246, .13);
}

.pwd-audit-formats__table tbody tr:hover .pwd-audit-formats__th {
    background: linear-gradient(rgba(138, 92, 246, .06), rgba(138, 92, 246, .06)), var(--pwd-dark-surface);
}

.pwd-audit-formats__cell {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

/* Статусы: цвет + иконка (+ текст или скрытая подпись) — статус никогда не передаётся только цветом */
.pwd-audit-formats__mark {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: .65rem;
}

.pwd-audit-formats__mark--yes {
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    color: var(--pwd-text-light);
    box-shadow: 0 0 10px rgba(138, 92, 246, .35);
}

.pwd-audit-formats__mark--part {
    background: rgba(138, 92, 246, .12);
    border: 1px solid rgba(138, 92, 246, .35);
    color: var(--pwd-primary-light);
}

.pwd-audit-formats__mark--no {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--pwd-text-muted);
}

.pwd-audit-formats__scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: .75rem;
    font-size: .8rem;
    color: var(--pwd-text-muted);
}

/* --- Elements: upgrade between formats --- */
.pwd-audit-formats__upgrade {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem 1.5rem;
    margin-top: 3rem;
    padding: 2.25rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(138, 92, 246, .12) 0%, rgba(26, 26, 31, .7) 60%);
    border: 1px solid var(--pwd-card-border);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pwd-audit-formats__upgrade-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    box-shadow: 0 4px 15px rgba(138, 92, 246, .3);
    color: var(--pwd-text-light);
    font-size: 1.3rem;
}

.pwd-audit-formats__upgrade-title {
    margin-bottom: .6rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--pwd-text-light);
}

.pwd-audit-formats__upgrade-text {
    max-width: 820px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

.pwd-audit-formats__upgrade-text + .pwd-audit-formats__upgrade-text {
    margin-top: .6rem;
}

.pwd-audit-formats__upgrade-text strong {
    font-weight: 600;
    color: var(--pwd-text-light);
}

/* Схема «Экспресс → Стандартный → Полный» */
.pwd-audit-formats__path {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: .75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(138, 92, 246, .15);
}

.pwd-audit-formats__path-step {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    flex-shrink: 0;
    padding: .6rem 1.1rem;
    border-radius: 30px;
    background: rgba(138, 92, 246, .08);
    border: 1px solid rgba(138, 92, 246, .25);
    font-size: .9rem;
    font-weight: 500;
    color: var(--pwd-text-light);
}

.pwd-audit-formats__path-step i {
    font-size: .85rem;
    color: var(--pwd-primary-light);
}

.pwd-audit-formats__path-step--main {
    background: linear-gradient(90deg, var(--pwd-primary-color), var(--pwd-primary-light));
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(138, 92, 246, .3);
}

.pwd-audit-formats__path-step--main i {
    color: var(--pwd-text-light);
}

.pwd-audit-formats__path-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    min-width: 0;
}

.pwd-audit-formats__path-line {
    position: relative;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(138, 92, 246, .2), var(--pwd-primary-color));
}

.pwd-audit-formats__path-line::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--pwd-primary-color);
    border-right: 2px solid var(--pwd-primary-color);
    transform: translateY(-50%) rotate(45deg);
}

/* Бегущая точка видна только во время анимации */
.pwd-audit-formats__path-dot {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--pwd-primary-light);
    box-shadow: 0 0 10px var(--pwd-primary-color);
    opacity: 0;
}

.pwd-audit-formats__path-caption {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    white-space: nowrap;
    color: var(--pwd-text-muted);
}

.pwd-audit-formats__path-caption i {
    color: var(--pwd-primary-light);
}

/* --- Elements: CTA --- */
.pwd-audit-formats__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
    margin-top: 3rem;
    padding: 1.75rem 2rem;
    border-radius: 16px;
    border: 1px dashed rgba(138, 92, 246, .3);
}

.pwd-audit-formats__footer-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 640px;
}

.pwd-audit-formats__footer-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(138, 92, 246, .15);
    color: var(--pwd-primary-color);
    font-size: 1.2rem;
}

.pwd-audit-formats__footer-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--pwd-text-secondary);
}

.pwd-audit-formats__actions {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    gap: .75rem;
}

/* --- Animations (only with .animations-enabled) --- */

/* Reveal on scroll.
   Exception to the .animations-enabled rule (same as AUDIT SCOPE / WHY / FORMATS):
   .animations-enabled is removed when the block leaves the viewport, which would hide
   already-revealed content again. Elements are hidden ONLY when JS has added --js
   (JS is on, IntersectionObserver is available, reduced motion is not requested),
   so without JS or with reduced motion all content is simply visible.
   Анимируется обёртка карточки, а hover — сама карточка, поэтому transform не конфликтуют. */
.pwd-audit-formats--js .pwd-audit-formats__reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.pwd-audit-formats--js .pwd-audit-formats__reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Decorative loops */
.pwd-audit-formats.animations-enabled .pwd-audit-formats__bg-grid {
    transition: transform .4s ease-out;
}

.pwd-audit-formats.animations-enabled .pwd-audit-formats__bg-glow--top-right {
    animation: pwd-audit-formats-float 12s ease-in-out infinite;
}

.pwd-audit-formats.animations-enabled .pwd-audit-formats__bg-glow--bottom-left {
    animation: pwd-audit-formats-float 14s ease-in-out infinite reverse;
}

.pwd-audit-formats.animations-enabled .pwd-audit-formats__card--main::before {
    animation: pwd-audit-formats-border-flow 6s ease-in-out infinite;
}

.pwd-audit-formats.animations-enabled .pwd-audit-formats__path-dot {
    animation: pwd-audit-formats-path-run 3s ease-in-out infinite;
}

.pwd-audit-formats.animations-enabled .pwd-audit-formats__path-link--late .pwd-audit-formats__path-dot {
    animation-delay: 1.5s;
}

/* translate (а не transform), чтобы не мешать параллаксу и позиционированию */
@keyframes pwd-audit-formats-float {
    0%, 100% { translate: 0 0; }
    50%      { translate: 30px -25px; }
}

@keyframes pwd-audit-formats-border-flow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

@keyframes pwd-audit-formats-path-run {
    0%   { left: 0; opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { left: calc(100% - 8px); opacity: 0; }
}

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

/* --- Responsive (desktop-first) --- */
@media (max-width: 1199.98px) {
    .pwd-audit-formats__grid {
        gap: 1.25rem;
    }

    .pwd-audit-formats__card {
        padding: 1.75rem 1.5rem;
    }

    .pwd-audit-formats__price {
        font-size: 2rem;
    }

    .pwd-audit-formats__figure-value {
        font-size: 2.3rem;
    }
}

@media (max-width: 991.98px) {
    .pwd-audit-formats__title {
        font-size: 2.2rem;
    }

    .pwd-audit-formats__grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 620px;
        margin: 0 auto;
    }

    .pwd-audit-formats__card {
        padding: 2rem;
    }

    .pwd-audit-formats__upgrade {
        padding: 2rem;
    }

    .pwd-audit-formats__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    /* --pwd-content-padding is already redefined globally in style.css */
    .pwd-audit-formats {
        padding: 4rem var(--pwd-content-padding);
    }

    .pwd-audit-formats__header {
        margin-bottom: 3rem;
    }

    .pwd-audit-formats__title {
        font-size: 2rem;
    }

    .pwd-audit-formats__desc {
        font-size: 1rem;
    }

    .pwd-audit-formats__compare {
        margin-top: 3.5rem;
    }

    .pwd-audit-formats__scroll-hint {
        display: flex;
    }

    .pwd-audit-formats__th,
    .pwd-audit-formats__td {
        padding: .9rem 1rem;
    }

    .pwd-audit-formats__upgrade {
        grid-template-columns: 1fr;
    }

    .pwd-audit-formats__path {
        flex-wrap: wrap;
    }

    .pwd-audit-formats__path-link {
        flex-basis: 120px;
    }

    .pwd-audit-formats__bg-glow {
        width: 420px;
        height: 420px;
    }

    .pwd-audit-formats__bg-glow--center {
        width: 480px;
        height: 360px;
        margin-left: -240px;
    }
}

@media (max-width: 575.98px) {
    .pwd-audit-formats {
        padding: 3rem var(--pwd-content-padding);
    }

    .pwd-audit-formats__title {
        font-size: 1.8rem;
    }

    .pwd-audit-formats__card {
        padding: 1.5rem 1.25rem;
    }

    .pwd-audit-formats__card-title {
        font-size: 1.2rem;
    }

    .pwd-audit-formats__icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .pwd-audit-formats__icon {
        font-size: 1.25rem;
    }

    .pwd-audit-formats__price {
        font-size: 1.9rem;
    }

    .pwd-audit-formats__upgrade {
        padding: 1.5rem 1.25rem;
    }

    .pwd-audit-formats__upgrade-title {
        font-size: 1.2rem;
    }

    /* Схема перехода — вертикально */
    .pwd-audit-formats__path {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .pwd-audit-formats__path-step {
        justify-content: center;
    }

    .pwd-audit-formats__path-link {
        flex-direction: row;
        flex-basis: auto;
        justify-content: center;
        gap: .75rem;
    }

    .pwd-audit-formats__path-line {
        width: 2px;
        height: 28px;
        background: linear-gradient(180deg, rgba(138, 92, 246, .2), var(--pwd-primary-color));
    }

    .pwd-audit-formats__path-line::after {
        top: auto;
        right: auto;
        bottom: -1px;
        left: 50%;
        transform: translateX(-50%) rotate(135deg);
    }

    .pwd-audit-formats__path-dot {
        display: none;
    }

    .pwd-audit-formats__footer {
        padding: 1.5rem 1.25rem;
    }

    .pwd-audit-formats__footer-text {
        flex-direction: column;
        align-items: flex-start;
    }

    .pwd-audit-formats__actions {
        flex-direction: column;
        width: 100%;
    }

    .pwd-audit-formats__actions .pwd-audit-formats__btn {
        width: 100%;
    }
}

/* Insert into page-audit-152.css after the AUDIT FORMATS section (at the end of the file) */

/* ============================================ */
/* AUDIT REPORT */
/* ============================================ */

/* Ритм фонов (см. также комментарии в секциях AUDIT WHY и AUDIT FORMATS):
   Hero    — сетка + свечения
   Scope   — диагональный градиент 135°, едва заметная сетка
   Why     — тёмный градиент + явная фиолетовая сетка
   Formats — диагональный градиент 225° + сетка из точек
   Report  — тёмный градиент + свечение снизу + «линованная бумага»: тонкие горизонтальные
             линии (этот блок; тема «отчёт / документ») */

/* --- Layout --- */
#audit-report {
    scroll-margin-top: 100px;
}

.pwd-audit-rep__section {
    position: relative;
    padding: 6rem var(--pwd-content-padding);
    background:
        radial-gradient(ellipse at 50% 100%, rgba(138, 92, 246, .14) 0, transparent 60%),
        linear-gradient(180deg, var(--pwd-dark-bg) 0%, #121018 100%);
    border-top: 1px solid rgba(138, 92, 246, .12);
    overflow: hidden;
}

.pwd-audit-rep__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.pwd-audit-rep__benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pwd-audit-rep__pages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* --- Elements: background --- */

/* Линии выходят за границы секции, чтобы параллакс не открывал пустых краёв;
   сверху и снизу растворяются маской. */
.pwd-audit-rep__bg-lines {
    position: absolute;
    top: -30px;
    left: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    background-image: repeating-linear-gradient(
        0deg,
        rgba(138, 92, 246, .08) 0,
        rgba(138, 92, 246, .08) 1px,
        transparent 1px,
        transparent 36px
    );
    opacity: .5;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-rep__bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--pwd-glow-color) 0%, rgba(15, 15, 18, 0) 70%);
    filter: blur(50px);
    opacity: .5;
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-rep__bg-glow--top-left {
    top: -200px;
    left: -200px;
}

.pwd-audit-rep__bg-glow--bottom-right {
    bottom: -200px;
    right: -200px;
}

/* --- Elements: header --- */
.pwd-audit-rep__header {
    text-align: center;
    margin-bottom: 4rem;
}

.pwd-audit-rep__subtitle {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pwd-primary-light);
}

.pwd-audit-rep__subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 40px;
    height: 2px;
    background: var(--pwd-primary-color);
    transform: translateX(-50%);
}

.pwd-audit-rep__title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.pwd-audit-rep__title span {
    color: var(--pwd-primary-color);
}

.pwd-audit-rep__desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

/* --- Elements: report benefits (2×2) --- */
.pwd-audit-rep__benefit {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--pwd-card-bg);
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: .3s;
}

.pwd-audit-rep__benefit:hover {
    transform: translateY(-5px);
    background-color: var(--pwd-card-hover);
    border-color: var(--pwd-primary-color);
    box-shadow: 0 10px 25px rgba(138, 92, 246, .1);
}

.pwd-audit-rep__benefit-icon {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    color: var(--pwd-primary-color);
    background: rgba(138, 92, 246, .15);
    border-radius: 12px;
    transition: transform .3s;
}

.pwd-audit-rep__benefit-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, var(--pwd-glow-color) 0, transparent 70%);
    filter: blur(15px);
    opacity: .5;
}

.pwd-audit-rep__benefit-icon i {
    position: relative;
}

.pwd-audit-rep__benefit:hover .pwd-audit-rep__benefit-icon {
    transform: scale(1.1);
}

.pwd-audit-rep__benefit-title {
    margin-bottom: .6rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.pwd-audit-rep__benefit-text {
    font-size: .95rem;
    line-height: 1.65;
    color: var(--pwd-text-secondary);
}

/* --- Elements: report sample --- */
.pwd-audit-rep__preview {
    position: relative;
    padding: 2.5rem;
    background: var(--pwd-card-bg);
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.pwd-audit-rep__preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pwd-primary-color), var(--pwd-primary-light));
}

.pwd-audit-rep__preview-head {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 2.5rem;
}

.pwd-audit-rep__eyebrow {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pwd-primary-light);
}

.pwd-audit-rep__eyebrow::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--pwd-primary-color);
}

.pwd-audit-rep__preview-title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.25;
}

.pwd-audit-rep__preview-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

.pwd-audit-rep__preview-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.pwd-audit-rep__note {
    display: flex;
    gap: .75rem;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--pwd-text-muted);
}

.pwd-audit-rep__note i {
    flex-shrink: 0;
    margin-top: .2rem;
    color: var(--pwd-primary-light);
}

.pwd-audit-rep__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    overflow: hidden;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, var(--pwd-primary-color), var(--pwd-primary-light));
    border: 0;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(138, 92, 246, .3);
    cursor: pointer;
    transition: .3s;
}

.pwd-audit-rep__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s;
}

.pwd-audit-rep__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 92, 246, .4);
}

.pwd-audit-rep__btn:hover::before {
    left: 100%;
}

.pwd-audit-rep__btn i {
    margin-right: 10px;
}

.pwd-audit-rep__demo {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: -.4rem;
    font-size: .85rem;
    color: var(--pwd-text-muted);
}

.pwd-audit-rep__demo i {
    color: var(--pwd-primary-light);
}

/* Страницы отчёта: кнопки-превью листов A4 */
.pwd-audit-rep__page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    font-family: inherit;
    color: inherit;
    text-align: left;
    background: rgba(138, 92, 246, .05);
    border: 1px solid rgba(138, 92, 246, .15);
    border-radius: 16px;
    cursor: pointer;
    transition: .3s;
}

.pwd-audit-rep__page:hover {
    transform: translateY(-5px);
    background-color: var(--pwd-card-hover);
    border-color: var(--pwd-primary-color);
    box-shadow: 0 10px 25px rgba(138, 92, 246, .15);
}

.pwd-audit-rep__page:focus-visible {
    box-shadow: 0 0 0 2px rgba(138, 92, 246, .6);
}

.pwd-audit-rep__page-label {
    align-self: flex-start;
    padding: .3rem .85rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--pwd-primary-light);
    background: rgba(138, 92, 246, .1);
    border: 1px solid rgba(138, 92, 246, .3);
    border-radius: 25px;
}

.pwd-audit-rep__page-caption {
    font-size: .95rem;
    line-height: 1.5;
    color: var(--pwd-text-secondary);
}

/* Лист A4 (210 × 297). Если есть изображение, оно заполняет лист целиком. */
.pwd-audit-rep__paper {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 210 / 297;
    container-type: inline-size;
    overflow: hidden;
    background: #F6F5FB;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06);
}

.pwd-audit-rep__paper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Бейдж «увеличить» */
.pwd-audit-rep__zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: .85rem;
    color: #fff;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(138, 92, 246, .45);
    transition: transform .3s;
    pointer-events: none;
}

.pwd-audit-rep__page:hover .pwd-audit-rep__zoom {
    transform: scale(1.15);
}

/* Точки-индикаторы карусели (только мобильные; создаются в JS) */
.pwd-audit-rep__dots {
    display: none;
    justify-content: center;
    gap: .6rem;
    margin-top: 1.25rem;
}

.pwd-audit-rep__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    background: rgba(138, 92, 246, .25);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}

.pwd-audit-rep__dot.is-active {
    width: 26px;
    background: var(--pwd-primary-color);
}

/* --- Elements: CSS-макет страницы отчёта ---
   Запасной вариант, пока нет скриншотов (см. template-parts/audit-report.php).
   Все размеры в cqw, поэтому макет масштабируется вместе с листом (container-type у .pwd-audit-rep__paper). */
:where(.pwd-audit-rep__mock, .pwd-audit-rep__mock span, .pwd-audit-rep__mock i) {
    display: block;
}

.pwd-audit-rep__m-page {
    height: 100%;
    padding: 7cqw;
    color: #1B1B24;
    font-family: 'Inter', sans-serif;
}

.pwd-audit-rep__m-head,
.pwd-audit-rep__m-brand,
.pwd-audit-rep__m-issue,
.pwd-audit-rep__m-check,
.pwd-audit-rep__m-legend,
.pwd-audit-rep__m-legend span,
.pwd-audit-rep__m-row,
.pwd-audit-rep__m-row > span:first-child {
    display: flex;
}

.pwd-audit-rep__m-head {
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2.4cqw;
    margin-bottom: 4.5cqw;
    border-bottom: .3cqw solid #E2DFEF;
}

.pwd-audit-rep__m-brand {
    align-items: center;
    gap: 1.4cqw;
    font-size: 2.4cqw;
    font-weight: 700;
    color: #5B3FD0;
}

.pwd-audit-rep__m-brand i {
    display: block;
    width: 3.6cqw;
    height: 3.6cqw;
    border-radius: 1cqw;
    background: linear-gradient(135deg, #8A5CF6, #A78BFA);
}

.pwd-audit-rep__m-meta {
    font-size: 2cqw;
    color: #8B88A0;
}

.pwd-audit-rep__m-title {
    margin-bottom: 1.2cqw;
    font-size: 5.4cqw;
    font-weight: 700;
    line-height: 1.2;
}

.pwd-audit-rep__m-sub {
    margin-bottom: 4cqw;
    font-size: 2.4cqw;
    color: #8B88A0;
}

.pwd-audit-rep__m-label {
    margin: 4cqw 0 1.6cqw;
    font-size: 2.2cqw;
    font-weight: 700;
    letter-spacing: .25cqw;
    text-transform: uppercase;
    color: #6D4BE0;
}

.pwd-audit-rep__m-label--first {
    margin-top: 0;
}

.pwd-audit-rep__m-line {
    width: 78%;
    height: 1.7cqw;
    margin-bottom: 1.8cqw;
    border-radius: 1cqw;
    background: #D9D6E6;
}

.pwd-audit-rep__m-line--wide {
    width: 100%;
}

.pwd-audit-rep__m-line--short {
    width: 46%;
}

/* Цвета статусов: нарушение / риск / нет замечаний / недостаточно данных */
.pwd-audit-rep__m-danger { --c: #E04F5F; }
.pwd-audit-rep__m-warn   { --c: #E8A317; }
.pwd-audit-rep__m-ok     { --c: #20A878; }
.pwd-audit-rep__m-none   { --c: #8E91A3; }

.pwd-audit-rep__m-dot {
    flex-shrink: 0;
    width: 2.4cqw;
    height: 2.4cqw;
    border-radius: 50%;
    background: var(--c);
}

/* Страница 1: плитки и список проблем */
.pwd-audit-rep__m-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4cqw;
    margin-top: 4cqw;
}

.pwd-audit-rep__m-stat {
    padding: 2.6cqw 3cqw;
    background: #fff;
    border-radius: 1.6cqw;
    border-left: 1cqw solid var(--c);
    box-shadow: 0 .4cqw 1.4cqw rgba(60, 40, 130, .08);
}

.pwd-audit-rep__m-stat b {
    display: block;
    font-size: 6.4cqw;
    line-height: 1;
    color: var(--c);
}

.pwd-audit-rep__m-stat span {
    display: block;
    margin-top: 1cqw;
    font-size: 2.1cqw;
    color: #55526B;
}

.pwd-audit-rep__m-issue {
    align-items: flex-start;
    gap: 2cqw;
    margin-bottom: 2.4cqw;
}

.pwd-audit-rep__m-issue .pwd-audit-rep__m-dot {
    margin-top: .5cqw;
}

.pwd-audit-rep__m-issue > span:last-child {
    flex: 1;
    min-width: 0;
}

/* Страница 2: таблица направлений */
.pwd-audit-rep__m-row {
    align-items: center;
    justify-content: space-between;
    gap: 2cqw;
    padding: 2.5cqw 0;
    border-bottom: .25cqw solid #E2DFEF;
    font-size: 2.6cqw;
    font-weight: 500;
}

.pwd-audit-rep__m-row > span:first-child {
    align-items: center;
    gap: 2cqw;
}

.pwd-audit-rep__m-pill {
    display: inline-block;
    flex-shrink: 0;
    padding: .7cqw 2cqw;
    border-radius: 3cqw;
    font-size: 2cqw;
    font-weight: 600;
    white-space: nowrap;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, #fff);
}

.pwd-audit-rep__m-legend {
    flex-wrap: wrap;
    gap: 1.6cqw 3cqw;
    margin-top: 4.5cqw;
    font-size: 2cqw;
    color: #55526B;
}

.pwd-audit-rep__m-legend span {
    align-items: center;
    gap: 1.2cqw;
}

/* Страница 3: разбор нарушения */
.pwd-audit-rep__m-tag {
    display: inline-block;
    margin-bottom: 3cqw;
}

.pwd-audit-rep__m-fix {
    margin-top: 4.5cqw;
    padding: 3cqw 3.4cqw;
    background: #ECE6FF;
    border-left: 1cqw solid #8A5CF6;
    border-radius: 1.6cqw;
}

.pwd-audit-rep__m-fix .pwd-audit-rep__m-label {
    margin-top: 0;
}

.pwd-audit-rep__m-check {
    align-items: center;
    gap: 2cqw;
    margin-bottom: 1.8cqw;
}

.pwd-audit-rep__m-check::before {
    content: '';
    flex-shrink: 0;
    width: 2.6cqw;
    height: 2.6cqw;
    border-radius: .7cqw;
    background: #8A5CF6;
}

.pwd-audit-rep__m-check .pwd-audit-rep__m-line {
    flex: 1;
    margin: 0;
}

/* --- Elements: summary --- */
.pwd-audit-rep__summary {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(138, 92, 246, .15), rgba(138, 92, 246, .04));
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
}

.pwd-audit-rep__summary-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    color: #fff;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(138, 92, 246, .3);
}

.pwd-audit-rep__summary-title {
    margin-bottom: .6rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.pwd-audit-rep__summary-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

/* --- Elements: page viewer (lightbox) ---
   z-index выше фиксированного меню и модального окна темы (оба 1000). */
.pwd-audit-rep__lb {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    background: rgba(10, 10, 14, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility 0s linear .3s;
}

.pwd-audit-rep__lb.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .3s, visibility 0s;
}

.pwd-audit-rep__lb-bar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(138, 92, 246, .2);
}

.pwd-audit-rep__lb-count {
    font-size: .95rem;
    font-weight: 600;
    color: var(--pwd-primary-light);
}

.pwd-audit-rep__lb-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.pwd-audit-rep__lb-pdf {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1.1rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--pwd-text-light);
    text-decoration: none;
    background: rgba(138, 92, 246, .15);
    border: 1px solid rgba(138, 92, 246, .3);
    border-radius: 25px;
    transition: .3s;
}

.pwd-audit-rep__lb-pdf:hover {
    background: rgba(138, 92, 246, .3);
}

.pwd-audit-rep__lb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1rem;
    color: #fff;
    background: rgba(138, 92, 246, .15);
    border: 1px solid rgba(138, 92, 246, .3);
    border-radius: 50%;
    cursor: pointer;
    transition: .3s;
}

.pwd-audit-rep__lb-btn:hover {
    background: var(--pwd-primary-color);
}

.pwd-audit-rep__lb-stage {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem;
    overflow: auto;
    overscroll-behavior: contain;
}

.pwd-audit-rep__lb-paper {
    flex-shrink: 0;
    width: min(100%, 760px);
    margin: auto 0;
    animation: pwd-audit-rep-lb-in .35s ease;
}

.pwd-audit-rep__lb-foot {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(138, 92, 246, .2);
}

.pwd-audit-rep__lb-caption {
    flex: 1;
    text-align: center;
    font-size: .95rem;
    line-height: 1.4;
    color: var(--pwd-text-secondary);
}

@keyframes pwd-audit-rep-lb-in {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

/* --- Animations (only with .animations-enabled) --- */

/* Reveal on scroll.
   Exception to the .animations-enabled rule (same as .pwd-process__step / .pwd-faq__item):
   .animations-enabled is removed when the block leaves the viewport, which would hide
   already-revealed content again. Elements are hidden ONLY when JS has added --js
   (JS is on, IntersectionObserver is available, reduced motion is not requested),
   so without JS or with reduced motion all content is simply visible. */
.pwd-audit-rep__section--js .pwd-audit-rep__reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease, background-color .3s, border-color .3s, box-shadow .3s;
}

.pwd-audit-rep__section--js .pwd-audit-rep__reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* After the reveal is finished, restore the fast hover transition */
.pwd-audit-rep__section--js .pwd-audit-rep__reveal.active.settled {
    transition: .3s;
}

.pwd-audit-rep__section--js .pwd-audit-rep__benefit.active:hover,
.pwd-audit-rep__section--js .pwd-audit-rep__page.active:hover {
    transform: translateY(-5px);
}

/* Decorative loops */
@keyframes pwd-audit-rep-lines-pulse {
    0%, 100% { opacity: .5; }
    50%      { opacity: .25; }
}

@keyframes pwd-audit-rep-glow-float {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(30px, -30px); }
}

.pwd-audit-rep__section.animations-enabled .pwd-audit-rep__bg-lines {
    animation: pwd-audit-rep-lines-pulse 4s ease-in-out infinite;
}

.pwd-audit-rep__section.animations-enabled .pwd-audit-rep__bg-glow {
    animation: pwd-audit-rep-glow-float 10s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .pwd-audit-rep__benefit,
    .pwd-audit-rep__page,
    .pwd-audit-rep__btn,
    .pwd-audit-rep__lb {
        transition: none;
    }

    .pwd-audit-rep__lb-paper {
        animation: none;
    }
}

/* --- Responsive (desktop-first) --- */

/* Лист целиком помещается по высоте экрана */
@media (min-width: 768px) {
    .pwd-audit-rep__lb-paper {
        width: min(100%, 760px, calc((100vh - 200px) / 1.4142));
    }
}

@media (max-width: 1199.98px) {
    .pwd-audit-rep__preview {
        padding: 2rem;
    }

    .pwd-audit-rep__preview-head {
        gap: 2rem;
    }

    .pwd-audit-rep__pages {
        gap: 1.25rem;
    }

    .pwd-audit-rep__page {
        padding: 1rem;
    }
}

@media (max-width: 991.98px) {
    .pwd-audit-rep__title {
        font-size: 2.2rem;
    }

    .pwd-audit-rep__preview-head {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: start;
    }
}

@media (max-width: 767.98px) {
    /* --pwd-content-padding is already redefined globally in style.css */
    .pwd-audit-rep__section {
        padding: 4rem var(--pwd-content-padding);
    }

    .pwd-audit-rep__header {
        margin-bottom: 3rem;
    }

    .pwd-audit-rep__title {
        font-size: 2rem;
    }

    .pwd-audit-rep__desc {
        font-size: 1rem;
    }

    .pwd-audit-rep__benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .pwd-audit-rep__benefit {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .pwd-audit-rep__preview {
        padding: 1.75rem 1.5rem;
    }

    .pwd-audit-rep__preview-title {
        font-size: 1.5rem;
    }

    /* Страницы: горизонтальная карусель со scroll-snap.
       Отрицательные отступы равны горизонтальному padding у .pwd-audit-rep__preview. */
    .pwd-audit-rep__pages {
        display: flex;
        gap: 1rem;
        margin: 0 -1.5rem;
        padding: .5rem 1.5rem 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 1.5rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .pwd-audit-rep__pages::-webkit-scrollbar {
        display: none;
    }

    .pwd-audit-rep__page {
        flex: 0 0 78%;
        scroll-snap-align: center;
    }

    .pwd-audit-rep__dots {
        display: flex;
    }

    .pwd-audit-rep__summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 2rem 1.5rem;
    }

    .pwd-audit-rep__summary-title {
        font-size: 1.25rem;
    }

    .pwd-audit-rep__lb-stage {
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    .pwd-audit-rep__section {
        padding: 3rem var(--pwd-content-padding);
    }

    .pwd-audit-rep__title {
        font-size: 1.8rem;
    }

    .pwd-audit-rep__benefit {
        flex-direction: column;
        gap: 1rem;
    }

    .pwd-audit-rep__preview {
        padding: 1.5rem 1.25rem;
    }

    .pwd-audit-rep__pages {
        margin: 0 -1.25rem;
        padding: .5rem 1.25rem 1rem;
        scroll-padding: 0 1.25rem;
    }

    .pwd-audit-rep__page {
        flex-basis: 84%;
    }

    .pwd-audit-rep__btn {
        width: 100%;
        justify-content: center;
    }

    .pwd-audit-rep__lb-bar,
    .pwd-audit-rep__lb-foot {
        padding: .75rem 1rem;
    }

    .pwd-audit-rep__lb-caption {
        font-size: .85rem;
    }
}

/* Insert into page-audit-152.css after the AUDIT REPORT section (at the end of the file) */

/* ============================================ */
/* AUDIT PROCESS */
/* ============================================ */

/* Ритм фонов (см. также комментарии в секциях AUDIT WHY, AUDIT FORMATS, AUDIT REPORT):
   Hero    — сетка + свечения
   Scope   — диагональный градиент 135°, едва заметная сетка
   Why     — тёмный градиент + явная фиолетовая сетка
   Formats — диагональный градиент 225° + сетка из точек
   Report  — тёмный градиент + свечение снизу + горизонтальные линии
   Process — диагональный градиент 135° (--pwd-section-gradient) + диагональная штриховка
             (этот блок; тема «шаги / движение вперёд») */

/* --- Layout --- */
#audit-process {
    scroll-margin-top: 100px;
}

.pwd-audit-process {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 6rem var(--pwd-content-padding);
    background: var(--pwd-section-gradient), var(--pwd-dark-bg);
    border-top: 1px solid rgba(138, 92, 246, .12);
    color: var(--pwd-text-light);
}

.pwd-audit-process__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.pwd-audit-process__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 328px;
    gap: 1.5rem;
    align-items: stretch;
}

.pwd-audit-process__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* --- Elements: background --- */

/* Диагональная штриховка, по краям растворяется маской */
.pwd-audit-process__bg-hatch {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(138, 92, 246, .07) 0,
        rgba(138, 92, 246, .07) 1px,
        transparent 1px,
        transparent 28px
    );
    opacity: .6;
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 85%);
    mask-image: radial-gradient(ellipse at 50% 50%, #000 25%, transparent 85%);
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-process__bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--pwd-glow-color), transparent 70%);
    filter: blur(50px);
    opacity: .5;
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-process__bg-glow--top {
    top: -260px;
    right: -160px;
}

.pwd-audit-process__bg-glow--bottom {
    bottom: -320px;
    left: -220px;
    opacity: .3;
}

/* --- Elements: header --- */
.pwd-audit-process__header {
    text-align: center;
    margin-bottom: 4rem;
}

.pwd-audit-process__eyebrow {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pwd-primary-light);
}

.pwd-audit-process__eyebrow::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 40px;
    height: 2px;
    background: var(--pwd-primary-color);
    transform: translateX(-50%);
}

.pwd-audit-process__title {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.pwd-audit-process__title span {
    color: var(--pwd-primary-color);
}

.pwd-audit-process__intro {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

/* --- Elements: steps --- */
.pwd-audit-process__step {
    position: relative;
    min-width: 0;
    padding: 2rem;
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    background: var(--pwd-card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pwd-audit-process__step-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pwd-audit-process__number {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pwd-primary-color), var(--pwd-primary-light));
    box-shadow: 0 8px 20px rgba(138, 92, 246, .3);
    color: var(--pwd-text-light);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

/* Линия со стрелкой, ведущая к следующему шагу */
.pwd-audit-process__track {
    position: relative;
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--pwd-card-border), transparent);
}

.pwd-audit-process__track::after {
    content: '';
    position: absolute;
    top: -3px;
    right: 2px;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--pwd-primary-light);
    border-right: 1px solid var(--pwd-primary-light);
    transform: rotate(45deg);
    opacity: .6;
}

/* У последнего шага вместо стрелки «вперёд» стоит «вниз» (путь к итогу) */
.pwd-audit-process__step:last-child .pwd-audit-process__track::after {
    right: 0;
    top: -4px;
    width: 9px;
    height: 5px;
    border-top: 0;
    border-bottom: 1px solid var(--pwd-primary-light);
    transform: rotate(45deg);
}

.pwd-audit-process__step-title {
    margin-bottom: .75rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.02em;
    color: var(--pwd-primary-light);
}

.pwd-audit-process__step-copy {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

/* --- Elements: summary (participation and deadline) --- */
.pwd-audit-process__summary {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    background: linear-gradient(155deg, var(--pwd-card-hover), transparent 65%), var(--pwd-card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pwd-audit-process__summary::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pwd-primary-light), transparent);
}

.pwd-audit-process__participation {
    text-align: center;
}

.pwd-audit-process__label {
    font-size: .95rem;
    color: var(--pwd-text-secondary);
}

.pwd-audit-process__dial {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    margin: 1.5rem auto;
    border: 1px solid var(--pwd-card-border);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 92, 246, .15), transparent 70%);
}

.pwd-audit-process__dial::before {
    content: '';
    position: absolute;
    inset: 9px;
    border: 2px solid var(--pwd-card-border);
    border-top-color: var(--pwd-primary-light);
    border-right-color: var(--pwd-primary-light);
    border-radius: 50%;
    transform: rotate(-45deg);
}

.pwd-audit-process__dial::after {
    content: '';
    position: absolute;
    top: 7px;
    left: calc(50% - 4px);
    width: 8px;
    height: 8px;
    background: var(--pwd-primary-light);
    border-radius: 50%;
    box-shadow: 0 0 16px var(--pwd-glow-color);
}

.pwd-audit-process__approximately {
    font-size: .85rem;
    line-height: 1.5;
    color: var(--pwd-text-secondary);
}

.pwd-audit-process__time {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.04em;
    color: var(--pwd-text-light);
}

.pwd-audit-process__minutes {
    font-size: .9rem;
    line-height: 1.5;
    color: var(--pwd-primary-light);
}

.pwd-audit-process__promise {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
}

.pwd-audit-process__benefits {
    margin: 1.5rem 0 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--pwd-card-border);
    list-style: none;
}

.pwd-audit-process__benefit {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--pwd-text-secondary);
}

.pwd-audit-process__benefit + .pwd-audit-process__benefit {
    margin-top: 1rem;
}

.pwd-audit-process__check {
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--pwd-card-hover);
    color: var(--pwd-primary-light);
    font-size: .8rem;
    font-weight: 700;
}

.pwd-audit-process__deadline {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pwd-card-border);
    font-size: .85rem;
    line-height: 1.7;
    color: var(--pwd-text-secondary);
}

.pwd-audit-process__deadline strong {
    font-weight: 600;
    color: var(--pwd-primary-light);
}

/* --- Elements: CTA --- */
.pwd-audit-process__cta-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 2rem 2.5rem;
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    background: linear-gradient(100deg, var(--pwd-card-hover), rgba(138, 92, 246, .05));
}

.pwd-audit-process__cta-title {
    margin-bottom: .5rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.02em;
}

.pwd-audit-process__cta-copy {
    font-size: .95rem;
    color: var(--pwd-text-secondary);
}

.pwd-audit-process__cta {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    overflow: hidden;
    min-height: 56px;
    padding: 1rem 1.8rem;
    border: 0;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--pwd-primary-color), var(--pwd-primary-light));
    box-shadow: 0 4px 20px rgba(138, 92, 246, .3);
    color: var(--pwd-text-light);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
}

.pwd-audit-process__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-110%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
}

.pwd-audit-process__cta:hover {
    box-shadow: 0 8px 25px rgba(138, 92, 246, .4);
}

.pwd-audit-process__cta:focus-visible {
    outline: 2px solid var(--pwd-text-light);
    outline-offset: 5px;
}

/* Стрелка нарисована границами, без иконочного шрифта */
.pwd-audit-process__arrow {
    position: relative;
    width: 18px;
    height: 1px;
    background: currentColor;
}

.pwd-audit-process__arrow::after {
    content: '';
    position: absolute;
    top: -4px;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

/* --- Animations (only with .animations-enabled) --- */

/* Появление при скролле: класс --reveal добавляет JS (page-audit-152.js) нужному элементу,
   только если на блоке уже включён .animations-enabled. Без него (слабое устройство,
   prefers-reduced-motion, нет JS) контент просто виден, ничего не скрывается заранее. */
.pwd-audit-process.animations-enabled .pwd-audit-process__reveal {
    animation: pwd-audit-process-reveal .6s both;
    animation-delay: var(--pwd-reveal-delay, 0s);
}

.pwd-audit-process.animations-enabled .pwd-audit-process__bg-hatch {
    animation: pwd-audit-process-hatch 8s ease-in-out infinite;
}

.pwd-audit-process.animations-enabled .pwd-audit-process__step {
    transition: transform .3s, background-color .3s, border-color .3s, box-shadow .3s;
}

.pwd-audit-process.animations-enabled .pwd-audit-process__cta {
    transition: transform .3s, box-shadow .3s;
}

.pwd-audit-process.animations-enabled .pwd-audit-process__cta::before {
    transition: transform .6s;
}

.pwd-audit-process.animations-enabled .pwd-audit-process__arrow {
    transition: transform .3s;
}

@media (hover: hover) {
    .pwd-audit-process__step:hover {
        border-color: var(--pwd-primary-color);
        background-color: var(--pwd-card-hover);
        box-shadow: 0 10px 25px rgba(138, 92, 246, .1);
    }

    .pwd-audit-process.animations-enabled .pwd-audit-process__step:hover {
        transform: translateY(-5px);
    }

    .pwd-audit-process.animations-enabled .pwd-audit-process__cta:hover {
        transform: translateY(-3px);
    }

    .pwd-audit-process.animations-enabled .pwd-audit-process__cta:hover::before {
        transform: translateX(110%);
    }

    .pwd-audit-process.animations-enabled .pwd-audit-process__cta:hover .pwd-audit-process__arrow {
        transform: translateX(4px);
    }
}

@keyframes pwd-audit-process-reveal {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pwd-audit-process-hatch {
    0%, 100% { opacity: .6; }
    50%      { opacity: .3; }
}

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

/* --- Responsive (desktop-first) --- */
@media (max-width: 1199.98px) {
    .pwd-audit-process__layout {
        grid-template-columns: minmax(0, 1fr) 290px;
    }

    .pwd-audit-process__step,
    .pwd-audit-process__summary {
        padding: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .pwd-audit-process__title {
        font-size: 2.2rem;
    }

    .pwd-audit-process__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .pwd-audit-process__summary {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 2rem;
        padding: 2rem;
    }

    .pwd-audit-process__participation {
        grid-row: span 2;
    }

    .pwd-audit-process__benefits {
        margin: 0;
        padding: 0 0 1.5rem;
        border-top: 0;
    }

    .pwd-audit-process__deadline {
        align-self: end;
    }

    .pwd-audit-process__cta-panel {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    /* --pwd-content-padding is already redefined globally in style.css */
    .pwd-audit-process {
        padding: 4rem var(--pwd-content-padding);
    }

    .pwd-audit-process__header {
        margin-bottom: 3rem;
    }

    .pwd-audit-process__title {
        font-size: 2rem;
    }

    .pwd-audit-process__intro {
        font-size: 1rem;
    }

    .pwd-audit-process__steps {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Шаг: номер слева, текст справа */
    .pwd-audit-process__step {
        display: grid;
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 0 1.25rem;
        padding: 1.5rem;
    }

    .pwd-audit-process__step-top {
        grid-row: span 2;
        align-items: flex-start;
        margin: 0;
    }

    .pwd-audit-process__number {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        font-size: 1.25rem;
    }

    .pwd-audit-process__track {
        display: none;
    }

    .pwd-audit-process__step-title {
        font-size: 1.2rem;
    }

    .pwd-audit-process__cta-panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .pwd-audit-process {
        padding: 3rem var(--pwd-content-padding);
    }

    .pwd-audit-process__title {
        font-size: 1.8rem;
    }

    .pwd-audit-process__header {
        margin-bottom: 2rem;
    }

    .pwd-audit-process__steps,
    .pwd-audit-process__layout {
        gap: 1rem;
    }

    .pwd-audit-process__step {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 0 1rem;
        padding: 1.5rem 1rem;
    }

    .pwd-audit-process__number {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 1rem;
    }

    .pwd-audit-process__summary {
        display: flex;
        padding: 2rem 1.5rem;
    }

    .pwd-audit-process__benefits {
        margin-top: 1.5rem;
        padding: 1.5rem 0;
        border-top: 1px solid var(--pwd-card-border);
    }

    .pwd-audit-process__cta-panel {
        margin-top: 1rem;
        padding: 1.5rem;
    }

    .pwd-audit-process__cta {
        width: 100%;
    }
}

/* Insert into page-audit-152.css after the AUDIT PROCESS section (at the end of the file) */

/* ============================================ */
/* AUDIT FAQ */
/* ============================================ */

/* Ритм фонов (см. также комментарии в предыдущих секциях):
   Hero    — сетка + свечения
   Scope   — диагональный градиент 135°, едва заметная сетка
   Why     — тёмный градиент + явная фиолетовая сетка
   Formats — диагональный градиент 225° + сетка из точек
   Report  — тёмный градиент + свечение снизу + горизонтальные линии
   Process — диагональный градиент 135° + диагональная штриховка
   FAQ     — ровный тёмный фон + световое пятно сверху + россыпь крестиков «+»
             (этот блок; перекликается с символом раскрытия вопроса) */

/* --- Layout --- */
#audit-faq {
    scroll-margin-top: 100px;
}

.pwd-audit-faq {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 6rem var(--pwd-content-padding);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(138, 92, 246, .1) 0, transparent 55%),
        var(--pwd-dark-bg);
    border-top: 1px solid rgba(138, 92, 246, .12);
    color: var(--pwd-text-light);
    interpolate-size: allow-keywords;
}

.pwd-audit-faq__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.pwd-audit-faq__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.pwd-audit-faq__column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

/* --- Elements: background --- */

/* Плитка 48 × 48 px с маленьким крестиком по центру (встроенный SVG, без внешних файлов),
   по краям растворяется маской */
.pwd-audit-faq__bg-marks {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M24 19v10M19 24h10' stroke='%23A78BFA' stroke-opacity='.4' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-size: 48px 48px;
    opacity: .5;
    -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 85%);
    mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 85%);
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-faq__bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--pwd-glow-color), transparent 70%);
    filter: blur(50px);
    opacity: .5;
    z-index: 0;
    pointer-events: none;
}

.pwd-audit-faq__bg-glow--top {
    top: -320px;
    right: -200px;
}

.pwd-audit-faq__bg-glow--bottom {
    bottom: -340px;
    left: -240px;
    opacity: .3;
}

/* --- Elements: header and toolbar --- */
.pwd-audit-faq__header {
    text-align: center;
    margin-bottom: 4rem;
}

.pwd-audit-faq__eyebrow {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pwd-primary-light);
}

.pwd-audit-faq__eyebrow::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 40px;
    height: 2px;
    background: var(--pwd-primary-color);
    transform: translateX(-50%);
}

.pwd-audit-faq__title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.pwd-audit-faq__title span {
    color: var(--pwd-primary-color);
}

.pwd-audit-faq__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pwd-audit-faq__count {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .85rem;
    color: var(--pwd-text-muted);
}

.pwd-audit-faq__count::before {
    content: '';
    width: 24px;
    height: 1px;
    background: rgba(138, 92, 246, .3);
}

.pwd-audit-faq__toggle-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 44px;
    padding: .5rem 1rem;
    border: 1px solid rgba(138, 92, 246, .3);
    border-radius: 25px;
    background: rgba(138, 92, 246, .05);
    color: var(--pwd-primary-light);
    font-family: inherit;
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
}

.pwd-audit-faq__toggle-all[hidden] {
    display: none;
}

.pwd-audit-faq__toggle-all:hover {
    background: var(--pwd-card-hover);
    border-color: var(--pwd-primary-color);
}

.pwd-audit-faq__toggle-symbol {
    width: 1rem;
    font-size: 1.1rem;
    line-height: 1;
}

/* --- Elements: question cards (native <details>) --- */
.pwd-audit-faq__item {
    position: relative;
    min-width: 0;
    border: 1px solid var(--pwd-card-border);
    border-radius: 16px;
    background: var(--pwd-card-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pwd-audit-faq__item[open] {
    border-color: rgba(138, 92, 246, .3);
    background: linear-gradient(120deg, var(--pwd-card-hover), transparent 80%), var(--pwd-card-bg);
    box-shadow: 0 10px 25px rgba(138, 92, 246, .1);
}

.pwd-audit-faq__question {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 36px;
    gap: 1rem;
    align-items: center;
    min-height: 112px;
    padding: 1.5rem;
    border-radius: 16px;
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.pwd-audit-faq__question::-webkit-details-marker {
    display: none;
}

.pwd-audit-faq__question::marker {
    content: '';
}

.pwd-audit-faq__question:focus-visible,
.pwd-audit-faq__toggle-all:focus-visible {
    outline: 2px solid var(--pwd-primary-light);
    outline-offset: 4px;
}

.pwd-audit-faq__number {
    align-self: start;
    padding-top: .25rem;
    font-size: .8rem;
    font-weight: 500;
    line-height: 1.7;
    font-variant-numeric: tabular-nums;
    color: var(--pwd-primary-light);
}

.pwd-audit-faq__question-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -.015em;
    color: var(--pwd-text-light);
}

.pwd-audit-faq__item[open] .pwd-audit-faq__question-title {
    color: var(--pwd-primary-light);
}

/* Символ «+» / «−», нарисованный двумя линиями */
.pwd-audit-faq__symbol {
    position: relative;
    align-self: start;
    width: 36px;
    height: 36px;
    border: 1px solid var(--pwd-card-border);
    border-radius: 12px;
    background: var(--pwd-card-hover);
    color: var(--pwd-primary-light);
}

.pwd-audit-faq__symbol::before,
.pwd-audit-faq__symbol::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.pwd-audit-faq__symbol::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.pwd-audit-faq__item[open] .pwd-audit-faq__symbol {
    background: rgba(138, 92, 246, .15);
    border-color: rgba(138, 92, 246, .3);
}

.pwd-audit-faq__item[open] .pwd-audit-faq__symbol::after {
    transform: translate(-50%, -50%) rotate(0);
}

.pwd-audit-faq__answer {
    padding: 0 1.5rem 1.75rem 4rem;
    font-size: .95rem;
    line-height: 1.8;
    color: var(--pwd-text-secondary);
}

.pwd-audit-faq__answer::before {
    content: '';
    display: block;
    height: 1px;
    margin-bottom: 1.25rem;
    background: linear-gradient(90deg, var(--pwd-card-border), transparent);
}

.pwd-audit-faq__answer p + p {
    margin-top: 1rem;
}

.pwd-audit-faq__answer strong {
    font-weight: 600;
    white-space: nowrap;
    color: var(--pwd-text-light);
}

/* --- Animations (only with .animations-enabled) --- */
@media (hover: hover) {
    .pwd-audit-faq__item:hover {
        border-color: var(--pwd-primary-color);
        background-color: var(--pwd-card-hover);
        box-shadow: 0 10px 25px rgba(138, 92, 246, .1);
    }

    .pwd-audit-faq.animations-enabled .pwd-audit-faq__item:hover {
        transform: translateY(-5px);
    }
}

.pwd-audit-faq.animations-enabled .pwd-audit-faq__item {
    transition: transform .3s, border-color .3s, background-color .3s, box-shadow .3s;
}

.pwd-audit-faq.animations-enabled .pwd-audit-faq__symbol,
.pwd-audit-faq.animations-enabled .pwd-audit-faq__toggle-all {
    transition: background-color .3s, border-color .3s;
}

.pwd-audit-faq.animations-enabled .pwd-audit-faq__symbol::after {
    transition: transform .3s;
}

.pwd-audit-faq.animations-enabled .pwd-audit-faq__bg-marks {
    animation: pwd-audit-faq-marks-pulse 8s ease-in-out infinite;
}

/* Плавное раскрытие ответа. Progressive enhancement: в браузерах без поддержки
   (interpolate-size, ::details-content) <details> просто раскрывается мгновенно. */
@supports (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
    .pwd-audit-faq.animations-enabled .pwd-audit-faq__item::details-content {
        block-size: 0;
        overflow: clip;
        transition: block-size .3s ease, content-visibility .3s allow-discrete;
    }

    .pwd-audit-faq.animations-enabled .pwd-audit-faq__item[open]::details-content {
        block-size: auto;
    }
}

@keyframes pwd-audit-faq-marks-pulse {
    0%, 100% { opacity: .5; }
    50%      { opacity: .25; }
}

@media (prefers-reduced-motion: reduce) {
    .pwd-audit-faq *,
    .pwd-audit-faq *::before,
    .pwd-audit-faq *::after,
    .pwd-audit-faq__item::details-content {
        animation: none !important;
        transition: none !important;
    }
}

/* --- Print: все ответы раскрыты (JS), лишнее скрыто --- */
@media print {
    .pwd-audit-faq {
        overflow: visible;
        padding: 0;
    }

    .pwd-audit-faq__toolbar,
    .pwd-audit-faq__bg-marks,
    .pwd-audit-faq__bg-glow,
    .pwd-audit-faq__symbol {
        display: none;
    }

    .pwd-audit-faq__columns {
        display: block;
    }

    .pwd-audit-faq__item {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* --- Responsive (desktop-first) --- */
@media (max-width: 1199.98px) {
    .pwd-audit-faq__question {
        gap: .75rem;
        padding: 1.5rem 1.25rem;
    }

    .pwd-audit-faq__answer {
        padding-right: 1.25rem;
        padding-left: 3.5rem;
    }
}

@media (max-width: 991.98px) {
    .pwd-audit-faq__title {
        font-size: 2.2rem;
    }

    .pwd-audit-faq__columns {
        gap: 1rem;
    }

    /* Узкая колонка: номер скрыт, остаются вопрос и символ */
    .pwd-audit-faq__question {
        grid-template-columns: minmax(0, 1fr) 32px;
        min-height: 120px;
        padding: 1.25rem;
    }

    .pwd-audit-faq__number {
        display: none;
    }

    .pwd-audit-faq__symbol {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .pwd-audit-faq__answer {
        padding-left: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    /* --pwd-content-padding is already redefined globally in style.css */
    .pwd-audit-faq {
        padding: 4rem var(--pwd-content-padding);
    }

    .pwd-audit-faq__header {
        margin-bottom: 3rem;
    }

    .pwd-audit-faq__title {
        font-size: 2rem;
    }

    /* Одна колонка: номер возвращается */
    .pwd-audit-faq__columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .pwd-audit-faq__question {
        grid-template-columns: 24px minmax(0, 1fr) 36px;
        gap: 1rem;
        min-height: 0;
        padding: 1.5rem;
    }

    .pwd-audit-faq__number {
        display: block;
    }

    .pwd-audit-faq__symbol {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .pwd-audit-faq__answer {
        padding-right: 1.5rem;
        padding-left: 4rem;
    }
}

@media (max-width: 575.98px) {
    .pwd-audit-faq {
        padding: 3rem var(--pwd-content-padding);
    }

    .pwd-audit-faq__header {
        margin-bottom: 2rem;
    }

    .pwd-audit-faq__title {
        font-size: 1.8rem;
    }

    .pwd-audit-faq__toolbar {
        gap: .5rem;
        margin-bottom: 1rem;
    }

    .pwd-audit-faq__count {
        font-size: .8rem;
    }

    .pwd-audit-faq__count::before {
        width: 16px;
    }

    .pwd-audit-faq__toggle-all {
        padding: .5rem .75rem;
        font-size: .8rem;
    }

    .pwd-audit-faq__question {
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: .75rem;
        padding: 1.25rem;
    }

    .pwd-audit-faq__number {
        display: none;
    }

    .pwd-audit-faq__question-title {
        font-size: 1.05rem;
    }

    .pwd-audit-faq__symbol {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .pwd-audit-faq__answer {
        padding: 0 1.25rem 1.5rem;
        font-size: .95rem;
    }
}

/* Insert into page-audit-152.css after the AUDIT FAQ section (at the end of the file) */

/* ============================================ */
/* AUDIT FOOTER */
/* ============================================ */

/* Подвал страницы аудита использует те же классы .pwd-footer__*, что и основной (стили в style.css).
   Здесь только то, чего в основном подвале нет: иконка весов в шаре и акцентная строка текста. */

/* --- Elements: orb icon (scales) --- */

/* Иконка стоит во внутреннем тёмном круге шара. Его диаметр в style.css меняется на тех же
   брейкпоинтах (200 / 160 / 120 / 80 px), иконка занимает около 55% диаметра. */
.pwd-footer__orb-icon {
    display: block;
    width: 110px;
    height: 110px;
    overflow: visible;
    /* тень под иконкой и мягкое свечение в тон теме усиливают объём */
    filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .55)) drop-shadow(0 0 14px rgba(138, 92, 246, .35));
}

/* Блок с иконкой находится поверх шара и не перехватывает мышь (так задано в style.css для orb-content) */
.pwd-footer--audit .pwd-footer__orb-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Elements: text --- */
.pwd-footer__info-lead {
    display: block;
    margin-bottom: .5rem;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--pwd-text-light);
}

/* --- Animations (only with .animations-enabled) --- */
@keyframes pwd-footer-scales-shine {
    0%, 100% {
        filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .55)) drop-shadow(0 0 14px rgba(138, 92, 246, .35)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .55)) drop-shadow(0 0 22px rgba(167, 139, 250, .6)) brightness(1.18);
    }
}

.pwd-footer--audit.animations-enabled .pwd-footer__orb-icon {
    animation: pwd-footer-scales-shine 4s ease-in-out infinite;
}

/* --- Responsive (desktop-first) --- */
@media (max-width: 1199.98px) {
    .pwd-footer__orb-icon {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 767.98px) {
    .pwd-footer__orb-icon {
        width: 68px;
        height: 68px;
    }

    .pwd-footer__info-lead {
        font-size: 1.05rem;
    }
}

@media (max-width: 575.98px) {
    .pwd-footer__orb-icon {
        width: 46px;
        height: 46px;
    }
}
