/* ============================================
   ESTILOS PARA PÁGINA DE MAQUILA
   ============================================ */

/* Sección de Servicios de Maquila */
.maquila-services {
    padding: 80px 20px;
    background: white;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #5B7FFF;
    margin-bottom: 20px;
}

.services-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* Contenedor principal de servicios */
.services-circle {
    position: relative;
    width: 900px;
    height: 700px;
    margin: 60px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen central */
.services-circle > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    transition: transform 0.3s ease;
}

.services-circle > img:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

/* Items de servicio */
.service-item {
    position: absolute;
    width: 230px;
    padding: 25px;
    transition: all 0.3s ease;
    text-align: center;
    z-index: 2;
}

.service-item:hover {
    transform: translateY(-5px) !important;
}

.service-content h4 {
    font-size: 1.1rem;
    color: #5B7FFF;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Posicionamiento circular de los 6 servicios */
.service-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.service-2 {
    top: 80px;
    right: 50px;
}

.service-3 {
    bottom: 80px;
    right: 50px;
}

.service-4 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.service-5 {
    bottom: 80px;
    left: 50px;
}

.service-6 {
    top: 80px;
    left: 50px;
}

/* Sección de Formulario de Contacto */
.maquila-contact {
    padding: 80px 20px;
    background: white;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: #5B7FFF;
    text-align: center;
    margin-bottom: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #5B7FFF;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5B7FFF;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, #97CF69 0%, #7AB84D 100%);
    color: white;
    padding: 15px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    box-shadow: 0 5px 20px rgba(151, 207, 105, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(151, 207, 105, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-circle {
        width: 700px;
        height: 600px;
    }

    .services-circle > img {
        width: 320px;
        height: 320px;
    }

    .service-item {
        width: 200px;
        padding: 20px;
    }

    .service-content h4 {
        font-size: 1rem;
    }

    .service-2,
    .service-3 {
        right: 30px;
    }

    .service-5,
    .service-6 {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .services-circle {
        position: static;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .services-circle > img {
        position: static;
        transform: none;
        width: 280px;
        height: 280px;
        margin: 0 auto 30px;
    }

    .services-circle > img:hover {
        transform: scale(1.05);
    }

    .service-item {
        position: static;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        transform: none !important;
    }

    .service-item:hover {
        transform: translateY(-5px) !important;
    }

    .services-title {
        font-size: 2rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .maquila-services,
    .maquila-contact {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .services-title {
        font-size: 1.75rem;
    }

    .services-description {
        font-size: 1rem;
    }

    .services-circle > img {
        width: 220px;
        height: 220px;
    }

    .service-item {
        padding: 18px;
    }

    .service-content h4 {
        font-size: 0.95rem;
    }

    .contact-title {
        font-size: 1.3rem;
    }

    .btn-submit {
        padding: 12px 40px;
        font-size: 1rem;
    }
}
