/**
 * Institutional Licensing Page — Professional B2B Design
 */

/* ============================================
   Hero
   ============================================ */
.inst-hero {
    padding: 4rem 0 3.5rem;
    background: #fff;
    border-bottom: 1px solid var(--gray-200, #e2e8f0);
}

.inst-overline {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary, #2563eb);
    margin: 0 0 0.75rem;
}

.inst-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--gray-900, #0f172a);
    margin: 0 0 1rem;
    max-width: 700px;
}

.inst-hero-sub {
    font-size: 1.15rem;
    color: var(--gray-600, #475569);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 0 2rem;
}

.inst-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================
   Shared Section
   ============================================ */
.inst-section {
    padding: 4rem 0;
}

.inst-section--alt {
    background: var(--gray-50, #f8fafc);
}

.inst-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900, #0f172a);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.inst-section-sub {
    font-size: 1.05rem;
    color: var(--gray-500, #64748b);
    margin: 0 0 2.5rem;
    max-width: 600px;
}

.inst-narrow {
    max-width: 680px;
    margin-bottom: 2.5rem;
}

.inst-lead {
    font-size: 1.1rem;
    color: var(--gray-600, #475569);
    line-height: 1.7;
}

/* ============================================
   Stats Row
   ============================================ */
.inst-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
}

.inst-stat {
    text-align: center;
}

.inst-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-primary, #2563eb);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.inst-stat-label {
    font-size: 0.9rem;
    color: var(--gray-500, #64748b);
    line-height: 1.4;
}

/* ============================================
   Features Grid
   ============================================ */
.inst-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.inst-feature {
    padding: 1.5rem;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: 0.75rem;
    background: #fff;
}

.inst-feature i {
    font-size: 1.5rem;
    color: var(--brand-primary, #2563eb);
    margin-bottom: 0.75rem;
    display: block;
}

.inst-feature h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900, #0f172a);
    margin: 0 0 0.5rem;
}

.inst-feature p {
    font-size: 0.9rem;
    color: var(--gray-600, #475569);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Pricing Table
   ============================================ */
.inst-pricing-table-wrap {
    max-width: 750px;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.inst-pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.inst-pricing-table th {
    text-align: left;
    padding: 0.875rem 1rem;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-500, #64748b);
    border-bottom: 2px solid var(--gray-200, #e2e8f0);
}

.inst-pricing-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100, #f1f5f9);
    color: var(--gray-700, #334155);
}

.inst-pricing-table tbody tr:hover {
    background: var(--gray-50, #f8fafc);
}

.inst-pricing-custom td {
    font-weight: 600;
    color: var(--gray-900, #0f172a);
}

.inst-pricing-custom a {
    color: var(--brand-primary, #2563eb);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.inst-pricing-note {
    font-size: 0.875rem;
    color: var(--gray-400, #94a3b8);
    max-width: 600px;
}

/* ============================================
   Speaking Cards
   ============================================ */
.inst-speaking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
}

.inst-speaking-card {
    padding: 1.75rem;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: 0.75rem;
    background: #fff;
}

.inst-speaking-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900, #0f172a);
    margin: 0 0 0.25rem;
}

.inst-speaking-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-primary, #2563eb);
    margin: 0 0 0.75rem;
}

.inst-speaking-card p:last-child {
    font-size: 0.9rem;
    color: var(--gray-600, #475569);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Instructor
   ============================================ */
.inst-instructor-row {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    max-width: 750px;
}

.inst-instructor-photo {
    width: 200px;
    height: 200px;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
}

.inst-instructor-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-500, #64748b);
    margin: 0 0 0.75rem;
}

.inst-instructor-info p {
    font-size: 0.95rem;
    color: var(--gray-600, #475569);
    line-height: 1.7;
}

.inst-instructor-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-400, #94a3b8);
    margin-top: 1rem;
}

/* ============================================
   Contact Box
   ============================================ */
.inst-contact-box {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.inst-contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.inst-contact-note {
    font-size: 0.85rem;
    color: var(--gray-400, #94a3b8);
    line-height: 1.6;
}

/* ============================================
   Buttons
   ============================================ */
.inst-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.inst-btn-primary {
    background: var(--brand-primary, #2563eb);
    color: #fff;
    border: 2px solid var(--brand-primary, #2563eb);
}

.inst-btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.inst-btn-outline {
    background: transparent;
    color: var(--gray-700, #334155);
    border: 2px solid var(--gray-300, #cbd5e1);
}

.inst-btn-outline:hover {
    border-color: var(--brand-primary, #2563eb);
    color: var(--brand-primary, #2563eb);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 767px) {
    .inst-hero-title {
        font-size: 2rem;
    }

    .inst-stats-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .inst-features-grid {
        grid-template-columns: 1fr;
    }

    .inst-speaking-grid {
        grid-template-columns: 1fr;
    }

    .inst-instructor-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .inst-instructor-logos {
        justify-content: center;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .inst-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    .inst-feature,
    .inst-speaking-card {
        border-width: 2px;
    }
}

/* ============================================
   Print
   ============================================ */
@media print {
    .inst-btn, .inst-hero-actions, .inst-contact-actions {
        display: none;
    }

    .inst-section {
        padding: 1.5rem 0;
        page-break-inside: avoid;
    }
}
