/**
 * EZ Golf Academy - Performance Page
 *
 * Page-specific styles only. Shared tokens, buttons, and card
 * classes come from home.css (loaded as a dependency).
 *
 * @package EZGolfAcademy
 * @since   1.1.0
 */

/* =========================================
   Page shell
   ========================================= */

.pg-perf {
    background: var(--ez-white);
}

/* =========================================
   1. Hero  (reuses .pg-hero from programs.css)
   If programs.css is not loaded, duplicate the
   essentials here so the page is self-contained.
   ========================================= */

.pg-perf .pg-hero {
    padding: 80px 0 60px;
    background: var(--ez-white);
}

.pg-perf .pg-hero__title {
    font-family: var(--ez-font-display, 'DM Sans', sans-serif);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--ez-navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

.pg-perf .pg-hero__sub {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #4A5568;
    max-width: 580px;
    margin: 0 auto 32px;
}

@media (max-width: 768px) {
    .pg-perf .pg-hero {
        padding: 60px 0 40px;
    }
}

/* =========================================
   2. Why It Matters — 3-card grid
   ========================================= */

.perf-why {
    background: var(--ez-white);
}

.perf-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.perf-card {
    background: #FFFFFF;
    border: 1px solid rgba(255, 199, 44, 0.25) !important;
    border-radius: 16px;
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
}

.perf-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    color: var(--ez-navy);
}

.perf-card__icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.perf-card__title {
    font-family: var(--ez-font-display, 'DM Sans', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ez-navy);
    margin: 0 0 8px;
}

.perf-card__desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #4A5568;
    margin: 0 0 16px;
}

/* Reuse .pg-card-bullets from programs.css — duplicate if needed */
.pg-perf .pg-card-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pg-perf .pg-card-bullets li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4A5568;
    margin-bottom: 6px;
}

.pg-perf .pg-card-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ez-gold-primary, #FFC72C);
}

@media (max-width: 768px) {
    .perf-why__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================
   3. Meet Coach Danny — 2-column
   ========================================= */

.perf-coach {
    background: var(--ez-white);
}

.perf-coach__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.perf-coach__role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ez-gold);
    margin: 0 0 20px;
}

.perf-coach__copy p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4A5568;
    margin: 0 0 16px;
}

.perf-coach__spec-title {
    font-family: var(--ez-font-display, 'DM Sans', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ez-navy);
    margin: 24px 0 12px;
}

@media (max-width: 768px) {
    .perf-coach__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* =========================================
   4. Integrated Model — 3 steps
   ========================================= */

.perf-model {
    background: var(--ez-white);
}

.perf-model__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 44px;
}

.perf-step {
    background: #FFFFFF;
    border: 1px solid rgba(255, 199, 44, 0.25) !important;
    border-radius: 16px;
    padding: 32px 26px;
    text-align: center;
}

.perf-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ez-navy);
    color: var(--ez-white);
    font-family: var(--ez-font-display, 'DM Sans', sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.perf-step__title {
    font-family: var(--ez-font-display, 'DM Sans', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ez-navy);
    margin: 0 0 4px;
}

.perf-step__who {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ez-gold);
    margin: 0 0 12px;
}

.perf-step__desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #4A5568;
    margin: 0;
}

@media (max-width: 768px) {
    .perf-model__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================
   5. Final CTA
   ========================================= */

.perf-cta {
    background: var(--ez-white);
}
