/* el-sistema.html — Cuidados en Red */

.hero-sistema {
    background: linear-gradient(135deg, rgba(26,82,118,0.95), rgba(13,59,94,0.95));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-sistema h1 {
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-sistema .lead {
    font-size: 1.625rem;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
}

.component-card {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.component-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent-text));
}

.component-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.component-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--color-secondary), #14461A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 4px 16px rgba(27,94,32,0.3);
}

.flow-diagram {
    background-color: white;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 32px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 60px;
    top: 100%;
    width: 4px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-secondary), var(--color-accent));
}

.flow-number {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-secondary), #14461A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(27,94,32,0.3);
}

.flow-content {
    flex: 1;
}

.stats-banner {
    background: linear-gradient(135deg, var(--color-accent-text), #6B2600);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(230,81,0,0.3);
    margin-bottom: 32px;
}

.stat-item {
    margin-bottom: 24px;
}

.stat-number-big {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.ecosystem-card {
    background-color: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ecosystem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.ecosystem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), #0D3B5E);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.25rem;
    transform: rotate(-5deg);
    transition: transform 0.3s;
}

.ecosystem-card:hover .ecosystem-icon {
    transform: rotate(0deg);
}

.tech-showcase {
    background: linear-gradient(135deg, #F3E5F5, #EEDDF1);
    border-radius: 12px;
    padding: 48px;
    margin-bottom: 32px;
}

.tech-item {
    display: flex;
    align-items: start;
    gap: 24px;
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-purple), #6A1B9A);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .hero-sistema h1 {
        font-size: 2rem;
    }
    .hero-sistema .lead {
        font-size: 1.25rem;
    }
    .flow-step {
        flex-direction: column;
        text-align: center;
    }
    .flow-step::after {
        left: 50%;
        margin-left: -2px;
    }
    .flow-number {
        width: 80px;
        height: 80px;
        font-size: 2.25rem;
    }
    .stat-number-big {
        font-size: 3rem;
    }
    .tech-item {
        flex-direction: column;
        text-align: center;
    }
}

.valores-referencia {
    text-align: center;
    font-size: 1rem;
    color: #505050;
    margin: -8px 0 16px;
}
