/* ===================================
   CENTRO DE AYUDA
   =================================== */


.help-header h1 {
    font-size: 2.8rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 10px;
}

.help-header .text-muted {
    font-size: 1.1rem;
}

.help-card {
    display: block;
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--secondary);
    color: inherit;
    text-decoration: none;
}

.help-card:hover,
.help-card:focus {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    color: inherit;
    text-decoration: none;
}

.help-card-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
    background: rgba(71, 178, 228, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.help-card h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.help-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.help-section {
    margin-bottom: 50px;
    scroll-margin-top: 90px;
}

.help-section h2 {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary);
}

.help-section .accordion-header {
    margin: 0px;
    padding: 0px;
}

.help-section .accordion-button {
    background: white;
    color: var(--primary);
    font-weight: 600;
    padding: 18px;
}

.help-section .accordion-button:not(.collapsed) {
    background: rgba(71, 178, 228, 0.1);
    color: var(--primary);
    box-shadow: none;
}

.help-section .accordion-body {
    padding: 20px;
    color: #555;
    line-height: 1.8;
    background: #fafbfc;
}

.help-section ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

.help-section li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.resource-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid var(--secondary);
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.resource-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.video-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.video-thumb-button {
    border: none;
    background: none;
    width: 100%;
    padding: 0;
    display: block;
    position: relative;
    cursor: pointer;
}

.video-thumb-button img {
    width: 100%;
    display: block;
    object-fit: cover;
    min-height: 210px;
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-thumb-button:hover .thumb-overlay {
    opacity: 1;
}

.thumb-overlay i {
    font-size: 3rem;
    color: white;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.video-card-body {
    padding: 24px;
}

.video-card-body h4 {
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: var(--primary);
}

.video-card-body p {
    color: #5f6773;
    line-height: 1.75;
}

.modal-video {
    width: 100%;
    height: auto;
    background: #000;
}

@media (max-width: 992px) {
    .video-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: 1fr;
    }
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-card h4 {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.video-card video {
    width: 100%;
    border-radius: 12px;
    background: #000;
    margin-bottom: 18px;
}

.video-card p {
    color: #555;
    line-height: 1.75;
    font-size: 0.95rem;
}

.resource-card h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.resource-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.resource-link {
    color: var(--secondary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.resource-card:hover .resource-link {
    color: var(--primary);
    padding-right: 10px;
}

.help-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
}

.help-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.help-cta p {
    font-size: 1.05rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.help-cta .btn {
    padding: 14px 40px;
    font-weight: 600;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .help-header h1 {
        font-size: 2rem;
    }
    .help-content {
        padding: 25px;
    }
    .help-section h2 {
        font-size: 1.5rem;
    }
    .help-section .accordion-button {
        padding: 15px;
        font-size: 0.95rem;
    }
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .help-cta {
        padding: 30px;
    }
    .help-cta h3 {
        font-size: 1.3rem;
    }
}