/* ═══════════════════════════════════════════════════════════════
   Canel Group — Tema compartido de la landing pública
   Tokens dark (mismos del Panel Financiero) + kits de marca oficiales.
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* — Base dark (Canel OS design language) — */
    --bg-base: #06060f;
    --bg-surface: #0c0c1e;
    --bg-card: rgba(255, 255, 255, 0.035);
    --bg-card-hover: rgba(124, 58, 237, 0.07);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(139, 92, 246, 0.45);
    --violet: #7c3aed;
    --violet-light: #8b5cf6;
    --violet-glow: rgba(124, 58, 237, 0.25);
    --emerald: #10b981;
    --rose: #f43f5e;

    /* — Kit CanelTV / Canel Shop — */
    --ct-canela: #dc8f68;
    --ct-rojo: #ed3b23;
    --ct-rojo-oscuro: #901408;
    --ct-marron: #874f36;

    /* — Kit CanelFit — */
    --cf-teal: #1fa3a3;
    --cf-ink: #111111;
    --cf-gris: #2b2b2b;
    --cf-claro: #f4f6f6;
    --cf-naranja: #ff6b35;
    --cf-lima: #a3e635;

    /* — Kit BuenaVaina (FoodTruck / Vending) — */
    --bv-ink: #141414;
    --bv-crema: #ddd7c7;
    --bv-oliva: #7e9b6f;
    --bv-terracota: #c86231;
    --bv-arena: #c79c71;

    /* — Kit BR Consulting — */
    --brc-azul: #307fbc;
    --brc-celeste: #7fdfff;
    --brc-azul2: #267cc7;
    --brc-claro: #f8fcfd;

    /* — Canel Shop light theme — */
    --cs-bg: #faf8f6;
    --cs-surface: #ffffff;
    --cs-ink: #111111;
    --cs-gray: #6b7280;
    --cs-border: #e7e2dc;
}

* { box-sizing: border-box; }

body.dark-page {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: #e2e8f0;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 58, 237, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 90% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, 0.3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139, 92, 246, 0.5); }

/* ── Glass card ── */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.glass-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 0 24px -6px var(--violet-glow);
}

/* Tarjeta con glow del color de la marca (usar con style="--accent:#...") */
.brand-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent, var(--violet-light));
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.brand-card:hover {
    border-color: var(--accent, var(--violet-light));
    box-shadow: 0 0 28px -6px var(--accent, var(--violet-glow));
    transform: translateY(-3px);
}

/* ── Fade-in ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.4s ease both; }
.fade-in-1 { animation-delay: 0.05s; }
.fade-in-2 { animation-delay: 0.10s; }
.fade-in-3 { animation-delay: 0.15s; }
.fade-in-4 { animation-delay: 0.20s; }
.fade-in-5 { animation-delay: 0.25s; }
.fade-in-6 { animation-delay: 0.30s; }

/* ── Header público ── */
.site-header {
    background: rgba(6, 6, 15, 0.85);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

/* ── Etiqueta de sección ── */
.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

/* ── Texto degradado ── */
.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Botón WhatsApp ── */
.wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #06060f;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 16px -4px rgba(37, 211, 102, 0.45);
}
.wa-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.wa-btn:active { transform: translateY(0); }

/* Variante contorno (para heros con CTA doble) */
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: #e2e8f0;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.ghost-btn:hover { border-color: var(--border-hover); background: rgba(139, 92, 246, 0.08); }

/* ── FAQ (details/summary) ── */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--border-hover); }
.faq-item summary {
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 14px;
    color: #f1f5f9;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 18px;
    color: #64748b;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
    padding: 0 20px 16px;
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.7;
}

/* ── CTA sticky móvil ── */
.sticky-wa {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 40;
}
@media (min-width: 768px) { .sticky-wa { display: none; } }

/* ── Skeleton shimmer (Canel Shop) ── */
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.skeleton {
    background: linear-gradient(90deg, #efeae4 25%, #f7f3ef 50%, #efeae4 75%);
    background-size: 800px 100%;
    animation: shimmer 1.4s infinite linear;
    border-radius: 12px;
}
