/* ============================================================================
   COMYVO - Incidencias Styles
   Archivo: css/incidencias.css
   Descripción: Estilos específicos de la página showcase Gestión de Incidencias
   Usa variables de default.css (--primary, --text-dark, etc.)
   
   Filosofía visual: Tonos terracota/cobre cálidos que transmiten resolución,
   acción y confianza. Complementa Piscina (aqua #4F95A3), Comunicación
   (esmeralda #2d8f7b), Documentos (azul #1e3a5f) y Pagos (taupe #7A6F65).
   
   Acento principal: #C2724F (terracota)
   Acento oscuro:    #8B4F35 (cobre profundo)
   Acento claro:     #D9956F (arena cálida)
   Fondo cálido:     #FBF6F2 (crema terracota)
   ============================================================================ */

/* ============================================================================
   BREADCRUMB
   ============================================================================ */
.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: #C2724F !important;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .breadcrumb-list a:hover {
            color: #8B4F35 !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
   ============================================================================ */
.inc-hero {
    background: linear-gradient(135deg, #6B3A24 0%, #8B4F35 30%, #C2724F 70%, #D9956F 100%);
    padding: 4rem 0 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .inc-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 60%;
        height: 200%;
        background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
        pointer-events: none;
    }

    .inc-hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

.inc-hero-content {
    position: relative;
    z-index: 2;
}

.inc-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;
    letter-spacing: 0.03em;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.inc-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fff;
}

.inc-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.75rem;
    max-width: 540px;
}

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

    .inc-hero-buttons .btn-primary {
        background: #fff;
        color: #8B4F35;
        border: 2px solid #fff;
        padding: 0.75rem 1.75rem;
        border-radius: 0.5rem;
        font-weight: 700;
        font-size: 0.95rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .inc-hero-buttons .btn-primary:hover {
            background: transparent;
            color: #fff;
            border-color: #fff;
        }

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

        .inc-hero-buttons .btn-secondary:hover {
            background: rgba(255,255,255,0.15);
            border-color: #fff;
        }

.inc-hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

    .inc-hero-stats .stat-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        background: rgba(255,255,255,0.1);
        backdrop-filter: blur(8px);
        padding: 0.75rem 1rem;
        border-radius: 0.75rem;
        border: 1px solid rgba(255,255,255,0.15);
    }

        .inc-hero-stats .stat-item i {
            font-size: 1.25rem;
            color: #F5D0B0;
        }

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

        .inc-hero-stats .stat-item span {
            font-size: 0.78rem;
            color: rgba(255,255,255,0.7);
        }

/* Hero Visual */
.inc-hero-visual {
    position: relative;
    z-index: 2;
}

.inc-hero-illustration {
    position: relative;
    min-height: 380px;
}

.inc-preview-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    color: #1f2937;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 360px;
    margin: 0 auto;
    animation: floatCard 6s ease-in-out infinite;
}

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

.inc-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.inc-preview-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
}

    .inc-preview-badge.badge-urgente {
        background: #FEE2E2;
        color: #DC2626;
    }

.inc-preview-id {
    font-size: 0.75rem;
    color: #9ca3af;
    font-family: monospace;
}

.inc-preview-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.inc-preview-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #C2724F;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

    .status-dot.status-obras {
        background: #C2724F;
        box-shadow: 0 0 0 3px rgba(194,114,79,0.2);
        animation: pulse-dot 2s ease-in-out infinite;
    }

    .status-dot.status-evaluando {
        background: #F59E0B;
        box-shadow: 0 0 0 3px rgba(245,158,11,0.2);
    }

    .status-dot.status-presupuesto {
        background: #8B5CF6;
        box-shadow: 0 0 0 3px rgba(139,92,246,0.2);
    }

    .status-dot.status-reportada {
        background: #6B7280;
        box-shadow: 0 0 0 3px rgba(107,114,128,0.2);
    }

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(194,114,79,0.2); }
    50% { box-shadow: 0 0 0 6px rgba(194,114,79,0.1); }
}

.inc-preview-progress {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #C2724F, #D9956F);
    border-radius: 3px;
    transition: width 1s ease;
}

.inc-preview-progress-text {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
}

/* Tarjetas flotantes hero */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    font-size: 0.82rem;
    color: #1f2937;
}

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

    .floating-card .card-content strong {
        display: block;
        font-size: 0.8rem;
        font-weight: 700;
    }

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

.card-notif-inc {
    top: 10%;
    right: -10%;
    animation: floatNotif 5s ease-in-out infinite 1s;
}

    .card-notif-inc .card-icon {
        background: #FEF3C7;
        color: #D97706;
    }

.card-budget-inc {
    bottom: 10%;
    left: -5%;
    animation: floatBudget 5.5s ease-in-out infinite 0.5s;
}

    .card-budget-inc .card-icon {
        background: #DCFCE7;
        color: #16A34A;
    }

@keyframes floatNotif {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}

@keyframes floatBudget {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}

/* ============================================================================
   TIMELINE / FLUJO DE ESTADOS
   ============================================================================ */
.inc-timeline {
    padding: 5rem 0;
    background: #FBF6F2;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.inc-timeline-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.timeline-step {
    flex: 1;
    text-align: center;
    padding: 0 0.75rem;
    position: relative;
}

.timeline-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.timeline-step.active .timeline-icon {
    background: #C2724F;
    color: #fff;
    box-shadow: 0 4px 15px rgba(194,114,79,0.3);
}

.timeline-step.current .timeline-icon {
    background: #C2724F;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(194,114,79,0.2), 0 4px 15px rgba(194,114,79,0.3);
    animation: pulse-timeline 2s ease-in-out infinite;
}

@keyframes pulse-timeline {
    0%, 100% { box-shadow: 0 0 0 4px rgba(194,114,79,0.2), 0 4px 15px rgba(194,114,79,0.3); }
    50% { box-shadow: 0 0 0 8px rgba(194,114,79,0.1), 0 4px 15px rgba(194,114,79,0.3); }
}

.timeline-step.pending .timeline-icon {
    background: #e5e7eb;
    color: #9ca3af;
}

.timeline-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.timeline-step.pending h3 {
    color: #9ca3af;
}

.timeline-step p {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.5;
}

.timeline-step.pending p {
    color: #d1d5db;
}

.timeline-connector {
    width: 40px;
    height: 3px;
    background: #C2724F;
    margin-top: 28px;
    flex-shrink: 0;
    border-radius: 2px;
}

.timeline-step.pending ~ .timeline-connector,
.timeline-step.current ~ .timeline-connector {
    background: #e5e7eb;
}

/* ============================================================================
   FEATURES GRID
   ============================================================================ */
.inc-features {
    padding: 5rem 0;
    background: #fff;
}

.inc-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.inc-feature-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

    .inc-feature-card:hover {
        border-color: #C2724F;
        box-shadow: 0 8px 30px rgba(194,114,79,0.12);
        transform: translateY(-4px);
    }

.inc-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1.25rem;
}

.icon-terracotta { background: #FDE8DE; color: #C2724F; }
.icon-copper { background: #F5E0D3; color: #8B4F35; }
.icon-sand { background: #FEF3EA; color: #D9956F; }
.icon-clay { background: #F0DDD4; color: #A0603F; }
.icon-sienna { background: #FCEEE5; color: #B5633D; }
.icon-rust { background: #E8D5CA; color: #7A4A2E; }

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

.inc-feature-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ============================================================================
   DEMO INTERACTIVA: PANEL DE INCIDENCIAS
   ============================================================================ */
.inc-demo {
    padding: 5rem 0;
    background: #FBF6F2;
}

.inc-demo-browser {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

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

.browser-dots {
    display: flex;
    gap: 6px;
}

    .browser-dots span {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #e5e7eb;
    }

        .browser-dots span:first-child { background: #FCA5A5; }
        .browser-dots span:nth-child(2) { background: #FDE68A; }
        .browser-dots span:nth-child(3) { background: #86EFAC; }

.browser-url {
    flex: 1;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

    .browser-url i {
        color: #16a34a;
        margin-right: 0.5rem;
    }

.browser-content {
    background: #fff;
}

/* Demo Tabs */
.inc-demo-tabs {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    padding: 0;
    background: #fafafa;
}

.demo-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

    .demo-tab:hover {
        color: #C2724F;
        background: rgba(194,114,79,0.05);
    }

    .demo-tab.active {
        color: #C2724F;
        border-bottom-color: #C2724F;
    }

.tab-count {
    font-size: 0.75rem;
    background: #e5e7eb;
    padding: 0.1rem 0.5rem;
    border-radius: 1rem;
    font-weight: 700;
}

.demo-tab.active .tab-count {
    background: #C2724F;
    color: #fff;
}

/* Demo Panels */
.inc-demo-panel {
    display: none;
    padding: 1.25rem;
}

    .inc-demo-panel.active {
        display: block;
    }

/* Demo Items */
.inc-demo-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    align-items: flex-start;
}

    .inc-demo-item:hover {
        border-color: #d1d5db;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    .inc-demo-item.resolved {
        background: #f9fafb;
        border-color: #e5e7eb;
    }

    .inc-demo-item.priority-urgente {
        border-left: 4px solid #DC2626;
    }

    .inc-demo-item.priority-alta {
        border-left: 4px solid #F59E0B;
    }

    .inc-demo-item.priority-media {
        border-left: 4px solid #3B82F6;
    }

    .inc-demo-item.priority-baja {
        border-left: 4px solid #10B981;
    }

.inc-item-priority {
    flex-shrink: 0;
}

.priority-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

    .priority-badge.urgente {
        background: #FEE2E2;
        color: #DC2626;
    }

    .priority-badge.alta {
        background: #FEF3C7;
        color: #D97706;
    }

    .priority-badge.media {
        background: #DBEAFE;
        color: #2563EB;
    }

    .priority-badge.baja {
        background: #D1FAE5;
        color: #059669;
    }

    .priority-badge.resuelta {
        background: #DCFCE7;
        color: #16A34A;
    }

.inc-item-content {
    flex: 1;
    min-width: 0;
}

.inc-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

    .inc-item-header h4 {
        font-size: 0.95rem;
        font-weight: 700;
        color: #111827;
        margin: 0;
    }

.inc-item-id {
    font-size: 0.72rem;
    color: #9ca3af;
    font-family: monospace;
    white-space: nowrap;
}

.inc-item-content > p {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.inc-item-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

    .inc-item-meta span {
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

.inc-item-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.inc-item-progress {
    margin-bottom: 0.75rem;
}

.inc-progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.inc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #C2724F, #D9956F);
    border-radius: 4px;
    transition: width 1s ease;
}

.inc-progress-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #C2724F;
}

.inc-item-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: #F59E0B;
    margin-top: 0.5rem;
}

    .inc-item-rating span {
        font-size: 0.78rem;
        color: #6b7280;
        margin-left: 0.25rem;
        font-weight: 600;
    }

.inc-item-actions {
    flex-shrink: 0;
    align-self: center;
}

.btn-inc-detail {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #C2724F;
    background: transparent;
    color: #C2724F;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .btn-inc-detail:hover {
        background: #C2724F;
        color: #fff;
    }

/* Botón reportar */
.inc-demo-report {
    text-align: center;
    padding: 1rem 0;
}

.btn-report-inc {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: 2px dashed #C2724F;
    background: rgba(194,114,79,0.05);
    color: #C2724F;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .btn-report-inc:hover {
        background: #C2724F;
        color: #fff;
        border-style: solid;
    }

/* ============================================================================
   PRESUPUESTOS TRANSPARENTES
   ============================================================================ */
.inc-presupuestos {
    padding: 5rem 0;
    background: #fff;
}

.inc-presu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.inc-presu-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

    .inc-presu-card:hover {
        box-shadow: 0 8px 30px rgba(0,0,0,0.08);
        transform: translateY(-4px);
    }

    .inc-presu-card.presu-pendiente {
        background: #fafafa;
        border-style: dashed;
    }

.presu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.presu-estado {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

    .presu-estado.estado-aceptado {
        background: #DCFCE7;
        color: #16A34A;
    }

    .presu-estado.estado-pendiente {
        background: #FEF3C7;
        color: #D97706;
    }

.presu-ref {
    font-size: 0.75rem;
    color: #9ca3af;
    font-family: monospace;
}

.inc-presu-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
}

.presu-detalle {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.presu-linea {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}

    .presu-linea span {
        font-size: 0.85rem;
        color: #6b7280;
    }

    .presu-linea strong {
        font-size: 0.9rem;
        color: #111827;
    }

.presu-importe {
    color: #C2724F !important;
    font-size: 1.1rem !important;
}

.presu-desglose {
    text-align: center;
}

.btn-desglose {
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .btn-desglose:hover {
        background: #C2724F;
        color: #fff;
        border-color: #C2724F;
    }

.presu-waiting {
    text-align: center;
    padding: 1rem;
    color: #D97706;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .presu-waiting i {
        animation: spin 2s linear infinite;
    }

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* ============================================================================
   BENEFICIOS
   ============================================================================ */
.inc-beneficios {
    padding: 5rem 0;
    background: #FBF6F2;
}

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

.inc-beneficios-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
}

.inc-benef-intro {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.inc-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.75rem;
    background: linear-gradient(135deg, #C2724F, #D9956F);
    color: #fff;
    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: #6b7280;
    line-height: 1.5;
}

.inc-beneficios-visual {
    position: relative;
}

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

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

    .inc-beneficios-figure figcaption {
        padding: 1rem 1.25rem;
        background: #8B4F35;
        color: rgba(255,255,255,0.9);
        font-size: 0.85rem;
        text-align: center;
        font-style: italic;
    }

/* ============================================================================
   CTA SECTION
   ============================================================================ */
.inc-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #6B3A24 0%, #8B4F35 40%, #C2724F 100%);
    color: #fff;
    text-align: center;
}

.inc-cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.inc-cta-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

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

.btn-white {
    background: #fff !important;
    color: #8B4F35 !important;
    border: 2px solid #fff !important;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-white:hover {
        background: transparent !important;
        color: #fff !important;
    }

.btn-glass {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.4) !important;
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-glass:hover {
        background: rgba(255,255,255,0.25) !important;
        border-color: #fff !important;
    }

/* ============================================================================
   FAQ SECTION
   ============================================================================ */
.inc-faq {
    padding: 5rem 0;
    background: #fff;
}

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

.faq-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
}

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

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

    .faq-content .btn-primary:hover {
        background: #8B4F35;
    }

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

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

    .faq-item.active {
        border-color: #C2724F;
        box-shadow: 0 4px 15px rgba(194,114,79,0.1);
    }

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

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

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

        .faq-question h3 i {
            color: #C2724F;
            font-size: 0.9rem;
        }

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

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

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

    .faq-answer p {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.9rem;
        color: #6b7280;
        line-height: 1.7;
        margin: 0;
    }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {
    .inc-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .inc-hero-subtitle {
        margin: 0 auto 1.75rem;
    }

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

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

    .inc-hero-visual {
        display: none;
    }

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

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

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

    .inc-beneficios-visual {
        order: -1;
    }

        .inc-beneficios-visual img {
            max-height: 350px;
        }

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

@media (max-width: 768px) {
    .inc-hero {
        padding: 3rem 0 2rem;
    }

    .inc-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .inc-hero-stats {
        flex-direction: column;
        align-items: center;
    }

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

    .inc-presu-grid {
        grid-template-columns: 1fr;
    }

    .inc-timeline-flow {
        flex-direction: column;
        align-items: center;
    }

    .timeline-connector {
        width: 3px;
        height: 30px;
    }

    .timeline-step {
        max-width: 280px;
    }

    .inc-demo-item {
        flex-direction: column;
    }

    .inc-item-actions {
        align-self: flex-start;
    }

    .inc-item-header {
        flex-direction: column;
        gap: 0.25rem;
    }

    .inc-demo-tabs {
        overflow-x: auto;
    }

    .demo-tab {
        white-space: nowrap;
        padding: 0.75rem;
        font-size: 0.82rem;
    }

    .presu-linea {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .inc-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .inc-beneficios-list {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .inc-hero-title {
        font-size: 1.75rem;
    }

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

    .inc-demo-tabs {
        flex-direction: column;
    }

    .demo-tab {
        border-bottom: none;
        border-left: 2px solid transparent;
    }

        .demo-tab.active {
            border-bottom: none;
            border-left-color: #C2724F;
            background: rgba(194,114,79,0.05);
        }

    .inc-item-meta {
        flex-direction: column;
        gap: 0.35rem;
    }
}

/* ============================================================================
   SWEETALERT CUSTOM POPUP
   ============================================================================ */
.swal-incidencias-popup {
    border-radius: 1rem !important;
    font-family: inherit !important;
}
