/* transparencia.html — Cuidados en Red */

/* Estilos específicos solo para transparencia.html */
.hero-transparencia {
    background: linear-gradient(135deg, rgba(27,94,32,0.95), rgba(27,94,32,0.95));
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

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

.stat-box {
    background-color: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-top: 4px solid var(--color-secondary);
    margin-bottom: 20px;
}

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

.stat-box.friction {
    border-top-color: var(--color-friction-warning-border);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-secondary-text);
    line-height: 1.3;
    margin-bottom: 8px;
}

.stat-number.warning {
    color: var(--color-friction-emphasis);
}

.stat-label {
    font-size: 1.125rem;
    color: #444;
    font-weight: 500;
}

.friction-note {
    font-size: 1rem;
    color: #505050;
    font-style: italic;
    margin-top: 8px;
}

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

.budget-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background-color: #F5F5F5;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.budget-item:hover {
    background-color: #E8F5E9;
}

.budget-item.delayed {
    background-color: #FFF3E0;
    border-left: 4px solid var(--color-friction-warning-border);
}

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

.budget-bar {
    flex: 1;
}

.budget-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.progress-bar-container {
    width: 100%;
    height: 24px;
    background-color: #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent-text));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    transition: width 1s ease-out;
}

.progress-bar-fill.small {
    font-size: 0;
}

.progress-bar-fill.delayed {
    background: linear-gradient(90deg, var(--color-friction-emphasis), var(--color-accent-text));
}

.delayed-info {
    background-color: #FFF3E0;
    border-left: 3px solid var(--color-friction-warning-border);
    padding: 12px 16px;
    margin-top: 12px;
    border-radius: 4px;
    font-size: 1rem;
    color: #444;
}

.download-card {
    background-color: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--color-primary);
}

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

.download-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.download-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary), #0D3B5E);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s, background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    background-color: #0D3B5E;
    transform: translateY(-2px);
    color: white;
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #E0E0E0;
}

.timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

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

.timeline-dot {
    width: 24px;
    height: 24px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
}

.timeline-item.friction .timeline-dot {
    background-color: var(--color-friction-emphasis);
}

.timeline-content strong {
    color: var(--color-secondary-text);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
    hyphens: auto;
}

@media (max-width: 576px) {
    .timeline-item {
        gap: 16px;
    }
}

.timeline-item.friction .timeline-content strong {
    color: var(--color-friction-emphasis);
}

.timeline-content p {
    font-size: 1rem;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

.section-bg-gray {
    background-color: #F5F5F5;
    padding: 60px 0;
}

.section-bg-white {
    background-color: white;
    padding: 60px 0;
}

.section-bg-warm {
    background-color: var(--color-warm);
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
    color: var(--color-primary);
    font-size: 2.25rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #444;
    margin-bottom: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.api-code {
    background-color: #F5F5F5;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
}

.api-list {
    list-style: none;
    padding: 0;
    font-size: 1rem;
    line-height: 2;
}

.api-list li {
    padding: 8px 0;
    border-bottom: 1px solid #E0E0E0;
}

.api-list li:last-child {
    border-bottom: none;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary), #0D3B5E);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
    color: white;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.cta-section a {
    color: white;
    text-decoration: underline;
    font-weight: 700;
}

@media (max-width: 767px) {
    .hero-transparencia {
        padding: 48px 0;
    }
    .hero-transparencia h1 {
        font-size: 1.75rem;
    }
    .hero-transparencia .lead {
        font-size: 1.125rem;
    }
    .stat-number {
        font-size: 2.25rem;
    }
    .budget-section {
        padding: 24px;
    }
    .budget-item {
        flex-direction: column;
        text-align: center;
    }
}

.datos-licencia {
    margin: 8px 0 0;
    color: #444;
    font-size: 1rem;
}
