/* ========================================
   ESTILOS ESPECÍFICOS PARA DISEÑO WEB
   Colores: Negro, Blanco, toques de azul/rojo
   NO sobrescribe hero-styles.css
   Solo estilos adicionales y específicos
   ======================================== */

/* Estilos específicos para las secciones únicas de diseño web */

/* Sección de Servicios Web */
.servicios-web-section {
    padding: 120px 0;
    background: #fff;
}

.servicios-web-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.servicio-web-card {
    background: white;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-left: 5px solid #dc3545;
    position: relative;
    overflow: hidden;
}

.servicio-web-card:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.servicio-web-card:hover:before {
    opacity: 1;
}

.servicio-web-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.servicio-web-icon {
    width: 70px;
    height: 70px;
    background: #000;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.servicio-web-card:hover .servicio-web-icon {
    transform: rotateY(360deg);
}

.servicio-web-card h3 {
    font-size: 1.7rem;
    margin-bottom: 18px;
    color: #000;
    font-weight: 700;
}

.servicio-web-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.servicio-web-list {
    list-style: none;
    margin-top: 20px;
}

.servicio-web-list li {
    padding: 10px 0;
    color: #555;
    display: flex;
    align-items: center;
}

.servicio-web-list i {
    color: #28a745;
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Sección de Proceso Web */
.proceso-web-section {
    padding: 120px 0;
    background: #000;
    color: white;
    position: relative;
    overflow: hidden;
}

.proceso-web-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridSlide 30s linear infinite;
}

@keyframes gridSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(50px); }
}

.proceso-web-timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.proceso-web-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 60px;
}

.proceso-web-step:last-child {
    margin-bottom: 0;
}

.proceso-web-numero {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: white;
    color: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.proceso-web-step h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.proceso-web-step p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Sección de Tecnologías */
.tecnologias-section {
    padding: 120px 0;
    background: #f8f9fa;
}

.tecnologias-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.tecnologia-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tecnologia-item:hover {
    transform: translateY(-10px);
    border-color: #dc3545;
}

.tecnologia-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #dc3545;
    transition: transform 0.3s ease;
}

.tecnologia-item:hover .tecnologia-icon {
    transform: scale(1.2);
}

.tecnologia-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
}

/* Sección de Características */
.caracteristicas-section {
    padding: 120px 0;
    background: #fff;
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.caracteristica-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 4px solid #dc3545;
}

.caracteristica-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.caracteristica-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #ff4d5d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 25px;
    transition: transform 0.4s ease;
}

.caracteristica-card:hover .caracteristica-icon {
    transform: rotateY(360deg);
}

.caracteristica-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #000;
    font-weight: 700;
}

.caracteristica-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* CTA Final para Web */
.cta-web-section {
    padding: 100px 0;
    background: #000;
    color: white;
    text-align: center;
}

.cta-web-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-web-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-web-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-web-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-web-buttons .btn-cta {
    background: white;
    color: #000;
    padding: 16px 40px;
    font-weight: 800;
    border: 3px solid white;
}

.cta-web-buttons .btn-cta:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.cta-web-buttons .btn-secondary {
    background: transparent;
    color: white;
    padding: 16px 40px;
    font-weight: 800;
    border: 3px solid white;
}

.cta-web-buttons .btn-secondary:hover {
    background: white;
    color: #000;
}

/* Responsive */
@media (max-width: 992px) {
    .servicios-web-grid {
        grid-template-columns: 1fr;
    }

    .tecnologias-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .caracteristicas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .proceso-web-step {
        padding-left: 0;
        padding-top: 80px;
    }

    .proceso-web-numero {
        left: 50%;
        transform: translateX(-50%);
    }

    .tecnologias-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cta-web-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-web-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .tecnologias-grid {
        grid-template-columns: 1fr;
    }
}
