/* Implementation Partner page — ported from static implementation-partner.html */

:root {
    --ip-bg-light: #f2f2f2;
    --ip-bg-dark: #120d0d;
    --ip-yellow: #f7b82a;
    --ip-yellow-alt: #fcbb2a;
    --ip-orange: #f96815;
    --ip-peach: #ffa38b;
    --ip-green: #77dd77;
    --ip-blue: #005eb8;
    --ip-card-green: #d5ffd5;
    --ip-card-purple: #e7dff6;
    --ip-card-cream: #fff2d0;
    --ip-border: #dbdbdb;
    --ip-text-21: #212121;
    --ip-text-30: #030304;
}

body,
body input,
body textarea,
body select,
body button {
    font-family: 'Poppins', sans-serif;
}

body {
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ip-page,
.ip-page *,
.form-section,
.form-section * {
    font-family: 'Poppins', sans-serif !important;
}

.ip-page * {
    box-sizing: border-box;
}

.ip-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.ip-section {
    width: 100%;
    overflow: hidden;
}

/* ============ HERO ============ */
.ip-hero {
    background-color: var(--ip-bg-dark);
    padding: 80px 100px 40px;
    position: relative;
}

.ip-hero-row {
    align-items: center;
}

.ip-hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 20px 0;
}

.ip-hero-title .accent {
    color: var(--ip-green);
}

.ip-hero-sub {
    font-size: 18px;
    line-height: 1.5;
    color: var(--ip-bg-light);
    margin: 0 0 28px 0;
    max-width: 685px;
}

.ip-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ip-yellow);
    color: var(--ip-text-21);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    padding: 12px 24px;
    text-align: center;
    white-space: nowrap;
    border: 0;
    text-decoration: none;
}

.ip-hero-cta:hover {
    background: var(--ip-yellow-alt);
    color: var(--ip-text-21);
    text-decoration: none;
}

.ip-hero-image-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.ip-hero-image {
    width: 100%;
    max-width: 654px;
    height: auto;
    object-fit: cover;
}

/* ============ STATS ============ */
.ip-stats {
    background: #fff;
    padding: 80px 100px;
}

.ip-stats-heading {
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2;
    color: #000;
    margin: 0 0 22px 0;
}

.ip-stats-heading .accent {
    color: var(--ip-orange);
}

.ip-stats-copy {
    font-size: 18px;
    line-height: 1.5;
    color: #000;
}

.ip-stats-copy p {
    margin: 0 0 18px 0;
}

.ip-stats-copy p:last-child {
    margin-bottom: 0;
}

.ip-stat-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ip-stat-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
}

.ip-stat-row + .ip-stat-row {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.ip-stat-figure {
    display: flex;
    align-items: center;
    position: relative;
    min-width: 170px;
    height: 56px;
}

.ip-stat-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.ip-stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ip-stat-icon.flip img {
    transform: scaleY(-1);
}

.ip-stat-num {
    font-weight: 600;
    font-size: 36px;
    line-height: 1;
    margin: 0;
    padding-left: 22px;
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.ip-stat-label {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    color: #000;
}

/* ============ STUDIOS ============ */
.ip-studios {
    background: var(--ip-bg-light);
    padding: 80px 100px;
}

.ip-studios-heading {
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2;
    color: #000;
    margin: 0 0 24px 0;
}

.ip-studios-heading .accent {
    color: var(--ip-orange);
}

.ip-studios-copy {
    font-size: 18px;
    line-height: 1.5;
    color: #000;
}

.ip-studios-copy p {
    margin: 0 0 12px 0;
}

.ip-studios-copy p:last-child {
    margin-bottom: 0;
}

.ip-studios-grid {
    margin-top: 56px;
}

.ip-studio-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.ip-studio-card .ip-card-img {
    width: 100%;
    aspect-ratio: 400 / 224;
    overflow: hidden;
}

.ip-studio-card .ip-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ip-studio-card .ip-card-body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: space-between;
    gap: 24px;
}

.ip-studio-card .ip-card-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ip-studio-card .ip-card-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.3;
    color: #000;
    margin: 0;
}

.ip-studio-card .ip-card-desc {
    font-size: 18px;
    line-height: 1.4;
    color: #000;
    margin: 0;
}

.ip-studio-card .ip-card-desc a {
    text-decoration: underline;
    color: inherit;
}

.ip-studio-card .ip-card-btn {
    align-self: flex-start;
    border: 1px solid #000;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    color: #000;
    background: transparent;
    white-space: nowrap;
    cursor: pointer;
}

.ip-studio-card .ip-card-btn:hover {
    background: #000;
    color: #fff;
}

.ip-studio-card .ip-card-strip {
    height: 6px;
    background: var(--ip-blue);
    width: 100%;
}

/* ============ SILENT PARTNER ============ */
.ip-silent {
    background: var(--ip-bg-dark);
    padding: 80px 100px;
    color: var(--ip-bg-light);
}

.ip-silent-heading {
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 24px 0;
    color: #fff;
}

.ip-silent-heading .accent {
    color: var(--ip-peach);
}

.ip-silent-copy {
    font-size: 22px;
    line-height: 1.4;
    color: var(--ip-bg-light);
    max-width: 943px;
}

.ip-silent-copy p {
    margin: 0 0 8px 0;
}

.ip-silent-copy p:last-child {
    margin-bottom: 0;
}

.ip-silent-row {
    margin-top: 56px;
}

.ip-silent-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.ip-silent-card.green {
    background: var(--ip-card-green);
}

.ip-silent-card.purple {
    background: var(--ip-card-purple);
}

.ip-silent-card.cream {
    background: var(--ip-card-cream);
}

.ip-silent-card .ip-silent-icon {
    width: 40px;
    height: 40px;
}

.ip-silent-card .ip-silent-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ip-silent-card .ip-silent-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    color: #000;
    margin: 0;
}

.ip-silent-card .ip-silent-desc {
    font-size: 18px;
    line-height: 1.5;
    color: var(--ip-text-21);
    margin: 0;
}

/* ============ TESTIMONIALS ============ */
.ip-testimonials {
    background: #fff;
    padding: 80px 100px;
}

.ip-testimonials-heading {
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2;
    color: #000;
    margin: 0 0 56px 0;
}

.ip-testimonials-heading .accent {
    color: var(--ip-orange);
}

.ip-testimonial-card {
    background: #fff;
    border: 1px solid var(--ip-border);
    box-shadow: 0px 28px 56.1px 0px rgba(0, 0, 0, 0.05);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.ip-testimonial-card .ip-quote-icon {
    width: 81px;
    height: 39px;
}

.ip-testimonial-card .ip-quote-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ip-testimonial-card .ip-testimonial-text {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: #000;
    margin: 0;
    flex: 1 1 auto;
}

.ip-testimonial-card .ip-testimonial-divider {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
    margin-top: auto;
}

.ip-testimonial-card .ip-testimonial-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ip-testimonial-card .ip-testimonial-name {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    color: #000;
}

.ip-testimonial-card .ip-testimonial-role {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: #000;
}

.ip-testimonial-card .ip-testimonial-logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* ============ CTA (case-study pattern) ============ */
.ip-page .cta-section {
    background-color: #ffffff;
    padding: 75px 100px;
}

.ip-page .cta-section .cta-row {
    align-items: center;
}

.ip-page .cta-section .cta-image-wrapper .cta-image {
    margin-left: auto;
    display: block;
}

.ip-page .cta-section .cta-headline {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.25;
}

.ip-page .cta-section .cta-headline .accent {
    color: var(--ip-blue);
}

.ip-page .cta-section .cta-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: var(--ip-text-30);
    margin: 0 0 24px 0;
}

.ip-page .cta-section .cta-button {
    background-color: #f7b82a;
    color: #1c1510;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    padding: 0.55rem 1rem;
    border: none;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.ip-page .cta-section .cta-button:hover {
    background-color: #1c1510;
    color: #ffffff;
}

.ip-page .cta-section .cta-image {
    max-width: 100%;
    height: auto;
}

.ip-page .cta-image-wrapper {
    overflow: hidden;
    align-self: center;
}

/* ============ MOBILE / TABLET ============ */
@media (max-width: 991px) {
    .ip-hero {
        padding: 100px 24px 28px;
    }

    .ip-hero-title {
        font-size: 32px;
    }

    .ip-hero-sub {
        font-size: 16px;
    }

    .ip-hero-image-wrap {
        margin-top: 32px;
        justify-content: center;
    }

    .ip-stats {
        padding: 56px 24px;
    }

    .ip-stats-heading {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .ip-stats-copy {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .ip-stat-row {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px 0;
    }

    .ip-stat-figure {
        min-width: 130px;
        height: 48px;
    }

    .ip-stat-icon {
        width: 48px;
        height: 48px;
    }

    .ip-stat-num {
        font-size: 28px;
        padding-left: 18px;
    }

    .ip-stat-label {
        font-size: 16px;
    }

    .ip-studios {
        padding: 56px 24px;
    }

    .ip-studios-heading {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .ip-studios-copy {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .ip-studios-grid {
        margin-top: 24px;
    }

    .ip-studio-card .ip-card-title {
        font-size: 20px;
    }

    .ip-studio-card .ip-card-desc {
        font-size: 16px;
    }

    .ip-silent {
        padding: 56px 24px;
    }

    .ip-silent-heading {
        font-size: 28px;
    }

    .ip-silent-copy {
        font-size: 18px;
    }

    .ip-silent-row {
        margin-top: 32px;
    }

    .ip-silent-card .ip-silent-title {
        font-size: 20px;
    }

    .ip-silent-card .ip-silent-desc {
        font-size: 16px;
    }

    .ip-testimonials {
        padding: 56px 24px;
    }

    .ip-testimonials-heading {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .ip-testimonial-card {
        padding: 32px 24px;
    }

    .ip-testimonial-card .ip-testimonial-text {
        font-size: 16px;
    }

    .ip-page .cta-section {
        padding: 50px 24px;
    }

    .ip-page .cta-section .cta-headline {
        font-size: 24px;
    }

    .ip-page .cta-section .cta-sub {
        font-size: 16px;
    }

    .ip-page .cta-image-wrapper {
        display: none;
    }
}

@media (max-width: 575px) {
    .ip-hero {
        padding: 90px 20px 20px;
    }

    .ip-hero-title {
        font-size: 28px;
    }

    .ip-stats,
    .ip-studios,
    .ip-silent,
    .ip-testimonials,
    .ip-cta {
        padding: 48px 20px;
    }

    .ip-stat-figure {
        min-width: 110px;
        height: 44px;
    }

    .ip-stat-num {
        font-size: 24px;
        padding-left: 14px;
    }

    .ip-stat-icon {
        width: 44px;
        height: 44px;
    }
}
