/*
==============================================================
 SEO-001L-N.6.70-W15E
 SERVICES 2026 — CANDIDATE
 SOLO CANDIDATO
==============================================================
*/

/* ============================================================
   SERVICES — CONTENEDOR
   ============================================================ */

#services {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

#services .container {
    position: relative;
    z-index: 2;
}

#services .section-heading {
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

#services .section-subheading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
}


/* ============================================================
   SERVICES — GRID
   ============================================================ */

#services .services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}


/* ============================================================
   SERVICES — CARD
   ============================================================ */

#services .service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.5rem 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
    text-align: center;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

#services .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2.25rem rgba(0, 0, 0, 0.14);
    border-color: rgba(13, 110, 253, 0.28);
}


/* ============================================================
   SERVICES — ICONO
   ============================================================ */

#services .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: #0d6efd;
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 0.5rem 1.25rem rgba(13, 110, 253, 0.22);
}

#services .service-card:hover .service-icon {
    box-shadow: 0 0.75rem 1.5rem rgba(13, 110, 253, 0.30);
}


/* ============================================================
   SERVICES — TITULO
   ============================================================ */

#services .service-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
    color: #212529;
}


/* ============================================================
   SERVICES — DESCRIPCION
   ============================================================ */

#services .service-description {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6c757d;
}


/* ============================================================
   SERVICES — ACENTO INFERIOR
   ============================================================ */

#services .service-card::after {
    content: "";
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #f28c28;
    transform: scaleX(0.35);
    transform-origin: center;
    transition: transform 0.25s ease;
}

#services .service-card:hover::after {
    transform: scaleX(1);
}


/* ============================================================
   SERVICES — RESPONSIVE TABLET
   ============================================================ */

@media (max-width: 991.98px) {

    #services .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #services .service-card {
        padding: 1.75rem 1.35rem 1.6rem;
    }
}


/* ============================================================
   SERVICES — RESPONSIVE MOVIL
   ============================================================ */

@media (max-width: 575.98px) {

    #services .section-subheading {
        margin-bottom: 2.5rem;
    }

    #services .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #services .service-card {
        padding: 1.75rem 1.25rem 1.6rem;
    }

    #services .service-icon {
        width: 5rem;
        height: 5rem;
        margin-bottom: 1.25rem;
        font-size: 1.8rem;
    }

    #services .service-title {
        font-size: 1.15rem;
    }

    #services .service-description {
        font-size: 0.92rem;
        line-height: 1.65;
    }
}


/* ==========================================================
   SAMECSOFT 2026
   SERVICIOS SEO V2
   AJUSTE TARJETAS SERVICIOS
   ========================================================== */

#services .service-card {
    min-height: 360px;
}

#services .service-title {
    min-height: 70px;
    line-height: 1.25;
}

#services .service-description {
    line-height: 1.6;
}



/* ==========================================================
   SAMECSOFT 2026
   SERVICIOS SEO V2.1
   REFINAMIENTO VISUAL FINAL
   ========================================================== */


#services .service-card {
    min-height: 390px;
}


#services .service-title {
    font-size: 1.25rem;
    letter-spacing: -0.2px;
    line-height: 1.25;
}


#services .service-description {
    margin-top: 15px;
    line-height: 1.6;
}



/* ==========================================================
   SAMECSOFT 2026
   SEO CLUSTER — HOME
   BLOQUE VISUAL INDEPENDIENTE
   ========================================================== */

#seo-cluster {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#seo-cluster .seo-cluster-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

#seo-cluster .seo-cluster-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.5rem 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

#seo-cluster .seo-cluster-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2.25rem rgba(0, 0, 0, 0.14);
    border-color: rgba(13, 110, 253, 0.28);
}

#seo-cluster .seo-cluster-card h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
    color: #212529;
}

#seo-cluster .seo-cluster-card p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6c757d;
}

#seo-cluster .seo-cluster-card a {
    display: inline-block;
    margin-top: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0d6efd;
    text-decoration: none;
}

#seo-cluster .seo-cluster-card a:hover {
    text-decoration: underline;
}

#seo-cluster .seo-cluster-card::after {
    content: "";
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #f28c28;
    transform: scaleX(0.35);
    transform-origin: center;
    transition: transform 0.25s ease;
}

#seo-cluster .seo-cluster-card:hover::after {
    transform: scaleX(1);
}

@media (max-width: 991.98px) {

    #seo-cluster .seo-cluster-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #seo-cluster .seo-cluster-card {
        padding: 1.75rem 1.35rem 1.6rem;
    }
}

@media (max-width: 575.98px) {

    #seo-cluster {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    #seo-cluster .seo-cluster-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #seo-cluster .seo-cluster-card {
        padding: 1.75rem 1.25rem 1.6rem;
    }

    #seo-cluster .seo-cluster-card h3 {
        font-size: 1.15rem;
    }

    #seo-cluster .seo-cluster-card p {
        font-size: 0.92rem;
        line-height: 1.65;
    }
}
