/* Sección de Servicios Extendida */

.services-intro {
    text-align: center;
    max-width: 860px;
    margin: 0 auto var(--spacing-xxl);
}

.service-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.service-stat-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.service-stat-card:hover::after {
    opacity: 1;
}

.service-stat-icon {
    font-size: 2.4rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
    margin-bottom: var(--spacing-sm);
}

.service-stat-value {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.service-stat-label {
    color: var(--secondary);
    font-size: 0.95rem;
    margin-top: var(--spacing-xs);
    position: relative;
    z-index: 1;
}

.service-suite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.service-suite-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-suite-card::before {
    content: '';
    position: absolute;
    inset: -50% 10% auto 10%;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.08));
    opacity: 0.3;
    pointer-events: none;
}

.service-suite-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.service-suite-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.service-suite-icon {
    font-size: 2.5rem;
    color: var(--accent);
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.12);
}

.service-suite-subtitle {
    display: block;
    color: var(--secondary);
    margin-top: var(--spacing-xs);
    font-size: 0.95rem;
}

.service-suite-description {
    color: var(--dark);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.service-suite-block {
    position: relative;
    z-index: 1;
}

.service-suite-block h4 {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.service-suite-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--dark);
}

.service-suite-block ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.service-suite-block ul li::before {
    content: '\25C6';
    color: var(--accent);
    font-size: 0.75rem;
    margin-top: 0.35rem;
}

.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
}

.service-suite-result {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(37, 99, 235, 0.08);
    border-radius: var(--border-radius-md);
    color: var(--primary);
    font-weight: var(--font-weight-semibold);
    position: relative;
    z-index: 1;
}

.service-packages {
    margin-bottom: var(--spacing-xxl);
    text-align: center;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.package-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    text-align: left;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.package-card.featured {
    border: 2px solid rgba(37, 99, 235, 0.3);
}

.package-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--accent);
    color: #fff;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.05em;
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: var(--dark);
}

.package-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.package-card ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

.service-process {
    margin-bottom: var(--spacing-xxl);
}

.service-process h3 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
}

.process-step {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
}

.process-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    display: grid;
    place-items: center;
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.process-step p {
    color: var(--secondary);
}

.service-differentiators {
    margin-bottom: var(--spacing-xxl);
}

.service-differentiators h3 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.differentiator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl);
}

.differentiator-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.differentiator-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
}

.differentiator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.differentiator-card p {
    color: var(--secondary);
}

.service-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.12));
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xxl) var(--spacing-xl);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.service-cta h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.service-cta p {
    color: var(--secondary);
    max-width: 640px;
    margin: 0 auto var(--spacing-lg);
}

/* Tech theme adaptations */
.tech-mode .service-stat-card,
.tech-mode .service-suite-card,
.tech-mode .package-card,
.tech-mode .process-step,
.tech-mode .differentiator-card {
    background: rgba(26, 31, 58, 0.6) !important;
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 14px 40px rgba(6, 182, 212, 0.15);
}

.tech-mode .service-stat-icon,
.tech-mode .service-suite-icon,
.tech-mode .differentiator-card i,
.tech-mode .process-step-number {
    color: var(--tech-glow) !important;
    text-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
}

.tech-mode .service-stat-value,
.tech-mode .service-suite-result {
    color: var(--tech-accent) !important;
    text-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

.tech-mode .service-stat-label,
.tech-mode .service-suite-description,
.tech-mode .service-suite-block ul,
.tech-mode .package-card p,
.tech-mode .package-card ul,
.tech-mode .process-step p,
.tech-mode .differentiator-card p,
.tech-mode .service-cta p {
    color: rgba(224, 231, 255, 0.75) !important;
}

.tech-mode .service-suite-block h4,
.tech-mode .package-card h4,
.tech-mode .process-step h4,
.tech-mode .differentiator-card h4,
.tech-mode .service-cta h3 {
    color: var(--tech-text) !important;
}

.tech-mode .service-chip {
    background: rgba(6, 182, 212, 0.2);
    color: var(--tech-accent);
}

.tech-mode .service-suite-result {
    background: rgba(6, 182, 212, 0.12);
}

.tech-mode .service-cta {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(14, 165, 233, 0.12));
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .service-suite-card {
        padding: var(--spacing-lg);
    }

    .package-card {
        padding: var(--spacing-lg);
    }

    .service-cta {
        padding: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .service-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .service-suite-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .service-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-suite-card {
        gap: var(--spacing-md);
    }

    .service-suite-icon {
        width: 52px;
        height: 52px;
        font-size: 2rem;
    }

    .service-suite-block h4 {
        font-size: 0.85rem;
    }

    .service-chip {
        font-size: 0.75rem;
    }
}
