/* ============================================================================
   COMYVO - Comunicación Styles
   Archivo: css/comunicacion.css
   Descripción: Estilos específicos de la página showcase Comunicación
   Usa variables de default.css (--primary, --text-dark, etc.)
   
   Filosofía visual: Tonos verde-esmeralda cálidos que transmiten conexión,
   cercanía y profesionalidad. Diferenciado de Documentos (azul corporativo
   #1e3a5f) y Piscina (aqua fresco #4F95A3).
   
   Acento principal: #2d8f7b (esmeralda)
   Acento secundario: #1a6b5a (esmeralda oscuro)
   Acento terciario: #3bb89c (esmeralda claro)
   ============================================================================ */

/* ============================================================================
   BREADCRUMB (reutiliza patrón de reservas/documentos)
   ============================================================================ */
.breadcrumb-nav {
    background: #ffffff !important;
    border-bottom: 2px solid #e5e7eb;
    padding: 1.25rem 0;
    padding-top: calc(1.8rem + 90px);
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    color: #374151 !important;
    flex-wrap: wrap;
}

    .breadcrumb-list li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #374151 !important;
    }

        .breadcrumb-list li:not(:last-child)::after {
            content: '/';
            color: #9ca3af !important;
            margin-left: 0.25rem;
        }

    .breadcrumb-list a {
        color: #2d8f7b !important;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .breadcrumb-list a:hover {
            color: #1a6b5a !important;
            text-decoration: underline;
        }

        .breadcrumb-list a i {
            font-size: 0.75rem;
            margin-right: 0.25rem;
        }

    .breadcrumb-list li[aria-current="page"] span {
        color: #111827 !important;
        font-weight: 700;
    }

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.com-hero {
    background: linear-gradient(135deg, #1a5c4f 0%, #2d8f7b 40%, #3bb89c 100%);
    padding: 4rem 0 3rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

    .com-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
        border-radius: 50%;
    }

    .com-hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
        position: relative;
        z-index: 1;
    }

.com-hero-content {
    max-width: 560px;
}

.com-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.com-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #ffffff;
}

.com-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.65;
    opacity: 0.92;
    margin-bottom: 1.75rem;
    color: #e0f5f0;
}

.com-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

    .com-hero-buttons .btn-primary {
        background: #ffffff;
        color: #1a5c4f;
        border: none;
        padding: 0.85rem 1.75rem;
        border-radius: 0.5rem;
        font-weight: 700;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

        .com-hero-buttons .btn-primary:hover {
            background: #e0f5f0;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

    .com-hero-buttons .btn-secondary {
        background: transparent;
        color: #ffffff;
        border: 2px solid rgba(255, 255, 255, 0.5);
        padding: 0.85rem 1.75rem;
        border-radius: 0.5rem;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

        .com-hero-buttons .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: #ffffff;
        }

/* Hero Stats */
.com-hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

    .com-hero-stats .stat-item {
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

        .com-hero-stats .stat-item i {
            font-size: 1.2rem;
            opacity: 0.7;
        }

        .com-hero-stats .stat-item strong {
            display: block;
            font-size: 1.15rem;
            font-weight: 800;
        }

        .com-hero-stats .stat-item span {
            font-size: 0.8rem;
            opacity: 0.8;
        }

/* Hero Visual - Chat Preview */
.com-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.com-hero-illustration {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.com-chat-preview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-bubble {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    animation: fadeInUp 0.6s ease both;
}

    .chat-bubble:nth-child(2) {
        animation-delay: 0.3s;
    }

    .chat-bubble:nth-child(3) {
        animation-delay: 0.6s;
    }

.bubble-left {
    flex-direction: row;
}

.bubble-right {
    flex-direction: row-reverse;
}

.bubble-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.avatar-admin {
    background: rgba(255, 215, 0, 0.3);
}

.bubble-content {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    padding: 0.6rem 0.85rem;
    max-width: 260px;
}

    .bubble-content strong {
        display: block;
        font-size: 0.7rem;
        font-weight: 700;
        margin-bottom: 0.2rem;
        opacity: 0.9;
    }

    .bubble-content span {
        font-size: 0.8rem;
        line-height: 1.4;
        opacity: 0.95;
    }

.bubble-right .bubble-content {
    background: rgba(255, 255, 255, 0.25);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 0.7rem 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    animation: floatCard 3s ease-in-out infinite;
    z-index: 2;
}

.card-notification {
    top: -10px;
    right: -20px;
    animation-delay: 0s;
}

.card-online {
    bottom: -10px;
    left: -20px;
    animation-delay: 1.5s;
}

.floating-card .card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.card-notification .card-icon {
    background: #fef3c7;
    color: #d97706;
}

.card-online .card-icon {
    background: #d1fae5;
    color: #059669;
}

.floating-card .card-content strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
}

.floating-card .card-content span {
    font-size: 0.7rem;
    color: #6b7280;
}

.text-online {
    color: #10b981;
    font-size: 0.5rem;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   SECCIÓN: DOS PILARES (Chat + Tablón)
   ============================================================================ */
.com-pilares {
    padding: 4.5rem 0;
    background: #f8faf9;
}

.com-pilares-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.com-pilar-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2.25rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .com-pilar-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        border-radius: 1rem 1rem 0 0;
    }

    .com-pilar-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    }

.pilar-chat::before {
    background: linear-gradient(90deg, #2d8f7b, #3bb89c);
}

.pilar-tablon::before {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.pilar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pilar-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.icon-chat {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.icon-tablon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.pilar-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.com-pilar-card > p {
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.pilar-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

    .pilar-features li {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        font-size: 0.9rem;
        color: #374151;
    }

        .pilar-features li i {
            color: #2d8f7b;
            font-size: 0.75rem;
            flex-shrink: 0;
        }

.pilar-tablon .pilar-features li i {
    color: #d97706;
}

.btn-pilar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-pilar-chat {
    background: #2d8f7b;
    color: #ffffff;
}

    .btn-pilar-chat:hover {
        background: #1a6b5a;
        transform: translateY(-2px);
    }

.btn-pilar-tablon {
    background: #d97706;
    color: #ffffff;
}

    .btn-pilar-tablon:hover {
        background: #b45309;
        transform: translateY(-2px);
    }

/* ============================================================================
   SECCIÓN: FEATURES GRID
   ============================================================================ */
.com-features {
    padding: 4.5rem 0;
    background: #ffffff;
}

.com-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.com-feature-card {
    background: #f8faf9;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

    .com-feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
        border-color: #2d8f7b;
    }

.com-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.icon-emerald {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.icon-teal {
    background: linear-gradient(135deg, #ccfbf1, #99f6e4);
    color: #0f766e;
}

.icon-green {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
}

.icon-mint {
    background: linear-gradient(135deg, #e0f5f0, #b2ebe0);
    color: #1a6b5a;
}

.icon-forest {
    background: linear-gradient(135deg, #d5e8d4, #a8d5a3);
    color: #2d5a27;
}

.icon-sage {
    background: linear-gradient(135deg, #e8ede8, #c5d5c5);
    color: #3d5a3d;
}

.com-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.6rem;
}

.com-feature-card p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================================
   SECTION HEADERS (compartido)
   ============================================================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ============================================================================
   DEMO CHAT VECINAL
   ============================================================================ */
.com-demo-chat {
    padding: 4.5rem 0;
    background: #f0fdf4;
}

.com-demo-browser {
    margin-top: 2.5rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid #d1d5db;
}

.browser-bar {
    background: #f3f4f6;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.browser-dots {
    display: flex;
    gap: 0.4rem;
}

    .browser-dots span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }

        .browser-dots span:nth-child(1) { background: #ef4444; }
        .browser-dots span:nth-child(2) { background: #f59e0b; }
        .browser-dots span:nth-child(3) { background: #22c55e; }

.browser-url {
    flex: 1;
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

    .browser-url i {
        color: #22c55e;
        font-size: 0.7rem;
    }

.browser-content {
    background: #ffffff;
}

/* Chat Layout */
.chat-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 480px;
}

/* Channels Sidebar */
.demo-channels {
    background: #1a2332;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
}

.demo-channels-header {
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-channel-list {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    flex: 1;
}

    .demo-channel-list li {
        padding: 0.55rem 1.25rem;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #94a3b8;
    }

        .demo-channel-list li:hover {
            background: rgba(255, 255, 255, 0.05);
            color: #e2e8f0;
        }

        .demo-channel-list li.active {
            background: rgba(45, 143, 123, 0.25);
            color: #ffffff;
            font-weight: 600;
        }

        .demo-channel-list li i {
            font-size: 0.7rem;
            opacity: 0.6;
        }

.channel-badge {
    margin-left: auto;
    background: #2d8f7b;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 1rem;
    min-width: 18px;
    text-align: center;
}

.badge-oficial {
    background: #ef4444;
}

.demo-channels-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-online-count {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

    .demo-online-count i {
        font-size: 0.5rem;
        color: #10b981;
    }

/* Messages Area */
.demo-messages-area {
    display: flex;
    flex-direction: column;
}

.demo-messages-header {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .demo-messages-header h4 {
        font-size: 0.95rem;
        font-weight: 700;
        color: #111827;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

        .demo-messages-header h4 i {
            color: #9ca3af;
            font-size: 0.8rem;
        }

.demo-messages-actions {
    display: flex;
    gap: 0.35rem;
}

.demo-action-btn {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 0.4rem;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    color: #6b7280;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

    .demo-action-btn:hover {
        background: #f3f4f6;
        color: #374151;
    }

/* Pinned Message */
.demo-pinned-msg {
    background: #fefce8;
    border-left: 3px solid #f59e0b;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    color: #92400e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .demo-pinned-msg i {
        color: #d97706;
        font-size: 0.75rem;
    }

/* Messages */
.demo-messages {
    flex: 1;
    padding: 1rem 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-msg {
    display: flex;
    gap: 0.75rem;
    animation: fadeInUp 0.4s ease both;
}

    .demo-msg:nth-child(2) { animation-delay: 0.15s; }
    .demo-msg:nth-child(3) { animation-delay: 0.3s; }
    .demo-msg:nth-child(4) { animation-delay: 0.45s; }
    .demo-msg:nth-child(5) { animation-delay: 0.6s; }

.demo-msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2d8f7b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.demo-msg-avatar.avatar-f {
    background: #8b5cf6;
}

.demo-msg-avatar.avatar-m {
    background: #3b82f6;
}

.demo-msg-body {
    flex: 1;
}

.demo-msg-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.msg-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
}

.author-admin {
    color: #2d8f7b;
}

.msg-role {
    background: #d1fae5;
    color: #065f46;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 0.25rem;
}

.msg-role-vecino {
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 500;
}

.msg-time {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-left: auto;
}

.demo-msg-body p {
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.5;
    margin: 0;
}

/* Input Bar */
.demo-input-bar {
    border-top: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.demo-attach-btn,
.demo-send-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 0.4rem;
    transition: all 0.2s ease;
}

.demo-attach-btn {
    color: #9ca3af;
}

    .demo-attach-btn:hover {
        color: #6b7280;
        background: #f3f4f6;
    }

.demo-send-btn {
    color: #ffffff;
    background: #2d8f7b;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

    .demo-send-btn:hover {
        background: #1a6b5a;
    }

.demo-input-field {
    flex: 1;
    background: #f3f4f6;
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ============================================================================
   DEMO TABLÓN DE ANUNCIOS
   ============================================================================ */
.com-demo-tablon {
    padding: 4.5rem 0;
    background: #ffffff;
}

.com-tablon-layout {
    margin-top: 2.5rem;
}

/* Filtros */
.tablon-filters {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 2rem;
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

    .filter-btn:hover {
        border-color: #2d8f7b;
        color: #2d8f7b;
    }

    .filter-btn.active {
        background: #2d8f7b;
        border-color: #2d8f7b;
        color: #ffffff;
    }

/* Tablón Grid */
.tablon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tablon-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

    .tablon-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

.tablon-urgente {
    border-left: 4px solid #ef4444;
    background: #fef2f2;
}

.tablon-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.tablon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.65rem;
    border-radius: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-urgente {
    background: #fecaca;
    color: #dc2626;
}

.badge-evento {
    background: #dbeafe;
    color: #2563eb;
}

.badge-aviso {
    background: #fef3c7;
    color: #d97706;
}

.badge-general {
    background: #e5e7eb;
    color: #4b5563;
}

.badge-oficial {
    background: #d1fae5;
    color: #065f46;
}

.tablon-category {
    font-size: 0.72rem;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.tablon-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.tablon-card > p {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.tablon-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tablon-author {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #6b7280;
}

    .tablon-author i {
        color: #9ca3af;
    }

.tablon-reactions {
    display: flex;
    gap: 0.75rem;
}

.reaction {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

    .reaction i {
        font-size: 0.7rem;
    }

/* Card hidden by filter */
.tablon-card.tablon-hidden {
    display: none;
}

/* ============================================================================
   SECCIÓN: BENEFICIOS
   ============================================================================ */
.com-beneficios {
    padding: 4.5rem 0;
    background: #f8faf9;
}

.com-beneficios-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.com-beneficios-content h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.com-beneficios-intro {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.com-beneficios-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.beneficio-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.beneficio-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.6rem;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.beneficio-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.beneficio-item p {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.55;
    margin: 0;
}

/* Beneficios Visual */
.com-beneficios-visual {
    position: sticky;
    top: 120px;
}

.com-beneficios-figure {
    margin: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

    .com-beneficios-figure img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    .com-beneficios-figure figcaption {
        background: #1a5c4f;
        color: #e0f5f0;
        padding: 0.85rem 1.25rem;
        font-size: 0.82rem;
        text-align: center;
        line-height: 1.4;
    }

/* ============================================================================
   CTA SECTION
   ============================================================================ */
.com-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a5c4f 0%, #2d8f7b 50%, #3bb89c 100%);
    color: #ffffff;
    text-align: center;
}

.com-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

    .com-cta-content h2 {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .com-cta-content p {
        font-size: 1.05rem;
        opacity: 0.9;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

.com-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: #ffffff;
    color: #1a5c4f;
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-white:hover {
        background: #e0f5f0;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

.btn-glass {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 0.85rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-glass:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: #ffffff;
    }

/* ============================================================================
   FAQ SECTION
   ============================================================================ */
.com-faq {
    padding: 4.5rem 0;
    background: #ffffff;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}

.faq-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.faq-content p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.faq-content .btn-primary {
    background: #2d8f7b;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
}

    .faq-content .btn-primary:hover {
        background: #1a6b5a;
        transform: translateY(-2px);
    }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #f8faf9;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .faq-item:hover {
        border-color: #2d8f7b;
    }

    .faq-item.active {
        border-color: #2d8f7b;
        box-shadow: 0 4px 15px rgba(45, 143, 123, 0.1);
    }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
    gap: 1rem;
}

    .faq-question:hover {
        background: #f0fdf4;
    }

    .faq-question h3 {
        font-size: 0.95rem;
        font-weight: 600;
        color: #111827;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        flex: 1;
    }

        .faq-question h3 i {
            color: #2d8f7b;
            font-size: 0.85rem;
            flex-shrink: 0;
        }

.faq-toggle {
    flex-shrink: 0;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: #2d8f7b;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

    .faq-answer p {
        padding: 0 1.5rem 1.25rem 1.5rem;
        font-size: 0.9rem;
        color: #4b5563;
        line-height: 1.65;
        margin: 0;
    }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

/* Tablets grandes */
@media (max-width: 1024px) {
    .com-hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .com-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .com-hero-buttons {
        justify-content: center;
    }

    .com-hero-stats {
        justify-content: center;
    }

    .com-hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .com-pilares-grid {
        grid-template-columns: 1fr;
    }

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

    .chat-layout {
        grid-template-columns: 180px 1fr;
    }

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

    .com-beneficios-layout {
        grid-template-columns: 1fr;
    }

    .com-beneficios-visual {
        position: relative;
        top: 0;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .faq-content {
        text-align: center;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .com-hero {
        padding: 3rem 0 2.5rem;
    }

    .com-hero-title {
        font-size: 2rem;
    }

    .com-hero-subtitle {
        font-size: 1rem;
    }

    .com-hero-stats {
        gap: 1.25rem;
    }

    .com-features-grid {
        grid-template-columns: 1fr;
    }

    .chat-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .demo-channels {
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
    }

    .demo-channels-header {
        display: none;
    }

    .demo-channel-list {
        display: flex;
        padding: 0.5rem;
        gap: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

        .demo-channel-list li {
            white-space: nowrap;
            padding: 0.5rem 0.75rem;
            font-size: 0.78rem;
            border-radius: 1rem;
        }

            .demo-channel-list li.active {
                border-radius: 1rem;
            }

    .demo-channels-footer {
        display: none;
    }

    .demo-messages {
        min-height: 300px;
    }

    .tablon-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .com-cta-content h2 {
        font-size: 1.65rem;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .breadcrumb-nav {
        padding-top: calc(1.8rem + 70px);
    }

    .com-hero {
        padding: 2.5rem 0 2rem;
    }

    .com-hero-title {
        font-size: 1.65rem;
    }

    .com-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

        .com-hero-buttons .btn-primary,
        .com-hero-buttons .btn-secondary {
            justify-content: center;
        }

    .com-hero-stats {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .com-hero-visual {
        max-width: 100%;
    }

    .floating-card {
        display: none;
    }

    .com-pilar-card {
        padding: 1.5rem;
    }

    .pilar-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .com-feature-card {
        padding: 1.5rem;
    }

    .demo-messages-actions {
        display: none;
    }

    .demo-pinned-msg {
        font-size: 0.75rem;
    }

    .demo-msg-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .msg-time {
        display: none;
    }

    .tablon-card {
        padding: 1.25rem;
    }

    .tablon-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .com-beneficios-content h2 {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 0.88rem;
    }

    .faq-answer p {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .com-cta-content h2 {
        font-size: 1.45rem;
    }

    .com-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-white,
    .btn-glass {
        justify-content: center;
    }
}
