/* Página BPO Medicina Laboral — portafolio de servicios */
.hero {
    padding: 120px 20px;
}

.hero h1 {
    font-size: 3rem;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 850px;
}

.intro {
    text-align: center;
    background-color: var(--white);
}

.intro h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.intro p {
    font-size: 1.15rem;
    max-width: 900px;
    margin: 0 auto;
    color: #4a5568;
}

.services-section {
    background-color: var(--light-bg);
}

.services-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.services-section .subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #718096;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-top-color: var(--accent-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.35rem;
    font-weight: 700;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    color: #4a5568;
}

.service-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-card-more {
    display: inline-block;
    margin-top: 16px;
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.service-card-more:hover {
    text-decoration: underline;
}

.contact-cta-section {
    background-color: var(--white);
}

.contact-cta-section h2 {
    font-size: 2.2rem;
}

.contact-cta-section p {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .intro h2,
    .services-section h2,
    .contact-cta-section h2 {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
