/* ===== Institutional Pages — TelegraCapta ===== */

/* Page wrapper */
.institutional {
    padding: 120px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.inst-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
}

.inst-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.inst-date {
    font-size: 0.85rem;
    color: #64748B;
}

/* Content */
.inst-content {
    line-height: 1.8;
    color: #CBD5E1;
}

.inst-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #F1F5F9;
    margin-top: 36px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(108, 99, 255, 0.08);
}

.inst-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #E2E8F0;
    margin-top: 24px;
    margin-bottom: 8px;
}

.inst-content p {
    margin-bottom: 14px;
    font-size: 0.92rem;
    color: #94A3B8;
}

.inst-content ul,
.inst-content ol {
    margin-bottom: 14px;
    padding-left: 24px;
}

.inst-content li {
    margin-bottom: 6px;
    font-size: 0.92rem;
    color: #94A3B8;
}

.inst-content a {
    color: #6C63FF;
    text-decoration: none;
    transition: color 0.2s;
}

.inst-content a:hover {
    color: #8B83FF;
    text-decoration: underline;
}

/* Placeholder */
.inst-placeholder {
    color: #FBBF24;
    font-style: italic;
}

/* Footer nav */
.inst-nav {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(108, 99, 255, 0.1);
    text-align: center;
}

.inst-nav p {
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 12px;
}

.inst-nav-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.inst-nav-links a {
    color: #6C63FF;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.inst-nav-links a:hover {
    color: #8B83FF;
}

/* Support page */
.support-search {
    width: 100%;
    max-width: 560px;
    margin: 0 auto 48px;
    position: relative;
}

.support-search input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-radius: 12px;
    color: #F1F5F9;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.support-search input::placeholder { color: #64748B; }

.support-search input:focus {
    border-color: #6C63FF;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.support-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    font-size: 1.1rem;
    pointer-events: none;
}

/* Support categories */
.support-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

.support-cat-card {
    background: rgba(20, 27, 45, 0.6);
    border: 1px solid rgba(108, 99, 255, 0.1);
    border-radius: 14px;
    padding: 24px 20px;
    transition: border-color 0.3s, transform 0.2s;
    text-decoration: none;
    display: block;
}

.support-cat-card:hover {
    border-color: rgba(108, 99, 255, 0.25);
    transform: translateY(-2px);
}

.support-cat-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.support-cat-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #F1F5F9;
    margin-bottom: 6px;
}

.support-cat-card p {
    font-size: 0.82rem;
    color: #94A3B8;
    line-height: 1.5;
}

/* FAQ section */
.support-faq {
    margin-top: 16px;
}

.support-faq h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 32px;
}

.institutional .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.institutional .faq-item {
    background: rgba(20, 27, 45, 0.6);
    border: 1px solid rgba(108, 99, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.institutional .faq-item.active {
    border-color: rgba(108, 99, 255, 0.3);
}

.institutional .faq-item:hover {
    border-color: rgba(108, 99, 255, 0.2);
}

.institutional .faq-question {
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    text-align: left;
    color: #F1F5F9;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.institutional .faq-arrow {
    font-size: 0.75rem;
    color: #6C63FF;
    transition: transform 0.3s, color 0.3s;
    flex-shrink: 0;
}

.institutional .faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: #6C63FF;
}

.institutional .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.institutional .faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 0.88rem;
    color: #94A3B8;
    line-height: 1.7;
}

/* Support CTA */
.support-cta {
    text-align: center;
    margin-top: 56px;
    padding: 40px 24px;
    background: rgba(20, 27, 45, 0.6);
    border: 1px solid rgba(108, 99, 255, 0.1);
    border-radius: 16px;
}

.support-cta h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.support-cta p {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-bottom: 20px;
}

.support-cta-email {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #6C63FF 0%, #00D4FF 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.support-cta-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .institutional { padding: 100px 16px 60px; }
    .inst-header h1 { font-size: 1.6rem; }
    .support-categories { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .institutional { padding: 90px 16px 48px; }
    .inst-header h1 { font-size: 1.4rem; }
    .inst-content h2 { font-size: 1.05rem; }
    .support-cta { padding: 28px 16px; }
}
