/* ═══════════════════════════════════════════════════════════════
   ayuda.css — Centro de Ayuda
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────────── */
.ayuda-hero {
    text-align: center;
    padding: 48px 20px 40px;
}

.ayuda-hero-icon {
    font-size: 3rem;
    margin-bottom: 14px;
    display: block;
}

.ayuda-hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1c355e;
    margin-bottom: 10px;
}

.ayuda-hero-sub {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 16px;
    line-height: 1.6;
}

.ayuda-hero-contact {
    font-size: 0.9rem;
    color: #94a3b8;
}

.ayuda-hero-contact a {
    color: #1656a6;
    font-weight: 700;
    text-decoration: none;
}

.ayuda-hero-contact a:hover { text-decoration: underline; }

/* ── Grid de secciones ───────────────────────────────────────── */
.ayuda-sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* ── Sección ─────────────────────────────────────────────────── */
.ayuda-section {
    background: #ffffff;
    border: 1px solid #d7dde7;
    border-radius: 14px;
    overflow: hidden;
}

.ayuda-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: linear-gradient(90deg, #1c355e 0%, #1f4a7a 100%);
    border-bottom: 1px solid #d7dde7;
}

.ayuda-section-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.ayuda-section-header h2 {
    font-size: 1rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.ayuda-faqs {
    padding: 8px 0;
}

/* ── FAQ item (details/summary) ──────────────────────────────── */
.ayuda-faq {
    border-bottom: 1px solid #f1f5f9;
}

.ayuda-faq:last-child { border-bottom: none; }

.ayuda-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 22px;
    font-size: 0.92rem;
    font-weight: 800;
    color: #1f2937;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.1s, color 0.1s;
}

.ayuda-faq summary::-webkit-details-marker { display: none; }

.ayuda-faq summary::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 900;
    color: #d62828;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.ayuda-faq[open] summary::after {
    content: '−';
}

.ayuda-faq summary:hover {
    background: #f8fafc;
    color: #1656a6;
}

.ayuda-faq[open] summary {
    background: #f0f7ff;
    color: #1656a6;
    border-bottom: 1px solid #dbeafe;
}

.ayuda-faq-body {
    padding: 14px 22px 18px;
    background: #fafcff;
}

.ayuda-faq-body p {
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.75;
}

.ayuda-faq-body p:last-child { margin-bottom: 0; }

.ayuda-faq-body ul {
    margin: 8px 0 10px 0;
    padding-left: 20px;
}

.ayuda-faq-body li {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 4px;
}

.ayuda-faq-body a {
    color: #1656a6;
    font-weight: 700;
    text-decoration: none;
}

.ayuda-faq-body a:hover { text-decoration: underline; }

/* ── CTA de contacto ─────────────────────────────────────────── */
.ayuda-contact-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #1c355e 0%, #0f2240 100%);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.ayuda-contact-cta-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.ayuda-contact-cta div { flex: 1; }

.ayuda-contact-cta h3 {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 5px;
}

.ayuda-contact-cta p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,.7);
}

.ayuda-contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 13px 24px;
    background: #f2c230;
    color: #1c355e;
    font-weight: 900;
    font-size: 0.92rem;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.14s, transform 0.14s;
}

.ayuda-contact-btn:hover {
    background: #e6b820;
    color: #1c355e;
    transform: translateY(-2px);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
    .ayuda-sections-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .ayuda-hero-title { font-size: 1.7rem; }
    .ayuda-contact-cta { flex-direction: column; text-align: center; }
    .ayuda-contact-btn { width: 100%; justify-content: center; }
    .ayuda-hero { padding: 32px 12px 28px; }
}