/* ==========================================================================
   Catálogo de Soluciones e Industrias — Jeloda Titanium
   Apple Minimalist & Dark/Light Theme Adaptive
   ========================================================================== */

.soluciones-page {
    position: relative;
    padding-top: 40px;
    padding-bottom: 80px;
}

/* ── Hero & Badges ── */
.badge-soluciones-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(223, 186, 85, 0.12);
    border: 1px solid rgba(223, 186, 85, 0.3);
    color: #dfba55;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme--light .badge-soluciones-gold {
    background: rgba(184, 144, 51, 0.12);
    border-color: rgba(184, 144, 51, 0.35);
    color: #926a15;
}

.text-gold-gradient {
    background: linear-gradient(135deg, #dfba55 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme--light .text-gold-gradient {
    background: linear-gradient(135deg, #a87e24 0%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Buscador Interactivo en Tiempo Real ── */
.soluciones-search-box {
    max-width: 620px;
    width: 100%;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    padding: 6px 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.search-input-wrap:focus-within {
    border-color: #dfba55;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 35px rgba(223, 186, 85, 0.2);
}

.theme--light .search-input-wrap {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.theme--light .search-input-wrap:focus-within {
    border-color: #a87e24;
    box-shadow: 0 6px 24px rgba(168, 126, 36, 0.18);
}

.search-icon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
    margin-right: 12px;
}

.theme--light .search-icon {
    color: #64748b;
}

.search-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 0.95rem;
    padding: 8px 0 !important;
    box-shadow: none !important;
    height: auto !important;
}

.theme--light .search-input {
    color: #0f172a !important;
}

.btn-clear-search {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme--light .btn-clear-search {
    color: #64748b;
}

/* ── Pestañas de Filtro por Categoría ── */
.soluciones-categories-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.category-pill {
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.25s ease;
}

.category-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.category-pill.active {
    background: #dfba55;
    border-color: #dfba55;
    color: #090e17;
    box-shadow: 0 4px 16px rgba(223, 186, 85, 0.35);
}

.theme--light .category-pill {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #475569;
}

.theme--light .category-pill:hover {
    background: #f8fafc;
    color: #0f172a;
}

.theme--light .category-pill.active {
    background: #a87e24;
    border-color: #a87e24;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(168, 126, 36, 0.25);
}

/* ── Tarjetas de Soluciones (Cards) ── */
.solucion-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.solucion-card:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(223, 186, 85, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.theme--light .solucion-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.theme--light .solucion-card:hover {
    border-color: rgba(168, 126, 36, 0.4);
    box-shadow: 0 10px 24px rgba(168, 126, 36, 0.12);
}

/* Iconos temáticos */
.solucion-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-orange-soft { background: rgba(249, 115, 22, 0.12); }
.text-orange { color: #f97316; }

.bg-blue-soft { background: rgba(59, 130, 246, 0.12); }
.text-blue { color: #3b82f6; }

.bg-pink-soft { background: rgba(236, 72, 153, 0.12); }
.text-pink { color: #ec4899; }

.bg-cyan-soft { background: rgba(6, 182, 212, 0.12); }
.text-cyan { color: #06b6d4; }

.bg-emerald-soft { background: rgba(16, 185, 129, 0.12); }
.text-emerald { color: #10b981; }

.solucion-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.solucion-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.badge-gastronomia { color: #fb923c; }
.badge-retail { color: #60a5fa; }
.badge-belleza { color: #f472b6; }
.badge-servicios { color: #22d3ee; }
.badge-turismo { color: #34d399; }

.solucion-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 10px 0 !important;
}

.theme--light .solucion-title {
    color: #0f172a !important;
}

.solucion-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 16px 0;
    flex: 1;
}

.theme--light .solucion-desc {
    color: #475569;
}

.solucion-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #dfba55 !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    margin-top: auto;
}

.theme--light .solucion-link {
    color: #a87e24 !important;
}

.solucion-link:hover {
    color: #ebd17a !important;
    transform: translateX(4px);
}

.theme--light .solucion-link:hover {
    color: #785810 !important;
}

.solucion-link i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.solucion-link:hover i {
    transform: translateX(3px);
}

/* ── Estado Vacío ── */
.empty-state-icon i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.25);
}

.theme--light .empty-state-icon i {
    color: #cbd5e1;
}

.empty-state-title {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
}

.theme--light .empty-state-title {
    color: #0f172a;
}

.empty-state-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.theme--light .empty-state-desc {
    color: #64748b;
}

.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 9999px;
    background: #25d366;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: all 0.2s ease;
}

.btn-whatsapp-cta:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

/* ── Sección AEO de Respuestas ── */
.aeo-answer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px 28px;
}

.theme--light .aeo-answer-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.aeo-answer-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #dfba55 !important;
    margin: 0 0 10px 0 !important;
}

.theme--light .aeo-answer-title {
    color: #a87e24 !important;
}

.aeo-answer-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.theme--light .aeo-answer-text {
    color: #334155;
}

/* ── Banner CTA Final ── */
.soluciones-cta-card {
    background: linear-gradient(135deg, rgba(223, 186, 85, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(223, 186, 85, 0.28);
    border-radius: 20px;
    padding: 48px 24px;
}

.theme--light .soluciones-cta-card {
    background: linear-gradient(135deg, rgba(184, 144, 51, 0.08) 0%, #ffffff 100%);
    border-color: rgba(184, 144, 51, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.cta-title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.theme--light .cta-title {
    color: #0f172a !important;
}

.cta-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.theme--light .cta-subtitle {
    color: #475569;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-soluciones-primary {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 9999px;
    background: #dfba55;
    color: #090e17 !important;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(223, 186, 85, 0.35);
    transition: all 0.2s ease;
}

.btn-soluciones-primary:hover {
    background: #ebd17a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(223, 186, 85, 0.45);
}

.theme--light .btn-soluciones-primary {
    background: #a87e24;
    color: #ffffff !important;
}

.btn-soluciones-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.theme--light .btn-soluciones-secondary {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    color: #0f172a !important;
}

.btn-soluciones-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}
