/* ============================================
   ESTILOS PARA PÁGINA DE SERVICIOS
   ============================================ */

.servicios-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* Hero section */
.servicios-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 4rem 2rem;
    background: linear-gradient(rgba(0,0,0,0.80), rgba(0,0,0,0.75)), url('../assets/servicios/ingenieria-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 40px;
    color: #facc15;
}

.servicios-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.servicios-hero p {
    font-size: 1.2rem;
    color: #e5e5e5;
    max-width: 600px;
    margin: 0 auto;
}

.servicios-hero .highlight {
    color: #facc15;
    font-weight: 700;
}

/* Grid principal de servicios */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.servicio-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eef2ff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
    border-color: #facc15;
}

.servicio-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: 0.3s;
}

.servicio-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: 0.2s;
}

.servicio-card:hover .servicio-icon img {
    transform: scale(1.1);
}

.servicio-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
}

.servicio-card p {
    color: #6b7280;
    line-height: 1.5;
}

/* Sección de Ingeniería y Fabricación */
.ingenieria-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 40px;
    padding: 3rem;
    margin-bottom: 4rem;
    border: 1px solid #eef2ff;
}

.ingenieria-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ingenieria-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 0.5rem;
}

.ingenieria-header .subtitle {
    color: #facc15;
    font-weight: 600;
    letter-spacing: 2px;
}

.ingenieria-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.ingenieria-text {
    flex: 1;
}

.ingenieria-text p {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ingenieria-badge {
    display: inline-block;
    background: #111111;
    color: #facc15;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    margin-top: 1rem;
}

.ingenieria-image {
    flex: 1;
    text-align: center;
}

.ingenieria-image img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
}

.ingenieria-image2 {
    flex: 1;
    text-align: center;
}

.ingenieria-image2 img {
    max-width: 50%;
    border-radius: 24px;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
}

/* Sección de Diseño de Piezas Especiales */
.diseno-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
    background: #111111;
    border-radius: 40px;
    overflow: hidden;
}

.diseno-content {
    flex: 1;
    padding: 3rem;
}

.diseno-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #facc15;
    margin-bottom: 1rem;
}

.diseno-content p {
    color: #e5e5e5;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.diseno-features {
    list-style: none;
    padding-left: 0;
}

.diseno-features li {
    color: #e5e5e5;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.diseno-features li i {
    color: #facc15;
    width: 24px;
}

.diseno-image {
    flex: 1;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.diseno-image img {
    max-width: 100%;
    border-radius: 20px;
}

/* Sección ToBlock Magnético */
.magnetico-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #fef9e3 0%, #ffffff 100%);
    border-radius: 40px;
    margin-bottom: 2rem;
}

.magnetico-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 1rem;
}

.magnetico-section .brand {
    font-size: 3rem;
    font-weight: 900;
    color: #facc15;
    letter-spacing: 4px;
    margin: 1rem 0;
}

.magnetico-section .tagline {
    color: #6b7280;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* Logo final */
.servicios-footer-logo {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 30px;
}

.servicios-footer-logo img {
    max-height: 60px;
    margin-bottom: 1rem;
}

.servicios-footer-logo p {
    font-size: 0.8rem;
    color: #6b7280;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .servicios-page {
        padding: 1.5rem;
    }
    
    .servicios-hero h1 {
        font-size: 2rem;
    }
    
    .servicios-hero p {
        font-size: 1rem;
    }
    
    .ingenieria-section,
    .diseno-section {
        padding: 1.5rem;
    }
    
    .diseno-content {
        padding: 1.5rem;
    }
    
    .magnetico-section h2 {
        font-size: 1.8rem;
    }
    
    .magnetico-section .brand {
        font-size: 2rem;
    }
}