/* ============================================================================
DESARROLLO SOFTWARE PAGE STYLES
Estilos específicos para la página de Desarrollo de Software
============================================================================ */

/* ============================================================================
1. HERO SECTION ESPECÍFICA
============================================================================ */
.service-hero-section {
     padding: 110px 0 0 0;
    position: relative;
    overflow: hidden;
    background-image: url('../../../img/body-bg-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-hero-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(134, 4, 189, 0.1) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
}

/* Contenido del hero */
.service-hero-content {
    position: relative;
    z-index: 2;
}

.service-hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(134, 4, 189, 0.1);
    color: var(--violet-primary);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(134, 4, 189, 0.15);
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.service-hero-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--black);
}


.service-hero-subtitle {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 520px;
}

.service-hero-image img {
    transform: perspective(1000px) rotateY(-5deg);
    border-radius: 20px;
    overflow: hidden;
}

/* ============================================================================
2. SERVICES TABS - Pestañas de servicios
============================================================================ */
.service-tabs {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-tabs .nav-item {
    margin: 0 0.5rem 1rem;
}

.service-tabs .nav-link {
    border: 2px solid rgba(134, 4, 189, 0.15);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    color: var(--gray-medium);
    font-weight: 600;
    text-align: center;
    background: white;
    transition: var(--transition);
    min-width: 180px;
}

.service-tabs .nav-link i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--violet-primary);
}

.service-tabs .nav-link.active {
    border-color: var(--violet-primary);
    background: linear-gradient(135deg, rgba(134, 4, 189, 0.1), rgba(241, 179, 60, 0.1));
    color: var(--violet-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-tabs .nav-link:hover:not(.active) {
    border-color: rgba(134, 4, 189, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.service-tab-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-tab-content:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(134, 4, 189, 0.2);
}

.service-tab-content h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(134, 4, 189, 0.1);
}

.service-includes h4 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.service-includes ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.service-includes li {
    padding: 0.5rem 0;
    color: var(--gray-dark);
    position: relative;
}

.service-includes li::before {
    content: '✓';
    position: absolute;
    left: -1.5rem;
    color: var(--violet-primary);
    font-weight: bold;
}

.service-benefits h4 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

#section-padding i {
    color: var(--violet-primary) !important;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.benefit-item {
    padding: 0.5rem 0;
    color: var(--gray-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.benefit-item i {
    color: var(--violet-primary);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.service-price h4 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.price-box {
    background: linear-gradient(135deg, rgba(134, 4, 189, 0.1), rgba(241, 179, 60, 0.1));
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 2px solid rgba(134, 4, 189, 0.2);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--violet-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.price-note {
    color: var(--gray-medium);
    font-size: 0.9rem;
    font-style: italic;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-option {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.option-name {
    font-weight: 600;
    color: var(--black);
    display: block;
    margin-bottom: 0.25rem;
}

.option-desc {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* ============================================================================
3. PROCESS TIMELINE - Timeline de desarrollo
============================================================================ */
#Process{
    background-image: url('../../../img/body-bg-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.process-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--violet-primary), var(--yellow-accent));
    border-radius: 2px;
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    align-items: flex-start;
    width: 50%;
}

.process-step:nth-child(odd) {
    margin-left: auto;
    flex-direction: row-reverse;
    text-align: right;
}

.process-step:nth-child(even) {
    margin-right: auto;
    padding-right: 2rem;
}

.step-number {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--violet-primary), var(--yellow-accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.step-content {
    flex: 1;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--black);
}

.step-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================================================================
4. TECHNOLOGIES SECTION - Tarjetas de tecnologías
============================================================================ */
.tech-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(134, 4, 189, 0.2);
}

.tech-card img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.tech-card:hover img {
    transform: scale(1.1);

}
.tech-card span {
    font-weight: 600;
    color: var(--black);
    font-size: 0.9rem;
}

/* ============================================================================
5. CTA SECTION
============================================================================ */
#cta{
    background-image: url('../../../img/body-bg-1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.cta-section {
    background: linear-gradient(135deg, var(--violet-primary), var(--yellow-accent));
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0.3;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 0.5rem;
}

.cta-section p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.cta-section .btn-light {
    background: white;
    color: var(--violet-primary);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-section .btn-light:hover {
    background: var(--gray-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* ============================================================================
6. FAQ ESPECÍFICO PARA DESARROLLO
============================================================================ */
.faq-content {
    padding-right: 2rem;
}

.faq-cta-box {
    background: linear-gradient(135deg, var(--violet-primary), var(--yellow-accent));
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    color: white;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.faq-cta-box h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.faq-cta-box p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.faq-cta-box .btn-custom {
    background: white;
    color: var(--violet-primary);
    border: none;
}

.faq-cta-box .btn-custom:hover {
    background: var(--gray-light);
    color: var(--violet-primary);
}

.support-plans {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.support-plan {
    padding: 1.5rem;
    background: rgba(134, 4, 189, 0.05);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--violet-primary);
}

.support-plan h5 {
    font-size: 1.1rem;
    color: var(--violet-primary);
    margin-bottom: 0.75rem;
}

.support-plan ul {
    list-style: none;
    padding-left: 1rem;
    margin: 0;
}

.support-plan li {
    padding: 0.3rem 0;
    color: var(--gray-dark);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.support-plan li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--violet-primary);
    font-weight: bold;
}

/* ============================================================================
7. VALUE STATS (consistente con otras páginas)
============================================================================ */
.value-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--violet-primary), var(--yellow-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-medium);
    font-size: 0.9rem;
    font-weight: 500;
}

.section-pre-title {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(134, 4, 189, 0.1);
    color: var(--violet-primary);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(134, 4, 189, 0.15);
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

/* ============================================================================
8. RESPONSIVE DESIGN
============================================================================ */

/* Tablets (≤991.98px) */
@media (max-width: 991.98px) {
    .service-hero-section {
        padding: 120px 0 40px;
    }
    
    .service-hero-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    
    .service-hero-image img {
        transform: none;
        margin-top: 2rem;
    }
    
    .service-tabs .nav-link {
        min-width: 160px;
        padding: 1.25rem 1.5rem;
    }
    
    .service-tab-content {
        padding: 2rem;
    }
    
    .process-timeline::before {
        left: 40px;
    }
    
    .process-step {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 4rem;
        flex-direction: row !important;
        text-align: left !important;
    }
    
    .process-step:nth-child(even) {
        padding-right: 0;
    }
    
    .tech-card img {
        height: 40px;
    }
    
    .tech-card span {
        font-size: 0.8rem;
    }
}

/* Móviles (≤767.98px) */
@media (max-width: 767.98px) {
    .service-hero-section {
        padding: 120px 40px 0px 40px;
        text-align: center;
    }
    
    .service-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .service-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .service-hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .service-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .service-tabs .nav-item {
        width: 100%;
        max-width: 280px;
    }
    
    .service-tabs .nav-link {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        padding: 1.25rem;
    }
    
    .service-tabs .nav-link i {
        margin-bottom: 0;
        margin-right: 1rem;
        font-size: 1.5rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        padding-left: 3.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .value-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .faq-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

/* Móviles pequeños (≤575.98px) */
@media (max-width: 575.98px) {
    .service-hero-title {
        font-size: 1.8rem;
    }
    
    .service-hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .service-hero-image img {
        transform: none;
    }
    
    .service-tab-content {
        padding: 1.5rem;
    }
    
    .service-tab-content h3 {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        padding-left: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-content {
        width: 100%;
    }
    
    .tech-card {
        padding: 1.5rem 1rem;
    }
    
    .tech-card img {
        height: 35px;
    }
    
    .value-stats {
        flex-direction: column;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .cta-section .btn-light {
        width: 100%;
        max-width: 280px;
    }
}

/* Pantallas muy grandes (≥1400px) */
@media (min-width: 1400px) {
    .service-hero-title {
        font-size: 3.2rem;
    }
    
    .service-hero-subtitle {
        font-size: 1.25rem;
        max-width: 600px;
    }
    
    .service-tabs .nav-link {
        min-width: 200px;
    }
    
    .tech-card {
        padding: 2.5rem 1.5rem;
    }
    
    .tech-card img {
        height: 60px;
    }
}