/* Documentación ISCADRIGS */
.docs-page {
    padding-top: 80px;
}

.docs-hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.docs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(144, 224, 239, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

.docs-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}

.docs-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(6px);
}

.docs-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.docs-hero-lead {
    font-size: 1.15rem;
    opacity: 0.92;
    max-width: 540px;
    margin-bottom: 2rem;
}

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

.docs-hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.docs-hero-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.docs-hero-card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.docs-hero-card p {
    opacity: 0.9;
    font-size: 0.98rem;
}

.docs-section {
    padding: 5rem 0;
}

.docs-section-alt {
    background: var(--surface-color);
}

.docs-topics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.docs-topic {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.docs-topic:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 119, 182, 0.1);
    border-color: var(--accent-color);
}

.docs-topic-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.docs-topic h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.docs-topic p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.docs-topic-tag {
    display: inline-block;
    background: rgba(0, 119, 182, 0.08);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}

.docs-cta {
    text-align: center;
    background: linear-gradient(160deg, #f0f7fb 0%, var(--background-color) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.docs-cta-box {
    max-width: 640px;
    margin: 0 auto;
}

.docs-cta-box h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

.docs-cta-box p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.docs-nav-link-active {
    color: var(--primary-color) !important;
}

.docs-nav-link-active::after {
    width: 100%;
}

@media (max-width: 900px) {
    .docs-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0;
    }

    .docs-topics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .docs-hero {
        min-height: auto;
    }

    .docs-hero-actions {
        flex-direction: column;
    }

    .docs-hero-actions .btn {
        text-align: center;
    }
}
