body.clients-page {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

/* Animated background photograph */

body.clients-page::after {
    content: "";
    position: fixed;
    inset: -5%;
    z-index: -2;

    background-image: url("/images/clients/clients.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    animation: clientsBackgroundMove 30s ease-in-out infinite alternate;
}

/* Dark overlay */

body.clients-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    background: rgba(0, 0, 0, 0.30);
    pointer-events: none;
}

/* Background movement */

@keyframes clientsBackgroundMove {
    from {
        transform: scale(1.05) translateX(-1.5%);
    }

    to {
        transform: scale(1.12) translateX(1.5%);
    }
}
/* ================================
   CLIENT GALLERIES PAGE
   ================================ */

.clients-page {
    min-height: 100vh;
    margin: 0;
}

.clients-main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}

.clients-panel {
    width: min(720px, 100%);
    padding: 56px 48px;
    text-align: center;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    animation: clientsPanelEntrance 0.9s ease-out both;
}

@keyframes clientsPanelEntrance {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.clients-eyebrow {
    margin: 0 0 10px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.65;
}

.clients-panel h1 {
    margin: 0 0 18px;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.05;
}

.clients-description {
    max-width: 570px;
    margin: 0 auto 18px;
    font-size: 1.2rem;
    line-height: 1.65;
}

.clients-instructions {
    max-width: 570px;
    margin: 0 auto 32px;
    line-height: 1.7;
    opacity: 0.8;
}

.client-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 260px;
    padding: 17px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    background: #111;
    color: #fff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.client-login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.client-login-button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 5px;
}

.clients-note {
    margin: 20px 0 30px;
    font-size: 0.9rem;
    opacity: 0.65;
}

.clients-home-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.clients-home-link:hover {
    text-decoration: underline;
}

/* Dark theme */

html[data-theme="dark"] .clients-panel {
    background: rgba(25, 25, 25, 0.92);
    color: #fff;
}

html[data-theme="dark"] .client-login-button {
    background: #fff;
    color: #111;
}

/* Mobile */

@media (max-width: 600px) {
    .clients-main {
        padding: 35px 16px;
    }

    .clients-panel {
        padding: 42px 22px;
        border-radius: 18px;
    }

    .client-login-button {
        width: 100%;
        min-width: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.clients-page::after,
    .clients-panel {
        animation: none;
    }
}
html[data-theme="dark"] body.clients-page .clients-panel {
    background-color: rgba(25, 25, 25, 0.92) !important;
    background-image: none !important;
    color: #fff;
}
