html:has(.client-page),
body:has(.client-page) {
    height: 100%;
}

body:has(.client-page) {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.client-page {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding-top: 64px;
    background: #fff;
    color: #100d24;
}

.client-hero {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    padding: 88px 0 80px;
    background:
        radial-gradient(ellipse 70% 80% at 92% 8%, rgba(253, 43, 84, 0.1), transparent 52%),
        linear-gradient(180deg, #fff8f9 0%, #ffffff 78%);
}

.client-hero-inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 56px;
}

.client-copy {
    min-width: 0;
}

.client-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: #fd2b54;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.client-copy h1 {
    margin: 0 0 16px;
    font-size: 36px;
    line-height: 1.28;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.client-lead {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.75;
    color: #595a5c;
}

.client-qrs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.client-qr {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 148px;
    padding: 16px 16px 14px;
    background: #fff;
    border: 1px solid #eeeef1;
    border-radius: 16px;
    box-sizing: border-box;
}

.client-qr img {
    display: block;
    width: 148px;
    height: 148px;
    min-width: 128px;
    min-height: 128px;
    object-fit: contain;
    background: #fff;
}

.client-qr figcaption {
    font-size: 14px;
    font-weight: 600;
    color: #100d24;
}

.client-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    color: #8b8c8f;
    line-height: 1.8;
}

.client-meta a {
    color: #595a5c;
}

.client-meta a:hover {
    color: #fd2b54;
}

.client-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #d8d8dc;
    margin: 0 10px;
}

.client-preview {
    min-width: 0;
}

.client-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.client-section {
    padding: 80px 0;
    background: #f7f8fa;
}

.client-section-inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.client-section-head {
    max-width: 640px;
    margin-bottom: 32px;
}

.client-section-head h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.client-others {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.client-other {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    gap: 8px;
    background: #fff;
    border: 1px solid #eeeef1;
    border-radius: 16px;
    padding: 24px 22px;
    box-sizing: border-box;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.client-other-icon {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

.client-other strong {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 22px;
    color: #100d24;
}

.client-other span {
    flex: 1 1 100%;
    font-size: 14px;
    line-height: 1.7;
    color: #595a5c;
}

.client-other:hover {
    border-color: #e4e4e8;
    box-shadow: 0 12px 32px rgba(16, 13, 36, 0.05);
}

.client-other:hover strong {
    color: #fd2b54;
}

@media (max-width: 1100px) {
    .client-hero-inner {
        gap: 40px;
    }

    .client-copy h1 {
        font-size: 32px;
    }
}

@media (max-width: 960px) {
    .client-hero {
        padding: 48px 0 40px;
    }

    .client-hero-inner {
        grid-template-columns: 1fr;
    }

    .client-copy h1 {
        font-size: 28px;
    }

    .client-preview {
        order: 2;
    }

    .client-section {
        padding: 56px 0;
    }

    .client-others {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .client-hero-inner,
    .client-section-inner {
        padding: 0 16px;
    }

    .client-qrs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .client-qrs-single {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
    }

    .client-qr {
        min-width: 0;
        width: 100%;
        padding: 14px 12px 12px;
    }

    .client-qr img {
        width: 100%;
        max-width: 168px;
        height: auto;
        aspect-ratio: 1;
    }
}
