/* ===== COACHING PAGE — PRICING GRID ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 1.75rem 1.75rem;
    position: relative;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 1px rgba(232, 93, 4, 0.08), var(--shadow);
}

.pricing-card.featured:hover {
    box-shadow: 0 0 0 1px rgba(232, 93, 4, 0.12), var(--shadow-hover);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 1.5rem;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 0 0 6px 6px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 0.25rem;
}

.pricing-icon {
    font-size: 2.75rem;
    margin-bottom: 0.875rem;
}

.pricing-tier {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

.pricing-price {
    font-size: 1.625rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.625rem;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pricing-divider {
    height: 1px;
    background: var(--border);
    margin: 1.25rem 0;
}

/* Features list */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex: 1;
}

.pricing-features li {
    font-size: 0.875rem;
    color: var(--text);
    padding: 0.45rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    line-height: 1.5;
}

.pricing-features li.feature-na {
    color: var(--text-muted);
    opacity: 0.55;
}

.pricing-features .check {
    color: #22c55e;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pricing-features .cross {
    color: #cbd5e1;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* CTA button */
.pricing-cta {
    width: 100%;
    justify-content: center;
    font-size: 0.925rem;
    padding: 0.85rem 1.5rem;
}

/* ===== STEPS / HOW IT WORKS ===== */
.steps-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.step-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    padding-bottom: 1.5rem;
}

.step-card {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.125rem;
    box-shadow: 0 4px 12px rgba(232, 93, 4, 0.25);
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 280px;
    margin: 0 auto;
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonial-carousel {
    position: relative;
    overflow: clip;
}

.carousel-viewport {
    position: relative;
    border-radius: var(--radius);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    box-sizing: border-box;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    transition: box-shadow 0.25s, border-color 0.25s;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.testimonial-photo-col {
    flex: 0 0 18%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 0.25rem;
}

.testimonial-info {
    display: contents;
}

.testimonial-text-col {
    flex: 1;
    min-width: 0;
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.carousel-arrow:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(232, 93, 4, 0.15);
}

.carousel-arrow--prev { left: 0.75rem; }
.carousel-arrow--next { right: 0.75rem; }

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-dot:hover {
    background: var(--text-muted);
}

.carousel-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

.testimonial-top {
    display: none;
}

.testimonial-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(232, 93, 4, 0.15);
    flex-shrink: 0;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    margin-bottom: 0.75rem;
}

.testimonial-photo-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(232, 93, 4, 0.15);
    flex-shrink: 0;
    margin-bottom: 0.75rem;
}

.testimonial-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.3;
}

.testimonial-detail {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.testimonial-race-link {
    color: var(--primary);
    text-decoration: none;
    margin-left: 0.2rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.testimonial-race-link:hover {
    opacity: 1;
}

.testimonial-bio {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    line-height: 1.4;
}

.testimonial-quote {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
    margin: 0;
}

/* Single featured testimonial — centered, wider */
.testimonial-featured {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-featured .testimonial-photo {
    width: 72px;
    height: 72px;
}

/* Initials avatar — used when no photo is available */
.testimonial-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    font-weight: 800;
    color: #64748b;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 14px;
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.25rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.25s;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-alt);
    border-radius: 50%;
    font-size: 1.375rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    line-height: 1;
}

.modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.modal-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.modal-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== FORM STYLES ===== */
.coaching-form {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.form-row.two-col {
    grid-template-columns: 1fr 1fr;
}

.form-row.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
}

.form-group .req {
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.65rem 0.875rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: white;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 72px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1.41.59L6 5.17 10.59.59 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.25rem;
}

.form-actions {
    margin-top: 0.75rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
    font-size: 0.95rem;
}

/* ===== SUCCESS STATE ===== */
.form-success {
    text-align: center;
    padding: 2.5rem 1rem;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.form-success h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 360px;
    margin: 0 auto;
}

/* ===== PRICING CAROUSEL (defaults — hidden on desktop) ===== */
.pricing-carousel {
    position: relative;
}

.pricing-arrow,
.pricing-dots {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .pricing-carousel {
        overflow: hidden;
    }

    .pricing-viewport {
        overflow: hidden;
        position: relative;
    }

    .pricing-grid {
        display: flex !important;
        grid-template-columns: none;
        gap: 0;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        will-change: transform;
    }

    .pricing-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    /* Make all mobile CTA buttons solid orange */
    .pricing-cta {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

    .pricing-cta:hover {
        background: var(--primary-light);
        border-color: var(--primary-light);
    }

    /* Arrows — white with border (same as testimonial) */
    .pricing-arrow {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1.5px solid var(--border);
        background: white;
        color: var(--secondary);
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .pricing-arrow:hover {
        border-color: var(--primary);
        color: var(--primary);
        box-shadow: 0 4px 16px rgba(232, 93, 4, 0.15);
    }

    .pricing-arrow--prev { left: -0.25rem; }
    .pricing-arrow--next { right: -0.25rem; }

    .pricing-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

    .pricing-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: var(--border);
        cursor: pointer;
        transition: all 0.3s;
        padding: 0;
    }

    .pricing-dot:hover {
        background: var(--text-muted);
    }

    .pricing-dot.active {
        background: var(--primary);
        width: 28px;
        border-radius: 5px;
    }

    .steps-grid {
        flex-direction: column;
        max-width: 380px;
        margin: 0 auto;
    }
    .step-arrow {
        display: flex;
        transform: rotate(90deg);
        padding-bottom: 0;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 600px) {
    .modal {
        padding: 1.5rem;
        max-height: 90vh;
    }

    .form-row.two-col,
    .form-row.three-col {
        grid-template-columns: 1fr;
    }

    .testimonial-carousel {
        padding: 0;
    }
    .carousel-arrow,
    .pricing-arrow {
        display: flex;
        width: 32px;
        height: 32px;
    }
    .testimonial-card {
        flex-direction: column;
        padding: 1.5rem 1.25rem;
        gap: 1rem;
    }
    .testimonial-photo-col {
        flex: none;
        flex-direction: row;
        gap: 1rem;
        text-align: left;
        align-items: center;
    }
    .testimonial-photo {
        width: 72px;
        height: 72px;
        margin-bottom: 0;
    }
    .testimonial-photo-wrap {
        width: 72px;
        height: 72px;
        margin-bottom: 0;
    }
    .testimonial-info {
        display: block;
    }
    .testimonial-name {
        font-size: 1rem;
    }
    .testimonial-detail {
        margin-top: 0.1rem;
    }
    .testimonial-bio {
        margin-top: 0.25rem;
    }
}
