/*
 * Partners v2 — only the sections that don't exist on /partners.
 * Hero, section titles, challenge/solution/privacy cards, models and all three
 * modals reuse partners.css as-is. Everything here is prefixed `pv2-`.
 */

/* ===== Shared section shell ===== */
.pv2-section {
    padding: 80px 0;
    background: var(--white);
}

.pv2-section.pv2-tinted {
    background: var(--light-bg);
}

.pv2-section .section-title p {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Module grid (everything in one portal) ===== */
.pv2-module-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pv2-module {
    background: var(--white);
    border: 1px solid #edf0f5;
    border-radius: 15px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.pv2-module:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(240, 194, 39, 0.35);
}

.pv2-module-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
    background: rgba(240, 194, 39, 0.15);
    color: var(--blue);
}

.pv2-module h3 {
    color: var(--blue);
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.pv2-module p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Holistic Progress Card stages ===== */
.pv2-hpc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.pv2-hpc-text h3 {
    color: var(--blue);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.pv2-hpc-text > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.pv2-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pv2-checklist li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.pv2-checklist i {
    color: #1f9d55;
    margin-top: 0.3rem;
}

.pv2-stages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pv2-stage {
    border-radius: 15px;
    padding: 1.5rem;
    background: var(--white);
    border-left: 5px solid var(--yellow);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pv2-stage:nth-child(2) { border-left-color: #3b82f6; }
.pv2-stage:nth-child(3) { border-left-color: #10b981; }
.pv2-stage:nth-child(4) { border-left-color: var(--blue); }

.pv2-stage h4 {
    color: var(--blue);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.pv2-stage span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Roles ===== */
.pv2-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pv2-role {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--yellow);
}

.pv2-role-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.pv2-role-head i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: var(--yellow);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pv2-role-head h3 {
    color: var(--blue);
    font-size: 1.2rem;
    margin: 0;
}

.pv2-role-head small {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
}

.pv2-role .pv2-checklist li {
    font-size: 0.95rem;
}

/* ===== Onboarding steps ===== */
.pv2-setup {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.pv2-setup-step {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    background: var(--light-bg);
}

.pv2-setup-step b {
    display: block;
    color: var(--yellow);
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}

.pv2-setup-step h4 {
    color: var(--blue);
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.pv2-setup-step p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ===== Module chips (compact ERP overview on /partnersv2) ===== */
.pv2-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 900px;
    margin: 0 auto;
}

.pv2-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid #edf0f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: var(--blue);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.pv2-chip:hover {
    border-color: rgba(240, 194, 39, 0.5);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.pv2-chip i {
    color: var(--yellow);
    font-size: 0.9rem;
}

.pv2-section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.pv2-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 0.25rem;
    transition: var(--transition);
}

.pv2-more-link:hover {
    gap: 0.85rem;
    color: var(--yellow);
}

/* ===== ERP detail page (/partnersv2/erp) ===== */
.pv2-erp-hero {
    background: var(--light-bg);
    padding: 140px 0 70px;
    text-align: center;
}

.pv2-erp-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.pv2-erp-back:hover {
    color: var(--blue);
}

.pv2-erp-hero h6 {
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.pv2-erp-hero h1 {
    color: var(--blue);
    font-size: 2.8rem;
    margin-bottom: 1.1rem;
}

.pv2-erp-hero p {
    color: var(--text-light);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}

.pv2-erp-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ===== Solution & privacy card icons (v2 only) =====
   partners.css gives .solution-icon a muddy yellow-to-navy gradient and
   .privacy-icon a washed-out grey. Both are scoped here so /partners keeps its
   original look: navy circle with a yellow glyph, the same pairing as the site
   header and .pv2-role-head. The icons keep that colouring on hover; only the
   card itself lifts. */
.pv2-solution .solution-icon,
.pv2-privacy .privacy-icon {
    background: var(--blue);
    color: var(--yellow);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .pv2-module-grid { grid-template-columns: repeat(3, 1fr); }
    .pv2-setup { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .pv2-module-grid { grid-template-columns: repeat(2, 1fr); }
    .pv2-hpc { grid-template-columns: 1fr; gap: 2rem; }
    .pv2-roles { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 600px) {
    .pv2-section { padding: 56px 0; }
    .pv2-module-grid,
    .pv2-stages,
    .pv2-setup { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .pv2-erp-hero { padding: 110px 0 50px; }
    .pv2-erp-hero h1 { font-size: 2rem; }
    .pv2-chip { font-size: 0.88rem; padding: 0.6rem 0.95rem; }
}
