/* ========================================
   AYUDA Y CONTACTO — estilo premium "Figma Light"
   Tokens: var(--dh-gold) / var(--dh-black)
   ======================================== */

/* ── Hero oscuro ─────────────────────────────────── */
.ayuda-hero-premium {
    background: linear-gradient(135deg, #050505 0%, #1a150b 100%);
    padding: 140px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(212,175,55,0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.ayuda-hero-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(212,175,55,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.ayuda-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--dh-gold);
    margin-bottom: 24px;
    padding: 6px 16px;
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 50px;
    background: rgba(212,175,55,0.05);
    box-shadow: 0 4px 15px rgba(212,175,55,0.1);
}
.ayuda-hero-premium h1 {
    font-family: 'Libre Bodoni', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 25px rgba(0,0,0,0.8);
}
.ayuda-hero-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}


/* ── Wrapper principal (sobre fondo claro) ───────── */
.ayuda-main-wrapper {
    background: #f8f7f4;
    padding: 80px 12.5%;
    margin-top: -1px;
}
.ayuda-contenedor {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Tarjetas de contacto (parte superior) ───────── */
.ayuda-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
    margin-top: -60px;
}
.ayuda-contact-card {
    background: #fff;
    border-radius: var(--radius-lg, 12px);
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ayuda-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.ayuda-contact-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dh-gold);
}
.ayuda-contact-icon svg { width: 100%; height: 100%; }

/* Ícono dentro de tarjetas de contacto — constraint SVG */
.ayuda-contact-card .ayuda-card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dh-gold);
}
.ayuda-contact-card .ayuda-card-icon svg {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    stroke: currentColor;
}
.ayuda-contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}
.ayuda-contact-card p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}
.ayuda-contact-card strong {
    display: block;
    font-size: 0.95rem;
    color: #111;
    font-weight: 600;
}
.ayuda-contact-card a {
    color: var(--dh-gold);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.ayuda-contact-card a:hover {
    color: var(--dh-gold);
    border-color: var(--dh-gold);
}
.ayuda-text-muted {
    font-size: 0.85rem;
    color: #999;
}

/* ── Separadores de Sección ──────────────────────── */
.ayuda-section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.ayuda-divider-num {
    font-family: 'Libre Bodoni', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: rgba(212,175,55,0.15);
    line-height: 1;
}
.ayuda-section-title {
    font-family: 'Libre Bodoni', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dh-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    border: none;
    padding: 0;
}
.ayuda-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(212,175,55,0.5), transparent);
}

/* ── Ubicación (Mapa) ────────────────────────────── */
.ayuda-mapa-wrapper {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
    margin-bottom: 80px;
    overflow: hidden;
}
.ayuda-mapa-iframe {
    display: block;
    width: 100%;
    margin: 0;
    border: none;
    filter: grayscale(80%) contrast(1.1);
    opacity: 0.9;
    transition: filter 0.3s, opacity 0.3s;
}
.ayuda-mapa-iframe:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.ayuda-mapa-info {
    text-align: center;
    padding: 16px 0 8px;
    font-size: 0.95rem;
    color: var(--dh-black);
    font-weight: 500;
}
.ayuda-mapa-placeholder {
    background: #fff;
    border: 1px dashed rgba(212,175,55,0.5);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 80px;
}
.ayuda-mapa-placeholder svg { width: 40px; height: 40px; color: rgba(212,175,55,0.3); margin-bottom: 12px; }
.ayuda-mapa-dir { color: var(--dh-black); font-size: 0.95rem; margin-top: 12px; font-weight: 500;}

/* ── FAQs (Acordeón Animado) ─────────────────────── */
.ayuda-faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 80px;
}
.ayuda-faq-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.ayuda-faq-item.activo {
    border-color: rgba(212,175,55,0.4);
    box-shadow: 0 4px 16px rgba(212,175,55,0.08);
}
.ayuda-faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    padding: 24px;
    cursor: pointer;
    text-align: left;
}
.ayuda-faq-question {
    font-family: 'Libre Bodoni', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dh-black);
    padding-right: 24px;
    transition: color 0.3s;
}
.ayuda-faq-item:hover .ayuda-faq-question { color: var(--dh-gold); }
.ayuda-faq-item.activo .ayuda-faq-question { color: var(--dh-gold); }
.ayuda-faq-plus {
    flex-shrink: 0;
    color: var(--dh-gold);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ayuda-faq-item.activo .ayuda-faq-plus {
    transform: rotate(180deg);
}
.vertical-line {
    transition: stroke-dashoffset 0.4s ease;
    stroke-dasharray: 14;
    stroke-dashoffset: 0;
}
.ayuda-faq-item.activo .vertical-line {
    stroke-dashoffset: 14;
}
.ayuda-faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ayuda-faq-item.activo .ayuda-faq-content {
    grid-template-rows: 1fr;
}
.ayuda-faq-body {
    overflow: hidden;
    padding: 0 24px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dh-black);
    font-weight: 500;
}
.ayuda-faq-item.activo .ayuda-faq-body {
    padding-bottom: 24px;
}
.ayuda-faq-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px dashed rgba(0,0,0,0.1);
}
.ayuda-faq-empty svg { width: 40px; height: 40px; color: #ccc; margin-bottom: 12px; }
.ayuda-faq-empty p { color: #888; font-size: 0.95rem; }

/* ── Responsive general ────────────────────────────── */
@media (max-width: 900px) {
    .ayuda-contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ayuda-main-wrapper { margin-top: -20px; padding: 40px 16px; }
    .ayuda-contact-grid { grid-template-columns: 1fr; }
    .ayuda-hero-premium { padding: 60px 16px; }
    .ayuda-hero-premium h1 { font-size: 1.8rem; }
    .ayuda-section-title { font-size: 1.3rem; }
}

/* ========================================
   SECCIONES INFORMATIVAS — Envíos, Rastreo, Devoluciones
   Fondo CLARO · Bordes DORADOS (petición cliente)
   ======================================== */

.ayuda-info-block {
    background: #ffffff;
    border: 1.5px solid rgba(212,175,55,0.5);
    border-radius: 14px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(212,175,55,0.06), 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.ayuda-info-block:hover {
    border-color: rgba(212,175,55,0.85);
    box-shadow: 0 12px 40px rgba(212,175,55,0.12), 0 4px 12px rgba(0,0,0,0.06);
}

/* ── Cabecera con ícono + título ─── */
.ayuda-info-carrier {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(212,175,55,0.2);
}

.ayuda-info-carrier .ayuda-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(184,134,11,0.06);
    border: 1.5px solid rgba(212,175,55,0.4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ayuda-info-carrier .ayuda-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: #b8860b;
}

.ayuda-info-carrier h3 {
    color: #1a1a1a;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.ayuda-info-carrier h3 strong {
    color: #b8860b;
}

.ayuda-info-carrier p {
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ── Grid de datos internos ─────── */
.ayuda-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.ayuda-info-item {
    background: #fffdf5;
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ayuda-info-item:hover {
    transform: translateY(-2px);
    border-color: rgba(212,175,55,0.65);
    box-shadow: 0 6px 20px rgba(212,175,55,0.1);
}

.ayuda-info-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #b8860b;
}

.ayuda-info-val {
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.55;
}

.ayuda-info-val a {
    color: #b8860b;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.ayuda-info-val a:hover {
    opacity: 0.7;
}

/* ── Responsive secciones info ─── */
@media (max-width: 600px) {
    .ayuda-info-block {
        padding: 20px 16px;
    }
    .ayuda-info-carrier {
        flex-direction: column;
        gap: 14px;
    }
    .ayuda-info-grid {
        grid-template-columns: 1fr;
    }
}
