/* ==========================================================================
   Scorpio Towers - Página General de Servicios (Lista Horizontal 1 Card por Fila)
   ========================================================================== */

/* Banner de la Página */
.sc-services-banner {
    padding: 60px 24px 35px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.sc-services-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 999px;
    color: #00d9ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.15);
}

.sc-services-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.sc-services-title .glow-cyan {
    color: #00d9ff;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}

.sc-services-desc {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* Sección Lista Horizontal de 5 Servicios (1 Card por Fila) */
.sc-services-section {
    padding: 15px 24px 45px;
    max-width: 1100px;
    margin: 0 auto;
}

.sc-services-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Estilos de Tarjeta en Fila Horizontal */
.sc-service-row-card {
    background: rgba(12, 15, 24, 0.75);
    border: 1px solid rgba(0, 217, 255, 0.16);
    border-radius: 20px;
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sc-service-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #00d9ff;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sc-service-row-card:hover {
    transform: translateX(6px);
    border-color: rgba(0, 217, 255, 0.45);
    box-shadow: 0 14px 40px rgba(0, 217, 255, 0.14);
    background: rgba(16, 20, 32, 0.88);
}

.sc-service-row-card:hover::before {
    opacity: 1;
}

/* Lado Izquierdo de la Fila */
.sc-service-row-left {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
}

/* Icono del Servicio */
.sc-service-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d9ff;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.15);
    transition: transform 0.3s ease;
}

.sc-service-row-card:hover .sc-service-icon {
    transform: scale(1.08);
    background: rgba(0, 217, 255, 0.15);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.3);
}

.sc-service-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Información del Servicio */
.sc-service-row-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.sc-service-row-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sc-service-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.sc-service-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #00d9ff;
    font-size: 0.78rem;
    font-weight: 600;
}

.sc-service-card-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Bloque Incluye: */
.sc-service-includes {
    background: rgba(255, 255, 255, 0.025);
    border-left: 3px solid #00d9ff;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    font-size: 0.86rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-top: 4px;
}

.sc-service-includes strong {
    color: #00d9ff;
    font-weight: 700;
}

/* Lado Derecho de la Fila (Botón) */
.sc-service-row-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Botón Ver Detalles */
.sc-service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.sc-service-btn:hover {
    background: #00d9ff;
    border-color: #00d9ff;
    color: #070a13;
    font-weight: 700;
    box-shadow: 0 0 22px rgba(0, 217, 255, 0.45);
}

.sc-service-btn span {
    transition: transform 0.3s ease;
}

.sc-service-btn:hover span {
    transform: translateX(5px);
}

/* ==========================================================================
   Sección CTA Final (Diseño Abierto, Sin Marco de Caja, Cero Repetición)
   ========================================================================== */
.sc-cta-section {
    padding: 50px 24px 80px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.sc-cta-section::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 217, 255, 0.25) 50%, transparent 100%);
    margin-bottom: 50px;
}

.sc-cta-open-wrapper {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.sc-cta-title-open {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.2;
}

.sc-cta-title-open .glow-cyan {
    color: #00d9ff;
    text-shadow: 0 0 24px rgba(0, 217, 255, 0.6);
}

.sc-cta-desc-open {
    color: #94a3b8;
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0 auto 32px;
}

.sc-cta-btn-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #00d9ff 0%, #0072ff 100%);
    border: none;
    border-radius: 999px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.02rem;
    text-decoration: none;
    box-shadow: 0 0 28px rgba(0, 217, 255, 0.45);
    transition: all 0.35s ease;
}

.sc-cta-btn-open:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.7);
    filter: brightness(1.12);
}

.sc-cta-btn-open span {
    font-size: 1.15rem;
    transition: transform 0.3s ease;
}

.sc-cta-btn-open:hover span {
    transform: translateX(5px);
}

/* Adaptación Responsive */
@media (max-width: 900px) {
    .sc-service-row-card {
        flex-direction: column;
        align-items: stretch;
        padding: 28px 24px;
        gap: 22px;
    }

    .sc-service-row-card::before {
        width: 100%;
        height: 3px;
        top: 0;
        left: 0;
    }

    .sc-service-row-card:hover {
        transform: translateY(-4px);
    }

    .sc-service-row-right {
        width: 100%;
    }

    .sc-service-btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .sc-service-row-left {
        flex-direction: column;
        gap: 16px;
    }
    .sc-cta-btn-open {
        width: 100%;
        border-radius: 14px;
    }
}
