/* =========================================================
   PARTNERSHIPS PAGE STYLES
   ========================================================= */

/* Wrapper normalisation to reduce theme interference */
.page-template-partnerships .site-main,
.page-template-partnerships main,
.page-template-partnerships .content,
.page-template-partnerships .entry-content,
.page-template-partnerships .page-content {
    margin: 0;
    padding: 0;
}

/* Shared section badge styles carried over from business page */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(200, 168, 78, 0.08);
    border: 1px solid rgba(200, 168, 78, 0.2);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent, #c8a84e);
    margin-bottom: 1.25rem;
    line-height: 1;
}

.section-badge.light {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.82);
}

.section-badge svg {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    flex-shrink: 0;
    display: inline-block;
}

.pt-intro-content .section-badge,
.pt-section-header .section-badge,
.pt-models-copy .section-badge,
.pt-solution-head .section-badge,
.pt-cta-card .section-badge {
    display: inline-flex;
}

/* Hero */
.pt-hero {
    position: relative;
    padding: 10rem 0 6rem;
    margin-top: 0;
    background: var(--primary, #0a1628);
    overflow: hidden;
}

.pt-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 60% at 15% 20%, rgba(98, 191, 202, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 55% 75% at 85% 75%, rgba(200, 168, 78, 0.12) 0%, transparent 55%);
}

.pt-hero::after {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
    animation: ptOrbit 28s linear infinite;
}

@keyframes ptOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pt-hero .container {
    position: relative;
    z-index: 2;
}

.pt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    background: rgba(200, 168, 78, 0.10);
    border: 1px solid rgba(200, 168, 78, 0.25);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent, #c8a84e);
    margin-bottom: 2rem;
    line-height: 1;
}

.pt-hero-badge svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    flex-shrink: 0;
}

.pt-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 3rem;
    align-items: center;
}

.pt-hero-title {
    font-family: "Archivo", sans-serif;
    font-size: clamp(3rem, 6.5vw, 5.25rem);
    line-height: 1.02;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.5rem;
}

.pt-hero-sub {
    max-width: 680px;
    font-size: 1.2rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.68);
    margin-bottom: 2.5rem;
}

.pt-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pt-hero-actions .btn-outline,
.pt-cta-actions .btn-outline {
    background-color: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
}

.pt-hero-actions .btn-outline:hover,
.pt-cta-actions .btn-outline:hover {
    background: #62BFCA !important;
    border-color: #62BFCA !important;
    color: #fff !important;
}

/* Hero panel */
.pt-panel-card {
    padding: 2rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 60px rgba(0,0,0,0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pt-panel-top,
.pt-panel-footer {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.5);
}

.pt-panel-footer {
    margin-top: 1.5rem;
}

.pt-panel-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.pt-panel-item {
    padding: 1rem 1rem 1rem 1.1rem;
    border-left: 3px solid rgba(98, 191, 202, 0.75);
    background: rgba(255,255,255,0.04);
    border-radius: 0 14px 14px 0;
}

.pt-panel-item strong {
    display: block;
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.pt-panel-item span {
    color: rgba(255,255,255,0.62);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Intro */
.pt-intro {
    padding: 7rem 0;
    background: #fff;
}

.pt-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pt-intro-content h2,
.pt-section-header h2,
.pt-models-copy h2,
.pt-solution-head h2,
.pt-cta-card h2 {
    font-family: "Archivo", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.12;
    font-weight: 900;
    color: var(--primary, #0a1628);
    margin-bottom: 1.75rem;
}

.pt-intro-content p,
.pt-models-copy p,
.pt-solution-head p,
.pt-case-card p,
.pt-partner-card p,
.pt-cta-card p,
.pt-section-header p {
    font-size: 1.03rem;
    line-height: 1.85;
    color: var(--gray-600, #4b5563);
}

.pt-quote {
    position: relative;
    margin: 0 0 1.75rem;
    padding: 1.6rem 1.9rem;
    background: linear-gradient(135deg, rgba(98,191,202,0.06), rgba(200,168,78,0.06));
    border-left: 4px solid #62BFCA;
    border-radius: 0 18px 18px 0;
}

.pt-quote p {
    margin: 0;
    font-family: "Archivo", sans-serif;
    font-size: 1.16rem;
    font-style: italic;
    font-weight: 700;
    color: var(--primary, #0a1628);
}

/* Stats */
.pt-stat-card {
    background: var(--primary, #0a1628);
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.pt-stat-card::before {
    content: "";
    position: absolute;
    inset: auto -30% -35% auto;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(200,168,78,0.14) 0%, transparent 70%);
}

.pt-stat-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.pt-stat {
    padding: 1.5rem 1rem;
    text-align: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
}

.pt-stat-number {
    font-family: "Archivo", sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--accent, #c8a84e);
    line-height: 1;
    margin-bottom: 0.55rem;
}

.pt-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.56);
    font-weight: 700;
}

/* Focus */
.pt-focus {
    padding: 7rem 0;
    background: var(--primary, #0a1628);
    position: relative;
    overflow: hidden;
}

.pt-focus::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 55% at 20% 25%, rgba(98,191,202,0.08), transparent 60%),
        radial-gradient(ellipse 55% 65% at 85% 75%, rgba(98,191,202,0.06), transparent 58%);
}

.pt-focus .container,
.pt-solution .container,
.pt-cta .container {
    position: relative;
    z-index: 2;
}

.pt-section-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 3.5rem;
}

.pt-focus .pt-section-header h2,
.pt-focus .pt-section-header p,
.pt-solution-head h2,
.pt-solution-head p,
.pt-cta-card h2,
.pt-cta-card p {
    color: #fff;
}

.pt-focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.pt-focus-card {
    padding: 2.2rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    transition: all 0.35s ease;
}

.pt-focus-card:hover {
    transform: translateY(-6px);
    border-color: rgba(98,191,202,0.5);
    background: rgba(98,191,202,0.08);
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
}

.pt-focus-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(98,191,202,0.12);
    color: #62BFCA;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.pt-focus-card h3,
.pt-model-card h3,
.pt-case-card h3,
.pt-partner-card h3 {
    font-family: "Archivo", sans-serif;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.85rem;
}

.pt-focus-card p {
    color: rgba(255,255,255,0.68);
    font-size: 0.98rem;
    line-height: 1.8;
}

/* Models */
.pt-models {
    padding: 7rem 0;
    background: var(--gray-50, #f9fafb);
}

.pt-models-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: start;
}

.pt-models-cards {
    display: grid;
    gap: 1.25rem;
}

.pt-model-card {
    padding: 1.8rem 1.9rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--gray-200, #e5e7eb);
    box-shadow: 0 8px 30px rgba(10,22,40,0.04);
}

.pt-model-card h3 {
    color: var(--primary, #0a1628);
}

.pt-model-card p {
    margin: 0;
    color: var(--gray-600, #4b5563);
    line-height: 1.8;
}

/* Solutions */
.pt-solution {
    padding: 7rem 0;
    background: linear-gradient(135deg, #091321 0%, #0a1628 100%);
}

.pt-solution-wrap {
    padding: 3rem;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
}

.pt-solution-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    margin-top: 2.25rem;
}

.pt-solution-list {
    display: grid;
    gap: 1rem;
}

.pt-solution-item {
    position: relative;
    padding: 1.15rem 1.2rem 1.15rem 3rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    border: 1px solid rgba(255,255,255,0.06);
}

.pt-solution-item::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    left: 1.2rem;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: linear-gradient(135deg, #62BFCA, #c8a84e);
    box-shadow: 0 0 0 6px rgba(98,191,202,0.08);
}

.pt-case-card {
    padding: 2rem;
    border-radius: 22px;
    background: rgba(200,168,78,0.10);
    border: 1px solid rgba(200,168,78,0.22);
}

/* Improve readability inside example framework card */
.pt-case-card p {
    color: rgba(255,255,255,0.88);
}

.pt-case-label {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: var(--accent, #c8a84e);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Partner types */
.pt-partners {
    padding: 7rem 0;
    background: #fff;
}

.pt-partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pt-partner-card {
    padding: 2rem;
    border-radius: 22px;
    border: 1px solid var(--gray-200, #e5e7eb);
    background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
    transition: all 0.35s ease;
}

.pt-partner-card:hover {
    transform: translateY(-6px);
    border-color: rgba(98,191,202,0.45);
    box-shadow: 0 16px 40px rgba(10,22,40,0.06);
}

.pt-partner-card h3 {
    color: var(--primary, #0a1628);
}

/* CTA */
.pt-cta {
    position: relative;
    padding: 7rem 0;
    background: var(--primary, #0a1628);
    overflow: hidden;
}

.pt-cta-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10,22,40,0.94), rgba(10,22,40,0.74)),
        url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?w=1600&q=80") center/cover no-repeat;
    opacity: 0.95;
}

.pt-cta-card {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.pt-cta-card p {
    max-width: 720px;
    margin: 0 auto 2.25rem;
    color: rgba(255,255,255,0.75);
}

.pt-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Safety rules for inline SVG icons in cards */
.pt-focus-icon svg,
.pt-hero-badge svg,
.section-badge svg {
    max-width: 100%;
    max-height: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .pt-hero {
        padding: 8rem 0 4rem;
    }

    .pt-hero-grid,
    .pt-intro-grid,
    .pt-models-grid,
    .pt-solution-grid,
    .pt-partner-grid,
    .pt-focus-grid {
        grid-template-columns: 1fr;
    }

    .pt-stat-card,
    .pt-solution-wrap {
        padding: 2rem;
    }

    .pt-section-header {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 640px) {
    .pt-hero-title {
        font-size: 2.6rem;
    }

    .pt-hero-sub {
        font-size: 1.05rem;
    }

    .pt-stat-grid {
        gap: 0.85rem;
    }

    .pt-stat {
        padding: 1.1rem 0.75rem;
    }

    .pt-stat-number {
        font-size: 1.45rem;
    }

    .pt-focus-card,
    .pt-model-card,
    .pt-partner-card,
    .pt-case-card,
    .pt-panel-card {
        padding: 1.5rem;
    }

    .pt-solution-item {
        padding-left: 2.8rem;
    }

    .pt-hero-actions,
    .pt-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}