/* para-personas-mayores.html — Cuidados en Red */

.hero-personas {
    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-personas h1 {
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

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

.service-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;
    border-top: 4px solid var(--color-secondary);
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    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.25rem;
}

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

.benefit-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateX(8px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-text);
    font-size: 1.75rem;
    flex-shrink: 0;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.faq-item details {
    padding: 24px;
}

.faq-item summary {
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: '+';
    width: 32px;
    height: 32px;
    background-color: var(--color-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-item details[open] summary::before {
    content: '−';
}

.faq-item details p {
    margin-top: 20px;
    padding-left: 48px;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #444;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding: 24px;
    margin-bottom: 24px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 32px;
    width: 16px;
    height: 16px;
    background-color: var(--color-secondary);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cta-box {
    background: linear-gradient(135deg, var(--color-secondary), #14461A);
    color: white;
    padding: 48px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(27,94,32,0.3);
}

@media (max-width: 767px) {
    .hero-personas h1 {
        font-size: 2rem;
    }
    .hero-personas .lead {
        font-size: 1.25rem;
    }
    .service-card {
        padding: 24px;
    }
    .timeline {
        padding-left: 24px;
    }
    .timeline::before {
        left: 7px;
    }
    .timeline-item::before {
        left: -21px;
    }
}
