/* =========================================
   INDUSTRIA.CSS
   Estilos para páginas de industria
   Depende de styles.css (variables, header, footer)
   ========================================= */

/* ── HERO ── */
.ind-hero {
    position: relative;
    background: var(--dark-bg);
    padding: calc(var(--header-h) + 60px) 0 80px;
    overflow: hidden;
}

.ind-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.ind-hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(243,156,18,0.1) 0%, transparent 65%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.ind-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.ind-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
    transition: color 0.25s;
}

.ind-back:hover { color: var(--brand); }

.ind-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(243,156,18,0.12);
    border: 1px solid rgba(243,156,18,0.3);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ind-hero-text h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: var(--white);
    line-height: 1.05;
    letter-spacing: 1px;
    margin: 0 0 18px;
}

.ind-hero-text h1 em {
    font-style: normal;
    color: var(--brand);
}

.ind-hero-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 480px;
}

.ind-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    padding: 14px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(255,255,255,0.2);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    transition: var(--transition);
}

.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.ind-profiles {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ind-profiles span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.ind-profiles i { color: var(--brand); font-size: 0.7rem; }

/* ── MOCKUP WINDOW ── */
.mockup-window {
    background: #0f1117;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}

.mockup-window.small {
    font-size: 0.82em;
}

.mockup-titlebar {
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mockup-dots {
    display: flex;
    gap: 5px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.mockup-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-section-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.25);
    margin-top: 4px;
}

/* KPI Row */
.mockup-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mockup-kpi-row.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.mkpi {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mkpi.mkpi-orange {
    background: rgba(243,156,18,0.1);
    border-color: rgba(243,156,18,0.25);
}

.mkpi-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 0.5px;
    line-height: 1;
}

.mkpi-label {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mkpi-delta {
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.mkpi-delta.up { color: #28c840; }
.mkpi-delta.warn { color: #febc2e; }

.mkpi-bar {
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-top: 4px;
    overflow: hidden;
}

.mkpi-fill {
    height: 100%;
    background: var(--brand);
    border-radius: 10px;
}

/* Bars */
.mockup-bars {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mb-row {
    display: grid;
    grid-template-columns: 72px 1fr 34px;
    align-items: center;
    gap: 8px;
}

.mb-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mb-track {
    height: 6px;
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    overflow: hidden;
}

.mb-fill {
    height: 100%;
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
    transition: width 1s ease;
}

.mb-fill.orange { background: var(--brand); }
.mb-fill.alert-fill { background: #ff5f57; }

.mb-pct {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    font-weight: 700;
    text-align: right;
}

/* Table */
.mockup-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
}

.mt-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 8px;
    padding: 7px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: center;
}

.mt-row:last-child { border-bottom: none; }

.mt-row.header {
    background: rgba(255,255,255,0.04);
}

.mt-row.header span {
    font-size: 0.6rem !important;
    color: rgba(255,255,255,0.3) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mt-row span {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.status {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 7px;
    border-radius: 100px;
}

.status.ok { background: rgba(40,200,64,0.15); color: #28c840; }
.status.pending { background: rgba(254,188,46,0.15); color: #febc2e; }
.status.warn { background: rgba(254,188,46,0.15); color: #febc2e; }
.status.alert { background: rgba(255,95,87,0.15); color: #ff5f57; }

/* Summary */
.mockup-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: rgba(243,156,18,0.08);
    border: 1px solid rgba(243,156,18,0.2);
    border-radius: 6px;
    margin-top: 4px;
}

.mockup-summary span {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

.sum-val {
    color: var(--brand) !important;
    font-weight: 800 !important;
}

/* Stock items */
.stock-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stock-item {
    display: grid;
    grid-template-columns: 1fr 80px 48px;
    align-items: center;
    gap: 8px;
}

.si-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.si-name {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
}

.si-qty {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
}

.si-track {
    height: 5px;
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    overflow: hidden;
}

.si-fill {
    height: 100%;
    border-radius: 10px;
}

.si-fill.ok { background: #28c840; }
.si-fill.warn { background: #febc2e; }
.si-fill.alert { background: #ff5f57; }

.si-status {
    font-size: 0.6rem;
    font-weight: 800;
    text-align: right;
}

.ok-text { color: #28c840; }
.warn-text { color: #febc2e; }
.alert-text { color: #ff5f57; }

/* Action button mockup */
.mockup-action-btn {
    background: rgba(243,156,18,0.1);
    border: 1px dashed rgba(243,156,18,0.35);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.68rem;
    color: var(--brand);
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Dual bar */
.dual-bar-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dual-bar {
    display: grid;
    grid-template-columns: 60px 1fr 34px;
    align-items: center;
    gap: 8px;
}

.db-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

.db-track {
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
}

.db-fill {
    height: 100%;
    border-radius: 10px;
}

.db-fill.orange { background: var(--brand); }
.db-fill.dim { background: rgba(255,255,255,0.2); }

.db-val {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    font-weight: 700;
    text-align: right;
}

/* ── PAIN POINTS ── */
.ind-pain {
    background: var(--white);
    padding: 0;
}

.ind-pain .container {
    padding: 5em 0;
}

.ind-pain h2 {
    color: var(--text-dark);
    margin-bottom: 1.2em;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pain-card {
    background: var(--gray-bg);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}

.pain-card:hover {
    border-color: rgba(243,156,18,0.3);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.pain-icon {
    width: 42px;
    height: 42px;
    background: rgba(243,156,18,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-icon i {
    color: var(--brand);
    font-size: 1rem;
}

.pain-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── SOLUCIONES ── */
.ind-solutions {
    background: var(--dark-bg);
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 48px 48px;
}

.ind-solutions .container {
    padding: 5em 0;
}

.ind-solutions-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    max-width: 520px;
    margin: -0.5em auto 4em;
    line-height: 1.7;
}

/* Bloque de solución: texto + mockup */
.sol-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sol-block:last-child { border-bottom: none; }

.sol-block.reverse {
    direction: rtl;
}

.sol-block.reverse > * {
    direction: ltr;
}

.sol-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: rgba(243,156,18,0.15);
    line-height: 1;
    margin-bottom: -8px;
    letter-spacing: 2px;
}

.sol-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 10px;
}

.sol-text h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--white);
    margin: 0 0 14px;
    letter-spacing: 0.5px;
    line-height: 1.05;
}

.sol-text p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.72;
    margin: 0 0 20px;
}

.sol-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sol-features li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 500;
}

.sol-features .fa-check {
    color: var(--brand);
    font-size: 0.72rem;
    flex-shrink: 0;
}

/* ── PERFILES ── */
.ind-profiles-section {
    background: var(--gray-bg);
}

.ind-profiles-section .container {
    padding: 5em 0;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 0;
}

.profile-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(243,156,18,0.25);
}

.profile-icon {
    width: 52px;
    height: 52px;
    background: rgba(243,156,18,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.profile-icon i {
    font-size: 1.3rem;
    color: var(--brand);
}

.profile-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0 0 10px;
    letter-spacing: 0.5px;
}

.profile-card > p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 16px;
}

.profile-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.profile-card li {
    font-size: 0.82rem;
    color: #555;
    padding-left: 16px;
    position: relative;
    font-weight: 500;
}

.profile-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--brand);
    border-radius: 50%;
}

/* ── CTA FINAL ── */
.ind-cta {
    position: relative;
    background: var(--dark-bg);
    overflow: hidden;
}

.ind-cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(243,156,18,0.1) 0%, transparent 60%);
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.ind-cta-inner {
    position: relative;
    z-index: 2;
    padding: 5em 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.ind-cta-text h2 {
    text-align: left;
    margin-bottom: 12px;
}

.ind-cta-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 500px;
    line-height: 1.7;
    margin: 0;
}

.ind-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 240px;
}

/* ── REVEAL ANIMATION ── */
.will-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.will-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .ind-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ind-hero-mockup {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .mockup-kpi-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .sol-block {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0;
    }

    .sol-block.reverse {
        direction: ltr;
    }

    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profiles-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .ind-cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ind-cta-text h2 { text-align: center; }
    .ind-cta-text p { margin: 0 auto; }

    .ind-cta-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .ind-hero {
        padding: calc(var(--header-h) + 36px) 0 52px;
    }

    .ind-hero-ctas {
        flex-direction: column;
    }

    .btn-ghost, .ind-hero-ctas .btn-primary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .profiles-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .mockup-kpi-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .mockup-kpi-row .mkpi:last-child {
        grid-column: span 2;
    }

    .ind-cta-actions {
        flex-direction: column;
    }

    .mt-row {
        grid-template-columns: 1fr auto auto;
    }

    .mt-row span:nth-child(3) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .will-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================
   COMERCIALIZADORAS — componentes extra
   ========================================= */

/* Highlight bajo la lista de features */
.sol-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(243,156,18,0.07);
    border: 1px solid rgba(243,156,18,0.2);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-top: 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

.sol-highlight .fa-bolt {
    color: var(--brand);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Barras de canal con ícono */
.channel-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ch-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ch-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    flex-shrink: 0;
}

.ch-icon.ml { background: rgba(255,230,0,0.15); color: #ffe600; }
.ch-icon.tn { background: rgba(0,200,150,0.15); color: #00c896; }
.ch-icon.local { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }

.ch-name {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    width: 76px;
    flex-shrink: 0;
}

.ch-val {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.55);
    font-weight: 700;
    flex-shrink: 0;
    width: 44px;
    text-align: right;
}

/* Tags de canal en tabla */
.canal-tag {
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 4px;
}

.ml-tag { background: rgba(255,230,0,0.15); color: #ffe600; }
.tn-tag { background: rgba(0,200,150,0.15); color: #00c896; }
.loc-tag { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }

/* Sync status */
.sync-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: rgba(40,200,64,0.07);
    border: 1px solid rgba(40,200,64,0.2);
    border-radius: 6px;
}

.sync-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.sync-dot.active {
    background: #28c840;
    box-shadow: 0 0 6px rgba(40,200,64,0.6);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.sync-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #28c840;
    flex: 1;
}

.sync-time {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
}

/* Cotizador header */
.quote-header-mock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 4px;
}

.qhm-field {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.qhm-label {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.25);
    font-weight: 700;
}

.qhm-val {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.qhm-val.orange { color: var(--brand); }

/* CRM ficha */
.crm-client-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
}

.crm-avatar {
    width: 36px;
    height: 36px;
    background: var(--brand);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #000;
    flex-shrink: 0;
}

.crm-client-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.crm-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
}

.crm-segment {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
}

/* CRM timeline */
.crm-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 8px;
    border-left: 1px solid rgba(255,255,255,0.07);
    margin-left: 6px;
}

.crm-event {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
}

.crm-event:last-child { border-bottom: none; }

.crm-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
    margin-top: 3px;
    margin-left: -12px;
}

.crm-dot.orange {
    background: var(--brand);
    box-shadow: 0 0 6px rgba(243,156,18,0.5);
}

.crm-event-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.crm-ev-title {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    line-height: 1.3;
}

.crm-ev-date {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.25);
}

.vend-tag { background: rgba(243,156,18,0.15); color: var(--brand); }
.app-vendor-header { display: flex; align-items: center; gap: 10px; padding: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; margin-bottom: 4px; }

/* =========================================
   CONSTRUCCIÓN — componentes extra
   ========================================= */

/* Tag con badge "Nuevo" */
.sol-tag-special {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.new-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--brand);
    color: #000;
    padding: 2px 9px;
    border-radius: 100px;
}

/* Obrabot chat */
.obrabot-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: none;
}

.obrabot-chat::-webkit-scrollbar { display: none; }

.ob-msg {
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 0.68rem;
    line-height: 1.5;
    max-width: 90%;
}

.ob-msg.user {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    align-self: flex-end;
    border-bottom-right-radius: 3px;
}

.ob-msg.bot {
    background: rgba(243,156,18,0.08);
    border: 1px solid rgba(243,156,18,0.2);
    color: rgba(255,255,255,0.75);
    align-self: flex-start;
    border-bottom-left-radius: 3px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ob-bot-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
}

.ob-bot-dot {
    width: 6px;
    height: 6px;
    background: var(--brand);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.ob-bot-header span {
    font-size: 0.58rem;
    font-weight: 800;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ob-confirm {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.6rem;
    color: #28c840;
    font-weight: 700;
    margin-top: 3px;
}

.ob-input-mock {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 4px;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.2);
}
