
/* =========================================================
   franVagu — SERVICES REFINEMENT
   Cargar DESPUÉS de style.css y brand-palette.css
   ========================================================= */

.services-section {
    position: relative;
    overflow: hidden;
}

/* Línea superior con identidad de marca */
.services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 1px;
    background: linear-gradient(
        90deg,
        #0D47A1,
        #00B8FF,
        #00E1C6
    );
    box-shadow: 0 0 18px rgba(0,184,255,.25);
}

/* Encabezado */
.services-section .section-eyebrow {
    color: #00B8FF;
}

.services-section .section-heading h2 {
    position: relative;
}

/* Acento discreto junto al título */
.services-section .section-heading h2::after {
    content: "";
    display: block;
    width: 58px;
    height: 2px;
    margin-top: 28px;
    background: linear-gradient(
        90deg,
        #1565C0,
        #00B8FF,
        #00E1C6
    );
}

/* =========================================================
   GRID / CARDS
   ========================================================= */

.services-grid {
    position: relative;
    border-color: rgba(0,184,255,.13);
    background: rgba(0,184,255,.12);
}

/* Cada tarjeta conserva su diseño, pero gana profundidad */
.service-card {
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.018),
            rgba(10,15,26,.18)
        ),
        var(--bg-soft);
    transition:
        background .35s ease,
        transform .35s ease,
        box-shadow .35s ease;
}

/* Línea de marca que aparece al pasar el mouse */
.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        #0D47A1,
        #00B8FF,
        #00E1C6
    );
    transition: width .35s ease;
}

.service-card:hover {
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(0,184,255,.075),
            transparent 38%
        ),
        #111a26;
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1px rgba(0,184,255,.08);
}

.service-card:hover::before {
    width: 100%;
}

/* Número */
.service-number {
    color: rgba(0,184,255,.62);
    font-weight: 700;
    transition: color .3s ease;
}

.service-card:hover .service-number {
    color: #00B8FF;
}

/* Contenido */
.service-content h3 {
    transition: color .3s ease;
}

.service-card:hover .service-content h3 {
    color: #ffffff;
}

.service-content p {
    color: #aeb9c8;
}

/* Link */
.service-link {
    color: #00B8FF;
    transition:
        color .25s ease,
        gap .25s ease;
}

.service-link:hover {
    color: #00E1C6;
    gap: 13px;
}

.service-link span {
    color: #00E1C6;
}

/* =========================================================
   DETALLE VISUAL POR SERVICIO
   ========================================================= */

/* El primer servicio tiene un pequeño punto de identidad */
.service-card:nth-child(1)::after,
.service-card:nth-child(2)::after,
.service-card:nth-child(3)::after,
.service-card:nth-child(4)::after {
    content: "";
    position: absolute;
    right: 40px;
    top: 40px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00B8FF;
    opacity: .45;
    box-shadow: 0 0 14px rgba(0,184,255,.5);
}

.service-card:nth-child(2)::after {
    background: #1565C0;
}

.service-card:nth-child(3)::after {
    background: #00E1C6;
}

.service-card:nth-child(4)::after {
    background: #00B8FF;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
    .services-section {
        padding-top: 95px;
    }

    .services-section .section-heading h2::after {
        margin-top: 22px;
    }

    .service-card {
        transform: none !important;
    }

    .service-card::before {
        width: 42px;
    }

    .service-card::after {
        right: 30px;
        top: 30px;
    }
}
