/* =============================================
   OFFERINGS PAGE STYLES
   ============================================= */

/* Hero — light/neutral pattern: headline pops via scale+weight, not color */
.offerings-page .hero {
    height: auto;
    min-height: 0;
    background-color: var(--stormy-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: -80px;
    padding-top: calc(80px + 7rem);
    padding-bottom: 5rem;
    overflow: visible !important;
}

.offerings-page .hero:not(.video-hero)::after,
.offerings-page .hero:not(.video-hero)::before {
    display: none !important;
}

.offerings-page .hero-content {
    position: relative;
    z-index: 1;
    color: var(--warm-white);
    padding: 2rem;
    transform: none;
    padding-bottom: 0;
    padding-left: 2rem;
    text-align: center;
}

.offerings-page .hero-content h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: var(--warm-white);
}

.offerings-page .hero-text {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    color: rgba(245, 242, 236, 0.85);
}

/* =============================================
   OFFERINGS SECTION
   ============================================= */

.offerings-section {
    padding: 0 2rem 8rem;
    background-color: transparent;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.offerings-section .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.offerings-section h2 {
    font-family: 'ABC Marist', serif;
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color);
    text-transform: none;
    letter-spacing: -0.02em;
}

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

.offering-card {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    /* animation defaults — overridden by .visible */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.offering-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.offering-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Stagger delays */
.offering-card:nth-child(2) { transition-delay: 0.1s; }
.offering-card:nth-child(3) { transition-delay: 0.2s; }
.offering-card:nth-child(4) { transition-delay: 0.1s; }
.offering-card:nth-child(5) { transition-delay: 0.2s; }
.offering-card:nth-child(6) { transition-delay: 0.3s; }

.offering-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.offering-number {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.offering-header h3 {
    font-family: 'ABC Marist', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-color);
    text-transform: none;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.offering-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
    max-width: 100%;
}

.offering-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    flex: 1;
    margin-bottom: 2rem;
    max-width: 100%;
}

.offering-cta {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
    align-self: flex-start;
}

.offering-cta:hover {
    opacity: 0.5;
}

/* =============================================
   CATEGORY CARD GRID (4-box layout)
   ============================================= */

.offerings-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.offering-category-card {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    background: #FDFCF9;
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

/* Icon placeholder circle */
.category-icon-placeholder {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--gray-100, #f2f2f0);
    margin-bottom: 1.75rem;
    flex-shrink: 0;
}

.category-label {
    margin-bottom: 1rem;
}

.eyebrow-sm {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
}

.offering-category-card h3 {
    font-family: 'ABC Marist', serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--text-color);
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.category-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0 0 1.75rem;
}

/* Upcoming list — always visible */
.category-upcoming {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    border-top: 1px solid var(--border-color);
    flex: 1;
}

.category-upcoming li {
    border-bottom: 1px solid var(--border-color);
}

.category-upcoming li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.category-upcoming li a:hover {
    color: var(--stormy-teal);
    padding-left: 6px;
}

.sub-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #aaa;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.category-upcoming li a:hover .sub-date {
    color: var(--stormy-teal);
}

/* "See all" / "Learn more" link */
.category-see-all {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 2px;
    align-self: flex-start;
    transition: opacity 0.2s ease;
    margin-top: auto;
}

.category-see-all:hover {
    opacity: 0.5;
}

/* Cards without a list: push "learn more" down */
.offering-category-card:not(:has(.category-upcoming)) .category-see-all {
    margin-top: auto;
}

/* =============================================
   CTA SECTION
   ============================================= */

.offerings-cta {
    background: var(--warm-white);
    padding: 2rem 2rem 6rem;
    text-align: center;
}

.offerings-cta h2 {
    font-family: 'ABC Marist', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--stormy-teal);
    margin: 0 0 1rem;
}

.offerings-cta p {
    font-size: 1rem;
    color: #666;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.offerings-cta .btn-lg {
    background: var(--text-color);
    color: white;
    border-color: var(--text-color);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
    .offerings-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .offering-card {
        padding: 2rem;
    }

    .offerings-section .content-wrapper {
        padding: 0;
    }

    /* Category grid — stack on mobile */
    .offerings-category-grid {
        grid-template-columns: 1fr;
    }

    .offering-category-card {
        padding: 2.5rem;
    }
}
/* Category icon colors — tied to category name, not card position */
.category-icon-placeholder--coaching { background: var(--dry-sage); }
.category-icon-placeholder--group-facilitation { background: var(--twilight-indigo); }
.category-icon-placeholder--forums { background: var(--eggplant); }
.category-icon-placeholder--intensives { background: var(--dark-wine); }

/* Fix CTA button to use Rust, not Black-Navy (overrides earlier .offerings-cta .btn-lg rule at matching specificity) */
.offerings-cta .btn-lg {
    background: var(--rust);
    border-color: var(--rust);
}
.offerings-cta .btn-lg:hover {
    background: var(--dark-wine);
    border-color: var(--dark-wine);
}

/* Shake effect on "disruption" word in hero headline */
.offerings-page .disrupt-word {
    display: inline-block;
    animation: disrupt-shake-v3 6s ease-in-out infinite;
}

@keyframes disrupt-shake-v3 {
    0%, 92%, 100% { transform: rotate(0deg); }
    93% { transform: rotate(-3deg); }
    94% { transform: rotate(3deg); }
    95% { transform: rotate(-2deg); }
    96% { transform: rotate(2deg); }
    97% { transform: rotate(-1deg); }
    98% { transform: rotate(0deg); }
}

/* Make circle wrapper links behave like the div did (no underline/inline gap) */
.offering-category-card a:has(.category-icon-placeholder) {
    display: inline-block;
    text-decoration: none;
}
