.nd-testimonials-page {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 8%, rgba(212, 162, 62, 0.13), transparent 26%),
        radial-gradient(circle at 12% 58%, rgba(255, 255, 255, 0.035), transparent 30%),
        var(--nd-bg, #070a0d);
    color: var(--nd-text, #fff);
}

.nd-testimonials-page__hero {
    position: relative;
    padding: clamp(118px, 12vw, 170px) 0 clamp(58px, 7vw, 90px);
    border-bottom: 1px solid var(--nd-border, rgba(255, 255, 255, 0.1));
}

.nd-testimonials-page__hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -180px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(212, 162, 62, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.nd-testimonials-page__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.nd-testimonials-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: var(--nd-accent, #d4a23e);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nd-testimonials-page__eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.nd-testimonials-page__hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 7vw, 6.4rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.nd-testimonials-page__intro {
    max-width: 680px;
    margin: 28px 0 0;
    color: var(--nd-muted, #a6aab0);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.75;
}

.nd-testimonials-page__intro > *:first-child {
    margin-top: 0;
}

.nd-testimonials-page__intro > *:last-child {
    margin-bottom: 0;
}

.nd-testimonials-page__content {
    position: relative;
    padding: clamp(64px, 8vw, 110px) 0 clamp(130px, 11vw, 170px);
}

.nd-testimonials-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.nd-project-testimonial {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: clamp(28px, 3vw, 42px);
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        var(--nd-surface, #0e1318);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nd-project-testimonial:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 162, 62, 0.34);
    box-shadow: 0 30px 85px rgba(0, 0, 0, 0.38);
}

.nd-project-testimonial::before {
    content: "\201C";
    position: absolute;
    top: 8px;
    right: 20px;
    color: rgba(212, 162, 62, 0.12);
    font-family: Georgia, serif;
    font-size: 8rem;
    line-height: 1;
    pointer-events: none;
}

.nd-project-testimonial::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--nd-accent, #d4a23e), transparent);
    opacity: 0.75;
}

.nd-project-testimonial__top,
.nd-project-testimonial__quote,
.nd-project-testimonial__footer {
    position: relative;
    z-index: 1;
}

.nd-project-testimonial__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.nd-project-testimonial__project {
    min-width: 0;
}

.nd-project-testimonial__label {
    display: block;
    margin-bottom: 8px;
    color: var(--nd-accent, #d4a23e);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nd-project-testimonial__project a {
    display: inline;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.nd-project-testimonial__project a:hover,
.nd-project-testimonial__project a:focus-visible {
    color: var(--nd-accent, #d4a23e);
}

.nd-project-testimonial__logo {
    display: grid;
    flex: 0 0 86px;
    place-items: center;
    width: 86px;
    height: 54px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 10px;
}

.nd-project-testimonial__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nd-project-testimonial__quote {
    flex: 1;
    margin: 0 0 30px;
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.02rem, 1.45vw, 1.18rem);
    line-height: 1.78;
}

.nd-project-testimonial__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.nd-project-testimonial__person {
    min-width: 0;
}

.nd-project-testimonial__person strong,
.nd-project-testimonial__person span {
    display: block;
}

.nd-project-testimonial__person strong {
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.35;
}

.nd-project-testimonial__person span {
    margin-top: 5px;
    color: var(--nd-muted, #a6aab0);
    font-size: 0.84rem;
    line-height: 1.45;
}

.nd-project-testimonial__link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    color: var(--nd-accent, #d4a23e);
    border: 1px solid rgba(212, 162, 62, 0.42);
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.nd-project-testimonial__link:hover,
.nd-project-testimonial__link:focus-visible {
    background: var(--nd-accent, #d4a23e);
    color: #070a0d;
}

.nd-testimonials-page__empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 42px;
    background: var(--nd-surface, #0e1318);
    border: 1px solid var(--nd-border, rgba(255, 255, 255, 0.1));
    border-radius: 22px;
    color: var(--nd-muted, #a6aab0);
    text-align: center;
}

.nd-testimonials-page__empty h2 {
    margin-top: 0;
    color: #fff;
}

@media (max-width: 980px) {
    .nd-testimonials-page__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nd-testimonials-page__hero {
        padding-top: 142px;
    }
}

@media (max-width: 600px) {
    .nd-testimonials-page__hero {
        padding: 128px 0 52px;
    }

    .nd-testimonials-page__hero h1 {
        font-size: clamp(2.75rem, 13vw, 4rem);
        line-height: 1;
    }

    .nd-testimonials-page__intro {
        margin-top: 22px;
        font-size: 1rem;
        line-height: 1.65;
    }

    .nd-testimonials-page__content {
        padding: 34px 0 150px;
    }

    .nd-testimonials-page__grid {
        gap: 18px;
    }

    .nd-project-testimonial {
        padding: 24px 20px 22px;
        border-radius: 18px;
    }

    .nd-project-testimonial::before {
        top: 8px;
        right: 14px;
        font-size: 5.8rem;
    }

    .nd-project-testimonial__top {
        margin-bottom: 22px;
    }

    .nd-project-testimonial__project a {
        font-size: 0.94rem;
        line-height: 1.4;
    }

    .nd-project-testimonial__logo {
        flex-basis: 68px;
        width: 68px;
        height: 46px;
    }

    .nd-project-testimonial__quote {
        margin-bottom: 24px;
        font-size: 1rem;
        line-height: 1.68;
    }

    .nd-project-testimonial__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding-top: 18px;
    }

    .nd-project-testimonial__link {
        min-height: 40px;
        padding-inline: 13px;
    }
}

@media (max-width: 390px) {
    .nd-project-testimonial__top {
        flex-direction: column-reverse;
    }

    .nd-project-testimonial__logo {
        align-self: flex-start;
    }
}