/* ===================================================================
   Packages page: consulting (includes/service-packages/pages/consulting.php)

   Loaded after service-packages.css on this page only. Styles the two consulting sections:
   sections/custom/co-chooser.php and sections/custom/co-session-flow.php. `pp-co-` prefix.
   =================================================================== */

/* ---------- Chooser: "أيهم يناسبك؟" ---------- */

.pp-co-chooser {
    padding: 80px 0;
    background: var(--white);
}

.pp-co-chooser__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-co-choice {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 24px 22px;
    background: var(--surface-5);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.pp-co-choice:hover {
    transform: translateY(-4px);
    border-color: var(--primary-bright-alpha-40);
    box-shadow: 0 16px 36px var(--shadow-08);
}

.pp-co-choice--popular {
    border-color: var(--primary-bright-alpha-40);
}

.pp-co-choice__situation {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.6;
    color: var(--brand-ink);
}

.pp-co-choice__if {
    display: block;
    margin-bottom: 2px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-muted-2);
}

/* The recommendation is a label, not a control: a soft tint tag with no fill, border, shadow or
   hover, so it does not look pressable next to the real link in the card foot. */
.pp-co-choice__pick {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 3px 10px;
    border: 0;
    border-radius: 999px;
    background: var(--primary-bright-alpha-12);
    box-shadow: none;
    color: var(--brand-ink);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: default;
}

/* Decorative (aria-hidden) arrow: hidden, since an arrow reads as "press here". */
.pp-co-choice__arrow {
    display: none;
}

.pp-co-choice__text {
    flex: 1;
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.85;
    color: var(--text-muted-2);
}

.pp-co-choice__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
}

.pp-co-choice__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
    margin: 0;
    color: var(--brand-ink);
}

.pp-co-choice__price strong {
    font-size: 1.2rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.pp-co-choice__price span {
    font-size: 0.875rem;
    color: var(--text-muted-2);
}

.pp-co-choice__per {
    flex-basis: 100%;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--pp-accent-text);
}

/* 44px tall hit area (was 24px). */
.pp-co-choice__cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: -10px;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--pp-accent-text);
    text-decoration: none;
    white-space: nowrap;
}

.pp-co-choice__cta:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pp-co-chooser__note {
    margin: 20px 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted-2);
}

/* ---------- Session flow: "شكل الجلسة وما تخرج به" (dark band, same family as the SEO report band) ---------- */

.pp-co-flow {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    color: var(--white);
    background:
        radial-gradient(800px 500px at 15% 100%, var(--primary-bright-alpha-20), transparent 65%),
        var(--brand-ink);
}

.pp-co-flow .pp-section__title {
    color: var(--white);
}

.pp-co-flow .pp-section__desc {
    color: var(--white-80);
}

.pp-co-flow__stages {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--pp-co-stages, 3), minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-co-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--white-10);
}

.pp-co-stage__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pp-co-stage__num {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--brand-primary-bright);
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
}

.pp-co-stage__label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-gold);
}

.pp-co-stage__title {
    margin: 4px 0 0;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--white);
}

.pp-co-stage__text {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.85;
    color: var(--white-60);
}

.pp-co-stage__outputs {
    display: grid;
    gap: 8px;
    margin: 4px 0 0;
}

.pp-co-stage__output {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--white-10);
}

.pp-co-stage__output dt {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-gold);
}

.pp-co-stage__output dd {
    margin: 2px 0 0;
    font-size: 0.9rem;
    color: var(--white-85);
}

@media (max-width: 1024px) {
    .pp-co-chooser__grid,
    .pp-co-flow__stages {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    .pp-co-chooser,
    .pp-co-flow {
        padding: 48px 0;
    }

    .pp-co-chooser__grid,
    .pp-co-flow__stages {
        gap: 12px;
    }

    .pp-co-choice,
    .pp-co-stage {
        padding: 20px 18px 18px;
    }

    .pp-co-choice:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pp-co-choice {
        transition: none;
    }

    .pp-co-choice:hover {
        transform: none;
    }
}
