/* ==========================================
   CLIENTS PAGE
========================================== */

body:has(.clients-content),
body:has(.clients-content) main {
    background: #f5f5f5;
}

.clients-content {
    display: block;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

.clients-content *,
.clients-content *::before,
.clients-content *::after {
    box-sizing: border-box;
}

.clients-inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 32px 0 64px;
}


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

.clients-header {
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 0;
    text-align: center;
}

.clients-eyebrow {
    margin: 0 0 32px;
    color: #444;
    font-family: "Instrument Serif", serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.clients-title {
    margin: 0;
    color: #171717;
    font-family: "Inter", sans-serif;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    transform: scaleY(1.125);
    transform-origin: center;
}

.clients-intro {
    max-width: 700px;
    margin: 24px auto 0;
    color: #666;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    text-align: center;
}


/* ==========================================
   MAIN SECTIONS
========================================== */

.clients-map-section,
.clients-testimonials-section {
    width: 100%;
    margin: 0;
    padding: 56px 0 64px;
    border: 0;
}

.clients-section-header {
    width: 100%;
    margin: 0 0 28px;
    padding: 0;
    text-align: center;
}

.clients-section-header h2 {
    margin: 0;
    color: #171717;
    font-family: "Inter", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.04em;
    text-align: center;
}


/* ==========================================
   CLIENT MAP
========================================== */

.clients-map-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.clients-map-container iframe {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: 640px;
    margin: 0 auto;
    padding: 0;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    background: #fff;
}


/* ==========================================
   TESTIMONIAL GRID
========================================== */

.clients-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    gap: 20px;
    align-items: stretch;
}


/* ==========================================
   TESTIMONIAL CARDS
========================================== */

.client-testimonial {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 30px 32px 32px;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    box-shadow: none;
}

.client-testimonial-quote {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #555;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.85;
    overflow-wrap: break-word;
}

.client-testimonial-quote::before,
.client-testimonial-quote::after {
    content: none;
}


/* ==========================================
   TESTIMONIAL ATTRIBUTION
========================================== */

.client-testimonial-attribution {
    width: 100%;
    margin: 0;
    padding: 12px 0 0;
}

.client-testimonial-quote + .client-testimonial-attribution {
    margin-top: 12px;
}

.client-testimonial-name {
    margin: 0;
    color: #171717;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.client-testimonial-school {
    margin: 4px 0 0;
    color: #777;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.client-testimonial-show {
    margin: 4px 0 0;
    color: #999;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.client-testimonial-show a {
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-decoration-color: #bcbcbc;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.client-testimonial-show a:hover,
.client-testimonial-show a:focus-visible {
    color: #171717;
    text-decoration-color: #171717;
}


/* ==========================================
   FEATURED DETAILS
========================================== */

.client-testimonial-featured {
    width: 100%;
    margin: 18px 0 0;
    padding: 13px 14px;
    background: #f5f5f5;
    border-left: 3px solid #20e1ff;
    color: #555;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
}


/* ==========================================
   FULL-WIDTH CTA
========================================== */

.clients-cta {
    width: 100%;
    margin: 0;
    padding: 100px 24px 110px;
    background: #171717;
    color: #fff;
    border: 0;
}

.clients-cta-inner {
    width: min(900px, 100%);
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.clients-cta-eyebrow {
    margin: 0 0 22px;
    color: #a8a8a8;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.clients-cta-title {
    margin: 0 0 28px;
    color: #fff;
    font-family: "Instrument Serif", serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.clients-cta-text {
    max-width: 720px;
    margin: 0 auto 32px;
    color: #c8c8c8;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
}

.clients-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 0;
    color: #171717;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.clients-cta-button:hover,
.clients-cta-button:focus-visible {
    background: transparent;
    color: #fff;
}

.clients-cta-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .clients-inner {
        width: min(700px, calc(100% - 32px));
        padding: 24px 0 80px;
    }

    .clients-header {
        margin-bottom: 32px;
    }

    .clients-map-section,
    .clients-testimonials-section {
        padding: 44px 0 52px;
    }

    .clients-section-header {
        margin-bottom: 24px;
    }

    .clients-section-header h2 {
        font-size: 29px;
    }

    .clients-map-container iframe {
        height: 520px;
    }

    .clients-testimonials-grid {
        gap: 16px;
    }

    .client-testimonial {
        padding: 30px;
    }

    .clients-cta {
        padding: 76px 24px 84px;
    }

    .clients-cta-title {
        font-size: clamp(36px, 6vw, 52px);
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .clients-inner {
        width: calc(100% - 24px);
        padding: 16px 0 64px;
    }

    .clients-header {
        margin-bottom: 24px;
    }

    .clients-eyebrow {
        margin-bottom: 16px;
        font-size: 20px;
        letter-spacing: 0;
    }

    .clients-title {
        font-size: clamp(32px, 9vw, 52px);
    }

    .clients-intro {
        margin-top: 20px;
        font-size: 13px;
        line-height: 1.7;
    }

    .clients-map-section,
    .clients-testimonials-section {
        padding: 36px 0 44px;
    }

    .clients-section-header {
        margin-bottom: 20px;
    }

    .clients-section-header h2 {
        font-size: 25px;
        line-height: 1.25;
    }

    .clients-map-container iframe {
        height: 420px;
    }

    .clients-testimonials-grid {
        gap: 12px;
    }

    .client-testimonial {
        padding: 24px;
    }

    .client-testimonial-quote {
        font-size: 12px;
        line-height: 1.8;
    }

    .client-testimonial-attribution {
        padding-top: 12px;
    }

    .client-testimonial-quote + .client-testimonial-attribution {
        margin-top: 12px;
    }

    .client-testimonial-name {
        font-size: 11px;
    }

    .client-testimonial-school,
    .client-testimonial-show {
        font-size: 10px;
    }

    .client-testimonial-featured {
        font-size: 10px;
    }

    .clients-cta {
        padding: 64px 20px 72px;
    }

    .clients-cta-eyebrow {
        font-size: 10px;
    }

    .clients-cta-title {
        font-size: 38px;
    }

    .clients-cta-text {
        font-size: 13px;
        line-height: 1.8;
    }

    .clients-cta-button {
        width: 100%;
        max-width: 320px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 380px) {

    .client-testimonial {
        padding: 20px;
    }

    .clients-section-header h2 {
        font-size: 23px;
    }

    .clients-cta-title {
        font-size: 34px;
    }

}


/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

    .clients-cta-button {
        transition: none;
    }

}

/* ==========================================
   CLIENT TESTIMONIAL SCHOOL & SHOW
========================================== */

.client-testimonial-school {
    color: #555555;
}

.client-testimonial-show {
    color: #555555;
}