/* Subpáginas individuales de servicios */
.sub-hero {
    background: #f1f7f1;
    padding: 65px 0;
}

.sub-wrap {
    max-width: 1260px;
    width: 92%;
    margin: auto;
}

.sub-hero .sub-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.sub-hero h1 {
    font-size: clamp(36px,4vw,62px);
    line-height: 1.12;
    color: #10483c;
    margin: 18px 0;
}

.sub-hero p,.sub-content p {
    font-size: 17px;
    line-height: 1.75;
    color: #526b63;
}

.sub-hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
}

.sub-kicker {
    color: #6b9e37;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 13px;
    font-weight: 700;
}

.sub-content {
    padding: 65px 0;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 65px;
}

.sub-content h2 {
    font-size: 30px;
    color: #10483c;
}

.sub-content li {
    margin: 12px 0;
    color: #36584d;
}

.sub-panel {
    background: #f2f7f2;
    padding: 32px;
    border-radius: 18px;
    align-self: start;
}

.sub-panel h3 {
    margin-top: 0;
}

.sub-panel a {
    display: inline-block;
    background: #07543f;
    color: white;
    padding: 13px 23px;
    border-radius: 25px;
    margin-top: 12px;
}

.sub-back {
    display: inline-block;
    margin-top: 20px;
    color: #07543f;
    font-weight: 700;
}

.sub-related {
    padding: 40px 0;
    background: #f8faf8;
}

.sub-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sub-related-links a {
    padding: 10px 16px;
    border: 1px solid #b6cdbd;
    border-radius: 20px;
    color: #07543f;
}

@media (max-width:800px) {
    .sub-hero .sub-wrap,.sub-content {
        grid-template-columns: 1fr;
    }

    .sub-hero img {
        height: 280px;
    }

    .sub-content {
        gap: 20px;
    }

}
