
.services-page-cservice {
    padding: 140px 0 70px;
    background: linear-gradient(135deg, #004658 0%, #090979 100%);
    color: #fff;
    text-align: center;
}

.services-page-cservice__content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.services-page-cservice__content p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.95;
}

.services-page-section {
    position: relative;
    padding: 70px 0;

    background-image: url("https://res.cloudinary.com/dn7blge7d/image/upload/v1776290657/bgfoot_jvu2s1.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    background-attachment: fixed;
    overflow: hidden;
}

.services-page-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(120deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(14, 15, 21, 0.72) 45%,
        rgba(0, 70, 88, 0.45) 100%);

    z-index: 0;
}

.services-page-section::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06), transparent 40%);

    z-index: 0;
}

.services-page-section .max-width {
    position: relative;
    z-index: 1;
}

.services-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.services-group-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 70, 88, 0.08);
    overflow: hidden;
}

.services-group-card--collapsible {
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.services-group-card--collapsible:hover {
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.10);
}

.services-group-card__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 32px;
}

.services-group-card__summary::-webkit-details-marker {
    display: none;
}

.services-group-card__header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex: 1;
}

.services-group-card__icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #004658 0%, #090979 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 12px 24px rgba(0, 70, 88, 0.18);
}

.services-group-card__header-text {
    min-width: 0;
}

.services-group-card__header-text h2 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.1;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-group-card__teaser {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    max-width: 900px;
}

.services-group-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: #eef4ff;
    color: #0f172a;
    border: 1px solid rgba(0, 70, 88, 0.10);
    font-weight: 700;
}

.services-group-card__cta-text {
    white-space: nowrap;
    font-size: 14px;
}

.services-group-card__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.services-group-card[open] .services-group-card__cta-icon {
    transform: rotate(180deg);
}

.services-group-card[open] .services-group-card__cta-text::before {
    content: "Ver menos";
}

.services-group-card[open] .services-group-card__cta-text {
    font-size: 0;
}

.services-group-card__content {
    padding: 0 32px 28px;
}

.services-group-card__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding-top: 6px;
}

.services-item-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f4f7fb;
    border: 1px solid rgba(0, 70, 88, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.services-item-row:hover {
    transform: translateY(-2px);
    background: #eef4ff;
}

.services-item-row__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #004658;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.services-item-row__name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

@media (max-width: 991px) {
    .services-group-card__summary {
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
    }

    .services-group-card__header-text h2 {
        font-size: 24px;
    }

    .services-group-card__content {
        padding: 0 24px 24px;
    }

    .services-group-card__list {
        grid-template-columns: 1fr;
    }

    .services-group-card__cta {
        align-self: flex-start;
    }
}

@media (max-width: 767px) {
    .services-page-cservice {
        padding: 120px 0 60px;
    }

    .services-page-cservice__content h1 {
        font-size: 30px;
    }

    .services-page-cservice__content p {
        font-size: 16px;
    }

    .services-group-card__header {
        align-items: flex-start;
    }

    .services-group-card__icon {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }

    .services-group-card__header-text h2 {
        font-size: 20px;
    }

    .services-group-card__teaser {
        font-size: 15px;
        line-height: 1.6;
    }

    .services-item-row__name {
        font-size: 15px;
    }
}