/* ================================================
   Partners Page — Tilda-Inspired Light Theme
   Inherits HyperSphere brand palette, adapted to 
   the light, airy design from the Tilda contractor build.
   ================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Chakra Petch', 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ---- Partners Hero ---- */
.partners-hero {
    position: relative;
    min-height: 480px;
    padding: 10rem 3rem 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f6f6f6;
}

.partners-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero-partners-bg.png') center center / cover no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.partners-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    text-align: center;
}

.partners-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #52b7b9, #86cbc8);
    color: #f6f6f6;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow: 0 0 5px rgba(82,183,185,1);
}

.partners-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #25505e;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.partners-hero p {
    font-size: 1.15rem;
    color: #25505e;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.85;
}

/* ---- Gradient Divider (Tilda spectrum bar) ---- */
.gradient-divider {
    height: 5px;
    background: linear-gradient(90deg, #223a42, #52b7b9 17%, #a4cfcd 35%, #ffb057 60%, #f38f1e 86%, #b53a1e 100%);
}

/* ---- Teal Divider ---- */
.teal-divider {
    height: 2px;
    background: #52b7b9;
}

/* ---- Our Approach Section ---- */
.approach-section {
    position: relative;
    padding: 5rem 3rem 5rem;
    background: linear-gradient(180deg, #f9f9f9, rgba(249,249,249,0.6));
    overflow: hidden;
}

.approach-bg-image {
    position: absolute;
    inset: 0;
    background: url('../images/approach-bg.png') center bottom / cover no-repeat;
    opacity: 0.08;
    z-index: 0;
}

.approach-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(249,249,249,1), rgba(249,249,249,0.6));
    z-index: 1;
}

.approach-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.approach-label {
    display: block;
    font-size: 0.85rem;
    color: #f38f1e;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.approach-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #25505e;
    line-height: 1;
    margin-bottom: 1rem;
}

.approach-header p {
    font-size: 1.1rem;
    color: #25505e;
    line-height: 1.3;
    max-width: 900px;
    margin-bottom: 2.5rem;
}

.approach-cards {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.approach-card {
    flex: 1;
    min-width: 280px;
    background: #f9f9f9;
    border: 1px solid #a4cfcd;
    box-shadow: 0 0 14px rgba(82,183,185,0.28);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.approach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 24px rgba(82,183,185,0.35);
}

.approach-card-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.approach-card-icon img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
}

.approach-card-text h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #25505e;
    margin-bottom: 0.25rem;
}

.approach-card-text p {
    font-size: 0.875rem;
    color: #25505e;
    line-height: 1.3;
}

/* ---- Section Tags ---- */
.section-tag {
    display: block;
    font-size: 0.85rem;
    color: #f38f1e;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 2px;
}

.tag-type {
    background: rgba(243,143,30,0.15);
    color: #d0601e;
    border: 1px solid rgba(243,143,30,0.3);
}

.tag-sector {
    background: rgba(82,183,185,0.1);
    color: #25505e;
    border: 1px solid rgba(82,183,185,0.3);
}

/* ---- OEM Partners Section ---- */
.oem-section {
    padding: 5rem 3rem;
    width: 100%;
    background: #091f27;
}

.oem-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.oem-header {
    margin-bottom: 3rem;
}

.oem-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #25505e;
    line-height: 1;
}

/* ---- Partner Blocks ---- */
.partner-block {
    background: #ffffff;
    border: 1px solid #d4e8e7;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.partner-block-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
}

/* Left column */
.partner-block-left {
    background: linear-gradient(160deg, #f0f8f7, #e8f4f3);
    border-right: 1px solid #d4e8e7;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.partner-logo-wrap {
    display: flex;
    align-items: center;
}

.partner-logo-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
}

.partner-tags {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.partner-stats {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    border-top: 1px solid #c8e2e1;
    padding-top: 1.5rem;
}

.pstat-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #52b7b9;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.pstat-label {
    display: block;
    font-size: 0.78rem;
    color: #25505e;
    opacity: 0.65;
    line-height: 1.3;
}

.partner-link {
    display: inline-block;
    margin-top: auto;
    color: #52b7b9;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid #52b7b9;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    align-self: flex-start;
}

.partner-link:hover {
    color: #f38f1e;
    border-color: #f38f1e;
}

/* Right column */
.partner-block-right {
    padding: 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.partner-block-right h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #25505e;
    margin: 0;
    line-height: 1;
}

.partner-desc {
    font-size: 0.975rem;
    color: #25505e;
    line-height: 1.6;
    margin: 0;
}

.partner-use-cases {
    background: #f6f6f6;
    border-left: 3px solid #52b7b9;
    padding: 1rem 1.25rem;
}

.uc-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #f38f1e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.partner-use-cases ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1.5rem;
}

.partner-use-cases ul li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.875rem;
    color: #25505e;
    line-height: 1.45;
}

.partner-use-cases ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #52b7b9;
    font-weight: 700;
}

.partner-value {
    font-size: 0.9rem;
    color: #25505e;
    line-height: 1.55;
    opacity: 0.75;
    margin: 0;
    font-style: italic;
    border-top: 1px solid #e8f0f0;
    padding-top: 1rem;
}

/* ---- Deployment Section ---- */
.deployment-section {
    padding: 5rem 3rem;
    width: 100%;
    background: #f6f6f6;
}

.deployment-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.deployment-header {
    margin-bottom: 3rem;
}

.deployment-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #25505e;
    line-height: 1;
}

.deploy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.deploy-category {
    background: #ffffff;
    border: 1px solid #d4e8e7;
    padding: 2rem;
}

.deploy-category h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #25505e;
    margin-bottom: 1.25rem;
}

.platform-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.platform-logo-item {
    background: #f6f6f6;
    border: 1px solid #e0eded;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    transition: border-color 0.3s;
}

.platform-logo-item:hover {
    border-color: #52b7b9;
}

.platform-logo-item img {
    max-height: 36px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.deploy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.deploy-tag {
    padding: 0.5rem 1rem;
    background: rgba(82,183,185,0.08);
    border: 1px solid rgba(82,183,185,0.25);
    color: #25505e;
    font-size: 0.85rem;
    font-weight: 500;
}

.deploy-note {
    font-size: 0.85rem;
    color: #25505e;
    opacity: 0.6;
    font-style: italic;
    border-top: 1px solid #e0eded;
    padding-top: 0.75rem;
}

/* ---- Gartner Quote Section ---- */
.gartner-section {
    padding: 2rem 3rem;
    background: linear-gradient(135deg, #ccedec, #ebf5f4);
}

.gartner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.gartner-badge {
    flex-shrink: 0;
}

.gartner-badge img {
    width: 150px;
    height: auto;
}

.gartner-quote blockquote {
    font-size: 1rem;
    color: #25505e;
    line-height: 1.4;
    font-style: italic;
    font-weight: 500;
    margin: 0 0 0.5rem;
}

.gartner-quote cite {
    font-size: 0.85rem;
    color: #25505e;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Partner CTA Section ---- */
.partner-cta-section {
    padding: 5rem 3rem;
    background: #f9f9f9;
}

.partner-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.partner-cta-text {
    flex: 1;
    min-width: 300px;
}

.partner-cta-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #25505e;
    line-height: 1;
    margin-bottom: 1rem;
}

.partner-cta-text p {
    font-size: 1.1rem;
    color: #25505e;
    line-height: 1.3;
    margin-bottom: 1.75rem;
}

.partner-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-become-partner {
    display: inline-block;
    padding: 13px 20px;
    background: linear-gradient(135deg, #e0751e, #f38f1e 50%, #d0601e);
    color: #f6f6f6;
    font-size: 0.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 0 8px rgba(243,143,30,0.43);
    transition: all 0.2s;
}

.btn-become-partner:hover {
    box-shadow: 0 2px 6px rgba(0,11,48,0.25);
    transform: translateY(-2px);
}

.btn-view-tech {
    display: inline-block;
    padding: 13px 20px;
    background: transparent;
    border: 2px solid #25505e;
    color: #25505e;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-view-tech:hover {
    background: #25505e;
    color: #f6f6f6;
}

.partner-cta-types {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cta-type-card {
    flex: 1;
    min-width: 160px;
    padding: 0.875rem;
    border: 1px solid #f38f1e;
    box-shadow: 0 0 13px rgba(243,143,30,0.31);
}

.cta-type-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f38f1e;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cta-type-card p {
    font-size: 0.95rem;
    color: #25505e;
    line-height: 1.3;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .partners-hero h1 {
        font-size: 2.75rem;
    }
    
    .partner-cta-inner {
        flex-direction: column;
    }
    
    .deploy-grid {
        grid-template-columns: 1fr;
    }
    
    .gartner-inner {
        flex-direction: column;
        text-align: center;
    }

    .partner-block-inner {
        grid-template-columns: 220px 1fr;
    }
}

@media (max-width: 768px) {
    .partners-hero {
        padding: 8rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .partners-hero h1 {
        font-size: 2rem;
    }
    
    .approach-section,
    .oem-section,
    .deployment-section,
    .partner-cta-section {
        padding: 3rem 1.5rem;
    }
    
    .approach-cards {
        flex-direction: column;
    }
    
    .partner-block-inner {
        grid-template-columns: 1fr;
    }

    .partner-block-left {
        border-right: none;
        border-bottom: 1px solid #d4e8e7;
        padding: 1.75rem 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .partner-logo-wrap {
        flex: 0 0 auto;
    }

    .partner-tags {
        flex-direction: row;
        align-self: flex-start;
    }

    .partner-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        width: 100%;
    }

    .partner-block-right {
        padding: 1.75rem 1.5rem;
    }

    .partner-use-cases ul {
        grid-template-columns: 1fr;
    }

    .oem-header h2,
    .deployment-header h2,
    .approach-header h2,
    .partner-cta-text h2 {
        font-size: 1.75rem;
    }
    
    .partner-cta-types {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .partners-hero h1 {
        font-size: 1.75rem;
    }
    
    .platform-logos {
        grid-template-columns: 1fr;
    }
}
