
.services-page > *:not(.hero) {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* HERO */
.services-page .hero {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.services-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}
.cta-button:hover {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* VALUE */
.value-offer h2 {
    background: none;
    margin: 80px 0 40px;
    font-size: 40px;
    font-weight: 800;
    text-align: center;
}

.value-block {
    margin-bottom: 25px;
}

/* TABS */
.services-tabs {
    display: flex;
    justify-content: space-between;
    margin: 60px 0 30px;
    border-bottom: 2px solid #e0e0e0;
}

.services-tabs span {
    cursor: pointer;
    position: relative;
    padding: 10px 8px;
    font-weight: 700;
    color: var(--primary-color);
    transition: 
        box-shadow 0.3s ease,
        transform 0.3s ease,
        color 0.3s ease;
}

.services-tabs span:hover {
    box-shadow: 0 4px 10px rgba(200, 40, 140, 0.2);
    transform: translateY(-3px);
    color: #a61f70;
}

.services-tabs .active {
    border-bottom: 3px solid var(--primary-color);
    transform: translateY(-2px);
}

/* DETAIL */
.service-detail {
    border: 2px solid var(--primary-color);
    padding: 50px;
    border-radius: 18px;
}

.cloud-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cloud-logos img {
    height: 45px;
    margin-left: 20px;
}

/*========================= */
/*       SECCION PROCESO     */
/* ========================= */
.process-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.process-title {
    font-size: 30px;
    color: var(--dark-color);
    font-weight: 800;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.process-container {
    margin-top: 10px;
}

/* ===== CADA BLOQUE ===== */

.step-box {
    border: 1px solid #ababab;
    width: 200px;
    min-height: 100px;
}

/* ===== NÚMEROS CIRCULARES ===== */
.step-number {
    border: 2px solid #ababab;
}

/* STRATEGY */
.strategy-focus {
    margin-top: 60px;
    text-align: center;
}

.focus-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    margin: 40px 0;
}

.divider {
    width: 3px;
    background: var(--primary-color);
}

.closing {
    font-size: 18px;
    margin-top: 40px;
}

/*SOFTWARE FACTORY*/

.software-services {
    max-width: 1100px;
    margin: 120px auto;
    text-align: center;
    padding: 0 20px;
}

.software-services .section-title {
    color: var(--dark-color);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 80px;
    justify-items: center;
}

.title-tab{
    color: var(--primary-color);
    font-weight: 600;
}

.service-card {
    width: 100%;
    max-width: 420px;
    min-height: 220px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 14px;
    padding: 35px 30px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.service-title {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.subtitle {
    font-weight: 400;
}

.service-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .services-hero,
    .cloud-intro {
        flex-direction: column;
        text-align: center;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .services-tabs {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .focus-grid {
        grid-template-columns: 1fr;
    }

    .divider {
        display: none;
    }

    /*FACTORY SOFTWARE*/
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-card {
        max-width: 100%;
    }

    .service-detail {
        padding: 30px 20px;
    }

    .services-page > *:not(.hero) {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .service-detail {
        padding: 20px 15px;
    }

    .services-tabs span {
        font-size: 14px;
        padding: 8px 6px;
    }

    .value-offer h2 {
        font-size: 28px;
    }
}
